@retailrocketgroup/retailrocket-create.repurchase-vue-email-template-render 3.0.377566 → 5.0.384530
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +25 -0
- package/dist/assets/index.css +1 -0
- package/dist/assets/index.js +379 -0
- package/dist/assets/index.js.map +1 -0
- package/dist/createRepurchaseEmailTemplateApp.d.ts +0 -0
- package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/repurchaseComponentSectionItemFactory.d.ts +4 -0
- package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/repurchaseEmailComponentFactory.d.ts +4 -0
- package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/repurchaseComponentLibraryFactory.d.ts +4 -0
- package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/repurchaseSectionFactory.d.ts +4 -0
- package/dist/implementation/DataSources/ListDataExpressionSource/repurchaseEvaluateListExpressionDataSourceFactory.d.ts +8 -0
- package/dist/implementation/DataSources/NumberExpressionDataSource/repurchaseEvaluateNumberExpressionDataSourceFactory.d.ts +2 -0
- package/dist/implementation/DataSources/StringExpressionDataSource/repurchaseEvaluateStringExpressionDataSource.d.ts +9 -0
- package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/RepurchaseProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/alternativeProductsForRepurchaseProductListShelfBuilderDepsFactory.d.ts +8 -0
- package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/RepurchaseProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/relatedProductsForRepurchaseProductListShelfBuilderDepsFactory.d.ts +8 -0
- package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/RepurchaseProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/repurchaseProductListShelfBuilderDepsFactory.d.ts +8 -0
- package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/RepurchaseProductShelfDataSourceExpressionBuilderModal/repurchaseProductShelfDataSourceExpressionBuilderModalDepsFactory.d.ts +11 -0
- package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/repurchaseProductShelfDataSourceExpressionBuilderDepsFactory.d.ts +11 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.html +36 -0
- package/env.d.ts +1 -0
- package/index.html +1 -2
- package/package.json +1 -1
- package/src/createRepurchaseEmailTemplateApp.ts +295 -0
- package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/repurchaseComponentSectionItemFactory.ts +30 -0
- package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/repurchaseEmailComponentFactory.ts +26 -0
- package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/repurchaseComponentLibraryFactory.ts +29 -0
- package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/repurchaseSectionFactory.ts +32 -0
- package/src/implementation/DataSources/ListDataExpressionSource/repurchaseEvaluateListExpressionDataSourceFactory.ts +134 -0
- package/src/implementation/DataSources/NumberExpressionDataSource/repurchaseEvaluateNumberExpressionDataSourceFactory.ts +10 -0
- package/src/implementation/DataSources/StringExpressionDataSource/repurchaseEvaluateStringExpressionDataSource.ts +56 -0
- package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/RepurchaseProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/alternativeProductsForRepurchaseProductListShelfBuilderDepsFactory.ts +33 -0
- package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/RepurchaseProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/relatedProductsForRepurchaseProductListShelfBuilderDepsFactory.ts +33 -0
- package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/RepurchaseProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/repurchaseProductListShelfBuilderDepsFactory.ts +33 -0
- package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/RepurchaseProductShelfDataSourceExpressionBuilderModal/repurchaseProductShelfDataSourceExpressionBuilderModalDepsFactory.ts +151 -0
- package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/repurchaseProductShelfDataSourceExpressionBuilderDepsFactory.ts +35 -0
- package/src/index.ts +0 -0
- package/tsconfig.app.json +19 -0
- package/tsconfig.json +14 -0
- package/tsconfig.node.json +11 -0
- package/tsconfig.test.json +11 -0
- package/vite.config.ts +36 -0
- package/assets/main.css +0 -1
- package/assets/main.js +0 -179
- package/favicon.ico +0 -0
package/assets/main.js
DELETED
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))i(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function o(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(n){if(n.ep)return;n.ep=!0;const r=o(n);fetch(n.href,r)}})();/**
|
|
2
|
-
* @vue/shared v3.5.24
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**/function ly(t){const e=Object.create(null);for(const o of t.split(","))e[o]=1;return o=>o in e}const Wt={},eu=[],On=()=>{},N1=()=>!1,ip=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),uy=t=>t.startsWith("onUpdate:"),Ro=Object.assign,dy=(t,e)=>{const o=t.indexOf(e);o>-1&&t.splice(o,1)},wM=Object.prototype.hasOwnProperty,_t=(t,e)=>wM.call(t,e),et=Array.isArray,tu=t=>np(t)==="[object Map]",P1=t=>np(t)==="[object Set]",tt=t=>typeof t=="function",eo=t=>typeof t=="string",ls=t=>typeof t=="symbol",Mt=t=>t!==null&&typeof t=="object",_1=t=>(Mt(t)||tt(t))&&tt(t.then)&&tt(t.catch),A1=Object.prototype.toString,np=t=>A1.call(t),kM=t=>np(t).slice(8,-1),I1=t=>np(t)==="[object Object]",cy=t=>eo(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,bd=ly(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),rp=t=>{const e=Object.create(null);return(o=>e[o]||(e[o]=t(o)))},WM=/-\w/g,Ei=rp(t=>t.replace(WM,e=>e.slice(1).toUpperCase())),OM=/\B([A-Z])/g,ll=rp(t=>t.replace(OM,"-$1").toLowerCase()),Nu=rp(t=>t.charAt(0).toUpperCase()+t.slice(1)),Fg=rp(t=>t?`on${Nu(t)}`:""),Ms=(t,e)=>!Object.is(t,e),yg=(t,...e)=>{for(let o=0;o<t.length;o++)t[o](...e)},w1=(t,e,o,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:o})},MM=t=>{const e=parseFloat(t);return isNaN(e)?t:e},HM=t=>{const e=eo(t)?Number(t):NaN;return isNaN(e)?t:e};let AV;const sp=()=>AV||(AV=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fe(t){if(et(t)){const e={};for(let o=0;o<t.length;o++){const i=t[o],n=eo(i)?jM(i):fe(i);if(n)for(const r in n)e[r]=n[r]}return e}else if(eo(t)||Mt(t))return t}const $M=/;(?![^(]*\))/g,zM=/:([^]+)/,UM=/\/\*[^]*?\*\//g;function jM(t){const e={};return t.replace(UM,"").split($M).forEach(o=>{if(o){const i=o.split(zM);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Ve(t){let e="";if(eo(t))e=t;else if(et(t))for(let o=0;o<t.length;o++){const i=Ve(t[o]);i&&(e+=i+" ")}else if(Mt(t))for(const o in t)t[o]&&(e+=o+" ");return e.trim()}function GM(t){if(!t)return null;let{class:e,style:o}=t;return e&&!eo(e)&&(t.class=Ve(e)),o&&(t.style=fe(o)),t}const KM="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",qM=ly(KM);function k1(t){return!!t||t===""}const W1=t=>!!(t&&t.__v_isRef===!0),Lt=t=>eo(t)?t:t==null?"":et(t)||Mt(t)&&(t.toString===A1||!tt(t.toString))?W1(t)?Lt(t.value):JSON.stringify(t,O1,2):String(t),O1=(t,e)=>W1(e)?O1(t,e.value):tu(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((o,[i,n],r)=>(o[Tg(i,r)+" =>"]=n,o),{})}:P1(e)?{[`Set(${e.size})`]:[...e.values()].map(o=>Tg(o))}:ls(e)?Tg(e):Mt(e)&&!et(e)&&!I1(e)?String(e):e,Tg=(t,e="")=>{var o;return ls(t)?`Symbol(${(o=t.description)!=null?o:e})`:t};function YM(t){return t==null?"initial":typeof t=="string"?t===""?" ":t:String(t)}/**
|
|
6
|
-
* @vue/reactivity v3.5.24
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let qo;class M1{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=qo,!e&&qo&&(this.index=(qo.scopes||(qo.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,o;if(this.scopes)for(e=0,o=this.scopes.length;e<o;e++)this.scopes[e].pause();for(e=0,o=this.effects.length;e<o;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,o;if(this.scopes)for(e=0,o=this.scopes.length;e<o;e++)this.scopes[e].resume();for(e=0,o=this.effects.length;e<o;e++)this.effects[e].resume()}}run(e){if(this._active){const o=qo;try{return qo=this,e()}finally{qo=o}}}on(){++this._on===1&&(this.prevScope=qo,qo=this)}off(){this._on>0&&--this._on===0&&(qo=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let o,i;for(o=0,i=this.effects.length;o<i;o++)this.effects[o].stop();for(this.effects.length=0,o=0,i=this.cleanups.length;o<i;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){for(o=0,i=this.scopes.length;o<i;o++)this.scopes[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0}}}function Mf(t){return new M1(t)}function my(){return qo}function Rc(t,e=!1){qo&&qo.cleanups.push(t)}let zt;const Sg=new WeakSet;class H1{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,qo&&qo.active&&qo.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Sg.has(this)&&(Sg.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||z1(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,IV(this),U1(this);const e=zt,o=Mn;zt=this,Mn=!0;try{return this.fn()}finally{j1(this),zt=e,Mn=o,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)py(e);this.deps=this.depsTail=void 0,IV(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Sg.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){O0(this)&&this.run()}get dirty(){return O0(this)}}let $1=0,Ld,Ed;function z1(t,e=!1){if(t.flags|=8,e){t.next=Ed,Ed=t;return}t.next=Ld,Ld=t}function fy(){$1++}function hy(){if(--$1>0)return;if(Ed){let e=Ed;for(Ed=void 0;e;){const o=e.next;e.next=void 0,e.flags&=-9,e=o}}let t;for(;Ld;){let e=Ld;for(Ld=void 0;e;){const o=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(i){t||(t=i)}e=o}}if(t)throw t}function U1(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function j1(t){let e,o=t.depsTail,i=o;for(;i;){const n=i.prevDep;i.version===-1?(i===o&&(o=n),py(i),JM(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=n}t.deps=e,t.depsTail=o}function O0(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(G1(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function G1(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Kd)||(t.globalVersion=Kd,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!O0(t))))return;t.flags|=2;const e=t.dep,o=zt,i=Mn;zt=t,Mn=!0;try{U1(t);const n=t.fn(t._value);(e.version===0||Ms(n,t._value))&&(t.flags|=128,t._value=n,e.version++)}catch(n){throw e.version++,n}finally{zt=o,Mn=i,j1(t),t.flags&=-3}}function py(t,e=!1){const{dep:o,prevSub:i,nextSub:n}=t;if(i&&(i.nextSub=n,t.prevSub=void 0),n&&(n.prevSub=i,t.nextSub=void 0),o.subs===t&&(o.subs=i,!i&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)py(r,!0)}!e&&!--o.sc&&o.map&&o.map.delete(o.key)}function JM(t){const{prevDep:e,nextDep:o}=t;e&&(e.nextDep=o,t.prevDep=void 0),o&&(o.prevDep=e,t.nextDep=void 0)}let Mn=!0;const K1=[];function ns(){K1.push(Mn),Mn=!1}function rs(){const t=K1.pop();Mn=t===void 0?!0:t}function IV(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const o=zt;zt=void 0;try{e()}finally{zt=o}}}let Kd=0,ZM=class{constructor(e,o){this.sub=e,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class ap{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!zt||!Mn||zt===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==zt)o=this.activeLink=new ZM(zt,this),zt.deps?(o.prevDep=zt.depsTail,zt.depsTail.nextDep=o,zt.depsTail=o):zt.deps=zt.depsTail=o,q1(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const i=o.nextDep;i.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=i),o.prevDep=zt.depsTail,o.nextDep=void 0,zt.depsTail.nextDep=o,zt.depsTail=o,zt.deps===o&&(zt.deps=i)}return o}trigger(e){this.version++,Kd++,this.notify(e)}notify(e){fy();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{hy()}}}function q1(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let i=e.deps;i;i=i.nextDep)q1(i)}const o=t.dep.subs;o!==t&&(t.prevSub=o,o&&(o.nextSub=t)),t.dep.subs=t}}const Hf=new WeakMap,$a=Symbol(""),M0=Symbol(""),qd=Symbol("");function Jo(t,e,o){if(Mn&&zt){let i=Hf.get(t);i||Hf.set(t,i=new Map);let n=i.get(o);n||(i.set(o,n=new ap),n.map=i,n.key=o),n.track()}}function Kr(t,e,o,i,n,r){const s=Hf.get(t);if(!s){Kd++;return}const a=u=>{u&&u.trigger()};if(fy(),e==="clear")s.forEach(a);else{const u=et(t),c=u&&cy(o);if(u&&o==="length"){const m=Number(i);s.forEach((f,p)=>{(p==="length"||p===qd||!ls(p)&&p>=m)&&a(f)})}else switch((o!==void 0||s.has(void 0))&&a(s.get(o)),c&&a(s.get(qd)),e){case"add":u?c&&a(s.get("length")):(a(s.get($a)),tu(t)&&a(s.get(M0)));break;case"delete":u||(a(s.get($a)),tu(t)&&a(s.get(M0)));break;case"set":tu(t)&&a(s.get($a));break}}hy()}function XM(t,e){const o=Hf.get(t);return o&&o.get(e)}function _l(t){const e=Dt(t);return e===t?e:(Jo(e,"iterate",qd),gn(t)?e:e.map(Wo))}function lp(t){return Jo(t=Dt(t),"iterate",qd),t}const QM={__proto__:null,[Symbol.iterator](){return Bg(this,Symbol.iterator,Wo)},concat(...t){return _l(this).concat(...t.map(e=>et(e)?_l(e):e))},entries(){return Bg(this,"entries",t=>(t[1]=Wo(t[1]),t))},every(t,e){return Ar(this,"every",t,e,void 0,arguments)},filter(t,e){return Ar(this,"filter",t,e,o=>o.map(Wo),arguments)},find(t,e){return Ar(this,"find",t,e,Wo,arguments)},findIndex(t,e){return Ar(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Ar(this,"findLast",t,e,Wo,arguments)},findLastIndex(t,e){return Ar(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Ar(this,"forEach",t,e,void 0,arguments)},includes(...t){return Vg(this,"includes",t)},indexOf(...t){return Vg(this,"indexOf",t)},join(t){return _l(this).join(t)},lastIndexOf(...t){return Vg(this,"lastIndexOf",t)},map(t,e){return Ar(this,"map",t,e,void 0,arguments)},pop(){return sd(this,"pop")},push(...t){return sd(this,"push",t)},reduce(t,...e){return wV(this,"reduce",t,e)},reduceRight(t,...e){return wV(this,"reduceRight",t,e)},shift(){return sd(this,"shift")},some(t,e){return Ar(this,"some",t,e,void 0,arguments)},splice(...t){return sd(this,"splice",t)},toReversed(){return _l(this).toReversed()},toSorted(t){return _l(this).toSorted(t)},toSpliced(...t){return _l(this).toSpliced(...t)},unshift(...t){return sd(this,"unshift",t)},values(){return Bg(this,"values",Wo)}};function Bg(t,e,o){const i=lp(t),n=i[e]();return i!==t&&!gn(t)&&(n._next=n.next,n.next=()=>{const r=n._next();return r.done||(r.value=o(r.value)),r}),n}const e3=Array.prototype;function Ar(t,e,o,i,n,r){const s=lp(t),a=s!==t&&!gn(t),u=s[e];if(u!==e3[e]){const f=u.apply(t,r);return a?Wo(f):f}let c=o;s!==t&&(a?c=function(f,p){return o.call(this,Wo(f),p,t)}:o.length>2&&(c=function(f,p){return o.call(this,f,p,t)}));const m=u.call(s,c,i);return a&&n?n(m):m}function wV(t,e,o,i){const n=lp(t);let r=o;return n!==t&&(gn(t)?o.length>3&&(r=function(s,a,u){return o.call(this,s,a,u,t)}):r=function(s,a,u){return o.call(this,s,Wo(a),u,t)}),n[e](r,...i)}function Vg(t,e,o){const i=Dt(t);Jo(i,"iterate",qd);const n=i[e](...o);return(n===-1||n===!1)&&Cy(o[0])?(o[0]=Dt(o[0]),i[e](...o)):n}function sd(t,e,o=[]){ns(),fy();const i=Dt(t)[e].apply(t,o);return hy(),rs(),i}const t3=ly("__proto__,__v_isRef,__isVue"),Y1=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(ls));function o3(t){ls(t)||(t=String(t));const e=Dt(this);return Jo(e,"has",t),e.hasOwnProperty(t)}class J1{constructor(e=!1,o=!1){this._isReadonly=e,this._isShallow=o}get(e,o,i){if(o==="__v_skip")return e.__v_skip;const n=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!n;if(o==="__v_isReadonly")return n;if(o==="__v_isShallow")return r;if(o==="__v_raw")return i===(n?r?oL:tL:r?eL:Q1).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const s=et(e);if(!n){let u;if(s&&(u=QM[o]))return u;if(o==="hasOwnProperty")return o3}const a=Reflect.get(e,o,ao(e)?e:i);if((ls(o)?Y1.has(o):t3(o))||(n||Jo(e,"get",o),r))return a;if(ao(a)){const u=s&&cy(o)?a:a.value;return n&&Mt(u)?$f(u):u}return Mt(a)?n?$f(a):xt(a):a}}class Z1 extends J1{constructor(e=!1){super(!1,e)}set(e,o,i,n){let r=e[o];if(!this._isShallow){const u=Gs(r);if(!gn(i)&&!Gs(i)&&(r=Dt(r),i=Dt(i)),!et(e)&&ao(r)&&!ao(i))return u||(r.value=i),!0}const s=et(e)&&cy(o)?Number(o)<e.length:_t(e,o),a=Reflect.set(e,o,i,ao(e)?e:n);return e===Dt(n)&&(s?Ms(i,r)&&Kr(e,"set",o,i):Kr(e,"add",o,i)),a}deleteProperty(e,o){const i=_t(e,o);e[o];const n=Reflect.deleteProperty(e,o);return n&&i&&Kr(e,"delete",o,void 0),n}has(e,o){const i=Reflect.has(e,o);return(!ls(o)||!Y1.has(o))&&Jo(e,"has",o),i}ownKeys(e){return Jo(e,"iterate",et(e)?"length":$a),Reflect.ownKeys(e)}}class X1 extends J1{constructor(e=!1){super(!0,e)}set(e,o){return!0}deleteProperty(e,o){return!0}}const i3=new Z1,n3=new X1,r3=new Z1(!0),s3=new X1(!0),H0=t=>t,Um=t=>Reflect.getPrototypeOf(t);function a3(t,e,o){return function(...i){const n=this.__v_raw,r=Dt(n),s=tu(r),a=t==="entries"||t===Symbol.iterator&&s,u=t==="keys"&&s,c=n[t](...i),m=o?H0:e?zf:Wo;return!e&&Jo(r,"iterate",u?M0:$a),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:a?[m(f[0]),m(f[1])]:m(f),done:p}},[Symbol.iterator](){return this}}}}function jm(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function l3(t,e){const o={get(n){const r=this.__v_raw,s=Dt(r),a=Dt(n);t||(Ms(n,a)&&Jo(s,"get",n),Jo(s,"get",a));const{has:u}=Um(s),c=e?H0:t?zf:Wo;if(u.call(s,n))return c(r.get(n));if(u.call(s,a))return c(r.get(a));r!==s&&r.get(n)},get size(){const n=this.__v_raw;return!t&&Jo(Dt(n),"iterate",$a),n.size},has(n){const r=this.__v_raw,s=Dt(r),a=Dt(n);return t||(Ms(n,a)&&Jo(s,"has",n),Jo(s,"has",a)),n===a?r.has(n):r.has(n)||r.has(a)},forEach(n,r){const s=this,a=s.__v_raw,u=Dt(a),c=e?H0:t?zf:Wo;return!t&&Jo(u,"iterate",$a),a.forEach((m,f)=>n.call(r,c(m),c(f),s))}};return Ro(o,t?{add:jm("add"),set:jm("set"),delete:jm("delete"),clear:jm("clear")}:{add(n){!e&&!gn(n)&&!Gs(n)&&(n=Dt(n));const r=Dt(this);return Um(r).has.call(r,n)||(r.add(n),Kr(r,"add",n,n)),this},set(n,r){!e&&!gn(r)&&!Gs(r)&&(r=Dt(r));const s=Dt(this),{has:a,get:u}=Um(s);let c=a.call(s,n);c||(n=Dt(n),c=a.call(s,n));const m=u.call(s,n);return s.set(n,r),c?Ms(r,m)&&Kr(s,"set",n,r):Kr(s,"add",n,r),this},delete(n){const r=Dt(this),{has:s,get:a}=Um(r);let u=s.call(r,n);u||(n=Dt(n),u=s.call(r,n)),a&&a.call(r,n);const c=r.delete(n);return u&&Kr(r,"delete",n,void 0),c},clear(){const n=Dt(this),r=n.size!==0,s=n.clear();return r&&Kr(n,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(n=>{o[n]=a3(n,t,e)}),o}function up(t,e){const o=l3(t,e);return(i,n,r)=>n==="__v_isReactive"?!t:n==="__v_isReadonly"?t:n==="__v_raw"?i:Reflect.get(_t(o,n)&&n in i?o:i,n,r)}const u3={get:up(!1,!1)},d3={get:up(!1,!0)},c3={get:up(!0,!1)},m3={get:up(!0,!0)},Q1=new WeakMap,eL=new WeakMap,tL=new WeakMap,oL=new WeakMap;function f3(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function h3(t){return t.__v_skip||!Object.isExtensible(t)?0:f3(kM(t))}function xt(t){return Gs(t)?t:dp(t,!1,i3,u3,Q1)}function p3(t){return dp(t,!1,r3,d3,eL)}function $f(t){return dp(t,!0,n3,c3,tL)}function Al(t){return dp(t,!0,s3,m3,oL)}function dp(t,e,o,i,n){if(!Mt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=h3(t);if(r===0)return t;const s=n.get(t);if(s)return s;const a=new Proxy(t,r===2?i:o);return n.set(t,a),a}function ou(t){return Gs(t)?ou(t.__v_raw):!!(t&&t.__v_isReactive)}function Gs(t){return!!(t&&t.__v_isReadonly)}function gn(t){return!!(t&&t.__v_isShallow)}function Cy(t){return t?!!t.__v_raw:!1}function Dt(t){const e=t&&t.__v_raw;return e?Dt(e):t}function iL(t){return!_t(t,"__v_skip")&&Object.isExtensible(t)&&w1(t,"__v_skip",!0),t}const Wo=t=>Mt(t)?xt(t):t,zf=t=>Mt(t)?$f(t):t;function ao(t){return t?t.__v_isRef===!0:!1}function Vt(t){return nL(t,!1)}function lo(t){return nL(t,!0)}function nL(t,e){return ao(t)?t:new C3(t,e)}class C3{constructor(e,o){this.dep=new ap,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?e:Dt(e),this._value=o?e:Wo(e),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(e){const o=this._rawValue,i=this.__v_isShallow||gn(e)||Gs(e);e=i?e:Dt(e),Ms(e,o)&&(this._rawValue=e,this._value=i?e:Wo(e),this.dep.trigger())}}function j(t){return ao(t)?t.value:t}function cu(t){return tt(t)?t():j(t)}const g3={get:(t,e,o)=>e==="__v_raw"?t:j(Reflect.get(t,e,o)),set:(t,e,o,i)=>{const n=t[e];return ao(n)&&!ao(o)?(n.value=o,!0):Reflect.set(t,e,o,i)}};function rL(t){return ou(t)?t:new Proxy(t,g3)}class F3{constructor(e){this.__v_isRef=!0,this._value=void 0;const o=this.dep=new ap,{get:i,set:n}=e(o.track.bind(o),o.trigger.bind(o));this._get=i,this._set=n}get value(){return this._value=this._get()}set value(e){this._set(e)}}function y3(t){return new F3(t)}function sL(t){const e=et(t)?new Array(t.length):{};for(const o in t)e[o]=aL(t,o);return e}class T3{constructor(e,o,i){this._object=e,this._key=o,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return XM(Dt(this._object),this._key)}}class S3{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ue(t,e,o){return ao(t)?t:tt(t)?new S3(t):Mt(t)&&arguments.length>1?aL(t,e,o):Vt(t)}function aL(t,e,o){const i=t[e];return ao(i)?i:new T3(t,e,o)}class B3{constructor(e,o,i){this.fn=e,this.setter=o,this._value=void 0,this.dep=new ap(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kd-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&zt!==this)return z1(this,!0),!0}get value(){const e=this.dep.track();return G1(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function V3(t,e,o=!1){let i,n;return tt(t)?i=t:(i=t.get,n=t.set),new B3(i,n,o)}const Gm={},Uf=new WeakMap;let Na;function R3(t,e=!1,o=Na){if(o){let i=Uf.get(o);i||Uf.set(o,i=[]),i.push(t)}}function D3(t,e,o=Wt){const{immediate:i,deep:n,once:r,scheduler:s,augmentJob:a,call:u}=o,c=R=>n?R:gn(R)||n===!1||n===0?qr(R,1):qr(R);let m,f,p,C,F=!1,y=!1;if(ao(t)?(f=()=>t.value,F=gn(t)):ou(t)?(f=()=>c(t),F=!0):et(t)?(y=!0,F=t.some(R=>ou(R)||gn(R)),f=()=>t.map(R=>{if(ao(R))return R.value;if(ou(R))return c(R);if(tt(R))return u?u(R,2):R()})):tt(t)?e?f=u?()=>u(t,2):t:f=()=>{if(p){ns();try{p()}finally{rs()}}const R=Na;Na=m;try{return u?u(t,3,[C]):t(C)}finally{Na=R}}:f=On,e&&n){const R=f,N=n===!0?1/0:n;f=()=>qr(R(),N)}const T=my(),B=()=>{m.stop(),T&&T.active&&dy(T.effects,m)};if(r&&e){const R=e;e=(...N)=>{R(...N),B()}}let v=y?new Array(t.length).fill(Gm):Gm;const D=R=>{if(!(!(m.flags&1)||!m.dirty&&!R))if(e){const N=m.run();if(n||F||(y?N.some((_,P)=>Ms(_,v[P])):Ms(N,v))){p&&p();const _=Na;Na=m;try{const P=[N,v===Gm?void 0:y&&v[0]===Gm?[]:v,C];v=N,u?u(e,3,P):e(...P)}finally{Na=_}}}else m.run()};return a&&a(D),m=new H1(f),m.scheduler=s?()=>s(D,!1):D,C=R=>R3(R,!1,m),p=m.onStop=()=>{const R=Uf.get(m);if(R){if(u)u(R,4);else for(const N of R)N();Uf.delete(m)}},e?i?D(!0):v=m.run():s?s(D.bind(null,!0),!0):m.run(),B.pause=m.pause.bind(m),B.resume=m.resume.bind(m),B.stop=B,B}function qr(t,e=1/0,o){if(e<=0||!Mt(t)||t.__v_skip||(o=o||new Map,(o.get(t)||0)>=e))return t;if(o.set(t,e),e--,ao(t))qr(t.value,e,o);else if(et(t))for(let i=0;i<t.length;i++)qr(t[i],e,o);else if(P1(t)||tu(t))t.forEach(i=>{qr(i,e,o)});else if(I1(t)){for(const i in t)qr(t[i],e,o);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&qr(t[i],e,o)}return t}/**
|
|
10
|
-
* @vue/runtime-core v3.5.24
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function Dc(t,e,o,i){try{return i?t(...i):t()}catch(n){cp(n,e,o)}}function Hn(t,e,o,i){if(tt(t)){const n=Dc(t,e,o,i);return n&&_1(n)&&n.catch(r=>{cp(r,e,o)}),n}if(et(t)){const n=[];for(let r=0;r<t.length;r++)n.push(Hn(t[r],e,o,i));return n}}function cp(t,e,o,i=!0){const n=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:s}=e&&e.appContext.config||Wt;if(e){let a=e.parent;const u=e.proxy,c=`https://vuejs.org/error-reference/#runtime-${o}`;for(;a;){const m=a.ec;if(m){for(let f=0;f<m.length;f++)if(m[f](t,u,c)===!1)return}a=a.parent}if(r){ns(),Dc(r,null,10,[t,u,c]),rs();return}}x3(t,o,n,i,s)}function x3(t,e,o,i=!0,n=!1){if(n)throw t;console.error(t)}const di=[];let tr=-1;const iu=[];let vs=null,Hl=0;const lL=Promise.resolve();let jf=null;function ul(t){const e=jf||lL;return t?e.then(this?t.bind(this):t):e}function b3(t){let e=tr+1,o=di.length;for(;e<o;){const i=e+o>>>1,n=di[i],r=Yd(n);r<t||r===t&&n.flags&2?e=i+1:o=i}return e}function gy(t){if(!(t.flags&1)){const e=Yd(t),o=di[di.length-1];!o||!(t.flags&2)&&e>=Yd(o)?di.push(t):di.splice(b3(e),0,t),t.flags|=1,uL()}}function uL(){jf||(jf=lL.then(mL))}function dL(t){et(t)?iu.push(...t):vs&&t.id===-1?vs.splice(Hl+1,0,t):t.flags&1||(iu.push(t),t.flags|=1),uL()}function kV(t,e,o=tr+1){for(;o<di.length;o++){const i=di[o];if(i&&i.flags&2){if(t&&i.id!==t.uid)continue;di.splice(o,1),o--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function cL(t){if(iu.length){const e=[...new Set(iu)].sort((o,i)=>Yd(o)-Yd(i));if(iu.length=0,vs){vs.push(...e);return}for(vs=e,Hl=0;Hl<vs.length;Hl++){const o=vs[Hl];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}vs=null,Hl=0}}const Yd=t=>t.id==null?t.flags&2?-1:1/0:t.id;function mL(t){try{for(tr=0;tr<di.length;tr++){const e=di[tr];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Dc(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;tr<di.length;tr++){const e=di[tr];e&&(e.flags&=-2)}tr=-1,di.length=0,cL(),jf=null,(di.length||iu.length)&&mL()}}let Ho=null,fL=null;function Gf(t){const e=Ho;return Ho=t,fL=t&&t.type.__scopeId||null,e}function ur(t,e=Ho,o){if(!e||t._n)return t;const i=(...n)=>{i._d&&Jf(-1);const r=Gf(e);let s;try{s=t(...n)}finally{Gf(r),i._d&&Jf(1)}return s};return i._n=!0,i._c=!0,i._d=!0,i}function ct(t,e){if(Ho===null)return t;const o=Cp(Ho),i=t.dirs||(t.dirs=[]);for(let n=0;n<e.length;n++){let[r,s,a,u=Wt]=e[n];r&&(tt(r)&&(r={mounted:r,updated:r}),r.deep&&qr(s),i.push({dir:r,instance:o,value:s,oldValue:void 0,arg:a,modifiers:u}))}return t}function Ra(t,e,o,i){const n=t.dirs,r=e&&e.dirs;for(let s=0;s<n.length;s++){const a=n[s];r&&(a.oldValue=r[s].value);let u=a.dir[i];u&&(ns(),Hn(u,o,8,[t.el,a,t,e]),rs())}}const hL=Symbol("_vte"),pL=t=>t.__isTeleport,vd=t=>t&&(t.disabled||t.disabled===""),WV=t=>t&&(t.defer||t.defer===""),OV=t=>typeof SVGElement<"u"&&t instanceof SVGElement,MV=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,$0=(t,e)=>{const o=t&&t.to;return eo(o)?e?e(o):null:o},CL={name:"Teleport",__isTeleport:!0,process(t,e,o,i,n,r,s,a,u,c){const{mc:m,pc:f,pbc:p,o:{insert:C,querySelector:F,createText:y,createComment:T}}=c,B=vd(e.props);let{shapeFlag:v,children:D,dynamicChildren:R}=e;if(t==null){const N=e.el=y(""),_=e.anchor=y("");C(N,o,i),C(_,o,i);const P=(k,de)=>{v&16&&m(D,k,de,n,r,s,a,u)},U=()=>{const k=e.target=$0(e.props,F),de=gL(k,e,y,C);k&&(s!=="svg"&&OV(k)?s="svg":s!=="mathml"&&MV(k)&&(s="mathml"),n&&n.isCE&&(n.ce._teleportTargets||(n.ce._teleportTargets=new Set)).add(k),B||(P(k,de),Vf(e,!1)))};B&&(P(o,_),Vf(e,!0)),WV(e.props)?(e.el.__isMounted=!1,ui(()=>{U(),delete e.el.__isMounted},r)):U()}else{if(WV(e.props)&&t.el.__isMounted===!1){ui(()=>{CL.process(t,e,o,i,n,r,s,a,u,c)},r);return}e.el=t.el,e.targetStart=t.targetStart;const N=e.anchor=t.anchor,_=e.target=t.target,P=e.targetAnchor=t.targetAnchor,U=vd(t.props),k=U?o:_,de=U?N:P;if(s==="svg"||OV(_)?s="svg":(s==="mathml"||MV(_))&&(s="mathml"),R?(p(t.dynamicChildren,R,k,n,r,s,a),Vy(t,e,!0)):u||f(t,e,k,de,n,r,s,a,!1),B)U?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Km(e,o,N,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const z=e.target=$0(e.props,F);z&&Km(e,z,null,c,0)}else U&&Km(e,_,P,c,1);Vf(e,B)}},remove(t,e,o,{um:i,o:{remove:n}},r){const{shapeFlag:s,children:a,anchor:u,targetStart:c,targetAnchor:m,target:f,props:p}=t;if(f&&(n(c),n(m)),r&&n(u),s&16){const C=r||!vd(p);for(let F=0;F<a.length;F++){const y=a[F];i(y,e,o,C,!!y.dynamicChildren)}}},move:Km,hydrate:L3};function Km(t,e,o,{o:{insert:i},m:n},r=2){r===0&&i(t.targetAnchor,e,o);const{el:s,anchor:a,shapeFlag:u,children:c,props:m}=t,f=r===2;if(f&&i(s,e,o),(!f||vd(m))&&u&16)for(let p=0;p<c.length;p++)n(c[p],e,o,2);f&&i(a,e,o)}function L3(t,e,o,i,n,r,{o:{nextSibling:s,parentNode:a,querySelector:u,insert:c,createText:m}},f){function p(y,T,B,v){T.anchor=f(s(y),T,a(y),o,i,n,r),T.targetStart=B,T.targetAnchor=v}const C=e.target=$0(e.props,u),F=vd(e.props);if(C){const y=C._lpa||C.firstChild;if(e.shapeFlag&16)if(F)p(t,e,y,y&&s(y));else{e.anchor=s(t);let T=y;for(;T;){if(T&&T.nodeType===8){if(T.data==="teleport start anchor")e.targetStart=T;else if(T.data==="teleport anchor"){e.targetAnchor=T,C._lpa=e.targetAnchor&&s(e.targetAnchor);break}}T=s(T)}e.targetAnchor||gL(C,e,m,c),f(y&&s(y),e,C,o,i,n,r)}Vf(e,F)}else F&&e.shapeFlag&16&&p(t,e,t,s(t));return e.anchor&&s(e.anchor)}const Fy=CL;function Vf(t,e){const o=t.ctx;if(o&&o.ut){let i,n;for(e?(i=t.el,n=t.anchor):(i=t.targetStart,n=t.targetAnchor);i&&i!==n;)i.nodeType===1&&i.setAttribute("data-v-owner",o.uid),i=i.nextSibling;o.ut()}}function gL(t,e,o,i){const n=e.targetStart=o(""),r=e.targetAnchor=o("");return n[hL]=r,t&&(i(n,t),i(r,t)),r}const Gr=Symbol("_leaveCb"),qm=Symbol("_enterCb");function FL(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ds(()=>{t.isMounted=!0}),ea(()=>{t.isUnmounting=!0}),t}const dn=[Function,Array],yL={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:dn,onEnter:dn,onAfterEnter:dn,onEnterCancelled:dn,onBeforeLeave:dn,onLeave:dn,onAfterLeave:dn,onLeaveCancelled:dn,onBeforeAppear:dn,onAppear:dn,onAfterAppear:dn,onAppearCancelled:dn},TL=t=>{const e=t.subTree;return e.component?TL(e.component):e},E3={name:"BaseTransition",props:yL,setup(t,{slots:e}){const o=Sn(),i=FL();return()=>{const n=e.default&&yy(e.default(),!0);if(!n||!n.length)return;const r=SL(n),s=Dt(t),{mode:a}=s;if(i.isLeaving)return Rg(r);const u=HV(r);if(!u)return Rg(r);let c=Jd(u,s,i,o,f=>c=f);u.type!==Zo&&Xa(u,c);let m=o.subTree&&HV(o.subTree);if(m&&m.type!==Zo&&!Pa(m,u)&&TL(o).type!==Zo){let f=Jd(m,s,i,o);if(Xa(m,f),a==="out-in"&&u.type!==Zo)return i.isLeaving=!0,f.afterLeave=()=>{i.isLeaving=!1,o.job.flags&8||o.update(),delete f.afterLeave,m=void 0},Rg(r);a==="in-out"&&u.type!==Zo?f.delayLeave=(p,C,F)=>{const y=BL(i,m);y[String(m.key)]=m,p[Gr]=()=>{C(),p[Gr]=void 0,delete c.delayedLeave,m=void 0},c.delayedLeave=()=>{F(),delete c.delayedLeave,m=void 0}}:m=void 0}else m&&(m=void 0);return r}}};function SL(t){let e=t[0];if(t.length>1){for(const o of t)if(o.type!==Zo){e=o;break}}return e}const v3=E3;function BL(t,e){const{leavingVNodes:o}=t;let i=o.get(e.type);return i||(i=Object.create(null),o.set(e.type,i)),i}function Jd(t,e,o,i,n){const{appear:r,mode:s,persisted:a=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:m,onEnterCancelled:f,onBeforeLeave:p,onLeave:C,onAfterLeave:F,onLeaveCancelled:y,onBeforeAppear:T,onAppear:B,onAfterAppear:v,onAppearCancelled:D}=e,R=String(t.key),N=BL(o,t),_=(k,de)=>{k&&Hn(k,i,9,de)},P=(k,de)=>{const z=de[1];_(k,de),et(k)?k.every(M=>M.length<=1)&&z():k.length<=1&&z()},U={mode:s,persisted:a,beforeEnter(k){let de=u;if(!o.isMounted)if(r)de=T||u;else return;k[Gr]&&k[Gr](!0);const z=N[R];z&&Pa(t,z)&&z.el[Gr]&&z.el[Gr](),_(de,[k])},enter(k){let de=c,z=m,M=f;if(!o.isMounted)if(r)de=B||c,z=v||m,M=D||f;else return;let X=!1;const Ce=k[qm]=pe=>{X||(X=!0,pe?_(M,[k]):_(z,[k]),U.delayedLeave&&U.delayedLeave(),k[qm]=void 0)};de?P(de,[k,Ce]):Ce()},leave(k,de){const z=String(t.key);if(k[qm]&&k[qm](!0),o.isUnmounting)return de();_(p,[k]);let M=!1;const X=k[Gr]=Ce=>{M||(M=!0,de(),Ce?_(y,[k]):_(F,[k]),k[Gr]=void 0,N[z]===t&&delete N[z])};N[z]=t,C?P(C,[k,X]):X()},clone(k){const de=Jd(k,e,o,i,n);return n&&n(de),de}};return U}function Rg(t){if(fp(t))return t=Ks(t),t.children=null,t}function HV(t){if(!fp(t))return pL(t.type)&&t.children?SL(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:o}=t;if(o){if(e&16)return o[0];if(e&32&&tt(o.default))return o.default()}}function Xa(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Xa(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function yy(t,e=!1,o){let i=[],n=0;for(let r=0;r<t.length;r++){let s=t[r];const a=o==null?s.key:String(o)+String(s.key!=null?s.key:r);s.type===Ge?(s.patchFlag&128&&n++,i=i.concat(yy(s.children,e,a))):(e||s.type!==Zo)&&i.push(a!=null?Ks(s,{key:a}):s)}if(n>1)for(let r=0;r<i.length;r++)i[r].patchFlag=-2;return i}function Me(t,e){return tt(t)?Ro({name:t.name},e,{setup:t}):t}function mp(){const t=Sn();return t?(t.appContext.config.idPrefix||"v")+"-"+t.ids[0]+t.ids[1]++:""}function VL(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}const Kf=new WeakMap;function Nd(t,e,o,i,n=!1){if(et(t)){t.forEach((F,y)=>Nd(F,e&&(et(e)?e[y]:e),o,i,n));return}if(nu(i)&&!n){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Nd(t,e,o,i.component.subTree);return}const r=i.shapeFlag&4?Cp(i.component):i.el,s=n?null:r,{i:a,r:u}=t,c=e&&e.r,m=a.refs===Wt?a.refs={}:a.refs,f=a.setupState,p=Dt(f),C=f===Wt?N1:F=>_t(p,F);if(c!=null&&c!==u){if($V(e),eo(c))m[c]=null,C(c)&&(f[c]=null);else if(ao(c)){c.value=null;const F=e;F.k&&(m[F.k]=null)}}if(tt(u))Dc(u,a,12,[s,m]);else{const F=eo(u),y=ao(u);if(F||y){const T=()=>{if(t.f){const B=F?C(u)?f[u]:m[u]:u.value;if(n)et(B)&&dy(B,r);else if(et(B))B.includes(r)||B.push(r);else if(F)m[u]=[r],C(u)&&(f[u]=m[u]);else{const v=[r];u.value=v,t.k&&(m[t.k]=v)}}else F?(m[u]=s,C(u)&&(f[u]=s)):y&&(u.value=s,t.k&&(m[t.k]=s))};if(s){const B=()=>{T(),Kf.delete(t)};B.id=-1,Kf.set(t,B),ui(B,o)}else $V(t),T()}}}function $V(t){const e=Kf.get(t);e&&(e.flags|=8,Kf.delete(t))}sp().requestIdleCallback;sp().cancelIdleCallback;const nu=t=>!!t.type.__asyncLoader,fp=t=>t.type.__isKeepAlive;function N3(t,e){RL(t,"a",e)}function P3(t,e){RL(t,"da",e)}function RL(t,e,o=Xo){const i=t.__wdc||(t.__wdc=()=>{let n=o;for(;n;){if(n.isDeactivated)return;n=n.parent}return t()});if(hp(e,i,o),o){let n=o.parent;for(;n&&n.parent;)fp(n.parent.vnode)&&_3(i,e,o,n),n=n.parent}}function _3(t,e,o,i){const n=hp(e,t,i,!0);bc(()=>{dy(i[e],n)},o)}function hp(t,e,o=Xo,i=!1){if(o){const n=o[t]||(o[t]=[]),r=e.__weh||(e.__weh=(...s)=>{ns();const a=Lc(o),u=Hn(e,o,t,s);return a(),rs(),u});return i?n.unshift(r):n.push(r),r}}const us=t=>(e,o=Xo)=>{(!Qd||t==="sp")&&hp(t,(...i)=>e(...i),o)},xc=us("bm"),ds=us("m"),DL=us("bu"),Ty=us("u"),ea=us("bum"),bc=us("um"),A3=us("sp"),I3=us("rtg"),w3=us("rtc");function k3(t,e=Xo){hp("ec",t,e)}const xL="components",W3="directives",bL=Symbol.for("v-ndc");function z0(t){return eo(t)?LL(xL,t,!1)||t:t||bL}function ta(t){return LL(W3,t)}function LL(t,e,o=!0,i=!1){const n=Ho||Xo;if(n){const r=n.type;if(t===xL){const a=V6(r,!1);if(a&&(a===e||a===Ei(e)||a===Nu(Ei(e))))return r}const s=zV(n[t]||r[t],e)||zV(n.appContext[t],e);return!s&&i?r:s}}function zV(t,e){return t&&(t[e]||t[Ei(e)]||t[Nu(Ei(e))])}function Yt(t,e,o,i){let n;const r=o,s=et(t);if(s||eo(t)){const a=s&&ou(t);let u=!1,c=!1;a&&(u=!gn(t),c=Gs(t),t=lp(t)),n=new Array(t.length);for(let m=0,f=t.length;m<f;m++)n[m]=e(u?c?zf(Wo(t[m])):Wo(t[m]):t[m],m,void 0,r)}else if(typeof t=="number"){n=new Array(t);for(let a=0;a<t;a++)n[a]=e(a+1,a,void 0,r)}else if(Mt(t))if(t[Symbol.iterator])n=Array.from(t,(a,u)=>e(a,u,void 0,r));else{const a=Object.keys(t);n=new Array(a.length);for(let u=0,c=a.length;u<c;u++){const m=a[u];n[u]=e(t[m],m,u,r)}}else n=[];return n}function qf(t,e,o={},i,n){if(Ho.ce||Ho.parent&&nu(Ho.parent)&&Ho.parent.ce){const c=Object.keys(o).length>0;return e!=="default"&&(o.name=e),W(),Pe(Ge,null,[ue("slot",o,i)],c?-2:64)}let r=t[e];r&&r._c&&(r._d=!1),W();const s=r&&EL(r(o)),a=o.key||s&&s.key,u=Pe(Ge,{key:(a&&!ls(a)?a:`_${e}`)+(!s&&i?"_fb":"")},s||[],s&&t._===1?64:-2);return!n&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),r&&r._c&&(r._d=!0),u}function EL(t){return t.some(e=>Xd(e)?!(e.type===Zo||e.type===Ge&&!EL(e.children)):!0)?t:null}const U0=t=>t?qL(t)?Cp(t):U0(t.parent):null,Pd=Ro(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>U0(t.parent),$root:t=>U0(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>NL(t),$forceUpdate:t=>t.f||(t.f=()=>{gy(t.update)}),$nextTick:t=>t.n||(t.n=ul.bind(t.proxy)),$watch:t=>r6.bind(t)}),Dg=(t,e)=>t!==Wt&&!t.__isScriptSetup&&_t(t,e),O3={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:o,setupState:i,data:n,props:r,accessCache:s,type:a,appContext:u}=t;let c;if(e[0]!=="$"){const C=s[e];if(C!==void 0)switch(C){case 1:return i[e];case 2:return n[e];case 4:return o[e];case 3:return r[e]}else{if(Dg(i,e))return s[e]=1,i[e];if(n!==Wt&&_t(n,e))return s[e]=2,n[e];if((c=t.propsOptions[0])&&_t(c,e))return s[e]=3,r[e];if(o!==Wt&&_t(o,e))return s[e]=4,o[e];j0&&(s[e]=0)}}const m=Pd[e];let f,p;if(m)return e==="$attrs"&&Jo(t.attrs,"get",""),m(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(o!==Wt&&_t(o,e))return s[e]=4,o[e];if(p=u.config.globalProperties,_t(p,e))return p[e]},set({_:t},e,o){const{data:i,setupState:n,ctx:r}=t;return Dg(n,e)?(n[e]=o,!0):i!==Wt&&_t(i,e)?(i[e]=o,!0):_t(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=o,!0)},has({_:{data:t,setupState:e,accessCache:o,ctx:i,appContext:n,propsOptions:r,type:s}},a){let u,c;return!!(o[a]||t!==Wt&&a[0]!=="$"&&_t(t,a)||Dg(e,a)||(u=r[0])&&_t(u,a)||_t(i,a)||_t(Pd,a)||_t(n.config.globalProperties,a)||(c=s.__cssModules)&&c[a])},defineProperty(t,e,o){return o.get!=null?t._.accessCache[e]=0:_t(o,"value")&&this.set(t,e,o.value,null),Reflect.defineProperty(t,e,o)}};function UV(t){return et(t)?t.reduce((e,o)=>(e[o]=null,e),{}):t}let j0=!0;function M3(t){const e=NL(t),o=t.proxy,i=t.ctx;j0=!1,e.beforeCreate&&jV(e.beforeCreate,t,"bc");const{data:n,computed:r,methods:s,watch:a,provide:u,inject:c,created:m,beforeMount:f,mounted:p,beforeUpdate:C,updated:F,activated:y,deactivated:T,beforeDestroy:B,beforeUnmount:v,destroyed:D,unmounted:R,render:N,renderTracked:_,renderTriggered:P,errorCaptured:U,serverPrefetch:k,expose:de,inheritAttrs:z,components:M,directives:X,filters:Ce}=e;if(c&&H3(c,i,null),s)for(const Re in s){const Ie=s[Re];tt(Ie)&&(i[Re]=Ie.bind(o))}if(n){const Re=n.call(o,o);Mt(Re)&&(t.data=xt(Re))}if(j0=!0,r)for(const Re in r){const Ie=r[Re],mt=tt(Ie)?Ie.bind(o,o):tt(Ie.get)?Ie.get.bind(o,o):On,ke=!tt(Ie)&&tt(Ie.set)?Ie.set.bind(o):On,ve=Z({get:mt,set:ke});Object.defineProperty(i,Re,{enumerable:!0,configurable:!0,get:()=>ve.value,set:lt=>ve.value=lt})}if(a)for(const Re in a)vL(a[Re],i,o,Re);if(u){const Re=tt(u)?u.call(o):u;Reflect.ownKeys(Re).forEach(Ie=>{dl(Ie,Re[Ie])})}m&&jV(m,t,"c");function ie(Re,Ie){et(Ie)?Ie.forEach(mt=>Re(mt.bind(o))):Ie&&Re(Ie.bind(o))}if(ie(xc,f),ie(ds,p),ie(DL,C),ie(Ty,F),ie(N3,y),ie(P3,T),ie(k3,U),ie(w3,_),ie(I3,P),ie(ea,v),ie(bc,R),ie(A3,k),et(de))if(de.length){const Re=t.exposed||(t.exposed={});de.forEach(Ie=>{Object.defineProperty(Re,Ie,{get:()=>o[Ie],set:mt=>o[Ie]=mt,enumerable:!0})})}else t.exposed||(t.exposed={});N&&t.render===On&&(t.render=N),z!=null&&(t.inheritAttrs=z),M&&(t.components=M),X&&(t.directives=X),k&&VL(t)}function H3(t,e,o=On){et(t)&&(t=G0(t));for(const i in t){const n=t[i];let r;Mt(n)?"default"in n?r=ei(n.from||i,n.default,!0):r=ei(n.from||i):r=ei(n),ao(r)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):e[i]=r}}function jV(t,e,o){Hn(et(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,o)}function vL(t,e,o,i){let n=i.includes(".")?$L(o,i):()=>o[i];if(eo(t)){const r=e[t];tt(r)&&Rt(n,r)}else if(tt(t))Rt(n,t.bind(o));else if(Mt(t))if(et(t))t.forEach(r=>vL(r,e,o,i));else{const r=tt(t.handler)?t.handler.bind(o):e[t.handler];tt(r)&&Rt(n,r,t)}}function NL(t){const e=t.type,{mixins:o,extends:i}=e,{mixins:n,optionsCache:r,config:{optionMergeStrategies:s}}=t.appContext,a=r.get(e);let u;return a?u=a:!n.length&&!o&&!i?u=e:(u={},n.length&&n.forEach(c=>Yf(u,c,s,!0)),Yf(u,e,s)),Mt(e)&&r.set(e,u),u}function Yf(t,e,o,i=!1){const{mixins:n,extends:r}=e;r&&Yf(t,r,o,!0),n&&n.forEach(s=>Yf(t,s,o,!0));for(const s in e)if(!(i&&s==="expose")){const a=$3[s]||o&&o[s];t[s]=a?a(t[s],e[s]):e[s]}return t}const $3={data:GV,props:KV,emits:KV,methods:Td,computed:Td,beforeCreate:ai,created:ai,beforeMount:ai,mounted:ai,beforeUpdate:ai,updated:ai,beforeDestroy:ai,beforeUnmount:ai,destroyed:ai,unmounted:ai,activated:ai,deactivated:ai,errorCaptured:ai,serverPrefetch:ai,components:Td,directives:Td,watch:U3,provide:GV,inject:z3};function GV(t,e){return e?t?function(){return Ro(tt(t)?t.call(this,this):t,tt(e)?e.call(this,this):e)}:e:t}function z3(t,e){return Td(G0(t),G0(e))}function G0(t){if(et(t)){const e={};for(let o=0;o<t.length;o++)e[t[o]]=t[o];return e}return t}function ai(t,e){return t?[...new Set([].concat(t,e))]:e}function Td(t,e){return t?Ro(Object.create(null),t,e):e}function KV(t,e){return t?et(t)&&et(e)?[...new Set([...t,...e])]:Ro(Object.create(null),UV(t),UV(e??{})):e}function U3(t,e){if(!t)return e;if(!e)return t;const o=Ro(Object.create(null),t);for(const i in e)o[i]=ai(t[i],e[i]);return o}function PL(){return{app:null,config:{isNativeTag:N1,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let j3=0;function G3(t,e){return function(i,n=null){tt(i)||(i=Ro({},i)),n!=null&&!Mt(n)&&(n=null);const r=PL(),s=new WeakSet,a=[];let u=!1;const c=r.app={_uid:j3++,_component:i,_props:n,_container:null,_context:r,_instance:null,version:D6,get config(){return r.config},set config(m){},use(m,...f){return s.has(m)||(m&&tt(m.install)?(s.add(m),m.install(c,...f)):tt(m)&&(s.add(m),m(c,...f))),c},mixin(m){return r.mixins.includes(m)||r.mixins.push(m),c},component(m,f){return f?(r.components[m]=f,c):r.components[m]},directive(m,f){return f?(r.directives[m]=f,c):r.directives[m]},mount(m,f,p){if(!u){const C=c._ceVNode||ue(i,n);return C.appContext=r,p===!0?p="svg":p===!1&&(p=void 0),t(C,m,p),u=!0,c._container=m,m.__vue_app__=c,Cp(C.component)}},onUnmount(m){a.push(m)},unmount(){u&&(Hn(a,c._instance,16),t(null,c._container),delete c._container.__vue_app__)},provide(m,f){return r.provides[m]=f,c},runWithContext(m){const f=ru;ru=c;try{return m()}finally{ru=f}}};return c}}let ru=null;function dl(t,e){if(Xo){let o=Xo.provides;const i=Xo.parent&&Xo.parent.provides;i===o&&(o=Xo.provides=Object.create(i)),o[t]=e}}function ei(t,e,o=!1){const i=Sn();if(i||ru){let n=ru?ru._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(n&&t in n)return n[t];if(arguments.length>1)return o&&tt(e)?e.call(i&&i.proxy):e}}const _L={},AL=()=>Object.create(_L),IL=t=>Object.getPrototypeOf(t)===_L;function K3(t,e,o,i=!1){const n={},r=AL();t.propsDefaults=Object.create(null),wL(t,e,n,r);for(const s in t.propsOptions[0])s in n||(n[s]=void 0);o?t.props=i?n:p3(n):t.type.props?t.props=n:t.props=r,t.attrs=r}function q3(t,e,o,i){const{props:n,attrs:r,vnode:{patchFlag:s}}=t,a=Dt(n),[u]=t.propsOptions;let c=!1;if((i||s>0)&&!(s&16)){if(s&8){const m=t.vnode.dynamicProps;for(let f=0;f<m.length;f++){let p=m[f];if(pp(t.emitsOptions,p))continue;const C=e[p];if(u)if(_t(r,p))C!==r[p]&&(r[p]=C,c=!0);else{const F=Ei(p);n[F]=K0(u,a,F,C,t,!1)}else C!==r[p]&&(r[p]=C,c=!0)}}}else{wL(t,e,n,r)&&(c=!0);let m;for(const f in a)(!e||!_t(e,f)&&((m=ll(f))===f||!_t(e,m)))&&(u?o&&(o[f]!==void 0||o[m]!==void 0)&&(n[f]=K0(u,a,f,void 0,t,!0)):delete n[f]);if(r!==a)for(const f in r)(!e||!_t(e,f))&&(delete r[f],c=!0)}c&&Kr(t.attrs,"set","")}function wL(t,e,o,i){const[n,r]=t.propsOptions;let s=!1,a;if(e)for(let u in e){if(bd(u))continue;const c=e[u];let m;n&&_t(n,m=Ei(u))?!r||!r.includes(m)?o[m]=c:(a||(a={}))[m]=c:pp(t.emitsOptions,u)||(!(u in i)||c!==i[u])&&(i[u]=c,s=!0)}if(r){const u=Dt(o),c=a||Wt;for(let m=0;m<r.length;m++){const f=r[m];o[f]=K0(n,u,f,c[f],t,!_t(c,f))}}return s}function K0(t,e,o,i,n,r){const s=t[o];if(s!=null){const a=_t(s,"default");if(a&&i===void 0){const u=s.default;if(s.type!==Function&&!s.skipFactory&&tt(u)){const{propsDefaults:c}=n;if(o in c)i=c[o];else{const m=Lc(n);i=c[o]=u.call(null,e),m()}}else i=u;n.ce&&n.ce._setProp(o,i)}s[0]&&(r&&!a?i=!1:s[1]&&(i===""||i===ll(o))&&(i=!0))}return i}const Y3=new WeakMap;function kL(t,e,o=!1){const i=o?Y3:e.propsCache,n=i.get(t);if(n)return n;const r=t.props,s={},a=[];let u=!1;if(!tt(t)){const m=f=>{u=!0;const[p,C]=kL(f,e,!0);Ro(s,p),C&&a.push(...C)};!o&&e.mixins.length&&e.mixins.forEach(m),t.extends&&m(t.extends),t.mixins&&t.mixins.forEach(m)}if(!r&&!u)return Mt(t)&&i.set(t,eu),eu;if(et(r))for(let m=0;m<r.length;m++){const f=Ei(r[m]);qV(f)&&(s[f]=Wt)}else if(r)for(const m in r){const f=Ei(m);if(qV(f)){const p=r[m],C=s[f]=et(p)||tt(p)?{type:p}:Ro({},p),F=C.type;let y=!1,T=!0;if(et(F))for(let B=0;B<F.length;++B){const v=F[B],D=tt(v)&&v.name;if(D==="Boolean"){y=!0;break}else D==="String"&&(T=!1)}else y=tt(F)&&F.name==="Boolean";C[0]=y,C[1]=T,(y||_t(C,"default"))&&a.push(f)}}const c=[s,a];return Mt(t)&&i.set(t,c),c}function qV(t){return t[0]!=="$"&&!bd(t)}const Sy=t=>t==="_"||t==="_ctx"||t==="$stable",By=t=>et(t)?t.map(rr):[rr(t)],J3=(t,e,o)=>{if(e._n)return e;const i=ur((...n)=>By(e(...n)),o);return i._c=!1,i},WL=(t,e,o)=>{const i=t._ctx;for(const n in t){if(Sy(n))continue;const r=t[n];if(tt(r))e[n]=J3(n,r,i);else if(r!=null){const s=By(r);e[n]=()=>s}}},OL=(t,e)=>{const o=By(e);t.slots.default=()=>o},ML=(t,e,o)=>{for(const i in e)(o||!Sy(i))&&(t[i]=e[i])},Z3=(t,e,o)=>{const i=t.slots=AL();if(t.vnode.shapeFlag&32){const n=e._;n?(ML(i,e,o),o&&w1(i,"_",n,!0)):WL(e,i)}else e&&OL(t,e)},X3=(t,e,o)=>{const{vnode:i,slots:n}=t;let r=!0,s=Wt;if(i.shapeFlag&32){const a=e._;a?o&&a===1?r=!1:ML(n,e,o):(r=!e.$stable,WL(e,n)),s=e}else e&&(OL(t,e),s={default:1});if(r)for(const a in n)!Sy(a)&&s[a]==null&&delete n[a]},ui=f6;function Q3(t){return e6(t)}function e6(t,e){const o=sp();o.__VUE__=!0;const{insert:i,remove:n,patchProp:r,createElement:s,createText:a,createComment:u,setText:c,setElementText:m,parentNode:f,nextSibling:p,setScopeId:C=On,insertStaticContent:F}=t,y=(I,H,w,Q=null,se=null,ne=null,Te=void 0,Se=null,L=!!H.dynamicChildren)=>{if(I===H)return;I&&!Pa(I,H)&&(Q=We(I),lt(I,se,ne,!0),I=null),H.patchFlag===-2&&(L=!1,H.dynamicChildren=null);const{type:E,ref:Y,shapeFlag:oe}=H;switch(E){case _u:T(I,H,w,Q);break;case Zo:B(I,H,w,Q);break;case Rf:I==null&&v(H,w,Q,Te);break;case Ge:M(I,H,w,Q,se,ne,Te,Se,L);break;default:oe&1?N(I,H,w,Q,se,ne,Te,Se,L):oe&6?X(I,H,w,Q,se,ne,Te,Se,L):(oe&64||oe&128)&&E.process(I,H,w,Q,se,ne,Te,Se,L,Gt)}Y!=null&&se?Nd(Y,I&&I.ref,ne,H||I,!H):Y==null&&I&&I.ref!=null&&Nd(I.ref,null,ne,I,!0)},T=(I,H,w,Q)=>{if(I==null)i(H.el=a(H.children),w,Q);else{const se=H.el=I.el;H.children!==I.children&&c(se,H.children)}},B=(I,H,w,Q)=>{I==null?i(H.el=u(H.children||""),w,Q):H.el=I.el},v=(I,H,w,Q)=>{[I.el,I.anchor]=F(I.children,H,w,Q,I.el,I.anchor)},D=({el:I,anchor:H},w,Q)=>{let se;for(;I&&I!==H;)se=p(I),i(I,w,Q),I=se;i(H,w,Q)},R=({el:I,anchor:H})=>{let w;for(;I&&I!==H;)w=p(I),n(I),I=w;n(H)},N=(I,H,w,Q,se,ne,Te,Se,L)=>{if(H.type==="svg"?Te="svg":H.type==="math"&&(Te="mathml"),I==null)_(H,w,Q,se,ne,Te,Se,L);else{const E=I.el&&I.el._isVueCE?I.el:null;try{E&&E._beginPatch(),k(I,H,se,ne,Te,Se,L)}finally{E&&E._endPatch()}}},_=(I,H,w,Q,se,ne,Te,Se)=>{let L,E;const{props:Y,shapeFlag:oe,transition:Be,dirs:ce}=I;if(L=I.el=s(I.type,ne,Y&&Y.is,Y),oe&8?m(L,I.children):oe&16&&U(I.children,L,null,Q,se,xg(I,ne),Te,Se),ce&&Ra(I,null,Q,"created"),P(L,I,I.scopeId,Te,Q),Y){for(const te in Y)te!=="value"&&!bd(te)&&r(L,te,null,Y[te],ne,Q);"value"in Y&&r(L,"value",null,Y.value,ne),(E=Y.onVnodeBeforeMount)&&Qn(E,Q,I)}ce&&Ra(I,null,Q,"beforeMount");const q=t6(se,Be);q&&Be.beforeEnter(L),i(L,H,w),((E=Y&&Y.onVnodeMounted)||q||ce)&&ui(()=>{E&&Qn(E,Q,I),q&&Be.enter(L),ce&&Ra(I,null,Q,"mounted")},se)},P=(I,H,w,Q,se)=>{if(w&&C(I,w),Q)for(let ne=0;ne<Q.length;ne++)C(I,Q[ne]);if(se){let ne=se.subTree;if(H===ne||UL(ne.type)&&(ne.ssContent===H||ne.ssFallback===H)){const Te=se.vnode;P(I,Te,Te.scopeId,Te.slotScopeIds,se.parent)}}},U=(I,H,w,Q,se,ne,Te,Se,L=0)=>{for(let E=L;E<I.length;E++){const Y=I[E]=Se?Ns(I[E]):rr(I[E]);y(null,Y,H,w,Q,se,ne,Te,Se)}},k=(I,H,w,Q,se,ne,Te)=>{const Se=H.el=I.el;let{patchFlag:L,dynamicChildren:E,dirs:Y}=H;L|=I.patchFlag&16;const oe=I.props||Wt,Be=H.props||Wt;let ce;if(w&&Da(w,!1),(ce=Be.onVnodeBeforeUpdate)&&Qn(ce,w,H,I),Y&&Ra(H,I,w,"beforeUpdate"),w&&Da(w,!0),(oe.innerHTML&&Be.innerHTML==null||oe.textContent&&Be.textContent==null)&&m(Se,""),E?de(I.dynamicChildren,E,Se,w,Q,xg(H,se),ne):Te||Ie(I,H,Se,null,w,Q,xg(H,se),ne,!1),L>0){if(L&16)z(Se,oe,Be,w,se);else if(L&2&&oe.class!==Be.class&&r(Se,"class",null,Be.class,se),L&4&&r(Se,"style",oe.style,Be.style,se),L&8){const q=H.dynamicProps;for(let te=0;te<q.length;te++){const Ee=q[te],nt=oe[Ee],Nt=Be[Ee];(Nt!==nt||Ee==="value")&&r(Se,Ee,nt,Nt,se,w)}}L&1&&I.children!==H.children&&m(Se,H.children)}else!Te&&E==null&&z(Se,oe,Be,w,se);((ce=Be.onVnodeUpdated)||Y)&&ui(()=>{ce&&Qn(ce,w,H,I),Y&&Ra(H,I,w,"updated")},Q)},de=(I,H,w,Q,se,ne,Te)=>{for(let Se=0;Se<H.length;Se++){const L=I[Se],E=H[Se],Y=L.el&&(L.type===Ge||!Pa(L,E)||L.shapeFlag&198)?f(L.el):w;y(L,E,Y,null,Q,se,ne,Te,!0)}},z=(I,H,w,Q,se)=>{if(H!==w){if(H!==Wt)for(const ne in H)!bd(ne)&&!(ne in w)&&r(I,ne,H[ne],null,se,Q);for(const ne in w){if(bd(ne))continue;const Te=w[ne],Se=H[ne];Te!==Se&&ne!=="value"&&r(I,ne,Se,Te,se,Q)}"value"in w&&r(I,"value",H.value,w.value,se)}},M=(I,H,w,Q,se,ne,Te,Se,L)=>{const E=H.el=I?I.el:a(""),Y=H.anchor=I?I.anchor:a("");let{patchFlag:oe,dynamicChildren:Be,slotScopeIds:ce}=H;ce&&(Se=Se?Se.concat(ce):ce),I==null?(i(E,w,Q),i(Y,w,Q),U(H.children||[],w,Y,se,ne,Te,Se,L)):oe>0&&oe&64&&Be&&I.dynamicChildren?(de(I.dynamicChildren,Be,w,se,ne,Te,Se),(H.key!=null||se&&H===se.subTree)&&Vy(I,H,!0)):Ie(I,H,w,Y,se,ne,Te,Se,L)},X=(I,H,w,Q,se,ne,Te,Se,L)=>{H.slotScopeIds=Se,I==null?H.shapeFlag&512?se.ctx.activate(H,w,Q,Te,L):Ce(H,w,Q,se,ne,Te,L):pe(I,H,L)},Ce=(I,H,w,Q,se,ne,Te)=>{const Se=I.component=F6(I,Q,se);if(fp(I)&&(Se.ctx.renderer=Gt),y6(Se,!1,Te),Se.asyncDep){if(se&&se.registerDep(Se,ie,Te),!I.el){const L=Se.subTree=ue(Zo);B(null,L,H,w),I.placeholder=L.el}}else ie(Se,I,H,w,se,ne,Te)},pe=(I,H,w)=>{const Q=H.component=I.component;if(c6(I,H,w))if(Q.asyncDep&&!Q.asyncResolved){Re(Q,H,w);return}else Q.next=H,Q.update();else H.el=I.el,Q.vnode=H},ie=(I,H,w,Q,se,ne,Te)=>{const Se=()=>{if(I.isMounted){let{next:oe,bu:Be,u:ce,parent:q,vnode:te}=I;{const Zt=HL(I);if(Zt){oe&&(oe.el=te.el,Re(I,oe,Te)),Zt.asyncDep.then(()=>{I.isUnmounted||Se()});return}}let Ee=oe,nt;Da(I,!1),oe?(oe.el=te.el,Re(I,oe,Te)):oe=te,Be&&yg(Be),(nt=oe.props&&oe.props.onVnodeBeforeUpdate)&&Qn(nt,q,oe,te),Da(I,!0);const Nt=JV(I),oo=I.subTree;I.subTree=Nt,y(oo,Nt,f(oo.el),We(oo),I,se,ne),oe.el=Nt.el,Ee===null&&m6(I,Nt.el),ce&&ui(ce,se),(nt=oe.props&&oe.props.onVnodeUpdated)&&ui(()=>Qn(nt,q,oe,te),se)}else{let oe;const{el:Be,props:ce}=H,{bm:q,m:te,parent:Ee,root:nt,type:Nt}=I,oo=nu(H);Da(I,!1),q&&yg(q),!oo&&(oe=ce&&ce.onVnodeBeforeMount)&&Qn(oe,Ee,H),Da(I,!0);{nt.ce&&nt.ce._def.shadowRoot!==!1&&nt.ce._injectChildStyle(Nt);const Zt=I.subTree=JV(I);y(null,Zt,w,Q,I,se,ne),H.el=Zt.el}if(te&&ui(te,se),!oo&&(oe=ce&&ce.onVnodeMounted)){const Zt=H;ui(()=>Qn(oe,Ee,Zt),se)}(H.shapeFlag&256||Ee&&nu(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&I.a&&ui(I.a,se),I.isMounted=!0,H=w=Q=null}};I.scope.on();const L=I.effect=new H1(Se);I.scope.off();const E=I.update=L.run.bind(L),Y=I.job=L.runIfDirty.bind(L);Y.i=I,Y.id=I.uid,L.scheduler=()=>gy(Y),Da(I,!0),E()},Re=(I,H,w)=>{H.component=I;const Q=I.vnode.props;I.vnode=H,I.next=null,q3(I,H.props,Q,w),X3(I,H.children,w),ns(),kV(I),rs()},Ie=(I,H,w,Q,se,ne,Te,Se,L=!1)=>{const E=I&&I.children,Y=I?I.shapeFlag:0,oe=H.children,{patchFlag:Be,shapeFlag:ce}=H;if(Be>0){if(Be&128){ke(E,oe,w,Q,se,ne,Te,Se,L);return}else if(Be&256){mt(E,oe,w,Q,se,ne,Te,Se,L);return}}ce&8?(Y&16&&Qe(E,se,ne),oe!==E&&m(w,oe)):Y&16?ce&16?ke(E,oe,w,Q,se,ne,Te,Se,L):Qe(E,se,ne,!0):(Y&8&&m(w,""),ce&16&&U(oe,w,Q,se,ne,Te,Se,L))},mt=(I,H,w,Q,se,ne,Te,Se,L)=>{I=I||eu,H=H||eu;const E=I.length,Y=H.length,oe=Math.min(E,Y);let Be;for(Be=0;Be<oe;Be++){const ce=H[Be]=L?Ns(H[Be]):rr(H[Be]);y(I[Be],ce,w,null,se,ne,Te,Se,L)}E>Y?Qe(I,se,ne,!0,!1,oe):U(H,w,Q,se,ne,Te,Se,L,oe)},ke=(I,H,w,Q,se,ne,Te,Se,L)=>{let E=0;const Y=H.length;let oe=I.length-1,Be=Y-1;for(;E<=oe&&E<=Be;){const ce=I[E],q=H[E]=L?Ns(H[E]):rr(H[E]);if(Pa(ce,q))y(ce,q,w,null,se,ne,Te,Se,L);else break;E++}for(;E<=oe&&E<=Be;){const ce=I[oe],q=H[Be]=L?Ns(H[Be]):rr(H[Be]);if(Pa(ce,q))y(ce,q,w,null,se,ne,Te,Se,L);else break;oe--,Be--}if(E>oe){if(E<=Be){const ce=Be+1,q=ce<Y?H[ce].el:Q;for(;E<=Be;)y(null,H[E]=L?Ns(H[E]):rr(H[E]),w,q,se,ne,Te,Se,L),E++}}else if(E>Be)for(;E<=oe;)lt(I[E],se,ne,!0),E++;else{const ce=E,q=E,te=new Map;for(E=q;E<=Be;E++){const wt=H[E]=L?Ns(H[E]):rr(H[E]);wt.key!=null&&te.set(wt.key,E)}let Ee,nt=0;const Nt=Be-q+1;let oo=!1,Zt=0;const Uo=new Array(Nt);for(E=0;E<Nt;E++)Uo[E]=0;for(E=ce;E<=oe;E++){const wt=I[E];if(nt>=Nt){lt(wt,se,ne,!0);continue}let uo;if(wt.key!=null)uo=te.get(wt.key);else for(Ee=q;Ee<=Be;Ee++)if(Uo[Ee-q]===0&&Pa(wt,H[Ee])){uo=Ee;break}uo===void 0?lt(wt,se,ne,!0):(Uo[uo-q]=E+1,uo>=Zt?Zt=uo:oo=!0,y(wt,H[uo],w,null,se,ne,Te,Se,L),nt++)}const Qi=oo?o6(Uo):eu;for(Ee=Qi.length-1,E=Nt-1;E>=0;E--){const wt=q+E,uo=H[wt],Yn=H[wt+1],hs=wt+1<Y?Yn.el||Yn.placeholder:Q;Uo[E]===0?y(null,uo,w,hs,se,ne,Te,Se,L):oo&&(Ee<0||E!==Qi[Ee]?ve(uo,w,hs,2):Ee--)}}},ve=(I,H,w,Q,se=null)=>{const{el:ne,type:Te,transition:Se,children:L,shapeFlag:E}=I;if(E&6){ve(I.component.subTree,H,w,Q);return}if(E&128){I.suspense.move(H,w,Q);return}if(E&64){Te.move(I,H,w,Gt);return}if(Te===Ge){i(ne,H,w);for(let oe=0;oe<L.length;oe++)ve(L[oe],H,w,Q);i(I.anchor,H,w);return}if(Te===Rf){D(I,H,w);return}if(Q!==2&&E&1&&Se)if(Q===0)Se.beforeEnter(ne),i(ne,H,w),ui(()=>Se.enter(ne),se);else{const{leave:oe,delayLeave:Be,afterLeave:ce}=Se,q=()=>{I.ctx.isUnmounted?n(ne):i(ne,H,w)},te=()=>{ne._isLeaving&&ne[Gr](!0),oe(ne,()=>{q(),ce&&ce()})};Be?Be(ne,q,te):te()}else i(ne,H,w)},lt=(I,H,w,Q=!1,se=!1)=>{const{type:ne,props:Te,ref:Se,children:L,dynamicChildren:E,shapeFlag:Y,patchFlag:oe,dirs:Be,cacheIndex:ce}=I;if(oe===-2&&(se=!1),Se!=null&&(ns(),Nd(Se,null,w,I,!0),rs()),ce!=null&&(H.renderCache[ce]=void 0),Y&256){H.ctx.deactivate(I);return}const q=Y&1&&Be,te=!nu(I);let Ee;if(te&&(Ee=Te&&Te.onVnodeBeforeUnmount)&&Qn(Ee,H,I),Y&6)$e(I.component,w,Q);else{if(Y&128){I.suspense.unmount(w,Q);return}q&&Ra(I,null,H,"beforeUnmount"),Y&64?I.type.remove(I,H,w,Gt,Q):E&&!E.hasOnce&&(ne!==Ge||oe>0&&oe&64)?Qe(E,H,w,!1,!0):(ne===Ge&&oe&384||!se&&Y&16)&&Qe(L,H,w),Q&&pt(I)}(te&&(Ee=Te&&Te.onVnodeUnmounted)||q)&&ui(()=>{Ee&&Qn(Ee,H,I),q&&Ra(I,null,H,"unmounted")},w)},pt=I=>{const{type:H,el:w,anchor:Q,transition:se}=I;if(H===Ge){jt(w,Q);return}if(H===Rf){R(I);return}const ne=()=>{n(w),se&&!se.persisted&&se.afterLeave&&se.afterLeave()};if(I.shapeFlag&1&&se&&!se.persisted){const{leave:Te,delayLeave:Se}=se,L=()=>Te(w,ne);Se?Se(I.el,ne,L):L()}else ne()},jt=(I,H)=>{let w;for(;I!==H;)w=p(I),n(I),I=w;n(H)},$e=(I,H,w)=>{const{bum:Q,scope:se,job:ne,subTree:Te,um:Se,m:L,a:E}=I;YV(L),YV(E),Q&&yg(Q),se.stop(),ne&&(ne.flags|=8,lt(Te,I,H,w)),Se&&ui(Se,H),ui(()=>{I.isUnmounted=!0},H)},Qe=(I,H,w,Q=!1,se=!1,ne=0)=>{for(let Te=ne;Te<I.length;Te++)lt(I[Te],H,w,Q,se)},We=I=>{if(I.shapeFlag&6)return We(I.component.subTree);if(I.shapeFlag&128)return I.suspense.next();const H=p(I.anchor||I.el),w=H&&H[hL];return w?p(w):H};let Oe=!1;const bt=(I,H,w)=>{I==null?H._vnode&<(H._vnode,null,null,!0):y(H._vnode||null,I,H,null,null,null,w),H._vnode=I,Oe||(Oe=!0,kV(),cL(),Oe=!1)},Gt={p:y,um:lt,m:ve,r:pt,mt:Ce,mc:U,pc:Ie,pbc:de,n:We,o:t};return{render:bt,hydrate:void 0,createApp:G3(bt)}}function xg({type:t,props:e},o){return o==="svg"&&t==="foreignObject"||o==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:o}function Da({effect:t,job:e},o){o?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function t6(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Vy(t,e,o=!1){const i=t.children,n=e.children;if(et(i)&&et(n))for(let r=0;r<i.length;r++){const s=i[r];let a=n[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=n[r]=Ns(n[r]),a.el=s.el),!o&&a.patchFlag!==-2&&Vy(s,a)),a.type===_u&&a.patchFlag!==-1&&(a.el=s.el),a.type===Zo&&!a.el&&(a.el=s.el)}}function o6(t){const e=t.slice(),o=[0];let i,n,r,s,a;const u=t.length;for(i=0;i<u;i++){const c=t[i];if(c!==0){if(n=o[o.length-1],t[n]<c){e[i]=n,o.push(i);continue}for(r=0,s=o.length-1;r<s;)a=r+s>>1,t[o[a]]<c?r=a+1:s=a;c<t[o[r]]&&(r>0&&(e[i]=o[r-1]),o[r]=i)}}for(r=o.length,s=o[r-1];r-- >0;)o[r]=s,s=e[s];return o}function HL(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:HL(e)}function YV(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const i6=Symbol.for("v-scx"),n6=()=>ei(i6);function Pu(t,e){return Ry(t,null,e)}function Rt(t,e,o){return Ry(t,e,o)}function Ry(t,e,o=Wt){const{immediate:i,deep:n,flush:r,once:s}=o,a=Ro({},o),u=e&&i||!e&&r!=="post";let c;if(Qd){if(r==="sync"){const C=n6();c=C.__watcherHandles||(C.__watcherHandles=[])}else if(!u){const C=()=>{};return C.stop=On,C.resume=On,C.pause=On,C}}const m=Xo;a.call=(C,F,y)=>Hn(C,m,F,y);let f=!1;r==="post"?a.scheduler=C=>{ui(C,m&&m.suspense)}:r!=="sync"&&(f=!0,a.scheduler=(C,F)=>{F?C():gy(C)}),a.augmentJob=C=>{e&&(C.flags|=4),f&&(C.flags|=2,m&&(C.id=m.uid,C.i=m))};const p=D3(t,e,a);return Qd&&(c?c.push(p):u&&p()),p}function r6(t,e,o){const i=this.proxy,n=eo(t)?t.includes(".")?$L(i,t):()=>i[t]:t.bind(i,i);let r;tt(e)?r=e:(r=e.handler,o=e);const s=Lc(this),a=Ry(n,r.bind(i),o);return s(),a}function $L(t,e){const o=e.split(".");return()=>{let i=t;for(let n=0;n<o.length&&i;n++)i=i[o[n]];return i}}const s6=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ei(e)}Modifiers`]||t[`${ll(e)}Modifiers`];function a6(t,e,...o){if(t.isUnmounted)return;const i=t.vnode.props||Wt;let n=o;const r=e.startsWith("update:"),s=r&&s6(i,e.slice(7));s&&(s.trim&&(n=o.map(m=>eo(m)?m.trim():m)),s.number&&(n=o.map(MM)));let a,u=i[a=Fg(e)]||i[a=Fg(Ei(e))];!u&&r&&(u=i[a=Fg(ll(e))]),u&&Hn(u,t,6,n);const c=i[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Hn(c,t,6,n)}}const l6=new WeakMap;function zL(t,e,o=!1){const i=o?l6:e.emitsCache,n=i.get(t);if(n!==void 0)return n;const r=t.emits;let s={},a=!1;if(!tt(t)){const u=c=>{const m=zL(c,e,!0);m&&(a=!0,Ro(s,m))};!o&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}return!r&&!a?(Mt(t)&&i.set(t,null),null):(et(r)?r.forEach(u=>s[u]=null):Ro(s,r),Mt(t)&&i.set(t,s),s)}function pp(t,e){return!t||!ip(e)?!1:(e=e.slice(2).replace(/Once$/,""),_t(t,e[0].toLowerCase()+e.slice(1))||_t(t,ll(e))||_t(t,e))}function JV(t){const{type:e,vnode:o,proxy:i,withProxy:n,propsOptions:[r],slots:s,attrs:a,emit:u,render:c,renderCache:m,props:f,data:p,setupState:C,ctx:F,inheritAttrs:y}=t,T=Gf(t);let B,v;try{if(o.shapeFlag&4){const R=n||i,N=R;B=rr(c.call(N,R,m,f,C,p,F)),v=a}else{const R=e;B=rr(R.length>1?R(f,{attrs:a,slots:s,emit:u}):R(f,null)),v=e.props?a:u6(a)}}catch(R){_d.length=0,cp(R,t,1),B=ue(Zo)}let D=B;if(v&&y!==!1){const R=Object.keys(v),{shapeFlag:N}=D;R.length&&N&7&&(r&&R.some(uy)&&(v=d6(v,r)),D=Ks(D,v,!1,!0))}return o.dirs&&(D=Ks(D,null,!1,!0),D.dirs=D.dirs?D.dirs.concat(o.dirs):o.dirs),o.transition&&Xa(D,o.transition),B=D,Gf(T),B}const u6=t=>{let e;for(const o in t)(o==="class"||o==="style"||ip(o))&&((e||(e={}))[o]=t[o]);return e},d6=(t,e)=>{const o={};for(const i in t)(!uy(i)||!(i.slice(9)in e))&&(o[i]=t[i]);return o};function c6(t,e,o){const{props:i,children:n,component:r}=t,{props:s,children:a,patchFlag:u}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(o&&u>=0){if(u&1024)return!0;if(u&16)return i?ZV(i,s,c):!!s;if(u&8){const m=e.dynamicProps;for(let f=0;f<m.length;f++){const p=m[f];if(s[p]!==i[p]&&!pp(c,p))return!0}}}else return(n||a)&&(!a||!a.$stable)?!0:i===s?!1:i?s?ZV(i,s,c):!0:!!s;return!1}function ZV(t,e,o){const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!0;for(let n=0;n<i.length;n++){const r=i[n];if(e[r]!==t[r]&&!pp(o,r))return!0}return!1}function m6({vnode:t,parent:e},o){for(;e;){const i=e.subTree;if(i.suspense&&i.suspense.activeBranch===t&&(i.el=t.el),i===t)(t=e.vnode).el=o,e=e.parent;else break}}const UL=t=>t.__isSuspense;function f6(t,e){e&&e.pendingBranch?et(t)?e.effects.push(...t):e.effects.push(t):dL(t)}const Ge=Symbol.for("v-fgt"),_u=Symbol.for("v-txt"),Zo=Symbol.for("v-cmt"),Rf=Symbol.for("v-stc"),_d=[];let $i=null;function W(t=!1){_d.push($i=t?null:[])}function h6(){_d.pop(),$i=_d[_d.length-1]||null}let Zd=1;function Jf(t,e=!1){Zd+=t,t<0&&$i&&e&&($i.hasOnce=!0)}function jL(t){return t.dynamicChildren=Zd>0?$i||eu:null,h6(),Zd>0&&$i&&$i.push(t),t}function J(t,e,o,i,n,r){return jL(V(t,e,o,i,n,r,!0))}function Pe(t,e,o,i,n){return jL(ue(t,e,o,i,n,!0))}function Xd(t){return t?t.__v_isVNode===!0:!1}function Pa(t,e){return t.type===e.type&&t.key===e.key}const GL=({key:t})=>t??null,Df=({ref:t,ref_key:e,ref_for:o})=>(typeof t=="number"&&(t=""+t),t!=null?eo(t)||ao(t)||tt(t)?{i:Ho,r:t,k:e,f:!!o}:t:null);function V(t,e=null,o=null,i=0,n=null,r=t===Ge?0:1,s=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&GL(e),ref:e&&Df(e),scopeId:fL,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:Ho};return a?(Dy(u,o),r&128&&t.normalize(u)):o&&(u.shapeFlag|=eo(o)?8:16),Zd>0&&!s&&$i&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&$i.push(u),u}const ue=p6;function p6(t,e=null,o=null,i=0,n=null,r=!1){if((!t||t===bL)&&(t=Zo),Xd(t)){const a=Ks(t,e,!0);return o&&Dy(a,o),Zd>0&&!r&&$i&&(a.shapeFlag&6?$i[$i.indexOf(t)]=a:$i.push(a)),a.patchFlag=-2,a}if(R6(t)&&(t=t.__vccOpts),e){e=KL(e);let{class:a,style:u}=e;a&&!eo(a)&&(e.class=Ve(a)),Mt(u)&&(Cy(u)&&!et(u)&&(u=Ro({},u)),e.style=fe(u))}const s=eo(t)?1:UL(t)?128:pL(t)?64:Mt(t)?4:tt(t)?2:0;return V(t,e,o,i,n,s,r,!0)}function KL(t){return t?Cy(t)||IL(t)?Ro({},t):t:null}function Ks(t,e,o=!1,i=!1){const{props:n,ref:r,patchFlag:s,children:a,transition:u}=t,c=e?$n(n||{},e):n,m={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&GL(c),ref:e&&e.ref?o&&r?et(r)?r.concat(Df(e)):[r,Df(e)]:Df(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ge?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ks(t.ssContent),ssFallback:t.ssFallback&&Ks(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u&&i&&Xa(m,u.clone(m)),m}function mu(t=" ",e=0){return ue(_u,null,t,e)}function xe(t="",e=!1){return e?(W(),Pe(Zo,null,t)):ue(Zo,null,t)}function rr(t){return t==null||typeof t=="boolean"?ue(Zo):et(t)?ue(Ge,null,t.slice()):Xd(t)?Ns(t):ue(_u,null,String(t))}function Ns(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ks(t)}function Dy(t,e){let o=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(et(e))o=16;else if(typeof e=="object")if(i&65){const n=e.default;n&&(n._c&&(n._d=!1),Dy(t,n()),n._c&&(n._d=!0));return}else{o=32;const n=e._;!n&&!IL(e)?e._ctx=Ho:n===3&&Ho&&(Ho.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else tt(e)?(e={default:e,_ctx:Ho},o=32):(e=String(e),i&64?(o=16,e=[mu(e)]):o=8);t.children=e,t.shapeFlag|=o}function $n(...t){const e={};for(let o=0;o<t.length;o++){const i=t[o];for(const n in i)if(n==="class")e.class!==i.class&&(e.class=Ve([e.class,i.class]));else if(n==="style")e.style=fe([e.style,i.style]);else if(ip(n)){const r=e[n],s=i[n];s&&r!==s&&!(et(r)&&r.includes(s))&&(e[n]=r?[].concat(r,s):s)}else n!==""&&(e[n]=i[n])}return e}function Qn(t,e,o,i=null){Hn(t,e,7,[o,i])}const C6=PL();let g6=0;function F6(t,e,o){const i=t.type,n=(e?e.appContext:t.appContext)||C6,r={uid:g6++,vnode:t,type:i,parent:e,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new M1(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(n.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:kL(i,n),emitsOptions:zL(i,n),emit:null,emitted:null,propsDefaults:Wt,inheritAttrs:i.inheritAttrs,ctx:Wt,data:Wt,props:Wt,attrs:Wt,slots:Wt,refs:Wt,setupState:Wt,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=a6.bind(null,r),t.ce&&t.ce(r),r}let Xo=null;const Sn=()=>Xo||Ho;let Zf,q0;{const t=sp(),e=(o,i)=>{let n;return(n=t[o])||(n=t[o]=[]),n.push(i),r=>{n.length>1?n.forEach(s=>s(r)):n[0](r)}};Zf=e("__VUE_INSTANCE_SETTERS__",o=>Xo=o),q0=e("__VUE_SSR_SETTERS__",o=>Qd=o)}const Lc=t=>{const e=Xo;return Zf(t),t.scope.on(),()=>{t.scope.off(),Zf(e)}},XV=()=>{Xo&&Xo.scope.off(),Zf(null)};function qL(t){return t.vnode.shapeFlag&4}let Qd=!1;function y6(t,e=!1,o=!1){e&&q0(e);const{props:i,children:n}=t.vnode,r=qL(t);K3(t,i,r,e),Z3(t,n,o||e);const s=r?T6(t,e):void 0;return e&&q0(!1),s}function T6(t,e){const o=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,O3);const{setup:i}=o;if(i){ns();const n=t.setupContext=i.length>1?B6(t):null,r=Lc(t),s=Dc(i,t,0,[t.props,n]),a=_1(s);if(rs(),r(),(a||t.sp)&&!nu(t)&&VL(t),a){if(s.then(XV,XV),e)return s.then(u=>{QV(t,u)}).catch(u=>{cp(u,t,0)});t.asyncDep=s}else QV(t,s)}else YL(t)}function QV(t,e,o){tt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Mt(e)&&(t.setupState=rL(e)),YL(t)}function YL(t,e,o){const i=t.type;t.render||(t.render=i.render||On);{const n=Lc(t);ns();try{M3(t)}finally{rs(),n()}}}const S6={get(t,e){return Jo(t,"get",""),t[e]}};function B6(t){const e=o=>{t.exposed=o||{}};return{attrs:new Proxy(t.attrs,S6),slots:t.slots,emit:t.emit,expose:e}}function Cp(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(rL(iL(t.exposed)),{get(e,o){if(o in e)return e[o];if(o in Pd)return Pd[o](t)},has(e,o){return o in e||o in Pd}})):t.proxy}function V6(t,e=!0){return tt(t)?t.displayName||t.name:t.name||e&&t.__name}function R6(t){return tt(t)&&"__vccOpts"in t}const Z=(t,e)=>V3(t,e,Qd);function Gn(t,e,o){try{Jf(-1);const i=arguments.length;return i===2?Mt(e)&&!et(e)?Xd(e)?ue(t,null,[e]):ue(t,e):ue(t,null,e):(i>3?o=Array.prototype.slice.call(arguments,2):i===3&&Xd(o)&&(o=[o]),ue(t,e,o))}finally{Jf(1)}}const D6="3.5.24";/**
|
|
14
|
-
* @vue/runtime-dom v3.5.24
|
|
15
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
-
* @license MIT
|
|
17
|
-
**/let Y0;const eR=typeof window<"u"&&window.trustedTypes;if(eR)try{Y0=eR.createPolicy("vue",{createHTML:t=>t})}catch{}const JL=Y0?t=>Y0.createHTML(t):t=>t,x6="http://www.w3.org/2000/svg",b6="http://www.w3.org/1998/Math/MathML",zr=typeof document<"u"?document:null,tR=zr&&zr.createElement("template"),L6={insert:(t,e,o)=>{e.insertBefore(t,o||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,o,i)=>{const n=e==="svg"?zr.createElementNS(x6,t):e==="mathml"?zr.createElementNS(b6,t):o?zr.createElement(t,{is:o}):zr.createElement(t);return t==="select"&&i&&i.multiple!=null&&n.setAttribute("multiple",i.multiple),n},createText:t=>zr.createTextNode(t),createComment:t=>zr.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>zr.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,o,i,n,r){const s=o?o.previousSibling:e.lastChild;if(n&&(n===r||n.nextSibling))for(;e.insertBefore(n.cloneNode(!0),o),!(n===r||!(n=n.nextSibling)););else{tR.innerHTML=JL(i==="svg"?`<svg>${t}</svg>`:i==="mathml"?`<math>${t}</math>`:t);const a=tR.content;if(i==="svg"||i==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}e.insertBefore(a,o)}return[s?s.nextSibling:e.firstChild,o?o.previousSibling:e.lastChild]}},Rs="transition",ad="animation",fu=Symbol("_vtc"),ZL={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},XL=Ro({},yL,ZL),E6=t=>(t.displayName="Transition",t.props=XL,t),xy=E6((t,{slots:e})=>Gn(v3,QL(t),e)),xa=(t,e=[])=>{et(t)?t.forEach(o=>o(...e)):t&&t(...e)},oR=t=>t?et(t)?t.some(e=>e.length>1):t.length>1:!1;function QL(t){const e={};for(const M in t)M in ZL||(e[M]=t[M]);if(t.css===!1)return e;const{name:o="v",type:i,duration:n,enterFromClass:r=`${o}-enter-from`,enterActiveClass:s=`${o}-enter-active`,enterToClass:a=`${o}-enter-to`,appearFromClass:u=r,appearActiveClass:c=s,appearToClass:m=a,leaveFromClass:f=`${o}-leave-from`,leaveActiveClass:p=`${o}-leave-active`,leaveToClass:C=`${o}-leave-to`}=t,F=v6(n),y=F&&F[0],T=F&&F[1],{onBeforeEnter:B,onEnter:v,onEnterCancelled:D,onLeave:R,onLeaveCancelled:N,onBeforeAppear:_=B,onAppear:P=v,onAppearCancelled:U=D}=e,k=(M,X,Ce,pe)=>{M._enterCancelled=pe,Ls(M,X?m:a),Ls(M,X?c:s),Ce&&Ce()},de=(M,X)=>{M._isLeaving=!1,Ls(M,f),Ls(M,C),Ls(M,p),X&&X()},z=M=>(X,Ce)=>{const pe=M?P:v,ie=()=>k(X,M,Ce);xa(pe,[X,ie]),iR(()=>{Ls(X,M?u:r),er(X,M?m:a),oR(pe)||nR(X,i,y,ie)})};return Ro(e,{onBeforeEnter(M){xa(B,[M]),er(M,r),er(M,s)},onBeforeAppear(M){xa(_,[M]),er(M,u),er(M,c)},onEnter:z(!1),onAppear:z(!0),onLeave(M,X){M._isLeaving=!0;const Ce=()=>de(M,X);er(M,f),M._enterCancelled?(er(M,p),J0(M)):(J0(M),er(M,p)),iR(()=>{M._isLeaving&&(Ls(M,f),er(M,C),oR(R)||nR(M,i,T,Ce))}),xa(R,[M,Ce])},onEnterCancelled(M){k(M,!1,void 0,!0),xa(D,[M])},onAppearCancelled(M){k(M,!0,void 0,!0),xa(U,[M])},onLeaveCancelled(M){de(M),xa(N,[M])}})}function v6(t){if(t==null)return null;if(Mt(t))return[bg(t.enter),bg(t.leave)];{const e=bg(t);return[e,e]}}function bg(t){return HM(t)}function er(t,e){e.split(/\s+/).forEach(o=>o&&t.classList.add(o)),(t[fu]||(t[fu]=new Set)).add(e)}function Ls(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const o=t[fu];o&&(o.delete(e),o.size||(t[fu]=void 0))}function iR(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let N6=0;function nR(t,e,o,i){const n=t._endId=++N6,r=()=>{n===t._endId&&i()};if(o!=null)return setTimeout(r,o);const{type:s,timeout:a,propCount:u}=eE(t,e);if(!s)return i();const c=s+"end";let m=0;const f=()=>{t.removeEventListener(c,p),r()},p=C=>{C.target===t&&++m>=u&&f()};setTimeout(()=>{m<u&&f()},a+1),t.addEventListener(c,p)}function eE(t,e){const o=window.getComputedStyle(t),i=F=>(o[F]||"").split(", "),n=i(`${Rs}Delay`),r=i(`${Rs}Duration`),s=rR(n,r),a=i(`${ad}Delay`),u=i(`${ad}Duration`),c=rR(a,u);let m=null,f=0,p=0;e===Rs?s>0&&(m=Rs,f=s,p=r.length):e===ad?c>0&&(m=ad,f=c,p=u.length):(f=Math.max(s,c),m=f>0?s>c?Rs:ad:null,p=m?m===Rs?r.length:u.length:0);const C=m===Rs&&/\b(?:transform|all)(?:,|$)/.test(i(`${Rs}Property`).toString());return{type:m,timeout:f,propCount:p,hasTransform:C}}function rR(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((o,i)=>sR(o)+sR(t[i])))}function sR(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function J0(t){return(t?t.ownerDocument:document).body.offsetHeight}function P6(t,e,o){const i=t[fu];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):o?t.setAttribute("class",e):t.className=e}const Xf=Symbol("_vod"),tE=Symbol("_vsh"),Z0={name:"show",beforeMount(t,{value:e},{transition:o}){t[Xf]=t.style.display==="none"?"":t.style.display,o&&e?o.beforeEnter(t):ld(t,e)},mounted(t,{value:e},{transition:o}){o&&e&&o.enter(t)},updated(t,{value:e,oldValue:o},{transition:i}){!e!=!o&&(i?e?(i.beforeEnter(t),ld(t,!0),i.enter(t)):i.leave(t,()=>{ld(t,!1)}):ld(t,e))},beforeUnmount(t,{value:e}){ld(t,e)}};function ld(t,e){t.style.display=e?t[Xf]:"none",t[tE]=!e}const oE=Symbol("");function oa(t){const e=Sn();if(!e)return;const o=e.ut=(n=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>Qf(r,n))},i=()=>{const n=t(e.proxy);e.ce?Qf(e.ce,n):X0(e.subTree,n),o(n)};DL(()=>{dL(i)}),ds(()=>{Rt(i,On,{flush:"post"});const n=new MutationObserver(i);n.observe(e.subTree.el.parentNode,{childList:!0}),bc(()=>n.disconnect())})}function X0(t,e){if(t.shapeFlag&128){const o=t.suspense;t=o.activeBranch,o.pendingBranch&&!o.isHydrating&&o.effects.push(()=>{X0(o.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)Qf(t.el,e);else if(t.type===Ge)t.children.forEach(o=>X0(o,e));else if(t.type===Rf){let{el:o,anchor:i}=t;for(;o&&(Qf(o,e),o!==i);)o=o.nextSibling}}function Qf(t,e){if(t.nodeType===1){const o=t.style;let i="";for(const n in e){const r=YM(e[n]);o.setProperty(`--${n}`,r),i+=`--${n}: ${r};`}o[oE]=i}}const _6=/(?:^|;)\s*display\s*:/;function A6(t,e,o){const i=t.style,n=eo(o);let r=!1;if(o&&!n){if(e)if(eo(e))for(const s of e.split(";")){const a=s.slice(0,s.indexOf(":")).trim();o[a]==null&&xf(i,a,"")}else for(const s in e)o[s]==null&&xf(i,s,"");for(const s in o)s==="display"&&(r=!0),xf(i,s,o[s])}else if(n){if(e!==o){const s=i[oE];s&&(o+=";"+s),i.cssText=o,r=_6.test(o)}}else e&&t.removeAttribute("style");Xf in t&&(t[Xf]=r?i.display:"",t[tE]&&(i.display="none"))}const aR=/\s*!important$/;function xf(t,e,o){if(et(o))o.forEach(i=>xf(t,e,i));else if(o==null&&(o=""),e.startsWith("--"))t.setProperty(e,o);else{const i=I6(t,e);aR.test(o)?t.setProperty(ll(i),o.replace(aR,""),"important"):t[i]=o}}const lR=["Webkit","Moz","ms"],Lg={};function I6(t,e){const o=Lg[e];if(o)return o;let i=Ei(e);if(i!=="filter"&&i in t)return Lg[e]=i;i=Nu(i);for(let n=0;n<lR.length;n++){const r=lR[n]+i;if(r in t)return Lg[e]=r}return e}const uR="http://www.w3.org/1999/xlink";function dR(t,e,o,i,n,r=qM(e)){i&&e.startsWith("xlink:")?o==null?t.removeAttributeNS(uR,e.slice(6,e.length)):t.setAttributeNS(uR,e,o):o==null||r&&!k1(o)?t.removeAttribute(e):t.setAttribute(e,r?"":ls(o)?String(o):o)}function cR(t,e,o,i,n){if(e==="innerHTML"||e==="textContent"){o!=null&&(t[e]=e==="innerHTML"?JL(o):o);return}const r=t.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const a=r==="OPTION"?t.getAttribute("value")||"":t.value,u=o==null?t.type==="checkbox"?"on":"":String(o);(a!==u||!("_value"in t))&&(t.value=u),o==null&&t.removeAttribute(e),t._value=o;return}let s=!1;if(o===""||o==null){const a=typeof t[e];a==="boolean"?o=k1(o):o==null&&a==="string"?(o="",s=!0):a==="number"&&(o=0,s=!0)}try{t[e]=o}catch{}s&&t.removeAttribute(n||e)}function w6(t,e,o,i){t.addEventListener(e,o,i)}function k6(t,e,o,i){t.removeEventListener(e,o,i)}const mR=Symbol("_vei");function W6(t,e,o,i,n=null){const r=t[mR]||(t[mR]={}),s=r[e];if(i&&s)s.value=i;else{const[a,u]=O6(e);if(i){const c=r[e]=$6(i,n);w6(t,a,c,u)}else s&&(k6(t,a,s,u),r[e]=void 0)}}const fR=/(?:Once|Passive|Capture)$/;function O6(t){let e;if(fR.test(t)){e={};let i;for(;i=t.match(fR);)t=t.slice(0,t.length-i[0].length),e[i[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ll(t.slice(2)),e]}let Eg=0;const M6=Promise.resolve(),H6=()=>Eg||(M6.then(()=>Eg=0),Eg=Date.now());function $6(t,e){const o=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=o.attached)return;Hn(z6(i,o.value),e,5,[i])};return o.value=t,o.attached=H6(),o}function z6(t,e){if(et(e)){const o=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{o.call(t),t._stopped=!0},e.map(i=>n=>!n._stopped&&i&&i(n))}else return e}const hR=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,U6=(t,e,o,i,n,r)=>{const s=n==="svg";e==="class"?P6(t,i,s):e==="style"?A6(t,o,i):ip(e)?uy(e)||W6(t,e,o,i,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):j6(t,e,i,s))?(cR(t,e,i),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&dR(t,e,i,s,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!eo(i))?cR(t,Ei(e),i,r,e):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),dR(t,e,i,s))};function j6(t,e,o,i){if(i)return!!(e==="innerHTML"||e==="textContent"||e in t&&hR(e)&&tt(o));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const n=t.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return hR(e)&&eo(o)?!1:e in t}const iE=new WeakMap,nE=new WeakMap,eh=Symbol("_moveCb"),pR=Symbol("_enterCb"),G6=t=>(delete t.props.mode,t),K6=G6({name:"TransitionGroup",props:Ro({},XL,{tag:String,moveClass:String}),setup(t,{slots:e}){const o=Sn(),i=FL();let n,r;return Ty(()=>{if(!n.length)return;const s=t.moveClass||`${t.name||"v"}-move`;if(!Z6(n[0].el,o.vnode.el,s)){n=[];return}n.forEach(q6),n.forEach(Y6);const a=n.filter(J6);J0(o.vnode.el),a.forEach(u=>{const c=u.el,m=c.style;er(c,s),m.transform=m.webkitTransform=m.transitionDuration="";const f=c[eh]=p=>{p&&p.target!==c||(!p||p.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[eh]=null,Ls(c,s))};c.addEventListener("transitionend",f)}),n=[]}),()=>{const s=Dt(t),a=QL(s);let u=s.tag||Ge;if(n=[],r)for(let c=0;c<r.length;c++){const m=r[c];m.el&&m.el instanceof Element&&(n.push(m),Xa(m,Jd(m,a,i,o)),iE.set(m,{left:m.el.offsetLeft,top:m.el.offsetTop}))}r=e.default?yy(e.default()):[];for(let c=0;c<r.length;c++){const m=r[c];m.key!=null&&Xa(m,Jd(m,a,i,o))}return ue(u,null,r)}}}),by=K6;function q6(t){const e=t.el;e[eh]&&e[eh](),e[pR]&&e[pR]()}function Y6(t){nE.set(t,{left:t.el.offsetLeft,top:t.el.offsetTop})}function J6(t){const e=iE.get(t),o=nE.get(t),i=e.left-o.left,n=e.top-o.top;if(i||n){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${i}px,${n}px)`,r.transitionDuration="0s",t}}function Z6(t,e,o){const i=t.cloneNode(),n=t[fu];n&&n.forEach(a=>{a.split(/\s+/).forEach(u=>u&&i.classList.remove(u))}),o.split(/\s+/).forEach(a=>a&&i.classList.add(a)),i.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(i);const{hasTransform:s}=eE(i);return r.removeChild(i),s}const X6=["ctrl","shift","alt","meta"],Q6={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>X6.some(o=>t[`${o}Key`]&&!e.includes(o))},ci=(t,e)=>{const o=t._withMods||(t._withMods={}),i=e.join(".");return o[i]||(o[i]=((n,...r)=>{for(let s=0;s<e.length;s++){const a=Q6[e[s]];if(a&&a(n,e))return}return t(n,...r)}))},e4=Ro({patchProp:U6},L6);let CR;function t4(){return CR||(CR=Q3(e4))}const o4=((...t)=>{const e=t4().createApp(...t),{mount:o}=e;return e.mount=i=>{const n=n4(i);if(!n)return;const r=e._component;!tt(r)&&!r.render&&!r.template&&(r.template=n.innerHTML),n.nodeType===1&&(n.textContent="");const s=o(n,!1,i4(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),s},e});function i4(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function n4(t){return eo(t)?document.querySelector(t):t}function Q0(t,e){let o;function i(){o=Mf(),o.run(()=>e.length?e(()=>{o==null||o.stop(),i()}):e())}Rt(t,n=>{n&&!o?i():n||(o==null||o.stop(),o=void 0)},{immediate:!0}),Rc(()=>{o==null||o.stop()})}function r4(t,e){e=Array.isArray(e)?e.slice(0,-1).map(o=>`'${o}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const bi=typeof window<"u",s4=bi&&"IntersectionObserver"in window,a4=bi&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),gR=bi&&"EyeDropper"in window,rE=bi&&"matchMedia"in window&&typeof window.matchMedia=="function",sE=()=>rE&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function l4(t,e,o){const i=e.length-1;if(i<0)return t===void 0?o:t;for(let n=0;n<i;n++){if(t==null)return o;t=t[e[n]]}return t==null||t[e[i]]===void 0?o:t[e[i]]}function FR(t,e,o){return t==null||!e||typeof e!="string"?o:t[e]!==void 0?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),l4(t,e.split("."),o))}function Ly(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:t},(o,i)=>e+i)}function Qt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(t==null||t==="")return;const o=Number(t);return isNaN(o)?String(t):isFinite(o)?`${o}${e}`:void 0}function eF(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function yR(t){let e;return t!==null&&typeof t=="object"&&((e=Object.getPrototypeOf(t))===Object.prototype||e===null)}function u4(t){if(t&&"$el"in t){const e=t.$el;return(e==null?void 0:e.nodeType)===Node.TEXT_NODE?e.nextElementSibling:e}return t}const d4=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function Ia(t,e){return e.every(o=>t.hasOwnProperty(o))}function Ey(t,e){const o={};for(const i of e)Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}function su(t){return t==null?[]:Array.isArray(t)?t:[t]}function Jr(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(o,t))}function TR(t){const e=t.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function SR(t,e){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return t+o.repeat(Math.max(0,e-t.length))}function BR(t,e){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,e-t.length))+t}function c4(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const o=[];let i=0;for(;i<t.length;)o.push(t.substr(i,e)),i+=e;return o}function zi(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;const i={};for(const n in t)i[n]=t[n];for(const n in e){const r=t[n],s=e[n];if(yR(r)&&yR(s)){i[n]=zi(r,s,o);continue}if(o&&Array.isArray(r)&&Array.isArray(s)){i[n]=o(r,s);continue}i[n]=s}return i}function aE(t){return t.map(e=>e.type===Ge?aE(e.children):e).flat()}function za(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(za.cache.has(t))return za.cache.get(t);const e=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return za.cache.set(t,e),e}za.cache=new Map;function Sd(t,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(o=>Sd(t,o)).flat(1);if(e.suspense)return Sd(t,e.ssContent);if(Array.isArray(e.children))return e.children.map(o=>Sd(t,o)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(t))return[e.component];if(e.component.subTree)return Sd(t,e.component.subTree).flat(1)}return[]}function m4(t){return"touches"in t?{clientX:t.touches[0].clientX,clientY:t.touches[0].clientY}:{clientX:t.clientX,clientY:t.clientY}}function lE(t){const e=xt({});Pu(()=>{const i=t();for(const n in i)e[n]=i[n]},{flush:"sync"});const o={};for(const i in e)o[i]=Ue(()=>e[i]);return o}function tF(t,e){return t.includes(e)}const th=()=>[Function,Array];function VR(t,e){return e="on"+Nu(e),!!(t[e]||t[`${e}Once`]||t[`${e}Capture`]||t[`${e}OnceCapture`]||t[`${e}CaptureOnce`])}function f4(t){for(var e=arguments.length,o=new Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];if(Array.isArray(t))for(const n of t)n(...o);else typeof t=="function"&&t(...o)}function h4(){const t=lo(),e=o=>{t.value=o};return Object.defineProperty(e,"value",{enumerable:!0,get:()=>t.value,set:o=>t.value=o}),Object.defineProperty(e,"el",{enumerable:!0,get:()=>u4(t.value)}),e}function oh(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="bigint"}function p4(t){const e=["checked","disabled"];return Object.fromEntries(Object.entries(t).filter(o=>{let[i,n]=o;return e.includes(i)?!!n:n!==void 0}))}const C4=["top","bottom"],g4=["start","end","left","right"];function F4(t,e){let[o,i]=t.split(" ");return i||(i=tF(C4,o)?"start":tF(g4,o)?"top":"center"),{side:RR(o,e),align:RR(i,e)}}function RR(t,e){return t==="start"?e?"right":"left":t==="end"?e?"left":"right":t}const Il=2.4,DR=.2126729,xR=.7151522,bR=.072175,y4=.55,T4=.58,S4=.57,B4=.62,Ym=.03,LR=1.45,V4=5e-4,R4=1.25,D4=1.25,ER=.078,vR=12.82051282051282,Jm=.06,NR=.001;function PR(t,e){const o=(t.r/255)**Il,i=(t.g/255)**Il,n=(t.b/255)**Il,r=(e.r/255)**Il,s=(e.g/255)**Il,a=(e.b/255)**Il;let u=o*DR+i*xR+n*bR,c=r*DR+s*xR+a*bR;if(u<=Ym&&(u+=(Ym-u)**LR),c<=Ym&&(c+=(Ym-c)**LR),Math.abs(c-u)<V4)return 0;let m;if(c>u){const f=(c**y4-u**T4)*R4;m=f<NR?0:f<ER?f-f*vR*Jm:f-Jm}else{const f=(c**B4-u**S4)*D4;m=f>-NR?0:f>-ER?f-f*vR*Jm:f+Jm}return m*100}const ih=.20689655172413793,x4=t=>t>ih**3?Math.cbrt(t):t/(3*ih**2)+4/29,b4=t=>t>ih?t**3:3*ih**2*(t-4/29);function uE(t){const e=x4,o=e(t[1]);return[116*o-16,500*(e(t[0]/.95047)-o),200*(o-e(t[2]/1.08883))]}function dE(t){const e=b4,o=(t[0]+16)/116;return[e(o+t[1]/500)*.95047,e(o),e(o-t[2]/200)*1.08883]}const L4=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],E4=t=>t<=.0031308?t*12.92:1.055*t**(1/2.4)-.055,v4=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],N4=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function cE(t){const e=Array(3),o=E4,i=L4;for(let n=0;n<3;++n)e[n]=Math.round(Jr(o(i[n][0]*t[0]+i[n][1]*t[1]+i[n][2]*t[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function vy(t){let{r:e,g:o,b:i}=t;const n=[0,0,0],r=N4,s=v4;e=r(e/255),o=r(o/255),i=r(i/255);for(let a=0;a<3;++a)n[a]=s[a][0]*e+s[a][1]*o+s[a][2]*i;return n}function oF(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}function P4(t){return oF(t)&&!/^((rgb|hsl)a?\()?var\(--/.test(t)}const _R=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,_4={rgb:(t,e,o,i)=>({r:t,g:e,b:o,a:i}),rgba:(t,e,o,i)=>({r:t,g:e,b:o,a:i}),hsl:(t,e,o,i)=>AR({h:t,s:e,l:o,a:i}),hsla:(t,e,o,i)=>AR({h:t,s:e,l:o,a:i}),hsv:(t,e,o,i)=>hr({h:t,s:e,v:o,a:i}),hsva:(t,e,o,i)=>hr({h:t,s:e,v:o,a:i})};function Ui(t){if(typeof t=="number")return{r:(t&16711680)>>16,g:(t&65280)>>8,b:t&255};if(typeof t=="string"&&_R.test(t)){const{groups:e}=t.match(_R),{fn:o,values:i}=e,n=i.split(/,\s*|\s*\/\s*|\s+/).map((r,s)=>r.endsWith("%")||s>0&&s<3&&["hsl","hsla","hsv","hsva"].includes(o)?parseFloat(r)/100:parseFloat(r));return _4[o](...n)}else if(typeof t=="string"){let e=t.startsWith("#")?t.slice(1):t;return[3,4].includes(e.length)?e=e.split("").map(o=>o+o).join(""):[6,8].includes(e.length),pE(e)}else if(typeof t=="object"){if(Ia(t,["r","g","b"]))return t;if(Ia(t,["h","s","l"]))return hr(Ny(t));if(Ia(t,["h","s","v"]))return hr(t)}throw new TypeError(`Invalid color: ${t==null?t:String(t)||t.constructor.name}
|
|
18
|
-
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function hr(t){const{h:e,s:o,v:i,a:n}=t,r=a=>{const u=(a+e/60)%6;return i-i*o*Math.max(Math.min(u,4-u,1),0)},s=[r(5),r(3),r(1)].map(a=>Math.round(a*255));return{r:s[0],g:s[1],b:s[2],a:n}}function AR(t){return hr(Ny(t))}function Ec(t){if(!t)return{h:0,s:1,v:1,a:1};const e=t.r/255,o=t.g/255,i=t.b/255,n=Math.max(e,o,i),r=Math.min(e,o,i);let s=0;n!==r&&(n===e?s=60*(0+(o-i)/(n-r)):n===o?s=60*(2+(i-e)/(n-r)):n===i&&(s=60*(4+(e-o)/(n-r)))),s<0&&(s=s+360);const a=n===0?0:(n-r)/n,u=[s,a,n];return{h:u[0],s:u[1],v:u[2],a:t.a}}function iF(t){const{h:e,s:o,v:i,a:n}=t,r=i-i*o/2,s=r===1||r===0?0:(i-r)/Math.min(r,1-r);return{h:e,s,l:r,a:n}}function Ny(t){const{h:e,s:o,l:i,a:n}=t,r=i+o*Math.min(i,1-i),s=r===0?0:2-2*i/r;return{h:e,s,v:r,a:n}}function mE(t){let{r:e,g:o,b:i,a:n}=t;return n===void 0?`rgb(${e}, ${o}, ${i})`:`rgba(${e}, ${o}, ${i}, ${n})`}function fE(t){return mE(hr(t))}function Zm(t){const e=Math.round(t).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function hE(t){let{r:e,g:o,b:i,a:n}=t;return`#${[Zm(e),Zm(o),Zm(i),n!==void 0?Zm(Math.round(n*255)):""].join("")}`}function pE(t){t=I4(t);let[e,o,i,n]=c4(t,2).map(r=>parseInt(r,16));return n=n===void 0?n:n/255,{r:e,g:o,b:i,a:n}}function A4(t){const e=pE(t);return Ec(e)}function CE(t){return hE(hr(t))}function I4(t){return t.startsWith("#")&&(t=t.slice(1)),t=t.replace(/([^0-9a-f])/gi,"F"),(t.length===3||t.length===4)&&(t=t.split("").map(e=>e+e).join("")),t.length!==6&&(t=SR(SR(t,6),8,"F")),t}function w4(t,e){const o=uE(vy(t));return o[0]=o[0]+e*10,cE(dE(o))}function k4(t,e){const o=uE(vy(t));return o[0]=o[0]-e*10,cE(dE(o))}function nF(t){const e=Ui(t);return vy(e)[1]}function W4(t,e){const o=nF(t),i=nF(e),n=Math.max(o,i),r=Math.min(o,i);return(n+.05)/(r+.05)}function gE(t){const e=Math.abs(PR(Ui(0),Ui(t)));return Math.abs(PR(Ui(16777215),Ui(t)))>Math.min(e,50)?"#fff":"#000"}function st(t,e){return o=>Object.keys(t).reduce((i,n)=>{const s=typeof t[n]=="object"&&t[n]!=null&&!Array.isArray(t[n])?t[n]:{type:t[n]};return o&&n in o?i[n]={...s,default:o[n]}:i[n]=s,e&&!i[n].source&&(i[n].source=e),i},{})}const yi=st({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function Kn(t,e){const o=Sn();if(!o)throw new Error(`[Vuetify] ${t} must be called from inside a setup function`);return o}function cs(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Kn(t).type;return za((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}function O4(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kn("injectSelf");const{provides:o}=e;if(o&&t in o)return o[t]}const hu=Symbol.for("vuetify:defaults");function M4(t){return Vt(t)}function Py(){const t=ei(hu);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function _y(t,e){const o=Py(),i=Vt(t),n=Z(()=>{if(j(e==null?void 0:e.disabled))return o.value;const s=j(e==null?void 0:e.scoped),a=j(e==null?void 0:e.reset),u=j(e==null?void 0:e.root);if(i.value==null&&!(s||a||u))return o.value;let c=zi(i.value,{prev:o.value});if(s)return c;if(a||u){const m=Number(a||1/0);for(let f=0;f<=m&&!(!c||!("prev"in c));f++)c=c.prev;return c&&typeof u=="string"&&u in c&&(c=zi(zi(c,{prev:c}),c[u])),c}return c.prev?zi(c.prev,c):c});return dl(hu,n),n}function H4(t,e){return t.props&&(typeof t.props[e]<"u"||typeof t.props[za(e)]<"u")}function $4(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Py();const i=Kn("useDefaults");if(e=e??i.type.name??i.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const n=Z(()=>{var u;return(u=o.value)==null?void 0:u[t._as??e]}),r=new Proxy(t,{get(u,c){var C,F,y,T;const m=Reflect.get(u,c);if(c==="class"||c==="style")return[(C=n.value)==null?void 0:C[c],m].filter(B=>B!=null);if(H4(i.vnode,c))return m;const f=(F=n.value)==null?void 0:F[c];if(f!==void 0)return f;const p=(T=(y=o.value)==null?void 0:y.global)==null?void 0:T[c];return p!==void 0?p:m}}),s=lo();Pu(()=>{if(n.value){const u=Object.entries(n.value).filter(c=>{let[m]=c;return m.startsWith(m[0].toUpperCase())});s.value=u.length?Object.fromEntries(u):void 0}else s.value=void 0});function a(){const u=O4(hu,i);dl(hu,Z(()=>s.value?zi((u==null?void 0:u.value)??{},s.value):u==null?void 0:u.value))}return{props:r,provideSubDefaults:a}}function Tr(t){if(t._setup=t._setup??t.setup,!t.name)return t;if(t._setup){t.props=st(t.props??{},t.name)();const e=Object.keys(t.props).filter(o=>o!=="class"&&o!=="style");t.filterProps=function(i){return Ey(i,e)},t.props._as=String,t.setup=function(i,n){const r=Py();if(!r.value)return t._setup(i,n);const{props:s,provideSubDefaults:a}=$4(i,i._as??t.name,r),u=t._setup(s,n);return a(),u}}return t}function Do(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(t?Tr:Me)(e)}function z4(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",o=arguments.length>2?arguments[2]:void 0;return Do()({name:o??Nu(Ei(t.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...yi()},setup(i,n){let{slots:r}=n;return()=>{var s;return Gn(i.tag,{class:[t,i.class],style:i.style},(s=r.default)==null?void 0:s.call(r))}}})}function U4(t,e,o,i){if(!o||oh(t)||oh(e))return;const n=o.get(t);if(n)n.set(e,i);else{const r=new WeakMap;r.set(e,i),o.set(t,r)}}function j4(t,e,o){var r,s;if(!o||oh(t)||oh(e))return null;const i=(r=o.get(t))==null?void 0:r.get(e);if(typeof i=="boolean")return i;const n=(s=o.get(e))==null?void 0:s.get(t);return typeof n=="boolean"?n:null}function gp(t,e){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new WeakMap;if(t===e)return!0;if(t instanceof Date&&e instanceof Date&&t.getTime()!==e.getTime()||t!==Object(t)||e!==Object(e))return!1;const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!1;const n=j4(t,e,o);return n||(U4(t,e,o,!0),i.every(r=>gp(t[r],e[r],o)))}function FE(t){if(typeof t.getRootNode!="function"){for(;t.parentNode;)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const G4={linear:t=>t,easeInQuad:t=>t**2,easeOutQuad:t=>t*(2-t),easeInOutQuad:t=>t<.5?2*t**2:-1+(4-2*t)*t,easeInCubic:t=>t**3,easeOutCubic:t=>--t**3+1,easeInOutCubic:t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1,easeInQuart:t=>t**4,easeOutQuart:t=>1- --t**4,easeInOutQuart:t=>t<.5?8*t**4:1-8*--t**4,easeInQuint:t=>t**5,easeOutQuint:t=>1+--t**5,easeInOutQuint:t=>t<.5?16*t**5:1+16*--t**5,instant:t=>1};function xo(t){const e=Kn("useRender");e.render=t}function Qa(t,e,o){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const r=Kn("useProxiedModel"),s=Vt(t[e]!==void 0?t[e]:o),a=za(e),c=Z(a!==e?()=>{var f,p,C,F;return t[e],!!(((f=r.vnode.props)!=null&&f.hasOwnProperty(e)||(p=r.vnode.props)!=null&&p.hasOwnProperty(a))&&((C=r.vnode.props)!=null&&C.hasOwnProperty(`onUpdate:${e}`)||(F=r.vnode.props)!=null&&F.hasOwnProperty(`onUpdate:${a}`)))}:()=>{var f,p;return t[e],!!((f=r.vnode.props)!=null&&f.hasOwnProperty(e)&&((p=r.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${e}`)))});Q0(()=>!c.value,()=>{Rt(()=>t[e],f=>{s.value=f})});const m=Z({get(){const f=t[e];return i(c.value?f:s.value)},set(f){const p=n(f),C=Dt(c.value?t[e]:s.value);C===p||i(C)===f||(s.value=p,r==null||r.emit(`update:${e}`,p))}});return Object.defineProperty(m,"externalValue",{get:()=>c.value?t[e]:s.value}),m}const K4={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",selectDate:"{0}",currentDate:"Today, {0}"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}},IR="$vuetify.",wR=(t,e)=>t.replace(/\{(\d+)\}/g,(o,i)=>String(e[Number(i)])),yE=(t,e,o)=>function(i){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];if(!i.startsWith(IR))return wR(i,r);const a=i.replace(IR,""),u=t.value&&o.value[t.value],c=e.value&&o.value[e.value];let m=FR(u,a,null);return m||(`${i}${t.value}`,m=FR(c,a,null)),m||(m=i),typeof m!="string"&&(m=i),wR(m,r)};function Ay(t,e){return(o,i)=>new Intl.NumberFormat([t.value,e.value],i).format(o)}function TE(t,e){return Ay(t,e)(.1).includes(",")?",":"."}function vg(t,e,o){const i=Qa(t,e,t[e]??o.value);return i.value=t[e]??o.value,Rt(o,n=>{t[e]==null&&(i.value=o.value)}),i}function SE(t){return e=>{const o=vg(e,"locale",t.current),i=vg(e,"fallback",t.fallback),n=vg(e,"messages",t.messages);return{name:"vuetify",current:o,fallback:i,messages:n,decimalSeparator:Ue(()=>TE(o,i)),t:yE(o,i,n),n:Ay(o,i),provide:SE({current:o,fallback:i,messages:n})}}}function q4(t){const e=lo((t==null?void 0:t.locale)??"en"),o=lo((t==null?void 0:t.fallback)??"en"),i=Vt({en:K4,...t==null?void 0:t.messages});return{name:"vuetify",current:e,fallback:o,messages:i,decimalSeparator:Ue(()=>(t==null?void 0:t.decimalSeparator)??TE(e,o)),t:yE(e,o,i),n:Ay(e,o),provide:SE({current:e,fallback:o,messages:i})}}const nh=Symbol.for("vuetify:locale");function Y4(t){return t.name!=null}function J4(t){const e=t!=null&&t.adapter&&Y4(t==null?void 0:t.adapter)?t==null?void 0:t.adapter:q4(t),o=X4(e,t);return{...e,...o}}function Fp(){const t=ei(nh);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");return t}function Z4(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function X4(t,e){const o=Vt((e==null?void 0:e.rtl)??Z4()),i=Z(()=>o.value[t.current.value]??!1);return{isRtl:i,rtl:o,rtlClasses:Ue(()=>`v-locale--is-${i.value?"rtl":"ltr"}`)}}function Au(){const t=ei(nh);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:t.isRtl,rtlClasses:t.rtlClasses}}function vc(t){const e=t.slice(-2).toUpperCase();switch(!0){case t==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case t==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
|
|
19
|
-
KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US
|
|
20
|
-
VE VI WS YE ZA ZW`.includes(e):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV
|
|
21
|
-
MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(e):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS
|
|
22
|
-
IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(e):return{firstDay:1,firstWeekSize:4};case"AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".includes(e):return{firstDay:6,firstWeekSize:1};case e==="MV":return{firstDay:5,firstWeekSize:1};case e==="PT":return{firstDay:0,firstWeekSize:4};default:return null}}function Q4(t,e,o){var m;const i=[];let n=[];const r=BE(t),s=VE(t),a=o??((m=vc(e))==null?void 0:m.firstDay)??0,u=(r.getDay()-a+7)%7,c=(s.getDay()-a+7)%7;for(let f=0;f<u;f++){const p=new Date(r);p.setDate(p.getDate()-(u-f)),n.push(p)}for(let f=1;f<=s.getDate();f++){const p=new Date(t.getFullYear(),t.getMonth(),f);n.push(p),n.length===7&&(i.push(n),n=[])}for(let f=1;f<7-c;f++){const p=new Date(s);p.setDate(p.getDate()+f),n.push(p)}return n.length>0&&i.push(n),i}function rh(t,e,o){var r;let i=(o??((r=vc(e))==null?void 0:r.firstDay)??0)%7;[0,1,2,3,4,5,6].includes(i)||(i=0);const n=new Date(t);for(;n.getDay()!==i;)n.setDate(n.getDate()-1);return n}function eH(t,e){var n;const o=new Date(t),i=((((n=vc(e))==null?void 0:n.firstDay)??0)+6)%7;for(;o.getDay()!==i;)o.setDate(o.getDate()+1);return o}function BE(t){return new Date(t.getFullYear(),t.getMonth(),1)}function VE(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function tH(t){const e=t.split("-").map(Number);return new Date(e[0],e[1]-1,e[2])}const oH=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function RE(t){if(t==null)return new Date;if(t instanceof Date)return t;if(typeof t=="string"){let e;if(oH.test(t))return tH(t);if(e=Date.parse(t),!isNaN(e))return new Date(e)}return null}const kR=new Date(2e3,0,2);function iH(t,e,o){var n;const i=e??((n=vc(t))==null?void 0:n.firstDay)??0;return Ly(7).map(r=>{const s=new Date(kR);return s.setDate(kR.getDate()+i+r),new Intl.DateTimeFormat(t,{weekday:o??"narrow"}).format(s)})}function nH(t,e,o,i){const n=RE(t)??new Date,r=i==null?void 0:i[e];if(typeof r=="function")return r(n,e,o);let s={};switch(e){case"fullDate":s={year:"numeric",month:"short",day:"numeric"};break;case"fullDateWithWeekday":s={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const a=n.getDate(),u=new Intl.DateTimeFormat(o,{month:"long"}).format(n);return`${a} ${u}`;case"normalDateWithWeekday":s={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":s={month:"short",day:"numeric"};break;case"year":s={year:"numeric"};break;case"month":s={month:"long"};break;case"monthShort":s={month:"short"};break;case"monthAndYear":s={month:"long",year:"numeric"};break;case"monthAndDate":s={month:"long",day:"numeric"};break;case"weekday":s={weekday:"long"};break;case"weekdayShort":s={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(o).format(n.getDate());case"hours12h":s={hour:"numeric",hour12:!0};break;case"hours24h":s={hour:"numeric",hour12:!1};break;case"minutes":s={minute:"numeric"};break;case"seconds":s={second:"numeric"};break;case"fullTime":s={hour:"numeric",minute:"numeric"};break;case"fullTime12h":s={hour:"numeric",minute:"numeric",hour12:!0};break;case"fullTime24h":s={hour:"numeric",minute:"numeric",hour12:!1};break;case"fullDateTime":s={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"};break;case"fullDateTime12h":s={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0};break;case"fullDateTime24h":s={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};break;case"keyboardDate":s={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":return s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(o,s).format(n).replace(/, /g," ");case"keyboardDateTime12h":return s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(o,s).format(n).replace(/, /g," ");case"keyboardDateTime24h":return s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(o,s).format(n).replace(/, /g," ");default:s=r??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(o,s).format(n)}function rH(t,e){const o=t.toJsDate(e),i=o.getFullYear(),n=BR(String(o.getMonth()+1),2,"0"),r=BR(String(o.getDate()),2,"0");return`${i}-${n}-${r}`}function sH(t){const[e,o,i]=t.split("-").map(Number);return new Date(e,o-1,i)}function aH(t,e){const o=new Date(t);return o.setMinutes(o.getMinutes()+e),o}function lH(t,e){const o=new Date(t);return o.setHours(o.getHours()+e),o}function Ua(t,e){const o=new Date(t);return o.setDate(o.getDate()+e),o}function uH(t,e){const o=new Date(t);return o.setDate(o.getDate()+e*7),o}function dH(t,e){const o=new Date(t);return o.setDate(1),o.setMonth(o.getMonth()+e),o}function ec(t){return t.getFullYear()}function cH(t){return t.getMonth()}function mH(t,e,o,i){const n=vc(e),r=o??(n==null?void 0:n.firstDay)??0,s=(n==null?void 0:n.firstWeekSize)??1;return i!==void 0?fH(t,e,r,i):hH(t,e,r,s)}function fH(t,e,o,i){const n=(7+i-o)%7,r=rh(t,e,o),s=Ua(r,6);function a(p){return(7+new Date(p,0,1).getDay()-o)%7}let u=ec(t);u<ec(s)&&a(u+1)<=n&&u++;const c=new Date(u,0,1),m=a(u),f=m<=n?Ua(c,-m):Ua(c,7-m);return 1+ah(Iy(t),tc(f),"weeks")}function hH(t,e,o,i){const n=Ua(rh(t,e,o),6);function r(m){const f=new Date(m,0,1);return 7-ah(f,rh(f,e,o),"days")}let s=ec(t);s<ec(n)&&r(s+1)>=i&&s++;const a=new Date(s,0,1),u=r(s),c=u>=i?Ua(a,u-7):Ua(a,u);return 1+ah(Iy(t),tc(c),"weeks")}function pH(t){return t.getDate()}function CH(t){return new Date(t.getFullYear(),t.getMonth()+1,1)}function gH(t){return new Date(t.getFullYear(),t.getMonth()-1,1)}function FH(t){return t.getHours()}function yH(t){return t.getMinutes()}function TH(t){return new Date(t.getFullYear(),0,1)}function SH(t){return new Date(t.getFullYear(),11,31)}function BH(t,e){return sh(t,e[0])&&DH(t,e[1])}function VH(t){const e=new Date(t);return e instanceof Date&&!isNaN(e.getTime())}function sh(t,e){return t.getTime()>e.getTime()}function RH(t,e){return sh(tc(t),tc(e))}function DH(t,e){return t.getTime()<e.getTime()}function WR(t,e){return t.getTime()===e.getTime()}function xH(t,e){return t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function bH(t,e){return t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function LH(t,e){return t.getFullYear()===e.getFullYear()}function ah(t,e,o){const i=new Date(t),n=new Date(e);switch(o){case"years":return i.getFullYear()-n.getFullYear();case"quarters":return Math.floor((i.getMonth()-n.getMonth()+(i.getFullYear()-n.getFullYear())*12)/4);case"months":return i.getMonth()-n.getMonth()+(i.getFullYear()-n.getFullYear())*12;case"weeks":return Math.floor((i.getTime()-n.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((i.getTime()-n.getTime())/(1e3*60*60*24));case"hours":return Math.floor((i.getTime()-n.getTime())/(1e3*60*60));case"minutes":return Math.floor((i.getTime()-n.getTime())/(1e3*60));case"seconds":return Math.floor((i.getTime()-n.getTime())/1e3);default:return i.getTime()-n.getTime()}}function EH(t,e){const o=new Date(t);return o.setHours(e),o}function vH(t,e){const o=new Date(t);return o.setMinutes(e),o}function NH(t,e){const o=new Date(t);return o.setMonth(e),o}function PH(t,e){const o=new Date(t);return o.setDate(e),o}function _H(t,e){const o=new Date(t);return o.setFullYear(e),o}function tc(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)}function Iy(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59,999)}class AH{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return RE(e)}toJsDate(e){return e}toISO(e){return rH(this,e)}parseISO(e){return sH(e)}addMinutes(e,o){return aH(e,o)}addHours(e,o){return lH(e,o)}addDays(e,o){return Ua(e,o)}addWeeks(e,o){return uH(e,o)}addMonths(e,o){return dH(e,o)}getWeekArray(e,o){const i=o!==void 0?Number(o):void 0;return Q4(e,this.locale,i)}startOfWeek(e,o){const i=o!==void 0?Number(o):void 0;return rh(e,this.locale,i)}endOfWeek(e){return eH(e,this.locale)}startOfMonth(e){return BE(e)}endOfMonth(e){return VE(e)}format(e,o){return nH(e,o,this.locale,this.formats)}isEqual(e,o){return WR(e,o)}isValid(e){return VH(e)}isWithinRange(e,o){return BH(e,o)}isAfter(e,o){return sh(e,o)}isAfterDay(e,o){return RH(e,o)}isBefore(e,o){return!sh(e,o)&&!WR(e,o)}isSameDay(e,o){return xH(e,o)}isSameMonth(e,o){return bH(e,o)}isSameYear(e,o){return LH(e,o)}setMinutes(e,o){return vH(e,o)}setHours(e,o){return EH(e,o)}setMonth(e,o){return NH(e,o)}setDate(e,o){return PH(e,o)}setYear(e,o){return _H(e,o)}getDiff(e,o,i){return ah(e,o,i)}getWeekdays(e,o){const i=e!==void 0?Number(e):void 0;return iH(this.locale,i,o)}getYear(e){return ec(e)}getMonth(e){return cH(e)}getWeek(e,o,i){const n=o!==void 0?Number(o):void 0,r=i!==void 0?Number(i):void 0;return mH(e,this.locale,n,r)}getDate(e){return pH(e)}getNextMonth(e){return CH(e)}getPreviousMonth(e){return gH(e)}getHours(e){return FH(e)}getMinutes(e){return yH(e)}startOfDay(e){return tc(e)}endOfDay(e){return Iy(e)}startOfYear(e){return TH(e)}endOfYear(e){return SH(e)}}const IH=Symbol.for("vuetify:date-options"),OR=Symbol.for("vuetify:date-adapter");function wH(t,e){const o=zi({adapter:AH,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},t);return{options:o,instance:kH(o,e)}}function kH(t,e){const o=xt(typeof t.adapter=="function"?new t.adapter({locale:t.locale[e.current.value]??e.current.value,formats:t.formats}):t.adapter);return Rt(e.current,i=>{o.locale=t.locale[i]??i??o.locale}),o}const MR=Symbol.for("vuetify:display"),HR={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},WH=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:HR;return zi(HR,t)};function $R(t){return bi&&!t?window.innerWidth:typeof t=="object"&&t.clientWidth||0}function zR(t){return bi&&!t?window.innerHeight:typeof t=="object"&&t.clientHeight||0}function UR(t){const e=bi&&!t?window.navigator.userAgent:"ssr";function o(F){return!!e.match(F)}const i=o(/android/i),n=o(/iphone|ipad|ipod/i),r=o(/cordova/i),s=o(/electron/i),a=o(/chrome/i),u=o(/edge/i),c=o(/firefox/i),m=o(/opera/i),f=o(/win/i),p=o(/mac/i),C=o(/linux/i);return{android:i,ios:n,cordova:r,electron:s,chrome:a,edge:u,firefox:c,opera:m,win:f,mac:p,linux:C,touch:a4,ssr:e==="ssr"}}function OH(t,e){const{thresholds:o,mobileBreakpoint:i}=WH(t),n=lo(zR(e)),r=lo(UR(e)),s=xt({}),a=lo($R(e));function u(){n.value=zR(),a.value=$R()}function c(){u(),r.value=UR()}return Pu(()=>{const m=a.value<o.sm,f=a.value<o.md&&!m,p=a.value<o.lg&&!(f||m),C=a.value<o.xl&&!(p||f||m),F=a.value<o.xxl&&!(C||p||f||m),y=a.value>=o.xxl,T=m?"xs":f?"sm":p?"md":C?"lg":F?"xl":"xxl",B=typeof i=="number"?i:o[i],v=a.value<B;s.xs=m,s.sm=f,s.md=p,s.lg=C,s.xl=F,s.xxl=y,s.smAndUp=!m,s.mdAndUp=!(m||f),s.lgAndUp=!(m||f||p),s.xlAndUp=!(m||f||p||C),s.smAndDown=!(p||C||F||y),s.mdAndDown=!(C||F||y),s.lgAndDown=!(F||y),s.xlAndDown=!y,s.name=T,s.height=n.value,s.width=a.value,s.mobile=v,s.mobileBreakpoint=i,s.platform=r.value,s.thresholds=o}),bi&&(window.addEventListener("resize",u,{passive:!0}),Rc(()=>{window.removeEventListener("resize",u)},!0)),{...sL(s),update:c,ssr:!!e}}const MH=Symbol.for("vuetify:goto");function HH(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:G4}}function $H(t,e){return{rtl:e.isRtl,options:zi(HH(),t)}}const zH={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",tableGroupCollapse:"mdi-chevron-down",tableGroupExpand:"mdi-chevron-right",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off"},UH={component:t=>Gn(xE,{...t,class:"mdi"})},el=[String,Function,Object,Array],rF=Symbol.for("vuetify:icons"),yp=st({icon:{type:el},tag:{type:[String,Object,Function],required:!0}},"icon"),jR=Do()({name:"VComponentIcon",props:yp(),setup(t,e){let{slots:o}=e;return()=>{const i=t.icon;return ue(t.tag,null,{default:()=>{var n;return[t.icon?ue(i,null,null):(n=o.default)==null?void 0:n.call(o)]}})}}}),DE=Tr({name:"VSvgIcon",inheritAttrs:!1,props:yp(),setup(t,e){let{attrs:o}=e;return()=>ue(t.tag,$n(o,{style:null}),{default:()=>[V("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(t.icon)?t.icon.map(i=>Array.isArray(i)?V("path",{d:i[0],"fill-opacity":i[1]},null):V("path",{d:i},null)):V("path",{d:t.icon},null)])]})}});Tr({name:"VLigatureIcon",props:yp(),setup(t){return()=>ue(t.tag,null,{default:()=>[t.icon]})}});const xE=Tr({name:"VClassIcon",props:yp(),setup(t){return()=>ue(t.tag,{class:Ve(t.icon)},null)}});function jH(){return{svg:{component:DE},class:{component:xE}}}function GH(t){const e=jH(),o=(t==null?void 0:t.defaultSet)??"mdi";return o==="mdi"&&!e.mdi&&(e.mdi=UH),zi({defaultSet:o,sets:e,aliases:{...zH,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},t)}const KH=t=>{const e=ei(rF);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:Z(()=>{var u;const i=cu(t);if(!i)return{component:jR};let n=i;if(typeof n=="string"&&(n=n.trim(),n.startsWith("$")&&(n=(u=e.aliases)==null?void 0:u[n.slice(1)])),Array.isArray(n))return{component:DE,icon:n};if(typeof n!="string")return{component:jR,icon:n};const r=Object.keys(e.sets).find(c=>typeof n=="string"&&n.startsWith(`${c}:`)),s=r?n.slice(r.length+1):n;return{component:e.sets[r??e.defaultSet].component,icon:s}})}},oc=Symbol.for("vuetify:theme"),ia=st({theme:String},"theme");function GR(){return{defaultTheme:"light",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,unimportant:!1,utilities:!0}}function qH(){var i,n;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:GR();const e=GR();if(!t)return{...e,isDisabled:!0};const o={};for(const[r,s]of Object.entries(t.themes??{})){const a=s.dark||r==="dark"?(i=e.themes)==null?void 0:i.dark:(n=e.themes)==null?void 0:n.light;o[r]=zi(a,s)}return zi(e,{...t,themes:o})}function ba(t,e,o,i){t.push(`${XH(e,i)} {
|
|
23
|
-
`,...o.map(n=>` ${n};
|
|
24
|
-
`),`}
|
|
25
|
-
`)}function KR(t,e){const o=t.dark?2:1,i=t.dark?1:2,n=[];for(const[r,s]of Object.entries(t.colors)){const a=Ui(s);n.push(`--${e}theme-${r}: ${a.r},${a.g},${a.b}`),r.startsWith("on-")||n.push(`--${e}theme-${r}-overlay-multiplier: ${nF(s)>.18?o:i}`)}for(const[r,s]of Object.entries(t.variables)){const a=typeof s=="string"&&s.startsWith("#")?Ui(s):void 0,u=a?`${a.r}, ${a.g}, ${a.b}`:void 0;n.push(`--${e}${r}: ${u??s}`)}return n}function YH(t,e,o){const i={};if(o)for(const n of["lighten","darken"]){const r=n==="lighten"?w4:k4;for(const s of Ly(o[n],1))i[`${t}-${n}-${s}`]=hE(r(Ui(e),s))}return i}function JH(t,e){if(!e)return{};let o={};for(const i of e.colors){const n=t[i];n&&(o={...o,...YH(i,n,e)})}return o}function ZH(t){const e={};for(const o of Object.keys(t)){if(o.startsWith("on-")||t[`on-${o}`])continue;const i=`on-${o}`,n=Ui(t[o]);e[i]=gE(n)}return e}function XH(t,e){if(!e)return t;const o=`:where(${e})`;return t===":root"?o:`${o} ${t}`}function QH(t,e,o){const i=e5(t,e);i&&(i.innerHTML=o)}function e5(t,e){if(!bi)return null;let o=document.getElementById(t);return o||(o=document.createElement("style"),o.id=t,o.type="text/css",e&&o.setAttribute("nonce",e),document.head.appendChild(o)),o}function t5(t){const e=qH(t),o=lo(e.defaultTheme),i=Vt(e.themes),n=lo("light"),r=Z({get(){return o.value==="system"?n.value:o.value},set(v){o.value=v}}),s=Z(()=>{const v={};for(const[D,R]of Object.entries(i.value)){const N={...R.colors,...JH(R.colors,e.variations)};v[D]={...R,colors:{...N,...ZH(N)}}}return v}),a=Ue(()=>s.value[r.value]),u=Ue(()=>o.value==="system"),c=Z(()=>{var N;const v=[],D=e.unimportant?"":" !important",R=e.scoped?e.prefix:"";(N=a.value)!=null&&N.dark&&ba(v,":root",["color-scheme: dark"],e.scope),ba(v,":root",KR(a.value,e.prefix),e.scope);for(const[_,P]of Object.entries(s.value))ba(v,`.${e.prefix}theme--${_}`,[`color-scheme: ${P.dark?"dark":"normal"}`,...KR(P,e.prefix)],e.scope);if(e.utilities){const _=[],P=[],U=new Set(Object.values(s.value).flatMap(k=>Object.keys(k.colors)));for(const k of U)k.startsWith("on-")?ba(P,`.${k}`,[`color: rgb(var(--${e.prefix}theme-${k}))${D}`],e.scope):(ba(_,`.${R}bg-${k}`,[`--${e.prefix}theme-overlay-multiplier: var(--${e.prefix}theme-${k}-overlay-multiplier)`,`background-color: rgb(var(--${e.prefix}theme-${k}))${D}`,`color: rgb(var(--${e.prefix}theme-on-${k}))${D}`],e.scope),ba(P,`.${R}text-${k}`,[`color: rgb(var(--${e.prefix}theme-${k}))${D}`],e.scope),ba(P,`.${R}border-${k}`,[`--${e.prefix}border-color: var(--${e.prefix}theme-${k})`],e.scope));v.push(..._,...P)}return v.map((_,P)=>P===0?_:` ${_}`).join("")}),m=Ue(()=>e.isDisabled?void 0:`${e.prefix}theme--${r.value}`),f=Ue(()=>Object.keys(s.value));if(rE){let D=function(){n.value=v.matches?"dark":"light"};var B=D;const v=window.matchMedia("(prefers-color-scheme: dark)");D(),v.addEventListener("change",D,{passive:!0}),my()&&Rc(()=>{v.removeEventListener("change",D)})}function p(v){if(e.isDisabled)return;const D=v._context.provides.usehead;if(D){let _=function(){return{style:[{textContent:c.value,id:e.stylesheetId,nonce:e.cspNonce||!1}]}};var R=_;if(D.push){const P=D.push(_);bi&&Rt(c,()=>{P.patch(_)})}else bi?(D.addHeadObjs(Ue(_)),Pu(()=>D.updateDOM())):D.addHeadObjs(_())}else{let _=function(){QH(e.stylesheetId,e.cspNonce,c.value)};var N=_;bi?Rt(c,_,{immediate:!0}):_()}}function C(v){v!=="system"&&!f.value.includes(v)||(r.value=v)}function F(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f.value;const D=v.indexOf(r.value),R=D===-1?0:(D+1)%v.length;C(v[R])}function y(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["light","dark"];F(v)}const T=new Proxy(r,{get(v,D){return Reflect.get(v,D)},set(v,D,R){return D==="value"&&r4(`theme.global.name.value = ${R}`,`theme.change('${R}')`),Reflect.set(v,D,R)}});return{install:p,change:C,cycle:F,toggle:y,isDisabled:e.isDisabled,isSystem:u,name:r,themes:i,current:a,computedThemes:s,prefix:e.prefix,themeClasses:m,styles:c,global:{name:T,current:a}}}function Iu(t){Kn("provideTheme");const e=ei(oc,null);if(!e)throw new Error("Could not find Vuetify theme injection");const o=Ue(()=>t.theme??e.name.value),i=Ue(()=>e.themes.value[o.value]),n=Ue(()=>e.isDisabled?void 0:`${e.prefix}theme--${o.value}`),r={...e,name:o,current:i,themeClasses:n};return dl(oc,r),r}function o5(){Kn("useTheme");const t=ei(oc,null);if(!t)throw new Error("Could not find Vuetify theme injection");return t}function bE(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const o=h4(),i=Vt();if(bi){const n=new ResizeObserver(r=>{t==null||t(r,n),r.length&&(e==="content"?i.value=r[0].contentRect:i.value=r[0].target.getBoundingClientRect())});ea(()=>{n.disconnect()}),Rt(()=>o.el,(r,s)=>{s&&(n.unobserve(s),i.value=void 0),r&&n.observe(r)},{flush:"post"})}return{resizeRef:o,contentRect:$f(i)}}function LE(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...o}=t,i=zi(e,o),{aliases:n={},components:r={},directives:s={}}=i,a=Mf();return a.run(()=>{const u=M4(i.defaults),c=OH(i.display,i.ssr),m=t5(i.theme),f=GH(i.icons),p=J4(i.locale),C=wH(i.date,p),F=$H(i.goTo,p);function y(B){for(const D in s)B.directive(D,s[D]);for(const D in r)B.component(D,r[D]);for(const D in n)B.component(D,Tr({...n[D],name:D,aliasName:n[D].name}));const v=Mf();if(v.run(()=>{m.install(B)}),B.onUnmount(()=>v.stop()),B.provide(hu,u),B.provide(MR,c),B.provide(oc,m),B.provide(rF,f),B.provide(nh,p),B.provide(IH,C.options),B.provide(OR,C.instance),B.provide(MH,F),bi&&i.ssr)if(B.$nuxt)B.$nuxt.hook("app:suspense:resolve",()=>{c.update()});else{const{mount:D}=B;B.mount=function(){const R=D(...arguments);return ul(()=>c.update()),B.mount=D,R}}B.mixin({computed:{$vuetify(){return xt({defaults:wl.call(this,hu),display:wl.call(this,MR),theme:wl.call(this,oc),icons:wl.call(this,rF),locale:wl.call(this,nh),date:wl.call(this,OR)})}}})}function T(){a.stop()}return{install:y,unmount:T,defaults:u,display:c,theme:m,icons:f,locale:p,date:C,goTo:F}})}const i5="3.10.9";LE.version=i5;function wl(t){var i,n;const e=this.$,o=((i=e.parent)==null?void 0:i.provides)??((n=e.vnode.appContext)==null?void 0:n.provides);if(o&&t in o)return o[t]}const Ne=(t,e)=>{const o=t.__vccOpts||t;for(const[i,n]of e)o[i]=n;return o},n5={},r5={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function s5(t,e){return W(),J("svg",r5,[...e[0]||(e[0]=[V("path",{d:"M11.1665 11.1667V0.166748H14.8332V11.1667H25.8332V14.8334H14.8332V25.8334H11.1665V14.8334H0.166504V11.1667H11.1665Z",fill:"var(--blue-400)"},null,-1)])])}const qR=Ne(n5,[["render",s5]]),a5={},l5={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function u5(t,e){return W(),J("svg",l5,[...e[0]||(e[0]=[V("path",{d:"M3 3L13 13",stroke:"var(--black)"},null,-1),V("path",{d:"M13 3L3 13",stroke:"var(--black)"},null,-1)])])}const d5=Ne(a5,[["render",u5]]);/*!
|
|
26
|
-
* shared v9.14.5
|
|
27
|
-
* (c) 2025 kazuya kawaguchi
|
|
28
|
-
* Released under the MIT License.
|
|
29
|
-
*/function c5(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const lh=typeof window<"u",na=(t,e=!1)=>e?Symbol.for(t):Symbol(t),m5=(t,e,o)=>f5({l:t,k:e,s:o}),f5=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ho=t=>typeof t=="number"&&isFinite(t),h5=t=>vE(t)==="[object Date]",qs=t=>vE(t)==="[object RegExp]",Tp=t=>ot(t)&&Object.keys(t).length===0,$o=Object.assign,p5=Object.create,It=(t=null)=>p5(t);let YR;const Yr=()=>YR||(YR=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:It());function JR(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function ZR(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function C5(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(i,n,r)=>`${n}="${ZR(r)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(i,n,r)=>`${n}='${ZR(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(i=>{t=t.replace(i,"$1javascript:")}),t}const g5=Object.prototype.hasOwnProperty;function wn(t,e){return g5.call(t,e)}const Jt=Array.isArray,Ut=t=>typeof t=="function",be=t=>typeof t=="string",Ct=t=>typeof t=="boolean",Et=t=>t!==null&&typeof t=="object",F5=t=>Et(t)&&Ut(t.then)&&Ut(t.catch),EE=Object.prototype.toString,vE=t=>EE.call(t),ot=t=>{if(!Et(t))return!1;const e=Object.getPrototypeOf(t);return e===null||e.constructor===Object},y5=t=>t==null?"":Jt(t)||ot(t)&&t.toString===EE?JSON.stringify(t,null,2):String(t);function T5(t,e=""){return t.reduce((o,i,n)=>n===0?o+i:o+e+i,"")}function Sp(t){let e=t;return()=>++e}const Xm=t=>!Et(t)||Jt(t);function bf(t,e){if(Xm(t)||Xm(e))throw new Error("Invalid value");const o=[{src:t,des:e}];for(;o.length;){const{src:i,des:n}=o.pop();Object.keys(i).forEach(r=>{r!=="__proto__"&&(Et(i[r])&&!Et(n[r])&&(n[r]=Array.isArray(i[r])?[]:It()),Xm(n[r])||Xm(i[r])?n[r]=i[r]:o.push({src:i[r],des:n[r]}))})}}/*!
|
|
30
|
-
* message-compiler v9.14.5
|
|
31
|
-
* (c) 2025 kazuya kawaguchi
|
|
32
|
-
* Released under the MIT License.
|
|
33
|
-
*/function S5(t,e,o){return{line:t,column:e,offset:o}}function uh(t,e,o){return{start:t,end:e}}const B5=/\{([0-9a-zA-Z]+)\}/g;function NE(t,...e){return e.length===1&&V5(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),t.replace(B5,(o,i)=>e.hasOwnProperty(i)?e[i]:"")}const PE=Object.assign,XR=t=>typeof t=="string",V5=t=>t!==null&&typeof t=="object";function _E(t,e=""){return t.reduce((o,i,n)=>n===0?o+i:o+e+i,"")}const wy={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},R5={[wy.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function D5(t,e,...o){const i=NE(R5[t],...o||[]),n={message:String(i),code:t};return e&&(n.location=e),n}const Ze={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},x5={[Ze.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ze.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ze.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ze.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ze.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ze.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ze.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ze.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ze.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ze.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ze.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ze.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ze.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ze.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ze.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ze.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function wu(t,e,o={}){const{domain:i,messages:n,args:r}=o,s=NE((n||x5)[t]||"",...r||[]),a=new SyntaxError(String(s));return a.code=t,e&&(a.location=e),a.domain=i,a}function b5(t){throw t}const Ir=" ",L5="\r",li=`
|
|
34
|
-
`,E5="\u2028",v5="\u2029";function N5(t){const e=t;let o=0,i=1,n=1,r=0;const s=P=>e[P]===L5&&e[P+1]===li,a=P=>e[P]===li,u=P=>e[P]===v5,c=P=>e[P]===E5,m=P=>s(P)||a(P)||u(P)||c(P),f=()=>o,p=()=>i,C=()=>n,F=()=>r,y=P=>s(P)||u(P)||c(P)?li:e[P],T=()=>y(o),B=()=>y(o+r);function v(){return r=0,m(o)&&(i++,n=0),s(o)&&o++,o++,n++,e[o]}function D(){return s(o+r)&&r++,r++,e[o+r]}function R(){o=0,i=1,n=1,r=0}function N(P=0){r=P}function _(){const P=o+r;for(;P!==o;)v();r=0}return{index:f,line:p,column:C,peekOffset:F,charAt:y,currentChar:T,currentPeek:B,next:v,peek:D,reset:R,resetPeek:N,skipToPeek:_}}const Ds=void 0,P5=".",QR="'",_5="tokenizer";function A5(t,e={}){const o=e.location!==!1,i=N5(t),n=()=>i.index(),r=()=>S5(i.line(),i.column(),i.index()),s=r(),a=n(),u={currentType:14,offset:a,startLoc:s,endLoc:s,lastType:14,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>u,{onError:m}=e;function f(L,E,Y,...oe){const Be=c();if(E.column+=Y,E.offset+=Y,m){const ce=o?uh(Be.startLoc,E):null,q=wu(L,ce,{domain:_5,args:oe});m(q)}}function p(L,E,Y){L.endLoc=r(),L.currentType=E;const oe={type:E};return o&&(oe.loc=uh(L.startLoc,L.endLoc)),Y!=null&&(oe.value=Y),oe}const C=L=>p(L,14);function F(L,E){return L.currentChar()===E?(L.next(),E):(f(Ze.EXPECTED_TOKEN,r(),0,E),"")}function y(L){let E="";for(;L.currentPeek()===Ir||L.currentPeek()===li;)E+=L.currentPeek(),L.peek();return E}function T(L){const E=y(L);return L.skipToPeek(),E}function B(L){if(L===Ds)return!1;const E=L.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E===95}function v(L){if(L===Ds)return!1;const E=L.charCodeAt(0);return E>=48&&E<=57}function D(L,E){const{currentType:Y}=E;if(Y!==2)return!1;y(L);const oe=B(L.currentPeek());return L.resetPeek(),oe}function R(L,E){const{currentType:Y}=E;if(Y!==2)return!1;y(L);const oe=L.currentPeek()==="-"?L.peek():L.currentPeek(),Be=v(oe);return L.resetPeek(),Be}function N(L,E){const{currentType:Y}=E;if(Y!==2)return!1;y(L);const oe=L.currentPeek()===QR;return L.resetPeek(),oe}function _(L,E){const{currentType:Y}=E;if(Y!==8)return!1;y(L);const oe=L.currentPeek()===".";return L.resetPeek(),oe}function P(L,E){const{currentType:Y}=E;if(Y!==9)return!1;y(L);const oe=B(L.currentPeek());return L.resetPeek(),oe}function U(L,E){const{currentType:Y}=E;if(!(Y===8||Y===12))return!1;y(L);const oe=L.currentPeek()===":";return L.resetPeek(),oe}function k(L,E){const{currentType:Y}=E;if(Y!==10)return!1;const oe=()=>{const ce=L.currentPeek();return ce==="{"?B(L.peek()):ce==="@"||ce==="%"||ce==="|"||ce===":"||ce==="."||ce===Ir||!ce?!1:ce===li?(L.peek(),oe()):M(L,!1)},Be=oe();return L.resetPeek(),Be}function de(L){y(L);const E=L.currentPeek()==="|";return L.resetPeek(),E}function z(L){const E=y(L),Y=L.currentPeek()==="%"&&L.peek()==="{";return L.resetPeek(),{isModulo:Y,hasSpace:E.length>0}}function M(L,E=!0){const Y=(Be=!1,ce="",q=!1)=>{const te=L.currentPeek();return te==="{"?ce==="%"?!1:Be:te==="@"||!te?ce==="%"?!0:Be:te==="%"?(L.peek(),Y(Be,"%",!0)):te==="|"?ce==="%"||q?!0:!(ce===Ir||ce===li):te===Ir?(L.peek(),Y(!0,Ir,q)):te===li?(L.peek(),Y(!0,li,q)):!0},oe=Y();return E&&L.resetPeek(),oe}function X(L,E){const Y=L.currentChar();return Y===Ds?Ds:E(Y)?(L.next(),Y):null}function Ce(L){const E=L.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57||E===95||E===36}function pe(L){return X(L,Ce)}function ie(L){const E=L.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57||E===95||E===36||E===45}function Re(L){return X(L,ie)}function Ie(L){const E=L.charCodeAt(0);return E>=48&&E<=57}function mt(L){return X(L,Ie)}function ke(L){const E=L.charCodeAt(0);return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function ve(L){return X(L,ke)}function lt(L){let E="",Y="";for(;E=mt(L);)Y+=E;return Y}function pt(L){T(L);const E=L.currentChar();return E!=="%"&&f(Ze.EXPECTED_TOKEN,r(),0,E),L.next(),"%"}function jt(L){let E="";for(;;){const Y=L.currentChar();if(Y==="{"||Y==="}"||Y==="@"||Y==="|"||!Y)break;if(Y==="%")if(M(L))E+=Y,L.next();else break;else if(Y===Ir||Y===li)if(M(L))E+=Y,L.next();else{if(de(L))break;E+=Y,L.next()}else E+=Y,L.next()}return E}function $e(L){T(L);let E="",Y="";for(;E=Re(L);)Y+=E;return L.currentChar()===Ds&&f(Ze.UNTERMINATED_CLOSING_BRACE,r(),0),Y}function Qe(L){T(L);let E="";return L.currentChar()==="-"?(L.next(),E+=`-${lt(L)}`):E+=lt(L),L.currentChar()===Ds&&f(Ze.UNTERMINATED_CLOSING_BRACE,r(),0),E}function We(L){return L!==QR&&L!==li}function Oe(L){T(L),F(L,"'");let E="",Y="";for(;E=X(L,We);)E==="\\"?Y+=bt(L):Y+=E;const oe=L.currentChar();return oe===li||oe===Ds?(f(Ze.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),oe===li&&(L.next(),F(L,"'")),Y):(F(L,"'"),Y)}function bt(L){const E=L.currentChar();switch(E){case"\\":case"'":return L.next(),`\\${E}`;case"u":return Gt(L,E,4);case"U":return Gt(L,E,6);default:return f(Ze.UNKNOWN_ESCAPE_SEQUENCE,r(),0,E),""}}function Gt(L,E,Y){F(L,E);let oe="";for(let Be=0;Be<Y;Be++){const ce=ve(L);if(!ce){f(Ze.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${E}${oe}${L.currentChar()}`);break}oe+=ce}return`\\${E}${oe}`}function to(L){return L!=="{"&&L!=="}"&&L!==Ir&&L!==li}function I(L){T(L);let E="",Y="";for(;E=X(L,to);)Y+=E;return Y}function H(L){let E="",Y="";for(;E=pe(L);)Y+=E;return Y}function w(L){const E=Y=>{const oe=L.currentChar();return oe==="{"||oe==="%"||oe==="@"||oe==="|"||oe==="("||oe===")"||!oe||oe===Ir?Y:(Y+=oe,L.next(),E(Y))};return E("")}function Q(L){T(L);const E=F(L,"|");return T(L),E}function se(L,E){let Y=null;switch(L.currentChar()){case"{":return E.braceNest>=1&&f(Ze.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),L.next(),Y=p(E,2,"{"),T(L),E.braceNest++,Y;case"}":return E.braceNest>0&&E.currentType===2&&f(Ze.EMPTY_PLACEHOLDER,r(),0),L.next(),Y=p(E,3,"}"),E.braceNest--,E.braceNest>0&&T(L),E.inLinked&&E.braceNest===0&&(E.inLinked=!1),Y;case"@":return E.braceNest>0&&f(Ze.UNTERMINATED_CLOSING_BRACE,r(),0),Y=ne(L,E)||C(E),E.braceNest=0,Y;default:{let Be=!0,ce=!0,q=!0;if(de(L))return E.braceNest>0&&f(Ze.UNTERMINATED_CLOSING_BRACE,r(),0),Y=p(E,1,Q(L)),E.braceNest=0,E.inLinked=!1,Y;if(E.braceNest>0&&(E.currentType===5||E.currentType===6||E.currentType===7))return f(Ze.UNTERMINATED_CLOSING_BRACE,r(),0),E.braceNest=0,Te(L,E);if(Be=D(L,E))return Y=p(E,5,$e(L)),T(L),Y;if(ce=R(L,E))return Y=p(E,6,Qe(L)),T(L),Y;if(q=N(L,E))return Y=p(E,7,Oe(L)),T(L),Y;if(!Be&&!ce&&!q)return Y=p(E,13,I(L)),f(Ze.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,Y.value),T(L),Y;break}}return Y}function ne(L,E){const{currentType:Y}=E;let oe=null;const Be=L.currentChar();switch((Y===8||Y===9||Y===12||Y===10)&&(Be===li||Be===Ir)&&f(Ze.INVALID_LINKED_FORMAT,r(),0),Be){case"@":return L.next(),oe=p(E,8,"@"),E.inLinked=!0,oe;case".":return T(L),L.next(),p(E,9,".");case":":return T(L),L.next(),p(E,10,":");default:return de(L)?(oe=p(E,1,Q(L)),E.braceNest=0,E.inLinked=!1,oe):_(L,E)||U(L,E)?(T(L),ne(L,E)):P(L,E)?(T(L),p(E,12,H(L))):k(L,E)?(T(L),Be==="{"?se(L,E)||oe:p(E,11,w(L))):(Y===8&&f(Ze.INVALID_LINKED_FORMAT,r(),0),E.braceNest=0,E.inLinked=!1,Te(L,E))}}function Te(L,E){let Y={type:14};if(E.braceNest>0)return se(L,E)||C(E);if(E.inLinked)return ne(L,E)||C(E);switch(L.currentChar()){case"{":return se(L,E)||C(E);case"}":return f(Ze.UNBALANCED_CLOSING_BRACE,r(),0),L.next(),p(E,3,"}");case"@":return ne(L,E)||C(E);default:{if(de(L))return Y=p(E,1,Q(L)),E.braceNest=0,E.inLinked=!1,Y;const{isModulo:Be,hasSpace:ce}=z(L);if(Be)return ce?p(E,0,jt(L)):p(E,4,pt(L));if(M(L))return p(E,0,jt(L));break}}return Y}function Se(){const{currentType:L,offset:E,startLoc:Y,endLoc:oe}=u;return u.lastType=L,u.lastOffset=E,u.lastStartLoc=Y,u.lastEndLoc=oe,u.offset=n(),u.startLoc=r(),i.currentChar()===Ds?p(u,14):Te(i,u)}return{nextToken:Se,currentOffset:n,currentPosition:r,context:c}}const I5="parser",w5=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function k5(t,e,o){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(e||o,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function W5(t={}){const e=t.location!==!1,{onError:o,onWarn:i}=t;function n(D,R,N,_,...P){const U=D.currentPosition();if(U.offset+=_,U.column+=_,o){const k=e?uh(N,U):null,de=wu(R,k,{domain:I5,args:P});o(de)}}function r(D,R,N,_,...P){const U=D.currentPosition();if(U.offset+=_,U.column+=_,i){const k=e?uh(N,U):null;i(D5(R,k,P))}}function s(D,R,N){const _={type:D};return e&&(_.start=R,_.end=R,_.loc={start:N,end:N}),_}function a(D,R,N,_){e&&(D.end=R,D.loc&&(D.loc.end=N))}function u(D,R){const N=D.context(),_=s(3,N.offset,N.startLoc);return _.value=R,a(_,D.currentOffset(),D.currentPosition()),_}function c(D,R){const N=D.context(),{lastOffset:_,lastStartLoc:P}=N,U=s(5,_,P);return U.index=parseInt(R,10),D.nextToken(),a(U,D.currentOffset(),D.currentPosition()),U}function m(D,R,N){const _=D.context(),{lastOffset:P,lastStartLoc:U}=_,k=s(4,P,U);return k.key=R,N===!0&&(k.modulo=!0),D.nextToken(),a(k,D.currentOffset(),D.currentPosition()),k}function f(D,R){const N=D.context(),{lastOffset:_,lastStartLoc:P}=N,U=s(9,_,P);return U.value=R.replace(w5,k5),D.nextToken(),a(U,D.currentOffset(),D.currentPosition()),U}function p(D){const R=D.nextToken(),N=D.context(),{lastOffset:_,lastStartLoc:P}=N,U=s(8,_,P);return R.type!==12?(n(D,Ze.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),U.value="",a(U,_,P),{nextConsumeToken:R,node:U}):(R.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Pn(R)),U.value=R.value||"",a(U,D.currentOffset(),D.currentPosition()),{node:U})}function C(D,R){const N=D.context(),_=s(7,N.offset,N.startLoc);return _.value=R,a(_,D.currentOffset(),D.currentPosition()),_}function F(D){const R=D.context(),N=s(6,R.offset,R.startLoc);let _=D.nextToken();if(_.type===9){const P=p(D);N.modifier=P.node,_=P.nextConsumeToken||D.nextToken()}switch(_.type!==10&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Pn(_)),_=D.nextToken(),_.type===2&&(_=D.nextToken()),_.type){case 11:_.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Pn(_)),N.key=C(D,_.value||"");break;case 5:_.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Pn(_)),N.key=m(D,_.value||"");break;case 6:_.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Pn(_)),N.key=c(D,_.value||"");break;case 7:_.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Pn(_)),N.key=f(D,_.value||"");break;default:{n(D,Ze.UNEXPECTED_EMPTY_LINKED_KEY,R.lastStartLoc,0);const P=D.context(),U=s(7,P.offset,P.startLoc);return U.value="",a(U,P.offset,P.startLoc),N.key=U,a(N,P.offset,P.startLoc),{nextConsumeToken:_,node:N}}}return a(N,D.currentOffset(),D.currentPosition()),{node:N}}function y(D){const R=D.context(),N=R.currentType===1?D.currentOffset():R.offset,_=R.currentType===1?R.endLoc:R.startLoc,P=s(2,N,_);P.items=[];let U=null,k=null;do{const M=U||D.nextToken();switch(U=null,M.type){case 0:M.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Pn(M)),P.items.push(u(D,M.value||""));break;case 6:M.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Pn(M)),P.items.push(c(D,M.value||""));break;case 4:k=!0;break;case 5:M.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Pn(M)),P.items.push(m(D,M.value||"",!!k)),k&&(r(D,wy.USE_MODULO_SYNTAX,R.lastStartLoc,0,Pn(M)),k=null);break;case 7:M.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Pn(M)),P.items.push(f(D,M.value||""));break;case 8:{const X=F(D);P.items.push(X.node),U=X.nextConsumeToken||null;break}}}while(R.currentType!==14&&R.currentType!==1);const de=R.currentType===1?R.lastOffset:D.currentOffset(),z=R.currentType===1?R.lastEndLoc:D.currentPosition();return a(P,de,z),P}function T(D,R,N,_){const P=D.context();let U=_.items.length===0;const k=s(1,R,N);k.cases=[],k.cases.push(_);do{const de=y(D);U||(U=de.items.length===0),k.cases.push(de)}while(P.currentType!==14);return U&&n(D,Ze.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),a(k,D.currentOffset(),D.currentPosition()),k}function B(D){const R=D.context(),{offset:N,startLoc:_}=R,P=y(D);return R.currentType===14?P:T(D,N,_,P)}function v(D){const R=A5(D,PE({},t)),N=R.context(),_=s(0,N.offset,N.startLoc);return e&&_.loc&&(_.loc.source=D),_.body=B(R),t.onCacheKey&&(_.cacheKey=t.onCacheKey(D)),N.currentType!==14&&n(R,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,D[N.offset]||""),a(_,R.currentOffset(),R.currentPosition()),_}return{parse:v}}function Pn(t){if(t.type===14)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function O5(t,e={}){const o={ast:t,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function eD(t,e){for(let o=0;o<t.length;o++)ky(t[o],e)}function ky(t,e){switch(t.type){case 1:eD(t.cases,e),e.helper("plural");break;case 2:eD(t.items,e);break;case 6:{ky(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function M5(t,e={}){const o=O5(t);o.helper("normalize"),t.body&&ky(t.body,o);const i=o.context();t.helpers=Array.from(i.helpers)}function H5(t){const e=t.body;return e.type===2?tD(e):e.cases.forEach(o=>tD(o)),t}function tD(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let o=0;o<t.items.length;o++){const i=t.items[o];if(!(i.type===3||i.type===9)||i.value==null)break;e.push(i.value)}if(e.length===t.items.length){t.static=_E(e);for(let o=0;o<t.items.length;o++){const i=t.items[o];(i.type===3||i.type===9)&&delete i.value}}}}const $5="minifier";function $l(t){switch(t.t=t.type,t.type){case 0:{const e=t;$l(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,o=e.cases;for(let i=0;i<o.length;i++)$l(o[i]);e.c=o,delete e.cases;break}case 2:{const e=t,o=e.items;for(let i=0;i<o.length;i++)$l(o[i]);e.i=o,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;$l(e.key),e.k=e.key,delete e.key,e.modifier&&($l(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}default:throw wu(Ze.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:$5,args:[t.type]})}delete t.type}const z5="parser";function U5(t,e){const{filename:o,breakLineCode:i,needIndent:n}=e,r=e.location!==!1,s={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:n,indentLevel:0};r&&t.loc&&(s.source=t.loc.source);const a=()=>s;function u(y,T){s.code+=y}function c(y,T=!0){const B=T?i:"";u(n?B+" ".repeat(y):B)}function m(y=!0){const T=++s.indentLevel;y&&c(T)}function f(y=!0){const T=--s.indentLevel;y&&c(T)}function p(){c(s.indentLevel)}return{context:a,push:u,indent:m,deindent:f,newline:p,helper:y=>`_${y}`,needIndent:()=>s.needIndent}}function j5(t,e){const{helper:o}=t;t.push(`${o("linked")}(`),pu(t,e.key),e.modifier?(t.push(", "),pu(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function G5(t,e){const{helper:o,needIndent:i}=t;t.push(`${o("normalize")}([`),t.indent(i());const n=e.items.length;for(let r=0;r<n&&(pu(t,e.items[r]),r!==n-1);r++)t.push(", ");t.deindent(i()),t.push("])")}function K5(t,e){const{helper:o,needIndent:i}=t;if(e.cases.length>1){t.push(`${o("plural")}([`),t.indent(i());const n=e.cases.length;for(let r=0;r<n&&(pu(t,e.cases[r]),r!==n-1);r++)t.push(", ");t.deindent(i()),t.push("])")}}function q5(t,e){e.body?pu(t,e.body):t.push("null")}function pu(t,e){const{helper:o}=t;switch(e.type){case 0:q5(t,e);break;case 1:K5(t,e);break;case 2:G5(t,e);break;case 6:j5(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${o("interpolate")}(${o("list")}(${e.index}))`,e);break;case 4:t.push(`${o("interpolate")}(${o("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break;default:throw wu(Ze.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:z5,args:[e.type]})}}const Y5=(t,e={})=>{const o=XR(e.mode)?e.mode:"normal",i=XR(e.filename)?e.filename:"message.intl";e.sourceMap;const n=e.breakLineCode!=null?e.breakLineCode:o==="arrow"?";":`
|
|
35
|
-
`,r=e.needIndent?e.needIndent:o!=="arrow",s=t.helpers||[],a=U5(t,{filename:i,breakLineCode:n,needIndent:r});a.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(r),s.length>0&&(a.push(`const { ${_E(s.map(m=>`${m}: _${m}`),", ")} } = ctx`),a.newline()),a.push("return "),pu(a,t),a.deindent(r),a.push("}"),delete t.helpers;const{code:u,map:c}=a.context();return{ast:t,code:u,map:c?c.toJSON():void 0}};function J5(t,e={}){const o=PE({},e),i=!!o.jit,n=!!o.minify,r=o.optimize==null?!0:o.optimize,a=W5(o).parse(t);return i?(r&&H5(a),n&&$l(a),{ast:a,code:""}):(M5(a,o),Y5(a,o))}/*!
|
|
36
|
-
* core-base v9.14.5
|
|
37
|
-
* (c) 2025 kazuya kawaguchi
|
|
38
|
-
* Released under the MIT License.
|
|
39
|
-
*/function Z5(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Yr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Yr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function dr(t){return Et(t)&&Wy(t)===0&&(wn(t,"b")||wn(t,"body"))}const AE=["b","body"];function X5(t){return ra(t,AE)}const IE=["c","cases"];function Q5(t){return ra(t,IE,[])}const wE=["s","static"];function e9(t){return ra(t,wE)}const kE=["i","items"];function t9(t){return ra(t,kE,[])}const WE=["t","type"];function Wy(t){return ra(t,WE)}const OE=["v","value"];function Qm(t,e){const o=ra(t,OE);if(o!=null)return o;throw ic(e)}const ME=["m","modifier"];function o9(t){return ra(t,ME)}const HE=["k","key"];function i9(t){const e=ra(t,HE);if(e)return e;throw ic(6)}function ra(t,e,o){for(let i=0;i<e.length;i++){const n=e[i];if(wn(t,n)&&t[n]!=null)return t[n]}return o}const $E=[...AE,...IE,...wE,...kE,...HE,...ME,...OE,...WE];function ic(t){return new Error(`unhandled node type: ${t}`)}const sa=[];sa[0]={w:[0],i:[3,0],"[":[4],o:[7]};sa[1]={w:[1],".":[2],"[":[4],o:[7]};sa[2]={w:[2],i:[3,0],0:[3,0]};sa[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};sa[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};sa[5]={"'":[4,0],o:8,l:[5,0]};sa[6]={'"':[4,0],o:8,l:[6,0]};const n9=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function r9(t){return n9.test(t)}function s9(t){const e=t.charCodeAt(0),o=t.charCodeAt(t.length-1);return e===o&&(e===34||e===39)?t.slice(1,-1):t}function a9(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function l9(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:r9(e)?s9(e):"*"+e}function u9(t){const e=[];let o=-1,i=0,n=0,r,s,a,u,c,m,f;const p=[];p[0]=()=>{s===void 0?s=a:s+=a},p[1]=()=>{s!==void 0&&(e.push(s),s=void 0)},p[2]=()=>{p[0](),n++},p[3]=()=>{if(n>0)n--,i=4,p[0]();else{if(n=0,s===void 0||(s=l9(s),s===!1))return!1;p[1]()}};function C(){const F=t[o+1];if(i===5&&F==="'"||i===6&&F==='"')return o++,a="\\"+F,p[0](),!0}for(;i!==null;)if(o++,r=t[o],!(r==="\\"&&C())){if(u=a9(r),f=sa[i],c=f[u]||f.l||8,c===8||(i=c[0],c[1]!==void 0&&(m=p[c[1]],m&&(a=r,m()===!1))))return;if(i===7)return e}}const oD=new Map;function d9(t,e){return Et(t)?t[e]:null}function c9(t,e){if(!Et(t))return null;let o=oD.get(e);if(o||(o=u9(e),o&&oD.set(e,o)),!o)return null;const i=o.length;let n=t,r=0;for(;r<i;){const s=o[r];if($E.includes(s)&&dr(n))return null;const a=n[s];if(a===void 0||Ut(n))return null;n=a,r++}return n}const m9=t=>t,f9=t=>"",h9="text",p9=t=>t.length===0?"":T5(t),C9=y5;function iD(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function g9(t){const e=ho(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(ho(t.named.count)||ho(t.named.n))?ho(t.named.count)?t.named.count:ho(t.named.n)?t.named.n:e:e}function F9(t,e){e.count||(e.count=t),e.n||(e.n=t)}function y9(t={}){const e=t.locale,o=g9(t),i=Et(t.pluralRules)&&be(e)&&Ut(t.pluralRules[e])?t.pluralRules[e]:iD,n=Et(t.pluralRules)&&be(e)&&Ut(t.pluralRules[e])?iD:void 0,r=B=>B[i(o,B.length,n)],s=t.list||[],a=B=>s[B],u=t.named||It();ho(t.pluralIndex)&&F9(o,u);const c=B=>u[B];function m(B){const v=Ut(t.messages)?t.messages(B):Et(t.messages)?t.messages[B]:!1;return v||(t.parent?t.parent.message(B):f9)}const f=B=>t.modifiers?t.modifiers[B]:m9,p=ot(t.processor)&&Ut(t.processor.normalize)?t.processor.normalize:p9,C=ot(t.processor)&&Ut(t.processor.interpolate)?t.processor.interpolate:C9,F=ot(t.processor)&&be(t.processor.type)?t.processor.type:h9,T={list:a,named:c,plural:r,linked:(B,...v)=>{const[D,R]=v;let N="text",_="";v.length===1?Et(D)?(_=D.modifier||_,N=D.type||N):be(D)&&(_=D||_):v.length===2&&(be(D)&&(_=D||_),be(R)&&(N=R||N));const P=m(B)(T),U=N==="vnode"&&Jt(P)&&_?P[0]:P;return _?f(_)(U,N):U},message:m,type:F,interpolate:C,normalize:p,values:$o(It(),s,u)};return T}let nc=null;function T9(t){nc=t}function S9(t,e,o){nc&&nc.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:o})}const B9=V9("function:translate");function V9(t){return e=>nc&&nc.emit(t,e)}const R9=wy.__EXTEND_POINT__,La=Sp(R9),D9={FALLBACK_TO_TRANSLATE:La(),CANNOT_FORMAT_NUMBER:La(),FALLBACK_TO_NUMBER_FORMAT:La(),CANNOT_FORMAT_DATE:La(),FALLBACK_TO_DATE_FORMAT:La(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:La(),__EXTEND_POINT__:La()},zE=Ze.__EXTEND_POINT__,Ea=Sp(zE),kn={INVALID_ARGUMENT:zE,INVALID_DATE_ARGUMENT:Ea(),INVALID_ISO_DATE_ARGUMENT:Ea(),NOT_SUPPORT_NON_STRING_MESSAGE:Ea(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ea(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ea(),NOT_SUPPORT_LOCALE_TYPE:Ea(),__EXTEND_POINT__:Ea()};function sr(t){return wu(t,null,void 0)}function Oy(t,e){return e.locale!=null?nD(e.locale):nD(t.locale)}let Ng;function nD(t){if(be(t))return t;if(Ut(t)){if(t.resolvedOnce&&Ng!=null)return Ng;if(t.constructor.name==="Function"){const e=t();if(F5(e))throw sr(kn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ng=e}else throw sr(kn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw sr(kn.NOT_SUPPORT_LOCALE_TYPE)}function x9(t,e,o){return[...new Set([o,...Jt(e)?e:Et(e)?Object.keys(e):be(e)?[e]:[o]])]}function UE(t,e,o){const i=be(o)?o:Cu,n=t;n.__localeChainCache||(n.__localeChainCache=new Map);let r=n.__localeChainCache.get(i);if(!r){r=[];let s=[o];for(;Jt(s);)s=rD(r,s,e);const a=Jt(e)||!ot(e)?e:e.default?e.default:null;s=be(a)?[a]:a,Jt(s)&&rD(r,s,!1),n.__localeChainCache.set(i,r)}return r}function rD(t,e,o){let i=!0;for(let n=0;n<e.length&&Ct(i);n++){const r=e[n];be(r)&&(i=b9(t,e[n],o))}return i}function b9(t,e,o){let i;const n=e.split("-");do{const r=n.join("-");i=L9(t,r,o),n.splice(-1,1)}while(n.length&&i===!0);return i}function L9(t,e,o){let i=!1;if(!t.includes(e)&&(i=!0,e)){i=e[e.length-1]!=="!";const n=e.replace(/!/g,"");t.push(n),(Jt(o)||ot(o))&&o[n]&&(i=o[n])}return i}const E9="9.14.5",Bp=-1,Cu="en-US",sD="",aD=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function v9(){return{upper:(t,e)=>e==="text"&&be(t)?t.toUpperCase():e==="vnode"&&Et(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&be(t)?t.toLowerCase():e==="vnode"&&Et(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&be(t)?aD(t):e==="vnode"&&Et(t)&&"__v_isVNode"in t?aD(t.children):t}}let jE;function lD(t){jE=t}let GE;function N9(t){GE=t}let KE;function P9(t){KE=t}let qE=null;const _9=t=>{qE=t},A9=()=>qE;let YE=null;const uD=t=>{YE=t},I9=()=>YE;let dD=0;function w9(t={}){const e=Ut(t.onWarn)?t.onWarn:c5,o=be(t.version)?t.version:E9,i=be(t.locale)||Ut(t.locale)?t.locale:Cu,n=Ut(i)?Cu:i,r=Jt(t.fallbackLocale)||ot(t.fallbackLocale)||be(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:n,s=ot(t.messages)?t.messages:Pg(n),a=ot(t.datetimeFormats)?t.datetimeFormats:Pg(n),u=ot(t.numberFormats)?t.numberFormats:Pg(n),c=$o(It(),t.modifiers,v9()),m=t.pluralRules||It(),f=Ut(t.missing)?t.missing:null,p=Ct(t.missingWarn)||qs(t.missingWarn)?t.missingWarn:!0,C=Ct(t.fallbackWarn)||qs(t.fallbackWarn)?t.fallbackWarn:!0,F=!!t.fallbackFormat,y=!!t.unresolving,T=Ut(t.postTranslation)?t.postTranslation:null,B=ot(t.processor)?t.processor:null,v=Ct(t.warnHtmlMessage)?t.warnHtmlMessage:!0,D=!!t.escapeParameter,R=Ut(t.messageCompiler)?t.messageCompiler:jE,N=Ut(t.messageResolver)?t.messageResolver:GE||d9,_=Ut(t.localeFallbacker)?t.localeFallbacker:KE||x9,P=Et(t.fallbackContext)?t.fallbackContext:void 0,U=t,k=Et(U.__datetimeFormatters)?U.__datetimeFormatters:new Map,de=Et(U.__numberFormatters)?U.__numberFormatters:new Map,z=Et(U.__meta)?U.__meta:{};dD++;const M={version:o,cid:dD,locale:i,fallbackLocale:r,messages:s,modifiers:c,pluralRules:m,missing:f,missingWarn:p,fallbackWarn:C,fallbackFormat:F,unresolving:y,postTranslation:T,processor:B,warnHtmlMessage:v,escapeParameter:D,messageCompiler:R,messageResolver:N,localeFallbacker:_,fallbackContext:P,onWarn:e,__meta:z};return M.datetimeFormats=a,M.numberFormats=u,M.__datetimeFormatters=k,M.__numberFormatters=de,__INTLIFY_PROD_DEVTOOLS__&&S9(M,o,z),M}const Pg=t=>({[t]:It()});function My(t,e,o,i,n){const{missing:r,onWarn:s}=t;if(r!==null){const a=r(t,o,e,n);return be(a)?a:e}else return e}function ud(t,e,o){const i=t;i.__localeChainCache=new Map,t.localeFallbacker(t,o,e)}function k9(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function W9(t,e){const o=e.indexOf(t);if(o===-1)return!1;for(let i=o+1;i<e.length;i++)if(k9(t,e[i]))return!0;return!1}function _g(t){return o=>O9(o,t)}function O9(t,e){const o=X5(e);if(o==null)throw ic(0);if(Wy(o)===1){const r=Q5(o);return t.plural(r.reduce((s,a)=>[...s,cD(t,a)],[]))}else return cD(t,o)}function cD(t,e){const o=e9(e);if(o!=null)return t.type==="text"?o:t.normalize([o]);{const i=t9(e).reduce((n,r)=>[...n,sF(t,r)],[]);return t.normalize(i)}}function sF(t,e){const o=Wy(e);switch(o){case 3:return Qm(e,o);case 9:return Qm(e,o);case 4:{const i=e;if(wn(i,"k")&&i.k)return t.interpolate(t.named(i.k));if(wn(i,"key")&&i.key)return t.interpolate(t.named(i.key));throw ic(o)}case 5:{const i=e;if(wn(i,"i")&&ho(i.i))return t.interpolate(t.list(i.i));if(wn(i,"index")&&ho(i.index))return t.interpolate(t.list(i.index));throw ic(o)}case 6:{const i=e,n=o9(i),r=i9(i);return t.linked(sF(t,r),n?sF(t,n):void 0,t.type)}case 7:return Qm(e,o);case 8:return Qm(e,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const JE=t=>t;let Yl=It();function ZE(t,e={}){let o=!1;const i=e.onError||b5;return e.onError=n=>{o=!0,i(n)},{...J5(t,e),detectError:o}}const M9=(t,e)=>{if(!be(t))throw sr(kn.NOT_SUPPORT_NON_STRING_MESSAGE);{Ct(e.warnHtmlMessage)&&e.warnHtmlMessage;const i=(e.onCacheKey||JE)(t),n=Yl[i];if(n)return n;const{code:r,detectError:s}=ZE(t,e),a=new Function(`return ${r}`)();return s?a:Yl[i]=a}};function H9(t,e){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&be(t)){Ct(e.warnHtmlMessage)&&e.warnHtmlMessage;const i=(e.onCacheKey||JE)(t),n=Yl[i];if(n)return n;const{ast:r,detectError:s}=ZE(t,{...e,location:!1,jit:!0}),a=_g(r);return s?a:Yl[i]=a}else{const o=t.cacheKey;if(o){const i=Yl[o];return i||(Yl[o]=_g(t))}else return _g(t)}}const mD=()=>"",hn=t=>Ut(t);function fD(t,...e){const{fallbackFormat:o,postTranslation:i,unresolving:n,messageCompiler:r,fallbackLocale:s,messages:a}=t,[u,c]=aF(...e),m=Ct(c.missingWarn)?c.missingWarn:t.missingWarn,f=Ct(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,p=Ct(c.escapeParameter)?c.escapeParameter:t.escapeParameter,C=!!c.resolvedMessage,F=be(c.default)||Ct(c.default)?Ct(c.default)?r?u:()=>u:c.default:o?r?u:()=>u:"",y=o||F!=="",T=Oy(t,c);p&&$9(c);let[B,v,D]=C?[u,T,a[T]||It()]:XE(t,u,T,s,f,m),R=B,N=u;if(!C&&!(be(R)||dr(R)||hn(R))&&y&&(R=F,N=R),!C&&(!(be(R)||dr(R)||hn(R))||!be(v)))return n?Bp:u;let _=!1;const P=()=>{_=!0},U=hn(R)?R:QE(t,u,v,R,N,P);if(_)return R;const k=j9(t,v,D,c),de=y9(k),z=z9(t,U,de);let M=i?i(z,u):z;if(p&&be(M)&&(M=C5(M)),__INTLIFY_PROD_DEVTOOLS__){const X={timestamp:Date.now(),key:be(u)?u:hn(R)?R.key:"",locale:v||(hn(R)?R.locale:""),format:be(R)?R:hn(R)?R.source:"",message:M};X.meta=$o({},t.__meta,A9()||{}),B9(X)}return M}function $9(t){Jt(t.list)?t.list=t.list.map(e=>be(e)?JR(e):e):Et(t.named)&&Object.keys(t.named).forEach(e=>{be(t.named[e])&&(t.named[e]=JR(t.named[e]))})}function XE(t,e,o,i,n,r){const{messages:s,onWarn:a,messageResolver:u,localeFallbacker:c}=t,m=c(t,i,o);let f=It(),p,C=null;const F="translate";for(let y=0;y<m.length&&(p=m[y],f=s[p]||It(),(C=u(f,e))===null&&(C=f[e]),!(be(C)||dr(C)||hn(C)));y++)if(!W9(p,m)){const T=My(t,e,p,r,F);T!==e&&(C=T)}return[C,p,f]}function QE(t,e,o,i,n,r){const{messageCompiler:s,warnHtmlMessage:a}=t;if(hn(i)){const c=i;return c.locale=c.locale||o,c.key=c.key||e,c}if(s==null){const c=(()=>i);return c.locale=o,c.key=e,c}const u=s(i,U9(t,o,n,i,a,r));return u.locale=o,u.key=e,u.source=i,u}function z9(t,e,o){return e(o)}function aF(...t){const[e,o,i]=t,n=It();if(!be(e)&&!ho(e)&&!hn(e)&&!dr(e))throw sr(kn.INVALID_ARGUMENT);const r=ho(e)?String(e):(hn(e),e);return ho(o)?n.plural=o:be(o)?n.default=o:ot(o)&&!Tp(o)?n.named=o:Jt(o)&&(n.list=o),ho(i)?n.plural=i:be(i)?n.default=i:ot(i)&&$o(n,i),[r,n]}function U9(t,e,o,i,n,r){return{locale:e,key:o,warnHtmlMessage:n,onError:s=>{throw r&&r(s),s},onCacheKey:s=>m5(e,o,s)}}function j9(t,e,o,i){const{modifiers:n,pluralRules:r,messageResolver:s,fallbackLocale:a,fallbackWarn:u,missingWarn:c,fallbackContext:m}=t,p={locale:e,modifiers:n,pluralRules:r,messages:C=>{let F=s(o,C);if(F==null&&m){const[,,y]=XE(m,C,e,a,u,c);F=s(y,C)}if(be(F)||dr(F)){let y=!1;const B=QE(t,C,e,F,C,()=>{y=!0});return y?mD:B}else return hn(F)?F:mD}};return t.processor&&(p.processor=t.processor),i.list&&(p.list=i.list),i.named&&(p.named=i.named),ho(i.plural)&&(p.pluralIndex=i.plural),p}function hD(t,...e){const{datetimeFormats:o,unresolving:i,fallbackLocale:n,onWarn:r,localeFallbacker:s}=t,{__datetimeFormatters:a}=t,[u,c,m,f]=lF(...e),p=Ct(m.missingWarn)?m.missingWarn:t.missingWarn;Ct(m.fallbackWarn)?m.fallbackWarn:t.fallbackWarn;const C=!!m.part,F=Oy(t,m),y=s(t,n,F);if(!be(u)||u==="")return new Intl.DateTimeFormat(F,f).format(c);let T={},B,v=null;const D="datetime format";for(let _=0;_<y.length&&(B=y[_],T=o[B]||{},v=T[u],!ot(v));_++)My(t,u,B,p,D);if(!ot(v)||!be(B))return i?Bp:u;let R=`${B}__${u}`;Tp(f)||(R=`${R}__${JSON.stringify(f)}`);let N=a.get(R);return N||(N=new Intl.DateTimeFormat(B,$o({},v,f)),a.set(R,N)),C?N.formatToParts(c):N.format(c)}const ev=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function lF(...t){const[e,o,i,n]=t,r=It();let s=It(),a;if(be(e)){const u=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw sr(kn.INVALID_ISO_DATE_ARGUMENT);const c=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();a=new Date(c);try{a.toISOString()}catch{throw sr(kn.INVALID_ISO_DATE_ARGUMENT)}}else if(h5(e)){if(isNaN(e.getTime()))throw sr(kn.INVALID_DATE_ARGUMENT);a=e}else if(ho(e))a=e;else throw sr(kn.INVALID_ARGUMENT);return be(o)?r.key=o:ot(o)&&Object.keys(o).forEach(u=>{ev.includes(u)?s[u]=o[u]:r[u]=o[u]}),be(i)?r.locale=i:ot(i)&&(s=i),ot(n)&&(s=n),[r.key||"",a,r,s]}function pD(t,e,o){const i=t;for(const n in o){const r=`${e}__${n}`;i.__datetimeFormatters.has(r)&&i.__datetimeFormatters.delete(r)}}function CD(t,...e){const{numberFormats:o,unresolving:i,fallbackLocale:n,onWarn:r,localeFallbacker:s}=t,{__numberFormatters:a}=t,[u,c,m,f]=uF(...e),p=Ct(m.missingWarn)?m.missingWarn:t.missingWarn;Ct(m.fallbackWarn)?m.fallbackWarn:t.fallbackWarn;const C=!!m.part,F=Oy(t,m),y=s(t,n,F);if(!be(u)||u==="")return new Intl.NumberFormat(F,f).format(c);let T={},B,v=null;const D="number format";for(let _=0;_<y.length&&(B=y[_],T=o[B]||{},v=T[u],!ot(v));_++)My(t,u,B,p,D);if(!ot(v)||!be(B))return i?Bp:u;let R=`${B}__${u}`;Tp(f)||(R=`${R}__${JSON.stringify(f)}`);let N=a.get(R);return N||(N=new Intl.NumberFormat(B,$o({},v,f)),a.set(R,N)),C?N.formatToParts(c):N.format(c)}const tv=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function uF(...t){const[e,o,i,n]=t,r=It();let s=It();if(!ho(e))throw sr(kn.INVALID_ARGUMENT);const a=e;return be(o)?r.key=o:ot(o)&&Object.keys(o).forEach(u=>{tv.includes(u)?s[u]=o[u]:r[u]=o[u]}),be(i)?r.locale=i:ot(i)&&(s=i),ot(n)&&(s=n),[r.key||"",a,r,s]}function gD(t,e,o){const i=t;for(const n in o){const r=`${e}__${n}`;i.__numberFormatters.has(r)&&i.__numberFormatters.delete(r)}}Z5();/*!
|
|
40
|
-
* vue-i18n v9.14.5
|
|
41
|
-
* (c) 2025 kazuya kawaguchi
|
|
42
|
-
* Released under the MIT License.
|
|
43
|
-
*/const G9="9.14.5";function K9(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Yr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Yr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Yr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Yr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yr().__INTLIFY_PROD_DEVTOOLS__=!1)}const q9=D9.__EXTEND_POINT__,wr=Sp(q9);wr(),wr(),wr(),wr(),wr(),wr(),wr(),wr(),wr();const ov=kn.__EXTEND_POINT__,Ri=Sp(ov),Vo={UNEXPECTED_RETURN_TYPE:ov,INVALID_ARGUMENT:Ri(),MUST_BE_CALL_SETUP_TOP:Ri(),NOT_INSTALLED:Ri(),NOT_AVAILABLE_IN_LEGACY_MODE:Ri(),REQUIRED_VALUE:Ri(),INVALID_VALUE:Ri(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ri(),NOT_INSTALLED_WITH_PROVIDE:Ri(),UNEXPECTED_ERROR:Ri(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ri(),BRIDGE_SUPPORT_VUE_2_ONLY:Ri(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ri(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ri(),__EXTEND_POINT__:Ri()};function vo(t,...e){return wu(t,null,void 0)}const dF=na("__translateVNode"),cF=na("__datetimeParts"),mF=na("__numberParts"),iv=na("__setPluralRules"),nv=na("__injectWithOption"),fF=na("__dispose");function rc(t){if(!Et(t)||dr(t))return t;for(const e in t)if(wn(t,e))if(!e.includes("."))Et(t[e])&&rc(t[e]);else{const o=e.split("."),i=o.length-1;let n=t,r=!1;for(let s=0;s<i;s++){if(o[s]==="__proto__")throw new Error(`unsafe key: ${o[s]}`);if(o[s]in n||(n[o[s]]=It()),!Et(n[o[s]])){r=!0;break}n=n[o[s]]}if(r||(dr(n)?$E.includes(o[i])||delete t[e]:(n[o[i]]=t[e],delete t[e])),!dr(n)){const s=n[o[i]];Et(s)&&rc(s)}}return t}function Vp(t,e){const{messages:o,__i18n:i,messageResolver:n,flatJson:r}=e,s=ot(o)?o:Jt(i)?It():{[t]:It()};if(Jt(i)&&i.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:u,resource:c}=a;u?(s[u]=s[u]||It(),bf(c,s[u])):bf(c,s)}else be(a)&&bf(JSON.parse(a),s)}),n==null&&r)for(const a in s)wn(s,a)&&rc(s[a]);return s}function rv(t){return t.type}function sv(t,e,o){let i=Et(e.messages)?e.messages:It();"__i18nGlobal"in o&&(i=Vp(t.locale.value,{messages:i,__i18n:o.__i18nGlobal}));const n=Object.keys(i);n.length&&n.forEach(r=>{t.mergeLocaleMessage(r,i[r])});{if(Et(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(s=>{t.mergeDateTimeFormat(s,e.datetimeFormats[s])})}if(Et(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(s=>{t.mergeNumberFormat(s,e.numberFormats[s])})}}}function FD(t){return ue(_u,null,t,0)}const yD="__INTLIFY_META__",TD=()=>[],Y9=()=>!1;let SD=0;function BD(t){return((e,o,i,n)=>t(o,i,Sn()||void 0,n))}const J9=()=>{const t=Sn();let e=null;return t&&(e=rv(t)[yD])?{[yD]:e}:null};function Hy(t={},e){const{__root:o,__injectWithOption:i}=t,n=o===void 0,r=t.flatJson,s=lh?Vt:lo,a=!!t.translateExistCompatible;let u=Ct(t.inheritLocale)?t.inheritLocale:!0;const c=s(o&&u?o.locale.value:be(t.locale)?t.locale:Cu),m=s(o&&u?o.fallbackLocale.value:be(t.fallbackLocale)||Jt(t.fallbackLocale)||ot(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:c.value),f=s(Vp(c.value,t)),p=s(ot(t.datetimeFormats)?t.datetimeFormats:{[c.value]:{}}),C=s(ot(t.numberFormats)?t.numberFormats:{[c.value]:{}});let F=o?o.missingWarn:Ct(t.missingWarn)||qs(t.missingWarn)?t.missingWarn:!0,y=o?o.fallbackWarn:Ct(t.fallbackWarn)||qs(t.fallbackWarn)?t.fallbackWarn:!0,T=o?o.fallbackRoot:Ct(t.fallbackRoot)?t.fallbackRoot:!0,B=!!t.fallbackFormat,v=Ut(t.missing)?t.missing:null,D=Ut(t.missing)?BD(t.missing):null,R=Ut(t.postTranslation)?t.postTranslation:null,N=o?o.warnHtmlMessage:Ct(t.warnHtmlMessage)?t.warnHtmlMessage:!0,_=!!t.escapeParameter;const P=o?o.modifiers:ot(t.modifiers)?t.modifiers:{};let U=t.pluralRules||o&&o.pluralRules,k;k=(()=>{n&&uD(null);const q={version:G9,locale:c.value,fallbackLocale:m.value,messages:f.value,modifiers:P,pluralRules:U,missing:D===null?void 0:D,missingWarn:F,fallbackWarn:y,fallbackFormat:B,unresolving:!0,postTranslation:R===null?void 0:R,warnHtmlMessage:N,escapeParameter:_,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};q.datetimeFormats=p.value,q.numberFormats=C.value,q.__datetimeFormatters=ot(k)?k.__datetimeFormatters:void 0,q.__numberFormatters=ot(k)?k.__numberFormatters:void 0;const te=w9(q);return n&&uD(te),te})(),ud(k,c.value,m.value);function z(){return[c.value,m.value,f.value,p.value,C.value]}const M=Z({get:()=>c.value,set:q=>{c.value=q,k.locale=c.value}}),X=Z({get:()=>m.value,set:q=>{m.value=q,k.fallbackLocale=m.value,ud(k,c.value,q)}}),Ce=Z(()=>f.value),pe=Z(()=>p.value),ie=Z(()=>C.value);function Re(){return Ut(R)?R:null}function Ie(q){R=q,k.postTranslation=q}function mt(){return v}function ke(q){q!==null&&(D=BD(q)),v=q,k.missing=D}const ve=(q,te,Ee,nt,Nt,oo)=>{z();let Zt;try{__INTLIFY_PROD_DEVTOOLS__,n||(k.fallbackContext=o?I9():void 0),Zt=q(k)}finally{__INTLIFY_PROD_DEVTOOLS__,n||(k.fallbackContext=void 0)}if(Ee!=="translate exists"&&ho(Zt)&&Zt===Bp||Ee==="translate exists"&&!Zt){const[Uo,Qi]=te();return o&&T?nt(o):Nt(Uo)}else{if(oo(Zt))return Zt;throw vo(Vo.UNEXPECTED_RETURN_TYPE)}};function lt(...q){return ve(te=>Reflect.apply(fD,null,[te,...q]),()=>aF(...q),"translate",te=>Reflect.apply(te.t,te,[...q]),te=>te,te=>be(te))}function pt(...q){const[te,Ee,nt]=q;if(nt&&!Et(nt))throw vo(Vo.INVALID_ARGUMENT);return lt(te,Ee,$o({resolvedMessage:!0},nt||{}))}function jt(...q){return ve(te=>Reflect.apply(hD,null,[te,...q]),()=>lF(...q),"datetime format",te=>Reflect.apply(te.d,te,[...q]),()=>sD,te=>be(te))}function $e(...q){return ve(te=>Reflect.apply(CD,null,[te,...q]),()=>uF(...q),"number format",te=>Reflect.apply(te.n,te,[...q]),()=>sD,te=>be(te))}function Qe(q){return q.map(te=>be(te)||ho(te)||Ct(te)?FD(String(te)):te)}const Oe={normalize:Qe,interpolate:q=>q,type:"vnode"};function bt(...q){return ve(te=>{let Ee;const nt=te;try{nt.processor=Oe,Ee=Reflect.apply(fD,null,[nt,...q])}finally{nt.processor=null}return Ee},()=>aF(...q),"translate",te=>te[dF](...q),te=>[FD(te)],te=>Jt(te))}function Gt(...q){return ve(te=>Reflect.apply(CD,null,[te,...q]),()=>uF(...q),"number format",te=>te[mF](...q),TD,te=>be(te)||Jt(te))}function to(...q){return ve(te=>Reflect.apply(hD,null,[te,...q]),()=>lF(...q),"datetime format",te=>te[cF](...q),TD,te=>be(te)||Jt(te))}function I(q){U=q,k.pluralRules=U}function H(q,te){return ve(()=>{if(!q)return!1;const Ee=be(te)?te:c.value,nt=se(Ee),Nt=k.messageResolver(nt,q);return a?Nt!=null:dr(Nt)||hn(Nt)||be(Nt)},()=>[q],"translate exists",Ee=>Reflect.apply(Ee.te,Ee,[q,te]),Y9,Ee=>Ct(Ee))}function w(q){let te=null;const Ee=UE(k,m.value,c.value);for(let nt=0;nt<Ee.length;nt++){const Nt=f.value[Ee[nt]]||{},oo=k.messageResolver(Nt,q);if(oo!=null){te=oo;break}}return te}function Q(q){const te=w(q);return te??(o?o.tm(q)||{}:{})}function se(q){return f.value[q]||{}}function ne(q,te){if(r){const Ee={[q]:te};for(const nt in Ee)wn(Ee,nt)&&rc(Ee[nt]);te=Ee[q]}f.value[q]=te,k.messages=f.value}function Te(q,te){f.value[q]=f.value[q]||{};const Ee={[q]:te};if(r)for(const nt in Ee)wn(Ee,nt)&&rc(Ee[nt]);te=Ee[q],bf(te,f.value[q]),k.messages=f.value}function Se(q){return p.value[q]||{}}function L(q,te){p.value[q]=te,k.datetimeFormats=p.value,pD(k,q,te)}function E(q,te){p.value[q]=$o(p.value[q]||{},te),k.datetimeFormats=p.value,pD(k,q,te)}function Y(q){return C.value[q]||{}}function oe(q,te){C.value[q]=te,k.numberFormats=C.value,gD(k,q,te)}function Be(q,te){C.value[q]=$o(C.value[q]||{},te),k.numberFormats=C.value,gD(k,q,te)}SD++,o&&lh&&(Rt(o.locale,q=>{u&&(c.value=q,k.locale=q,ud(k,c.value,m.value))}),Rt(o.fallbackLocale,q=>{u&&(m.value=q,k.fallbackLocale=q,ud(k,c.value,m.value))}));const ce={id:SD,locale:M,fallbackLocale:X,get inheritLocale(){return u},set inheritLocale(q){u=q,q&&o&&(c.value=o.locale.value,m.value=o.fallbackLocale.value,ud(k,c.value,m.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Ce,get modifiers(){return P},get pluralRules(){return U||{}},get isGlobal(){return n},get missingWarn(){return F},set missingWarn(q){F=q,k.missingWarn=F},get fallbackWarn(){return y},set fallbackWarn(q){y=q,k.fallbackWarn=y},get fallbackRoot(){return T},set fallbackRoot(q){T=q},get fallbackFormat(){return B},set fallbackFormat(q){B=q,k.fallbackFormat=B},get warnHtmlMessage(){return N},set warnHtmlMessage(q){N=q,k.warnHtmlMessage=q},get escapeParameter(){return _},set escapeParameter(q){_=q,k.escapeParameter=q},t:lt,getLocaleMessage:se,setLocaleMessage:ne,mergeLocaleMessage:Te,getPostTranslationHandler:Re,setPostTranslationHandler:Ie,getMissingHandler:mt,setMissingHandler:ke,[iv]:I};return ce.datetimeFormats=pe,ce.numberFormats=ie,ce.rt=pt,ce.te=H,ce.tm=Q,ce.d=jt,ce.n=$e,ce.getDateTimeFormat=Se,ce.setDateTimeFormat=L,ce.mergeDateTimeFormat=E,ce.getNumberFormat=Y,ce.setNumberFormat=oe,ce.mergeNumberFormat=Be,ce[nv]=i,ce[dF]=bt,ce[cF]=to,ce[mF]=Gt,ce}function Z9(t){const e=be(t.locale)?t.locale:Cu,o=be(t.fallbackLocale)||Jt(t.fallbackLocale)||ot(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,i=Ut(t.missing)?t.missing:void 0,n=Ct(t.silentTranslationWarn)||qs(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,r=Ct(t.silentFallbackWarn)||qs(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,s=Ct(t.fallbackRoot)?t.fallbackRoot:!0,a=!!t.formatFallbackMessages,u=ot(t.modifiers)?t.modifiers:{},c=t.pluralizationRules,m=Ut(t.postTranslation)?t.postTranslation:void 0,f=be(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,p=!!t.escapeParameterHtml,C=Ct(t.sync)?t.sync:!0;let F=t.messages;if(ot(t.sharedMessages)){const _=t.sharedMessages;F=Object.keys(_).reduce((U,k)=>{const de=U[k]||(U[k]={});return $o(de,_[k]),U},F||{})}const{__i18n:y,__root:T,__injectWithOption:B}=t,v=t.datetimeFormats,D=t.numberFormats,R=t.flatJson,N=t.translateExistCompatible;return{locale:e,fallbackLocale:o,messages:F,flatJson:R,datetimeFormats:v,numberFormats:D,missing:i,missingWarn:n,fallbackWarn:r,fallbackRoot:s,fallbackFormat:a,modifiers:u,pluralRules:c,postTranslation:m,warnHtmlMessage:f,escapeParameter:p,messageResolver:t.messageResolver,inheritLocale:C,translateExistCompatible:N,__i18n:y,__root:T,__injectWithOption:B}}function hF(t={},e){{const o=Hy(Z9(t)),{__extender:i}=t,n={id:o.id,get locale(){return o.locale.value},set locale(r){o.locale.value=r},get fallbackLocale(){return o.fallbackLocale.value},set fallbackLocale(r){o.fallbackLocale.value=r},get messages(){return o.messages.value},get datetimeFormats(){return o.datetimeFormats.value},get numberFormats(){return o.numberFormats.value},get availableLocales(){return o.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return o.getMissingHandler()},set missing(r){o.setMissingHandler(r)},get silentTranslationWarn(){return Ct(o.missingWarn)?!o.missingWarn:o.missingWarn},set silentTranslationWarn(r){o.missingWarn=Ct(r)?!r:r},get silentFallbackWarn(){return Ct(o.fallbackWarn)?!o.fallbackWarn:o.fallbackWarn},set silentFallbackWarn(r){o.fallbackWarn=Ct(r)?!r:r},get modifiers(){return o.modifiers},get formatFallbackMessages(){return o.fallbackFormat},set formatFallbackMessages(r){o.fallbackFormat=r},get postTranslation(){return o.getPostTranslationHandler()},set postTranslation(r){o.setPostTranslationHandler(r)},get sync(){return o.inheritLocale},set sync(r){o.inheritLocale=r},get warnHtmlInMessage(){return o.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){o.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return o.escapeParameter},set escapeParameterHtml(r){o.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return o.pluralRules||{}},__composer:o,t(...r){const[s,a,u]=r,c={};let m=null,f=null;if(!be(s))throw vo(Vo.INVALID_ARGUMENT);const p=s;return be(a)?c.locale=a:Jt(a)?m=a:ot(a)&&(f=a),Jt(u)?m=u:ot(u)&&(f=u),Reflect.apply(o.t,o,[p,m||f||{},c])},rt(...r){return Reflect.apply(o.rt,o,[...r])},tc(...r){const[s,a,u]=r,c={plural:1};let m=null,f=null;if(!be(s))throw vo(Vo.INVALID_ARGUMENT);const p=s;return be(a)?c.locale=a:ho(a)?c.plural=a:Jt(a)?m=a:ot(a)&&(f=a),be(u)?c.locale=u:Jt(u)?m=u:ot(u)&&(f=u),Reflect.apply(o.t,o,[p,m||f||{},c])},te(r,s){return o.te(r,s)},tm(r){return o.tm(r)},getLocaleMessage(r){return o.getLocaleMessage(r)},setLocaleMessage(r,s){o.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){o.mergeLocaleMessage(r,s)},d(...r){return Reflect.apply(o.d,o,[...r])},getDateTimeFormat(r){return o.getDateTimeFormat(r)},setDateTimeFormat(r,s){o.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){o.mergeDateTimeFormat(r,s)},n(...r){return Reflect.apply(o.n,o,[...r])},getNumberFormat(r){return o.getNumberFormat(r)},setNumberFormat(r,s){o.setNumberFormat(r,s)},mergeNumberFormat(r,s){o.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return-1}};return n.__extender=i,n}}const $y={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function X9({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((i,n)=>[...i,...n.type===Ge?n.children:[n]],[]):e.reduce((o,i)=>{const n=t[i];return n&&(o[i]=n()),o},It())}function av(t){return Ge}const Q9=Me({name:"i18n-t",props:$o({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>ho(t)||!isNaN(t)}},$y),setup(t,e){const{slots:o,attrs:i}=e,n=t.i18n||Rp({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(o).filter(f=>f!=="_"),s=It();t.locale&&(s.locale=t.locale),t.plural!==void 0&&(s.plural=be(t.plural)?+t.plural:t.plural);const a=X9(e,r),u=n[dF](t.keypath,a,s),c=$o(It(),i),m=be(t.tag)||Et(t.tag)?t.tag:av();return Gn(m,c,u)}}}),VD=Q9;function e7(t){return Jt(t)&&!be(t[0])}function lv(t,e,o,i){const{slots:n,attrs:r}=e;return()=>{const s={part:!0};let a=It();t.locale&&(s.locale=t.locale),be(t.format)?s.key=t.format:Et(t.format)&&(be(t.format.key)&&(s.key=t.format.key),a=Object.keys(t.format).reduce((p,C)=>o.includes(C)?$o(It(),p,{[C]:t.format[C]}):p,It()));const u=i(t.value,s,a);let c=[s.key];Jt(u)?c=u.map((p,C)=>{const F=n[p.type],y=F?F({[p.type]:p.value,index:C,parts:u}):[p.value];return e7(y)&&(y[0].key=`${p.type}-${C}`),y}):be(u)&&(c=[u]);const m=$o(It(),r),f=be(t.tag)||Et(t.tag)?t.tag:av();return Gn(f,m,c)}}const t7=Me({name:"i18n-n",props:$o({value:{type:Number,required:!0},format:{type:[String,Object]}},$y),setup(t,e){const o=t.i18n||Rp({useScope:t.scope,__useComponent:!0});return lv(t,e,tv,(...i)=>o[mF](...i))}}),RD=t7,o7=Me({name:"i18n-d",props:$o({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},$y),setup(t,e){const o=t.i18n||Rp({useScope:t.scope,__useComponent:!0});return lv(t,e,ev,(...i)=>o[cF](...i))}}),DD=o7;function i7(t,e){const o=t;if(t.mode==="composition")return o.__getInstance(e)||t.global;{const i=o.__getInstance(e);return i!=null?i.__composer:t.global.__composer}}function n7(t){const e=s=>{const{instance:a,modifiers:u,value:c}=s;if(!a||!a.$)throw vo(Vo.UNEXPECTED_ERROR);const m=i7(t,a.$),f=xD(c);return[Reflect.apply(m.t,m,[...bD(f)]),m]};return{created:(s,a)=>{const[u,c]=e(a);lh&&t.global===c&&(s.__i18nWatcher=Rt(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),s.__composer=c,s.textContent=u},unmounted:s=>{lh&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:a})=>{if(s.__composer){const u=s.__composer,c=xD(a);s.textContent=Reflect.apply(u.t,u,[...bD(c)])}},getSSRProps:s=>{const[a]=e(s);return{textContent:a}}}}function xD(t){if(be(t))return{path:t};if(ot(t)){if(!("path"in t))throw vo(Vo.REQUIRED_VALUE,"path");return t}else throw vo(Vo.INVALID_VALUE)}function bD(t){const{path:e,locale:o,args:i,choice:n,plural:r}=t,s={},a=i||{};return be(o)&&(s.locale=o),ho(n)&&(s.plural=n),ho(r)&&(s.plural=r),[e,a,s]}function r7(t,e,...o){const i=ot(o[0])?o[0]:{},n=!!i.useI18nComponentName;(Ct(i.globalInstall)?i.globalInstall:!0)&&([n?"i18n":VD.name,"I18nT"].forEach(s=>t.component(s,VD)),[RD.name,"I18nN"].forEach(s=>t.component(s,RD)),[DD.name,"I18nD"].forEach(s=>t.component(s,DD))),t.directive("t",n7(e))}function s7(t,e,o){return{beforeCreate(){const i=Sn();if(!i)throw vo(Vo.UNEXPECTED_ERROR);const n=this.$options;if(n.i18n){const r=n.i18n;if(n.__i18n&&(r.__i18n=n.__i18n),r.__root=e,this===this.$root)this.$i18n=LD(t,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=hF(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(n.__i18n)if(this===this.$root)this.$i18n=LD(t,n);else{this.$i18n=hF({__i18n:n.__i18n,__injectWithOption:!0,__extender:o.__vueI18nExtend,__root:e});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=t;n.__i18nGlobal&&sv(e,n,n),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,s)=>this.$i18n.te(r,s),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),o.__setInstance(i,this.$i18n)},mounted(){},unmounted(){const i=Sn();if(!i)throw vo(Vo.UNEXPECTED_ERROR);const n=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__disposer&&(n.__disposer(),delete n.__disposer,delete n.__extender),o.__deleteInstance(i),delete this.$i18n}}}function LD(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[iv](e.pluralizationRules||t.pluralizationRules);const o=Vp(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(o).forEach(i=>t.mergeLocaleMessage(i,o[i])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(i=>t.mergeDateTimeFormat(i,e.datetimeFormats[i])),e.numberFormats&&Object.keys(e.numberFormats).forEach(i=>t.mergeNumberFormat(i,e.numberFormats[i])),t}const a7=na("global-vue-i18n");function l7(t={},e){const o=__VUE_I18N_LEGACY_API__&&Ct(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,i=Ct(t.globalInjection)?t.globalInjection:!0,n=__VUE_I18N_LEGACY_API__&&o?!!t.allowComposition:!0,r=new Map,[s,a]=u7(t,o),u=na("");function c(p){return r.get(p)||null}function m(p,C){r.set(p,C)}function f(p){r.delete(p)}{const p={get mode(){return __VUE_I18N_LEGACY_API__&&o?"legacy":"composition"},get allowComposition(){return n},async install(C,...F){if(C.__VUE_I18N_SYMBOL__=u,C.provide(C.__VUE_I18N_SYMBOL__,p),ot(F[0])){const B=F[0];p.__composerExtend=B.__composerExtend,p.__vueI18nExtend=B.__vueI18nExtend}let y=null;!o&&i&&(y=F7(C,p.global)),__VUE_I18N_FULL_INSTALL__&&r7(C,p,...F),__VUE_I18N_LEGACY_API__&&o&&C.mixin(s7(a,a.__composer,p));const T=C.unmount;C.unmount=()=>{y&&y(),p.dispose(),T()}},get global(){return a},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:m,__deleteInstance:f};return p}}function Rp(t={}){const e=Sn();if(e==null)throw vo(Vo.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw vo(Vo.NOT_INSTALLED);const o=d7(e),i=m7(o),n=rv(e),r=c7(t,n);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!t.__useComponent){if(!o.allowComposition)throw vo(Vo.NOT_AVAILABLE_IN_LEGACY_MODE);return C7(e,r,i,t)}if(r==="global")return sv(i,t,n),i;if(r==="parent"){let u=f7(o,e,t.__useComponent);return u==null&&(u=i),u}const s=o;let a=s.__getInstance(e);if(a==null){const u=$o({},t);"__i18n"in n&&(u.__i18n=n.__i18n),i&&(u.__root=i),a=Hy(u),s.__composerExtend&&(a[fF]=s.__composerExtend(a)),p7(s,e,a),s.__setInstance(e,a)}return a}function u7(t,e,o){const i=Mf();{const n=__VUE_I18N_LEGACY_API__&&e?i.run(()=>hF(t)):i.run(()=>Hy(t));if(n==null)throw vo(Vo.UNEXPECTED_ERROR);return[i,n]}}function d7(t){{const e=ei(t.isCE?a7:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw vo(t.isCE?Vo.NOT_INSTALLED_WITH_PROVIDE:Vo.UNEXPECTED_ERROR);return e}}function c7(t,e){return Tp(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function m7(t){return t.mode==="composition"?t.global:t.global.__composer}function f7(t,e,o=!1){let i=null;const n=e.root;let r=h7(e,o);for(;r!=null;){const s=t;if(t.mode==="composition")i=s.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const a=s.__getInstance(r);a!=null&&(i=a.__composer,o&&i&&!i[nv]&&(i=null))}if(i!=null||n===r)break;r=r.parent}return i}function h7(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function p7(t,e,o){ds(()=>{},e),bc(()=>{const i=o;t.__deleteInstance(e);const n=i[fF];n&&(n(),delete i[fF])},e)}function C7(t,e,o,i={}){const n=e==="local",r=lo(null);if(n&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw vo(Vo.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Ct(i.inheritLocale)?i.inheritLocale:!be(i.locale),a=Vt(!n||s?o.locale.value:be(i.locale)?i.locale:Cu),u=Vt(!n||s?o.fallbackLocale.value:be(i.fallbackLocale)||Jt(i.fallbackLocale)||ot(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:a.value),c=Vt(Vp(a.value,i)),m=Vt(ot(i.datetimeFormats)?i.datetimeFormats:{[a.value]:{}}),f=Vt(ot(i.numberFormats)?i.numberFormats:{[a.value]:{}}),p=n?o.missingWarn:Ct(i.missingWarn)||qs(i.missingWarn)?i.missingWarn:!0,C=n?o.fallbackWarn:Ct(i.fallbackWarn)||qs(i.fallbackWarn)?i.fallbackWarn:!0,F=n?o.fallbackRoot:Ct(i.fallbackRoot)?i.fallbackRoot:!0,y=!!i.fallbackFormat,T=Ut(i.missing)?i.missing:null,B=Ut(i.postTranslation)?i.postTranslation:null,v=n?o.warnHtmlMessage:Ct(i.warnHtmlMessage)?i.warnHtmlMessage:!0,D=!!i.escapeParameter,R=n?o.modifiers:ot(i.modifiers)?i.modifiers:{},N=i.pluralRules||n&&o.pluralRules;function _(){return[a.value,u.value,c.value,m.value,f.value]}const P=Z({get:()=>r.value?r.value.locale.value:a.value,set:w=>{r.value&&(r.value.locale.value=w),a.value=w}}),U=Z({get:()=>r.value?r.value.fallbackLocale.value:u.value,set:w=>{r.value&&(r.value.fallbackLocale.value=w),u.value=w}}),k=Z(()=>r.value?r.value.messages.value:c.value),de=Z(()=>m.value),z=Z(()=>f.value);function M(){return r.value?r.value.getPostTranslationHandler():B}function X(w){r.value&&r.value.setPostTranslationHandler(w)}function Ce(){return r.value?r.value.getMissingHandler():T}function pe(w){r.value&&r.value.setMissingHandler(w)}function ie(w){return _(),w()}function Re(...w){return r.value?ie(()=>Reflect.apply(r.value.t,null,[...w])):ie(()=>"")}function Ie(...w){return r.value?Reflect.apply(r.value.rt,null,[...w]):""}function mt(...w){return r.value?ie(()=>Reflect.apply(r.value.d,null,[...w])):ie(()=>"")}function ke(...w){return r.value?ie(()=>Reflect.apply(r.value.n,null,[...w])):ie(()=>"")}function ve(w){return r.value?r.value.tm(w):{}}function lt(w,Q){return r.value?r.value.te(w,Q):!1}function pt(w){return r.value?r.value.getLocaleMessage(w):{}}function jt(w,Q){r.value&&(r.value.setLocaleMessage(w,Q),c.value[w]=Q)}function $e(w,Q){r.value&&r.value.mergeLocaleMessage(w,Q)}function Qe(w){return r.value?r.value.getDateTimeFormat(w):{}}function We(w,Q){r.value&&(r.value.setDateTimeFormat(w,Q),m.value[w]=Q)}function Oe(w,Q){r.value&&r.value.mergeDateTimeFormat(w,Q)}function bt(w){return r.value?r.value.getNumberFormat(w):{}}function Gt(w,Q){r.value&&(r.value.setNumberFormat(w,Q),f.value[w]=Q)}function to(w,Q){r.value&&r.value.mergeNumberFormat(w,Q)}const I={get id(){return r.value?r.value.id:-1},locale:P,fallbackLocale:U,messages:k,datetimeFormats:de,numberFormats:z,get inheritLocale(){return r.value?r.value.inheritLocale:s},set inheritLocale(w){r.value&&(r.value.inheritLocale=w)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:R},get pluralRules(){return r.value?r.value.pluralRules:N},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:p},set missingWarn(w){r.value&&(r.value.missingWarn=w)},get fallbackWarn(){return r.value?r.value.fallbackWarn:C},set fallbackWarn(w){r.value&&(r.value.missingWarn=w)},get fallbackRoot(){return r.value?r.value.fallbackRoot:F},set fallbackRoot(w){r.value&&(r.value.fallbackRoot=w)},get fallbackFormat(){return r.value?r.value.fallbackFormat:y},set fallbackFormat(w){r.value&&(r.value.fallbackFormat=w)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:v},set warnHtmlMessage(w){r.value&&(r.value.warnHtmlMessage=w)},get escapeParameter(){return r.value?r.value.escapeParameter:D},set escapeParameter(w){r.value&&(r.value.escapeParameter=w)},t:Re,getPostTranslationHandler:M,setPostTranslationHandler:X,getMissingHandler:Ce,setMissingHandler:pe,rt:Ie,d:mt,n:ke,tm:ve,te:lt,getLocaleMessage:pt,setLocaleMessage:jt,mergeLocaleMessage:$e,getDateTimeFormat:Qe,setDateTimeFormat:We,mergeDateTimeFormat:Oe,getNumberFormat:bt,setNumberFormat:Gt,mergeNumberFormat:to};function H(w){w.locale.value=a.value,w.fallbackLocale.value=u.value,Object.keys(c.value).forEach(Q=>{w.mergeLocaleMessage(Q,c.value[Q])}),Object.keys(m.value).forEach(Q=>{w.mergeDateTimeFormat(Q,m.value[Q])}),Object.keys(f.value).forEach(Q=>{w.mergeNumberFormat(Q,f.value[Q])}),w.escapeParameter=D,w.fallbackFormat=y,w.fallbackRoot=F,w.fallbackWarn=C,w.missingWarn=p,w.warnHtmlMessage=v}return xc(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw vo(Vo.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const w=r.value=t.proxy.$i18n.__composer;e==="global"?(a.value=w.locale.value,u.value=w.fallbackLocale.value,c.value=w.messages.value,m.value=w.datetimeFormats.value,f.value=w.numberFormats.value):n&&H(w)}),I}const g7=["locale","fallbackLocale","availableLocales"],ED=["t","rt","d","n","tm","te"];function F7(t,e){const o=Object.create(null);return g7.forEach(n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r)throw vo(Vo.UNEXPECTED_ERROR);const s=ao(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(o,n,s)}),t.config.globalProperties.$i18n=o,ED.forEach(n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r||!r.value)throw vo(Vo.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${n}`,r)}),()=>{delete t.config.globalProperties.$i18n,ED.forEach(n=>{delete t.config.globalProperties[`$${n}`]})}}K9();__INTLIFY_JIT_COMPILATION__?lD(H9):lD(M9);N9(c9);P9(UE);if(__INTLIFY_PROD_DEVTOOLS__){const t=Yr();t.__INTLIFY__=!0,T9(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const y7={favoritesTemplateList:{title:"Choose a template or start from scratch",customFavoritesButton:"Custom",defaultFavoritesButton:"Default",emailTemplatePreview:{title:"Preview",applyButton:"Select",cancelButton:"Cancel"},newTemplate:"Blank Template"},asideMenu:{exitButtonTooltip:"Exit",componentLibraryButtonTooltip:"Select a component to add to the template",themeLibraryButtonTooltip:"Themes",themeStylesButtonTooltip:"Styles",componentLibrary:{title:"Components",myComponentsButton:"Custom",defaultComponentsButton:"Default",hideEmptySectionsCheckbox:"Hide empty sections",addComponentLibrarySectionButton:"Add section",createComponentLibrarySectionModalWindow:{title:"New section",inputLabel:"Name",inputPlaceholder:"Section name...",cancelButton:"Cancel",applyButton:"Save"},componentSection:{emptySectionText:"No components in this group",deleteSectionButton:"Delete section",cancelDragging:"Cancel",deleteComponentLibrarySectionModalWindow:{title:"Delete section",description:"Are you sure you want to delete the section?",cancelButton:"Cancel",applyButton:"Delete",errorButtonTooltip:"Error"},componentSectionItem:{editComponentButton:"Edit",deleteComponentButton:"Delete",editComponentLibrarySectionModalWindow:{title:"Edit component",componentNameLabel:"Name",componentNamePlaceholder:"Component name...",componentSectionLabel:"Section",cancelButton:"Cancel",applyButton:"Save"},deleteComponentLibrarySectionItemModalWindow:{title:"Delete component",description:"Are you sure you want to delete the component?",cancelButton:"Cancel",applyButton:"Delete"}}}},themeStyles:{title:"Styles",templateSettingsButton:"Template",componentsSettingsButton:"Components",addThemeLibrarySectionItemModalWindow:{title:"Save theme",inputNameLabel:"Name",inputNamePlaceholder:"Theme name...",inputGroupLabel:"Group",cancelButton:"Cancel",applyButton:"Save",errorButtonTooltip:"Error",buttonTooltip:""},themeTemplateSettings:{themeTemplateWidthLabel:"Width",templateResponsiveWidthLabel:"Responsive width",templateResponsiveWidthToolbar:"Email width automatically adapts to mobile and tablet devices.",themeTemplateRadiusLabel:"Border radius",templateColorTitle:"Color",templateBodyColor:"Email body",templateBackgroundColor:"Background",themeTemplateFontFamilyTitle:"Font",themePaddings:{title:"Content paddings",allButton:"All",manualButton:"Separately",custom:{topLabel:"Top",bottomLabel:"Bottom",leftLabel:"Left",rightLabel:"Right"}}},themeComponentSettings:{themeComponentPaddings:{title:"Paddings",smallLabel:"Small",mediumLabel:"Medium",largeLabel:"Large",hugeLabel:"Huge",buttonLabel:"Buttons",buttonLeftRightLabel:"Left, right",buttonTopBottomLabel:"Top, bottom"},themeComponentRadius:{title:"Border radius",manualComponentRadiusCheckbox:"Customize separately",cardLabel:"Cards",buttonLabel:"Buttons",bannerLabel:"Banners"},themeComponentColor:{title:"Color",primaryColorLabel:"Primary",primaryTextColorLabel:"Primary text",secondaryColorLabel:"Secondary",secondaryTextColorLabel:"Secondary text",cardBackgroundColor:"Product cards"},themeComponentFontSettings:{title:"Font",titleLabel:"Title",headingLabel:"Heading",subHeadingLabel:"Subheading",largeTextLabel:"Large text",normalTextLabel:"Text",descriptionTextLabel:"Descriptions",buttonTextLabel:"Buttons",linkTextLabel:"Links"}}},themeLibrary:{title:"Theme",userThemeButtonText:"Custom",defaultThemeButtonText:"Default",hideEmptySectionsCheckbox:"Hide empty sections",addThemeLibrarySectionButton:"Add section",addThemeLibrarySectionItemButton:"Save theme",addThemeLibrarySectionItemButtonTooltip:"You need to create a theme section before saving",createThemeLibrarySectionModalWindow:{title:"New section",inputLabel:"Name",inputPlaceholder:"Section name...",cancelButton:"Cancel",applyButton:"Save"},themeSection:{emptySectionText:"No theme templates in this group",deleteSectionButton:"Delete section",deleteThemeLibrarySectionModalWindow:{title:"Delete section",description:"Are you sure you want to delete the section",cancelButton:"Cancel",applyButton:"Delete",errorButtonText:"Error"},themeSectionItem:{editThemeButton:"Edit",deleteThemeButton:"Delete",editThemeLibrarySectionModalWindow:{title:"Edit theme",themeNameLabel:"Name",themeNamePlaceholder:"Theme name...",themeSectionLabel:"Group",cancelButton:"Cancel",applyButton:"Save"},deleteThemeLibrarySectionItemModalWindow:{title:"Delete theme",description:"Are you sure you want to delete the theme?",cancelButton:"Cancel",applyButton:"Delete"}}}}},productShelfBuilderComponent:{title:"Product shelf settings",algorithmLabel:"Product selection algorithm",cancelButton:"Cancel",applyButton:"Apply",listSelector:{productListShelf:"Product shelf",relatedProductsForProductListShelf:"Related products for products",alternativeProductsForProductListShelf:"Alternative products for products",popularProductsInCategoryListShelf:"Popular products in category",popularProductsShelf:"Popular products",latestProductsShelf:"Latest products",saleByLatestShelf:"Latest products on sale",saleByPopularShelf:"Popular products on sale",abandonedBasketProductListShelf:"Abandoned cart products",alternativeProductsForAbandonedProductListShelf:"Alternative products for abandoned cart",relatedProductsForAbandonedProductListShelf:"Related products for abandoned cart",abandonedViewProductListShelf:"Abandoned view products",alternativeProductsForAbandonedViewProductListShelf:"Alternative products for abandoned view",relatedProductsForAbandonedViewProductListShelf:"Related products for abandoned view",abandonedViewPriceDropProductListShelf:"Abandoned view products with price drop",alternativeProductsForAbandonedViewPriceDropProductListShelf:"Alternative products with price drop for abandoned view",relatedProductsForAbandonedViewPriceDropProductListShelf:"Related products with price drop for abandoned view",priceDropProductListShelf:"Price Drop Products",alternativeProductsForPriceDropProductListShelf:"Alternative products for price drop products",relatedProductsForPriceDropProductListShelf:"Related products for price drop products",abandonedViewNAProductListShelf:"Abandoned view products are not available",relatedProductsForAbandonedViewNAProductListShelf:"Related products to not available products from abandoned view",alternativeProductsForAbandonedViewNAProductListShelf:"Alternative products to not available products from abandoned view",popularProductsForAbandonedCategoriesShelf:"Popular products from Abandoned category",searchRecommendationsForAbandonedSearchShelf:"Search recommendations for Abandoned search",abandonedBasketPriceDropProductListShelf:"Price drop on abandoned cart products",alternativeProductsForAbandonedBasketPriceDropProductListShelf:"Alternative products for abandoned cart price drop products",postTransactionProductListShelf:"Post transaction products",relatedProductsForPostTransactionProductListShelf:"Related products for post transaction products",alternativeProductsForPostTransactionProductListShelf:"Alternative products for post transaction products",productBackInStockProductListShelf:"Product back in stock",relatedProductsForProductBackInStockProductListShelf:"Related products for product back in stock",alternativeProductsForProductBackInStockProductListShelf:"Alternative products for product back in stock",productStillOutOfStockProductListShelf:"Product still out of stock",relatedProductsForProductStillOutOfStockProductListShelf:"Related products for product still out of stock",alternativeProductsForProductStillOutOfStockProductListShelf:"Alternative products for product still out of stock",repurchaseProductListShelf:"Repurchase products",relatedProductsForRepurchaseProductListShelf:"Related products for repurchase products",alternativeProductsForRepurchaseProductListShelf:"Alternative products for repurchase products",nextBestOfferRecommendationsShelf:"Products from recommended categories for purchased products"},productShelfBuilders:{stockSelector:{defaultStockSource:"Default stock",specificStockSource:"Specific stock",customerStockSource:"Customer stock",stockSourceVariantLabel:"Stock source",stockLabel:"Stock ID",stockPlaceholder:"Select an ID",defaultStock:"Default"},productListShelfLimiterLabel:"Number of products",emptySearch:"No results for search",notAvailableLabel:"not available",productsAtLeast:"From",productsLimit:"To",popularProductListDescription:"The email will display the most popular products in the store.",productListDescription:"Select products to display",relatedProductListDescription:"Select a product block to define which items will receive <b>related product</b> recommendations.<br>Note: Customers will see algorithmically generated <b>related products</b> in the email, not the specific products you select here.",alternativeProductListDescription:"Select a block of products to define which ones we will offer <b>alternative products</b> for.<br>Please note that customers will see in the email not the selected products, but the products calculated by the <b>alternative products</b> algorithm for the selected products.",popularFromCategoryListDescription:"Select a block of categories to define which ones we will offer <b>popular products</b> for.<br>Please note that customers will see additional products in the email that match your selection.",latestProductListDescription:"The email will display the latest products in the store",saleByLatestProductListDescription:"The email will display the latest products in the store on sale",saleByPopularProductListDescription:"The email will display popular products in the store on sale",productsSelectButton:"Select products",categorySelectButton:"Select categories",abandonedBasketProductListDescription:"The email will display products from the abandoned cart",alternativeProductsForAbandonedBasketProductListDescription:"The email will display alternative recommendations for abandoned cart products",relatedProductsForAbandonedBasketProductListDescription:"The email will display related recommendations for abandoned cart products",abandonedViewProductListDescription:"The email will display products from the abandoned view",alternativeProductsForAbandonedViewProductListDescription:"The email will display alternative recommendations for abandoned view products",relatedProductsForAbandonedViewProductListDescription:"The email will display related recommendations for abandoned view products",abandonedViewPriceDropProductListDescription:"The email will display products with price drop from the abandoned view",alternativeProductsForAbandonedViewPriceDropProductListDescription:"The email will display alternative recommendations for abandoned view products with price drop",relatedProductsForAbandonedViewPriceDropProductListDescription:"The email will display related recommendations for abandoned view products with price drop",priceDropProductListDescription:"The email will display products from the price drop",alternativeProductsForPriceDropProductListDescription:"The email will display alternative recommendations for price drop products",relatedProductsForPriceDropProductListDescription:"The email will display related recommendations for abandoned price drop",abandonedViewNAProductListDescription:"The email will display not available products from Abandoned view",relatedProductsForAbandonedViewNAProductListDescription:"The email will display related recommendations for abandoned view not available products",alternativeProductsForAbandonedViewNAProductListDescription:"The email will display alternative recommendations for abandoned view not available products",popularProductsForAbandonedCategoriesDescription:"The email will display popular products from abandoned categories",searchRecommendationsForAbandonedSearchDescription:"The email will display search recommendations for the abandoned search",abandonedBasketPriceDropProductListDescription:"The email will display products from the abandoned cart with price drop",alternativeProductsForAbandonedBasketPriceDropProductListDescription:"The email will display alternative recommendations for abandoned cart products with price drop",postTransactionProductListDescription:"The email will display products from the post transaction",relatedProductsForPostTransactionProductListDescription:"The email will display related recommendations for post transaction products",alternativeProductsForPostTransactionProductListDescription:"The email will display alternative recommendations for post transaction products",productBackInStockProductListDescription:"The email will display products from back in stock",relatedProductsForProductBackInStockProductListDescription:"The email will display related recommendations for back in stock products",alternativeProductsForProductBackInStockProductListDescription:"The email will display alternative recommendations for back in stock products",productStillOutOfStockProductListDescription:"The email will display products still out of stock",relatedProductsForProductStillOutOfStockProductListDescription:"The email will display related recommendations for still out of stock products",alternativeProductsForProductStillOutOfStockProductListDescription:"The email will display alternative recommendations for still out of stock products",repurchaseProductListDescription:"The email will display repurchase products",relatedProductsForRepurchaseProductListDescription:"The email will display related recommendations for repurchase products",alternativeProductsForRepurchaseProductListDescription:"The email will display alternative recommendations for repurchase products",nextBestOfferRecommendationsDescription:"The email will display products from recommended categories for purchased products"}},productListComposerModalWindow:{title:"Product list",cancelButton:"Cancel",applyButton:"Apply",clearListButton:"Clear",notAvailableLabel:"not available",searching:"Search...",loading:"Loading...",transferAllButton:"Add all",searchInputPlaceholder:"Name of one product or list of IDs",emptySearchProductListTopText:"Name of one product",emptySearchProductListBottomText:"or a list of IDs separated by commas",emptySelectedProductList:"The product list is currently empty.",selectedProductListTitle:"Product list",selectedProductListDeclensions:{one:"product",few:"products",many:"products"}},categoryListComposerModalWindow:{title:"Select categories",cancelButton:"Cancel",applyButton:"Apply",searching:"Search...",loading:"Loading...",transferAllButton:"Add all",searchInputPlaceholder:"Name of one category or list of IDs",emptySearchCategoryListText:"Enter a category name to display results.",emptySelectedCategoryListText:"The category list is currently empty.",selectedCategoryListTitleText:"Category list",selectedCategoryListDeclensions:{one:"category",few:"categories",many:"categories"}},topMenu:{preheaderSubjectUpdateButton:"Set subject",preheaderSubjectUpdateButtonTooltip:"Edit email subject and preheader",preheaderSubjectUpdateModalWindow:{title:"Subject settings",themeLabel:"Subject",themeInputPlaceholder:"Title that recipients will see in their email",preheaderLabel:"Preheader",preheaderInputPlaceholder:"Brief description visible right after the subject in the email list",applyButton:"Apply",cancelButton:"Cancel"},toggleDeviceBar:{disabledButtonTooltip:"Turn on responsive width to ensure proper display on all mobile devices and tablets"},exportMenu:{resetTemplateButton:{resetTemplateButton:"Reset template",resetTemplateButtonTooltip:"Reset template",modalWindow:{title:"Reset template",applyButton:"Reset",cancelButton:"Cancel",description:"Resetting the template will delete all current settings and content. This action cannot be undone."}},transactionalDataAppSettingsModifier:{button:"Email data",buttonTooltip:"Transactional email data settings",modalWindow:{title:"Transactional email data",label:"JSON",cancelButton:"Cancel",applyButton:"Apply"}},saveTemplateButton:{saveButton:"Save",errorButton:"Error",saveButtonTooltip:"Save template",errorButtonTooltip:"Template save error",errorNotificationWindowTitle:"Save error",errorNotificationWindowDescription:"Don't close the window! Contact Retail Rocket."}}},emailTemplate:{emailComponent:{emptyEmailComponentText:"Product shelf is hidden due to insufficient products",emptyEmailComponentTooltip:"The product shelf won't be displayed to recipients until it contains enough products",requiredComponentNotification:"Without this component the letter will not be sent"},dropHere:"Drop here",movementMenu:{draggingMenu:{moving:"Moving"},draggingButtonTooltip:"Move",moveToBottomButtonTooltip:"Move to bottom",moveToTopButtonTooltip:"Move to top",copyButtonTooltip:"Duplicate",saveButtonTooltip:"Save to library",disabledSaveButtonTooltip:"Для сохранения создайте секцию библиотеки компонентов",removeButtonTooltip:"Delete",removeWindowTitle:"Delete component",removeConfirmMessage:"Are you sure you want to delete the component?"},addComponentLibrarySectionItemModalWindow:{title:"Save component",nameLabel:"Name",namePlaceholder:"Component name...",groupLabel:"Group",cancelButton:"Cancel",applyButton:"Save"},elements:{richText:{themeSettingsEditorTooltip:"Text style",fontFamilyEditorTooltip:"Font family",fontSizeEditorTooltip:"Font size",lineHeightEditorTooltip:"Line height",colorEditorTooltip:"Text color",contentAlignEditorTooltip:"Alignment",verticalAlignEditorTooltip:"Vertical image alignment",fontWeightEditorTooltip:"Bold",fontStyleEditorTooltip:"Italic",lineThroughEditorTooltip:"Strikethrough",underlineEditorTooltip:"Underline",textTransformEditorTooltip:"Uppercase",linkEditorTooltip:"Link",unsubscribeLinkEditorTooltip:"Unsubscribe link",imageEditorTooltip:"Image",imageEditorRemoveTooltip:"Delete image",bulletListEditorTooltip:"Bullet list",orderedListEditorTooltip:"Ordered list",variableEditorTooltip:"Variable",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the text element?",addImageLabel:"URL",addImageInputPlaceholder:"URL...",addImageApplyButton:"Save",addImageCancelButton:"Cancel",addLinkModalWindow:{label:"Link",inputPlaceholder:"https://example.com",errorNotification:"The link must contain https://, http://, mailto:, tel:",applyButton:"Save",cancelButton:"Cancel"}}}},emailTemplateEditors:{emptyEditorText:"Select any email element to configure it",richTextEditor:{title:"Rich text",minHeightLabel:"Minimum height (px)",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete this element?"},backgroundImageEditor:{title:"Image",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Image element?",srcLabel:"Image link",srcPlaceholder:"https://example.jpg",hrefLabel:"Click link",hrefPlaceholder:"Optional"},imageEditor:{title:"Image",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Image element?",srcLabel:"Image link",srcPlaceholder:"https://example.jpg",altLabel:"Alt text",altPlaceholder:"Alt text...",hrefLabel:"Click link",hrefPlaceholder:"Optional",retinaLabel:"For retina screens"},buttonEditor:{title:"Button",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Button element?",inputTextLabel:"Text",inputTextPlaceholder:"Button text...",hrefLabel:"Click link",hrefPlaceholder:"Link address",backgroundColorLabel:"Background color",textStyleLabel:"Style"},spanEditor:{title:"Text",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Text element?",inputTextPlaceholder:"Text...",textStyleLabel:"Style",inputHRefPlaceholder:"Link...",minHeightLabel:"Minimum number of lines",maxLengthLabel:"Maximum characters"},spacerEditor:{title:"Spacer",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Spacer element?",paddingLabel:"Spacer size",customPaddingLabel:"Custom",separatorLabel:"Separator"},unsubscribeLinkEditor:{title:"Unsubscribe link text",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Unsubscribe link text element?",inputTextPlaceholder:"Text..."},emailComponentEditor:{title:"Row",removeWindowTitle:"Delete component",removeWindowDescription:"Are you sure you want to delete the component?",backgroundColorLabel:"Background color",requiredComponentLabel:"Required component"},commonEditors:{cannotBeEditedLabel:"Cannot be edited",otherLabel:"Other",contentAlign:{label:"Alignment",fullWidthCheckboxLabel:"Full width"},border:{label:"Border"},borderRadius:{label:"Border radius",top:"Top",bottom:"Bottom",themeStyleLinkedText:"From component settings"},padding:{label:"Paddings",top:"Top",bottom:"Bottom",left:"Left",right:"Right",leftRight:"Left, right",topBottom:"Top, bottom",manualValue:"Manual",themeStyleLinked:"Automatic",labels:{themePaddingsSmall:"Small",themePaddingsMedium:"Medium",themePaddingsLarge:"Large",themePaddingsHuge:"Huge",bodyPaddingsLeft:"Left",bodyPaddingsBottom:"Bottom",bodyPaddingsRight:"Right",bodyPaddingsTop:"Top",custom:"Custom"}},color:{customColorLabel:"Other color",colorLabels:{none:"None",styleLinkedColor:"Link to style",emailBackgroundColor:"Email background",bodyColor:"Email body",primaryColor:"Primary color",secondaryColor:"Secondary color",primaryTextColor:"Primary text",secondaryTextColor:"Secondary text",cardBackgroundColor:"Product card color",buttonTextColor:"Buttons",titleColor:"Title",headingColor:"Heading",subHeadingColor:"Subheading",largeTextColor:"Large text",normalTextColor:"Text",descriptionTextColor:"Description",linkColor:"Link",custom:"Custom"}},fontStyle:{colorLabel:"Text color",fontStyleLabel:"Style",settingLabels:{title:"Title",heading:"Heading",subHeading:"Subheading",largeText:"Large text",normalText:"Text",descriptionText:"Description",link:"Link",button:"Button",custom:"Custom"},customFontSettings:{textColorLabel:"Text color"}}}},UIComponents:{removeConfirmModalWindow:{title:"Delete element",cancelButton:"Cancel",applyButton:"Delete"},modalWindow:{closeButton:"Close"}},defaultThemeLibrary:{sections:{default:"Default",defaultBlueSmallThemeSectionItemName:"Default Blue small",defaultBlueMediumThemeSectionItemName:"Default Blue medium",defaultBlueLargeThemeSectionItemName:"Default Blue large",smoothVioletSectionItemName:"Smooth Violet",classicBlackSectionItemName:"Classic Black",calmGreenSectionItemName:"Calm Green",crispYellowSectionItemName:"Crisp Yellow"}},defaultComponentLibrary:{sections:{header:{sectionTitle:"Headers",components:{clothing:"Clothing",home:"Home",outdoor:"Outdoor",catalog:"Catalog",description:"Follow us for useful content and updates",youHave:"You have: ",bonuses:"435 points"},sectionItemNames:{header_1:"Logo, menu and button",header_2:"Centered logo",header_3:"Logo and points",header_4:"Logo and contacts",header_5:"Logo and social media",header_6:"Social media",header_7:"Social media and text",header_8:"Text and social media",header_9:"Text",header_10:"Points"}},menu:{sectionTitle:"Menu",components:{electronics:"Electronics",sale:"Sale",toys:"Toys",care:"Hygiene & Care",food:"Food",clothing:"Clothing & Footwear"},sectionItemNames:{menu_1:"Six items",menu_2:"Five items"}},banner:{sectionTitle:"Banners",sectionItemNames:{banner_1:"One banner",banner_2:"Two banners",banner_3:"Three banners"}},content:{sectionTitle:"Content",components:{cols:{col_1:{title:"Best Office Apps for Tablets",description:"Tablets have made office work much easier. Discover the best apps to help you stay productive wherever you are."},col_2:{title:"Digital Security Secrets: How to Protect Your Data",description:"With hacking and data leaks becoming more common, digital security is increasingly important. Learn how to protect your personal data online."},col_3:{title:"Gaming Keyboards: Selection Tips and Advice",description:"For gamers, choosing the right keyboard is crucial for your gaming experience. Learn what to look for in a gaming keyboard and how to improve your performance."},col_4:{title:"Success Secrets: 5 Simple Steps",description:"Discover five simple yet effective steps to help you achieve success in any area of life. Don't miss this opportunity to learn more and apply these principles today!"},col_5:{title:"Research: How Color Affects Mood",description:"We conducted research on how different colors affect our mood and emotional state. Learn more about our findings and how color choices can impact your brand perception."}},date:"October 23, 2023",read:"Read",site:"Site",open:"Open",title:"Discover Our Email Creation Service",largeText:"We're excited to introduce our new product - an email creation service. With this user-friendly and intuitive tool, you can easily create beautiful, professional emails in just a few simple steps. Our service offers a wide selection of customizable templates and design elements to help you create unique, engaging emails for your audience."},sectionItemNames:{content_1:"Three cards",content_2:"Two cards",content_3:"Image, heading and text",content_4:"Heading only",content_5:"Banner with button",content_6:"Heading and text",content_7:"Text",content_8:"Image and text",content_9:"Two cards",content_10:"Heading, text and button",content_11:"Image, heading, text and button",content_12:"Three cards on grey background",content_13:"Two cards on grey background",content_14:"Image, heading and text on grey background",content_15:"Big image, heading, text and button on grey background"}},button:{sectionTitle:"Buttons",components:{button:{catalog:"Catalog",account:"Account",site:"Website"}},sectionItemNames:{button_1:"One primary button centered",button_2:"Two primary buttons",button_3:"Three primary buttons",button_4:"One full-width primary button",button_5:"Two full-width primary buttons",button_6:"Three full-width primary buttons",button_7:"One secondary button centered",button_8:"Primary and secondary buttons centered",button_9:"Two secondary buttons centered",button_10:"Three secondary buttons centered",button_11:"One full-width secondary button",button_12:"Primary and secondary full-width buttons",button_13:"Two full-width secondary buttons",button_14:"Three full-width secondary buttons"}},productShelf:{title:"Product Shelves",components:{productShelf:{title:"Title",currency:" RUB",button:"Buy",label:"Sale"}},sectionItemNames:{products_1:"3 cards per row (title & price)",products_2:"3 cards per row (title, description & price)",products_3:"2 cards per row (title & price)",products_4:"2 cards per row (title, description & price)",products_5:"1 card per row (title, description, label & price)",products_6:"1 card per row (title, description & price)",products_7:"4 cards per row (title, description & price)",products_8:"4 cards per row (title, description & centered price)",products_9:"3 cards per row on grey background (title, description & price)",products_10:"2 cards per row on grey background (title, description & price)",products_11:"1 card per row on grey background (title, description, label & price)",products_12:"1 card per row on grey background (title, description, label & price)"}},separator:{title:"Separator",sectionItemNames:{separator_1:"Divider"}},footer:{sectionTitle:"Footers",components:{link:{electronics:"Electronics",appliances:"Appliances",clothing:"Clothing",home:"Home",outdoor:"Outdoor",food:"Food",here:"here",unsubscribe:"Unsubscribe",copyRight:"© 2023-2024 Company name"},text:{description:"You received this email because you subscribed to Company name newsletters. You can unsubscribe by clicking ",copyRight:"© 2022 Nike"}},sectionItemNames:{footer_1:"Socials, menu and centered text",footer_2:"Centered text",footer_3:"Logo, socials and full-width text (edited)"}}}}},T7={favoritesTemplateList:{title:"Выберите шаблон или начните с чистого листа",defaultFavoritesButton:"Стандартные",customFavoritesButton:"Пользовательские",emailTemplatePreview:{title:"Предпросмотр",applyButton:"Выбрать",cancelButton:"Отмена"},newTemplate:"Чистый лист"},asideMenu:{exitButtonTooltip:"Выйти",componentLibraryButtonTooltip:"Выбрать компонент для добавления в шаблон",themeLibraryButtonTooltip:"Темы",themeStylesButtonTooltip:"Стили",componentLibrary:{title:"Компоненты",myComponentsButton:"Мои",defaultComponentsButton:"Стандартные",hideEmptySectionsCheckbox:"Скрыть пустые секции",addComponentLibrarySectionButton:"Добавить секцию",createComponentLibrarySectionModalWindow:{title:"Новая секция",inputLabel:"Название",inputPlaceholder:"Название секции...",cancelButton:"Отмена",applyButton:"Сохранить"},componentSection:{emptySectionText:"В этой группе нет компонентов",deleteSectionButton:"Удалить секцию",cancelDragging:"Отменить",deleteComponentLibrarySectionModalWindow:{title:"Удаление секции",description:"Вы действительно хотите удалить секцию",cancelButton:"Отмена",applyButton:"Удалить",errorButtonTooltip:"Ошибка"},componentSectionItem:{editComponentButton:"Редактировать",deleteComponentButton:"Удалить",editComponentLibrarySectionModalWindow:{title:"Редактирование компонента",componentNameLabel:"Название",componentNamePlaceholder:"Название компонента...",componentSectionLabel:"Секция",cancelButton:"Отмена",applyButton:"Сохранить"},deleteComponentLibrarySectionItemModalWindow:{title:"Удаление компонента",description:"Вы действительно хотите удалить компонент?",cancelButton:"Отмена",applyButton:"Удалить"}}}},themeStyles:{title:"Стили",templateSettingsButton:"Письма",componentsSettingsButton:"Компонентов",addThemeLibrarySectionItemModalWindow:{title:"Сохранение темы",inputNameLabel:"Название",inputNamePlaceholder:"Название темы...",inputGroupLabel:"Группа",cancelButton:"Отмена",applyButton:"Сохранить",errorButtonTooltip:"Ошибка",buttonTooltip:""},themeTemplateSettings:{themeTemplateWidthLabel:"Ширина",templateResponsiveWidthLabel:"Адаптивная ширина",templateResponsiveWidthToolbar:"Письмо автоматически подстраивается под ширину телефонов и планшетов.",themeTemplateRadiusLabel:"Скругление",templateColorTitle:"Цвет",templateBodyColor:"Тело письма",templateBackgroundColor:"Фон",themeTemplateFontFamilyTitle:"Шрифт",themePaddings:{title:"Отступы до контента",allButton:"Все",manualButton:"Отдельно",custom:{topLabel:"Сверху",bottomLabel:"Снизу",leftLabel:"Слева",rightLabel:"Справа"}}},themeComponentSettings:{themeComponentPaddings:{title:"Отступы",smallLabel:"Маленькие",mediumLabel:"Средние",largeLabel:"Большие",hugeLabel:"Гигантские",buttonLabel:"У кнопок",buttonLeftRightLabel:"Слева, справа",buttonTopBottomLabel:"Сверху, снизу"},themeComponentRadius:{title:"Скругления",manualComponentRadiusCheckbox:"Настроить отдельно",cardLabel:"Карточки",buttonLabel:"Кнопки",bannerLabel:"Баннеры"},themeComponentColor:{title:"Цвет",primaryColorLabel:"Основной",primaryTextColorLabel:"Текст на нём",secondaryColorLabel:"Вторичный",secondaryTextColorLabel:"Текст на нём",cardBackgroundColor:"Карточки товаров"},themeComponentFontSettings:{title:"Шрифт",titleLabel:"Большой заголовок",headingLabel:"Заголовок",subHeadingLabel:"Подзаголовок",largeTextLabel:"Большой текст",normalTextLabel:"Текст",descriptionTextLabel:"Описания",buttonTextLabel:"Кнопки",linkTextLabel:"Ссылки"}}},themeLibrary:{title:"Тема оформления",userThemeButtonText:"Мои",defaultThemeButtonText:"Стандартные",hideEmptySectionsCheckbox:"Скрыть пустые секции",addThemeLibrarySectionButton:"Добавить секцию",addThemeLibrarySectionItemButton:"Сохранить тему",addThemeLibrarySectionItemButtonTooltip:"Для сохранения создайте секцию темы оформления",createThemeLibrarySectionModalWindow:{title:"Новая секция",inputLabel:"Название",inputPlaceholder:"Название секции...",cancelButton:"Отмена",applyButton:"Сохранить"},themeSection:{emptySectionText:"В этой группе нет шаблонов тем",deleteSectionButton:"Удалить секцию",deleteThemeLibrarySectionModalWindow:{title:"Удаление секции",description:"Вы действительно хотите удалить секцию",cancelButton:"Отмена",applyButton:"Удалить",errorButtonText:"Ошибка"},themeSectionItem:{editThemeButton:"Редактировать",deleteThemeButton:"Удалить",editThemeLibrarySectionModalWindow:{title:"Редактирование темы",themeNameLabel:"Название",themeNamePlaceholder:"Название темы...",themeSectionLabel:"Группа",cancelButton:"Отмена",applyButton:"Сохранить"},deleteThemeLibrarySectionItemModalWindow:{title:"Удаление темы",description:"Вы действительно хотите удалить тему?",cancelButton:"Отмена",applyButton:"Удалить"}}}}},productShelfBuilderComponent:{title:"Настройки товарной полки",algorithmLabel:"Алгоритм подбора товаров",cancelButton:"Отмена",applyButton:"Применить",listSelector:{productListShelf:"Продуктовая полка",relatedProductsForProductListShelf:"Сопутствующие товары к товарам",alternativeProductsForProductListShelf:"Альтернативы товаров",popularProductsInCategoryListShelf:"Популярные товары из категории",popularProductsShelf:"Популярные товары",latestProductsShelf:"Новинки магазина",saleByLatestShelf:"Новинки магазина со скидкой",saleByPopularShelf:"Популярные товары со скидкой",abandonedBasketProductListShelf:"Товары из брошенной корзины",alternativeProductsForAbandonedProductListShelf:"Альтернативы товаров из брошенной корзины",relatedProductsForAbandonedProductListShelf:"Сопутствующие товары к товарам из брошенной корзины",abandonedViewProductListShelf:"Товары из брошенного просмотра",alternativeProductsForAbandonedViewProductListShelf:"Альтернативы товаров из брошенного просмотра",relatedProductsForAbandonedViewProductListShelf:"Сопутствующие товары к товарам из брошенного просмотра",abandonedViewPriceDropProductListShelf:"Товары из брошенного просмотра со снижением цены",alternativeProductsForAbandonedViewPriceDropProductListShelf:"Альтернативы товаров из брошенного просмотра со снижением цены",relatedProductsForAbandonedViewPriceDropProductListShelf:"Сопутствующие товары к товарам из брошенного просмотра со снижением цены",priceDropProductListShelf:"Товары со снижением цены",alternativeProductsForPriceDropProductListShelf:"Альтернативы товаров к товарам со снижением цены",relatedProductsForPriceDropProductListShelf:"Сопутствующие товары к товарам со снижением цены",abandonedViewNAProductListShelf:"Товары не в наличии из брошенного просмотра",relatedProductsForAbandonedViewNAProductListShelf:"Сопутствующие товары к товарам не в наличии из брошенного просмотра",alternativeProductsForAbandonedViewNAProductListShelf:"Альтернативы товаров не в наличии из брошенного просмотра",popularProductsForAbandonedCategoriesShelf:"Популярные товары к брошенной категории",searchRecommendationsForAbandonedSearchShelf:"Поисковые рекомендации к брошенному поиску",abandonedBasketPriceDropProductListShelf:"Снижение цены на товары из брошенной корзины",alternativeProductsForAbandonedBasketPriceDropProductListShelf:"Альтернативные товары к товарам со снижением цены из брошенной корзины",postTransactionProductListShelf:"Товары из выполненного заказа",relatedProductsForPostTransactionProductListShelf:"Сопутствующие товары к товарам из выполненного заказа",alternativeProductsForPostTransactionProductListShelf:"Альтернативные товары к товарам из выполненного заказа",productBackInStockProductListShelf:"Товары появившиеся на складе",relatedProductsForProductBackInStockProductListShelf:"Сопутствующие товары к товарам появившимся на складе",alternativeProductsForProductBackInStockProductListShelf:"Альтернативные товары к товарам появившимся на складе",productStillOutOfStockProductListShelf:"Товары отсутствующие на складе",relatedProductsForProductStillOutOfStockProductListShelf:"Сопутствующие товары к товарам отсутствующим на складе",alternativeProductsForProductStillOutOfStockProductListShelf:"Альтернативные товары к товарам отсутствующим на складе",repurchaseProductListShelf:"Товары для повторного заказа",relatedProductsForRepurchaseProductListShelf:"Сопутствующие товары к товарам для повторного заказа",alternativeProductsForRepurchaseProductListShelf:"Альтернативные товары к товарам для повторного заказа",nextBestOfferRecommendationsShelf:"Товары из рекомендуемых категорий к купленным товарам"},productShelfBuilders:{stockSelector:{defaultStockSource:"Склад по-умолчанию",specificStockSource:"Конкретный склад",customerStockSource:"Склад покупателя",stockSourceVariantLabel:"Склад товаров",stockLabel:"Идентификатор склада",stockPlaceholder:"Выберите идентификатор",defaultStock:"Идентификатор по умолчанию"},productListShelfLimiterLabel:"Количество товаров",emptySearch:"Нет результатов поиска",notAvailableLabel:"нет в наличии",productsAtLeast:"От",productsLimit:"До",popularProductListDescription:"В письме будут отображаться самые популярные товары магазина.",productListDescription:"Выберите товары для отображения",relatedProductListDescription:"Выберите блок товаров, чтобы определить, к каким из них мы предложим <b>сопутствующие товары</b>.<br>Пожалуйста, учтите, что клиенты увидят в письме не выбранные товары, а товары рассчитанные по алгоритму <b>сопутствующие товары</b> к выбранным товарам.",alternativeProductListDescription:"Выберите блок товаров, чтобы определить, к каким из них мы предложим <b>альтернативные товары</b>.<br>Пожалуйста, учтите, что клиенты увидят в письме не выбранные товары, а товары рассчитанные по алгоритму <b>альтернативные товары</b> к выбранным товарам.",popularFromCategoryListDescription:"Выберите блок категорий, чтобы определить, к каким из них мы предложим <b>популярные товары</b>.<br>Пожалуйста, учтите, что клиенты увидят в письме дополнительные товары, соответствующие вашему выбору.",latestProductListDescription:"В письме будут отображаться новинки магазина",saleByLatestProductListDescription:"В письме будут отображаться новинки магазина со скидкой",saleByPopularProductListDescription:"В письме будут отображаться популярные товары магазина со скидкой",productsSelectButton:"Выбрать товары",categorySelectButton:"Выбрать категории",abandonedBasketProductListDescription:"В письме будут отображаться товары из брошенной корзины",abandonedViewProductListDescription:"В письме будут отображаться товары из брошенного просмотра",alternativeProductsForAbandonedBasketProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из брошенной корзины",relatedProductsForAbandonedBasketProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из брошенной корзины",alternativeProductsForAbandonedViewProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из брошенного просмотра",relatedProductsForAbandonedViewProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из брошенного просмотра",abandonedViewPriceDropProductListDescription:"В письме будут отображаться товары со снижением цены из брошенного просмотра",alternativeProductsForAbandonedViewPriceDropProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из брошенного просмотра со снижением цены",relatedProductsForAbandonedViewPriceDropProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из брошенного просмотра со снижением цены",priceDropProductListDescription:"В письме будут отображаться товары со снижением цены",alternativeProductsForPriceDropProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам со снижением цены",relatedProductsForPriceDropProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам со снижением цены",abandonedViewNAProductListDescription:"В письме будут отображаться товары не в наличии из брошенного просмотра",relatedProductsForAbandonedViewNAProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам не в наличии из брошенного просмотра",alternativeProductsForAbandonedViewNAProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам не в наличии из брошенного просмотра",popularProductsForAbandonedCategoriesDescription:"В письме будут отображаться популярные товары из брошенных категорий",searchRecommendationsForAbandonedSearchDescription:"В письме будут отображаться поисковые рекомендации к брошенному поиску",abandonedBasketPriceDropProductListDescription:"В письме будут отображаться товары cо снижением цены из брошенной корзины",alternativeProductsForAbandonedBasketPriceDropProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам со сниженной ценой из брошенной корзины",postTransactionProductListDescription:"В письме будут отображаться товары из выполненного заказа",relatedProductsForPostTransactionProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из выполненного заказа",alternativeProductsForPostTransactionProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из выполненного заказа",productBackInStockProductListDescription:"В письме будут отображаться товары появившиеся на складе",relatedProductsForProductBackInStockProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам появившимся на складе",alternativeProductsForProductBackInStockProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам появившимся на складе",productStillOutOfStockProductListDescription:"В письме будут отображаться товары все еще отсутствующие на складе",relatedProductsForProductStillOutOfStockProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам отсутствующим на складе",alternativeProductsForProductStillOutOfStockProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам отсутствующим на складе",repurchaseProductListDescription:"В письме будут отображаться товары для повторного заказа",relatedProductsForRepurchaseProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам для повторного заказа",alternativeProductsForRepurchaseProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам для повторного заказа",nextBestOfferRecommendationsDescription:"В письме будут отображаться товары из рекомендуемых категорий к купленным товарам"}},productListComposerModalWindow:{title:"Список товаров",cancelButton:"Отменить",applyButton:"Применить",clearListButton:"Очистить список",notAvailableLabel:"нет в наличии",searching:"Поиск...",loading:"Загрузка...",transferAllButton:"Перенести все",searchInputPlaceholder:"Название одного товара или список ID",emptySearchProductListTopText:"Название одного товара",emptySearchProductListBottomText:"или список ID через запятую",emptySelectedProductList:"Список товаров пока что пуст.",selectedProductListTitle:"Список товаров",selectedProductListDeclensions:{one:"продукт",few:"продукта",many:"продуктов"}},categoryListComposerModalWindow:{title:"Выбор категорий",cancelButton:"Отменить",applyButton:"Применить",searching:"Поиск...",loading:"Загрузка...",transferAllButton:"Перенести все",searchInputPlaceholder:"Название одной категории или список ID",emptySearchCategoryListText:"Введите название категории, чтобы отобразились результаты.",emptySelectedCategoryListText:"Список категорий пока что пуст.",selectedCategoryListTitleText:"Список категорий",selectedCategoryListDeclensions:{one:"категория",few:"категории",many:"категорий"}},topMenu:{preheaderSubjectUpdateButton:"Указать тему",preheaderSubjectUpdateButtonTooltip:"Редактировать тему и прехедер письма",preheaderSubjectUpdateModalWindow:{title:"Настройки темы",themeLabel:"Тема",themeInputPlaceholder:"Заголовок, который увидят получатели в своей почте",preheaderLabel:"Прехедер",preheaderInputPlaceholder:"Краткое описание, которое будет видно сразу после темы в списке писем",applyButton:"Применить",cancelButton:"Отмена"},toggleDeviceBar:{disabledButtonTooltip:"Включите адаптивную ширину, чтобы письмо подстраивалось под размер телефонов и планшетов."},exportMenu:{resetTemplateButton:{resetTemplateButton:"Сбросить шаблон",resetTemplateButtonTooltip:"Сбросить шаблон",modalWindow:{title:"Сброс шаблона",applyButton:"Сбросить",cancelButton:"Отмена",description:"Сброс шаблона приведёт к удалению всех текущих настроек и контента. Это действие нельзя отменить."}},transactionalDataAppSettingsModifier:{button:"Данные письма",buttonTooltip:"Настройка данных транзакционного письма",modalWindow:{title:"Данные транзакционного письма",label:"JSON",cancelButton:"Отмена",applyButton:"Применить"}},saveTemplateButton:{saveButton:"Сохранить",errorButton:"Ошибка",saveButtonTooltip:"Сохранить шаблон",errorButtonTooltip:"Ошибка сохранения шаблона",errorNotificationWindowTitle:"Ошибка сохранения",errorNotificationWindowDescription:"Не закрывайте окно! Позовите Retail Rocket."}}},emailTemplate:{emailComponent:{emptyEmailComponentText:"Товарная полка скрыта из-за недостатка товаров",emptyEmailComponentTooltip:"Товарная полка не будет отображаться у получателей письма пока в ней недостаточно товаров",requiredComponentNotification:"Без этого компонента письмо не будет отправлено"},dropHere:"Бросьте сюда",movementMenu:{draggingMenu:{moving:"Перемещение"},draggingButtonTooltip:"Переместить",moveToTopButtonTooltip:"Переместить вверх",moveToBottomButtonTooltip:"Переместить вниз",copyButtonTooltip:"Дублировать",saveButtonTooltip:"Сохранить в библиотеку",disabledSaveButtonTooltip:"Для сохранения создайте секцию библиотеки компонентов",removeButtonTooltip:"Удалить",removeWindowTitle:"Удаление компонента",removeConfirmMessage:"Вы действительно хотите удалить компонент ?"},addComponentLibrarySectionItemModalWindow:{title:"Сохранение компонента",nameLabel:"Название",namePlaceholder:"Название компонента...",groupLabel:"Группа",cancelButton:"Отмена",applyButton:"Сохранить"},elements:{richText:{themeSettingsEditorTooltip:"Стиль текста",fontFamilyEditorTooltip:"Шрифт",fontSizeEditorTooltip:"Размер текста",lineHeightEditorTooltip:"Высота строки",colorEditorTooltip:"Цвет текста",contentAlignEditorTooltip:"Выравнивание",verticalAlignEditorTooltip:"Выравнивание картинок по вертикали",fontWeightEditorTooltip:"Полужирный",fontStyleEditorTooltip:"Курсив",lineThroughEditorTooltip:"Зачеркнутый",underlineEditorTooltip:"Подчеркнутый",textTransformEditorTooltip:"Заглавные",linkEditorTooltip:"Ссылка",unsubscribeLinkEditorTooltip:"Ссылка на отписку",imageEditorTooltip:"Изображение",imageEditorRemoveTooltip:"Удалить изображение",bulletListEditorTooltip:"Маркированный список",orderedListEditorTooltip:"Нумерованный список",variableEditorTooltip:"Переменная",removeWindowDescription:"Вы действительно хотите удалить элемент ?",removeWindowTitle:"Удаление элемента",addImageLabel:"Ссылка на картинку",addImageInputPlaceholder:"...",addImageApplyButton:"Сохранить",addImageCancelButton:"Отменить",addLinkModalWindow:{label:"Ссылка при клике",inputPlaceholder:"https://example.com",errorNotification:"Ссылка должна содержать https://, http://, mailto:, tel:",applyButton:"Сохранить",cancelButton:"Отменить"}}}},emailTemplateEditors:{emptyEditorText:"Выберите любой<br>элемент письма для<br>его настройки",richTextEditor:{title:"Текст",minHeightLabel:"Минимальная высота в пикселях",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент ?"},backgroundImageEditor:{title:"Изображение",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент ?",srcLabel:"Ссылка на картинку",srcPlaceholder:"https://example.jpg",hrefLabel:"Ссылка при клике",hrefPlaceholder:"Не обязательно"},imageEditor:{title:"Изображение",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Image ?",srcLabel:"Ссылка на картинку",srcPlaceholder:"https://example.jpg",altLabel:"Альтернативный текст",altPlaceholder:"Альтернативный текст...",hrefLabel:"Ссылка при клике",hrefPlaceholder:"Не обязательно",retinaLabel:"Для retina-экранов"},buttonEditor:{title:"Кнопка",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Button ?",inputTextLabel:"Текст",inputTextPlaceholder:"Текст кнопки...",hrefLabel:"Ссылка при клике",hrefPlaceholder:"Адрес ссылки",backgroundColorLabel:"Цвет заливки",textStyleLabel:"Стиль"},spanEditor:{title:"Текст",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Text ?",inputTextPlaceholder:"Текст...",textStyleLabel:"Стиль",inputHRefPlaceholder:"Адрес ссылки",minHeightLabel:"Минимальное кол-во строк",maxLengthLabel:"Максимум символов"},spacerEditor:{title:"Отступ",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Spacer ?",paddingLabel:"Размер отступа",customPaddingLabel:"Свой",separatorLabel:"Разделитель"},unsubscribeLinkEditor:{title:"Текст отписки от рассылки",removeWindowTitle:"Удаление Текста отписки от рассылки",removeWindowDescription:"Вы действительно хотите удалить элемент Текст отписки от рассылки ?",inputTextPlaceholder:"Текст..."},emailComponentEditor:{title:"Строка",removeWindowTitle:"Удаление компонента",removeWindowDescription:"Вы действительно хотите удалить компонент ?",backgroundColorLabel:"Цвет фона",requiredComponentLabel:"Обязательный компонент"},commonEditors:{cannotBeEditedLabel:"Нельзя редактировать",otherLabel:"Остальное",contentAlign:{label:"Выравнивание",fullWidthCheckboxLabel:"На всю ширину"},border:{label:"Обводка"},borderRadius:{label:"Скругление",top:"Сверху",bottom:"Снизу",themeStyleLinkedText:"Из настроек компонента"},padding:{label:"Отступы",top:"Сверху",bottom:"Снизу",left:"Слева",right:"Справа",leftRight:"Слева, справа",topBottom:"Сверху, снизу",manualValue:"Вручную",themeStyleLinked:"Автоматически",labels:{themePaddingsSmall:"Маленький",themePaddingsMedium:"Средний",themePaddingsLarge:"Большой",themePaddingsHuge:"Гигантский",bodyPaddingsLeft:"Слева",bodyPaddingsBottom:"Снизу",bodyPaddingsRight:"Справа",bodyPaddingsTop:"Сверху",custom:"Свой"}},color:{customColorLabel:"Другой цвет",colorLabels:{none:"Нет",styleLinkedColor:"Связать со стилем",emailBackgroundColor:"Фон письма",bodyColor:"Тело письма",primaryColor:"Основной цвет",secondaryColor:"Вторичный цвет",primaryTextColor:"Текст на основном цвете",secondaryTextColor:"Текст на вторичном цвете",cardBackgroundColor:"Цвет карточек товара",buttonTextColor:"Кнопки",titleColor:"Большой заголовок",headingColor:"Заголовок",subHeadingColor:"Подзаголовок",largeTextColor:"Большой текст",normalTextColor:"Текст",descriptionTextColor:"Описание",linkColor:"Ссылка",custom:"Пользовательский"}},fontStyle:{colorLabel:"Цвет текста",fontStyleLabel:"Стиль",settingLabels:{title:"Большой заголовок",heading:"Заголовок",subHeading:"Подзаголовок",largeText:"Большой текст",normalText:"Текст",descriptionText:"Описание",link:"Ссылка",button:"Кнопка",custom:"Пользовательский"},customFontSettings:{textColorLabel:"Цвет текста"}}}},UIComponents:{removeConfirmModalWindow:{title:"Удаление элемента",cancelButton:"Отмена",applyButton:"Удалить"},modalWindow:{closeButton:"Закрыть"}},defaultThemeLibrary:{sections:{default:"Стандартные",defaultBlueSmallThemeSectionItemName:"Стандартный синий малый",defaultBlueMediumThemeSectionItemName:"Стандартный синий средний",defaultBlueLargeThemeSectionItemName:"Стандартный синий большой",smoothVioletSectionItemName:"Плавный фиолетовый",classicBlackSectionItemName:"Классический чёрный",calmGreenSectionItemName:"Спокойная зелень",crispYellowSectionItemName:"Яркий жёлтый"}},defaultComponentLibrary:{sections:{header:{sectionTitle:"Хедеры",components:{clothing:"Одежда",home:"Для дома",outdoor:"Туризм",catalog:"Каталог",description:"Полезные статьи и новости в наших соцсетях",youHave:"У вас: ",bonuses:"435 баллов"},sectionItemNames:{header_1:"Лого, меню и кнопка",header_2:"Лого по центру",header_3:"Лого и баллы",header_4:"Лого и контакты",header_5:"Лого и соцсети",header_6:"Соцсети",header_7:"Соцсети и текс",header_8:"Текст и соцсети",header_9:"Текст ",header_10:"Баллы "}},menu:{sectionTitle:"Меню",components:{electronics:"Электроника",sale:"Акции",toys:"Игрушки",care:"Гигиена и уход",food:"Питание",clothing:"Одежда и обувь"},sectionItemNames:{menu_1:"Шесть пунктов",menu_2:"Пять пунктов"}},banner:{sectionTitle:"Баннеры",sectionItemNames:{banner_1:"Один баннер",banner_2:"Два баннера",banner_3:"Три баннера"}},content:{sectionTitle:"Контент",components:{cols:{col_1:{title:"Лучшие приложения для офиса на планшете",description:"Работа в офисе стала гораздо проще благодаря планшетам. Узнайте о лучших приложениях, которые помогут вам оставаться продуктивными, где бы вы ни находились."},col_2:{title:"Секреты цифровой безопасности: как защитить свои данные",description:"С взломами и утечками данных на повестке дня, цифровая безопасность становится всё более важной. Узнайте, как можно защитить свои личные данные и информацию в интернете."},col_3:{title:"Геймерская клавиатура: выбор и советы",description:"Если вы - геймер, выбор клавиатуры играет ключевую роль в вашем опыте игры. Узнайте, на что следует обратить внимание при выборе геймерской клавиатуры и как улучшить вашу игровую производительность."},col_4:{title:"Секрет успеха: 5 простых шагов",description:"Узнайте пять простых, но эффективных шагов, которые помогут вам достичь успеха в любой сфере жизни. Не упустите возможность узнать больше и применить эти принципы уже сегодня!"},col_5:{title:"Исследование: Влияние цвета на настроение",description:"Мы провели исследование о том, как различные цвета влияют на наше настроение и эмоциональное состояние. Узнайте больше о наших открытиях и о том, как выбор цвета может повлиять на восприятие вашего бренда."}},date:"23 Октября 2023",read:"Читать",site:"Перейти на сайт",open:"Открыть",title:"Познакомьтесь с сервисом создания электронных писем",largeText:"Мы рады представить вам наш новый продукт - сервис создания электронных писем. С помощью этого удобного и интуитивно понятного инструмента, вы сможете легко создавать красивые и профессиональные письма всего в несколько простых шагов. Наш сервис предлагает широкий выбор шаблонов и элементов дизайна, которые можно настраивать под ваши нужды, чтобы создавать уникальные и привлекательные письма для вашей аудитории."},sectionItemNames:{content_1:"Три карточки",content_2:"Две карточки",content_3:"Изображение, заголовок и текст",content_4:"Заголовок ",content_5:"Баннер с кнопкой",content_6:"Заголовок и текст",content_7:"Текст",content_8:"Изображение и текст",content_9:"Две карточки",content_10:"Заголовок, текст и кнопка",content_11:"Изображение, заголовок, текст и кнопка",content_12:"Три карточки на сером фоне",content_13:"Две карточки на сером фоне",content_14:"Изображение, заголовок и текст и кнопка на сером фоне",content_15:"Большое изображение, заголовок, текст и кнопка на сером фоне"}},button:{sectionTitle:"Кнопки",components:{button:{catalog:"Перейти в каталог",account:"Личный кабинет",site:"Перейти на сайт"}},sectionItemNames:{button_1:"Одна основная кнопка по центру",button_2:"Две основных кнопки",button_3:"Три основных кнопки",button_4:"Одна основная широкая во всю ширину",button_5:"Две основных кнопки во всю ширину",button_6:"Три основных кнопки во всю ширину",button_7:"Одна вторичная кнопка по центру",button_8:"Основная и вторичная кнопки по центру",button_9:"Две вторичных кнопки по центру",button_10:"Три вторичных кнопки по центру",button_11:"Одна вторичная кнопка во всю ширину",button_12:"Основная и вторичная кнопки во всю ширину",button_13:"Две вторичных кнопки во всю ширину",button_14:"Три вторичных кнопки во всю ширину"}},productShelf:{title:"Продуктовые полки",components:{productShelf:{title:"Заголовок",currency:" руб.",button:"Купить",label:"Акция"}},sectionItemNames:{products_1:"3 карточки в ряд (название и цена)",products_2:"3 карточки в ряд (название, описание и цена)",products_3:"2 карточки в ряд (название и цена)",products_4:"2 карточки в ряд (название, описание и цена)",products_5:"1 карточка в ряд (название, описание, лейбл и цена)",products_6:"1 карточка в ряд (название, описание и цена)",products_7:"4 карточки в ряд (название, описание и цена)",products_8:"4 карточки в ряд (название, описание и цена по центру)",products_9:"3 карточки в ряд на сером фоне (название, описание и цена)",products_10:"2 карточки в ряд на сером фоне (название, описание и цена)",products_11:"1 карточка в ряд на сером фоне (название, описание, лейбл и цена)",products_12:"1 карточка в ряд на сером фоне (название, описание, лейбл и цена)"}},separator:{title:"Разделители",sectionItemNames:{separator_1:"Разделитель"}},footer:{sectionTitle:"Подвалы",components:{link:{electronics:"Электроника",appliances:"Техника",clothing:"Одежда",home:"Для дома",outdoor:"Туризм",food:"Продукты",here:"сюда",unsubscribe:"Отписаться",copyRight:"© 2023-2024 Company name"},text:{description:"Вы получили это письмо, потому что подписались на рассылку Company name. Вы можете отписаться, нажав ",copyRight:"© 2022 Nike"}},sectionItemNames:{footer_1:"Соцсети, меню и текст по центру",footer_2:"Текст по центру",footer_3:"Лого, соцсети и текст по ширине"}}}}},uv=l7({locale:"en",legacy:!1,fallbackWarn:!1,missingWarn:!1,messages:{en:y7,ru:T7},warnHtmlMessage:!1}),S7=()=>{const{t}=uv.global;return(e,o)=>o?t(e,o):t(e)},Le=S7(),B7=async t=>{Rp().locale.value=t},V7={ref:"tabsRef",class:"bootstrap-styles w-100 tabs-container p-14 rounded-2 border bg-color-input"},R7={class:"bootstrap-styles d-flex position-relative w-100"},D7=["data-key","onClick"],x7=Me({__name:"TabList",props:{initialTab:{},tabList:{}},emits:["onTabClicked"],setup(t,{emit:e}){const o=t,i=xt({activeTab:o.initialTab,sliderStyle:{width:"0px",transform:"translateX(0px)"}}),n=Vt([]),r=u=>{ul(()=>{const c=n.value.find(m=>m.dataset.key===u);c&&(i.sliderStyle={width:`${c.offsetWidth}px`,transform:`translateX(${c.offsetLeft}px)`})})},s=u=>{i.activeTab=u,r(u),a("onTabClicked",u)};ds(()=>{r(i.activeTab)});const a=e;return(u,c)=>(W(),J("div",V7,[V("div",R7,[V("div",{class:"slider",style:fe(i.sliderStyle)},null,4),(W(!0),J(Ge,null,Yt(o.tabList,(m,f)=>(W(),J("button",{ref_for:!0,ref_key:"tabRefs",ref:n,key:f,"data-key":f,class:Ve(["bootstrap-styles tab-button w-100 d-flex justify-content-center py-14 px-1 text-gray-600 z-1 position-relative",{active:i.activeTab===f}]),onClick:()=>s(f)},Lt(m),11,D7))),128))])],512))}}),b7=Ne(x7,[["__scopeId","data-v-3528e301"]]),L7={class:"favorite-template-select bootstrap-styles d-flex flex-column bg-white justify-content-start align-items-center"},E7=["href"],v7={class:"icon-hover-stroke-black"},N7={class:"bootstrap-styles mb-11"},P7={class:"bootstrap-styles favorites-template-tab-list mb-13"},_7={class:"favorite-template-select__list"},A7={class:"bootstrap-styles mb-3"},I7={class:"favorite-template-select__list"},w7={class:"bootstrap-styles mb-3"},k7=Me({__name:"FavoritesTemplateList",props:{deps:{}},emits:["initialTemplateSelected"],setup(t,{emit:e}){const o=t,i=o.deps.emailTemplatePreviews.custom,n=o.deps.emailTemplatePreviews.default,r=i.length?"custom":"default",s=xt({favoritesTemplateListSourceKey:r}),a={custom:Le("favoritesTemplateList.customFavoritesButton"),default:Le("favoritesTemplateList.defaultFavoritesButton")},u=e;return(c,m)=>(W(),J("div",L7,[V("a",{class:"favorites-template-selector__close",href:o.deps.exitLink},[V("i",v7,[ue(d5)])],8,E7),V("h2",N7,Lt(j(Le)("favoritesTemplateList.title")),1),V("div",P7,[ue(b7,{initialTab:j(r),tabList:a,onOnTabClicked:m[0]||(m[0]=f=>s.favoritesTemplateListSourceKey=f)},null,8,["initialTab"])]),ct(V("div",_7,[V("button",{class:"bootstrap-styles d-flex flex-column justify-content-center align-items-center favorite-template-select__new-item overflow-hidden border rounded-3",type:"button",onClick:m[1]||(m[1]=f=>u("initialTemplateSelected"))},[V("i",A7,[ue(qR)]),mu(" "+Lt(j(Le)("favoritesTemplateList.newTemplate")),1)]),(W(!0),J(Ge,null,Yt(j(i),(f,p)=>(W(),J("div",{key:p},[(W(),Pe(z0(f.previewTileComponent)))]))),128))],512),[[Z0,s.favoritesTemplateListSourceKey==="custom"]]),ct(V("div",I7,[V("button",{class:"bootstrap-styles d-flex flex-column justify-content-center align-items-center favorite-template-select__new-item overflow-hidden border rounded-3",type:"button",onClick:m[2]||(m[2]=f=>u("initialTemplateSelected"))},[V("i",w7,[ue(qR)]),mu(" "+Lt(j(Le)("favoritesTemplateList.newTemplate")),1)]),(W(!0),J(Ge,null,Yt(j(n),(f,p)=>(W(),J("div",{key:p},[(W(),Pe(z0(f.previewTileComponent)))]))),128))],512),[[Z0,s.favoritesTemplateListSourceKey==="default"]])]))}}),W7=Ne(k7,[["__scopeId","data-v-86c055af"]]),O7=Me({__name:"FavoritesTemplateSelector",props:{deps:{}},emits:["initialTemplateSelected"],setup(t,{emit:e}){const o=t,i=e;return(n,r)=>(W(),Pe(W7,{deps:o.deps.favoritesTemplateListDeps,onInitialTemplateSelected:r[0]||(r[0]=s=>i("initialTemplateSelected"))},null,8,["deps"]))}}),M7=Me({__name:"CreateEmailTemplateApp",props:{deps:{}},emits:["initialTemplateSelected"],setup(t,{emit:e}){const o=t;xc(()=>B7(o.deps.localeKey));const i=e;return(n,r)=>(W(),Pe(O7,{deps:o.deps.favoritesTemplateSelectorDeps,onInitialTemplateSelected:r[0]||(r[0]=s=>i("initialTemplateSelected"))},null,8,["deps"]))}});function H7(){return!0}function dv(t,e,o){if(!t||cv(t,o)===!1)return!1;const i=FE(e);if(typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&i.host===t.target)return!1;const n=(typeof o.value=="object"&&o.value.include||(()=>[]))();return n.push(e),!n.some(r=>r==null?void 0:r.contains(t.target))}function cv(t,e){return(typeof e.value=="object"&&e.value.closeConditional||H7)(t)}function $7(t,e,o){const i=typeof o.value=="function"?o.value:o.value.handler;t.shadowTarget=t.target,e._clickOutside.lastMousedownWasOutside&&dv(t,e,o)&&setTimeout(()=>{cv(t,o)&&i&&i(t)},0)}function vD(t,e){const o=FE(t);e(document),typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&e(o)}const z7={mounted(t,e){const o=n=>$7(n,t,e),i=n=>{t._clickOutside.lastMousedownWasOutside=dv(n,t,e)};vD(t,n=>{n.addEventListener("click",o,!0),n.addEventListener("mousedown",i,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!1}),t._clickOutside[e.instance.$.uid]={onClick:o,onMousedown:i}},beforeUnmount(t,e){t._clickOutside&&(vD(t,o=>{var r;if(!o||!((r=t._clickOutside)!=null&&r[e.instance.$.uid]))return;const{onClick:i,onMousedown:n}=t._clickOutside[e.instance.$.uid];o.removeEventListener("click",i,!0),o.removeEventListener("mousedown",n,!0)}),delete t._clickOutside[e.instance.$.uid])}},pF=Symbol("rippleStop"),U7=80;function ND(t,e){t.style.transform=e,t.style.webkitTransform=e}function CF(t){return t.constructor.name==="TouchEvent"}function mv(t){return t.constructor.name==="KeyboardEvent"}const j7=function(t,e){var f;let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=0,n=0;if(!mv(t)){const p=e.getBoundingClientRect(),C=CF(t)?t.touches[t.touches.length-1]:t;i=C.clientX-p.left,n=C.clientY-p.top}let r=0,s=.3;(f=e._ripple)!=null&&f.circle?(s=.15,r=e.clientWidth/2,r=o.center?r:r+Math.sqrt((i-r)**2+(n-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const a=`${(e.clientWidth-r*2)/2}px`,u=`${(e.clientHeight-r*2)/2}px`,c=o.center?a:`${i-r}px`,m=o.center?u:`${n-r}px`;return{radius:r,scale:s,x:c,y:m,centerX:a,centerY:u}},dh={show(t,e){var C;let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((C=e==null?void 0:e._ripple)!=null&&C.enabled))return;const i=document.createElement("span"),n=document.createElement("span");i.appendChild(n),i.className="v-ripple__container",o.class&&(i.className+=` ${o.class}`);const{radius:r,scale:s,x:a,y:u,centerX:c,centerY:m}=j7(t,e,o),f=`${r*2}px`;n.className="v-ripple__animation",n.style.width=f,n.style.height=f,e.appendChild(i);const p=window.getComputedStyle(e);p&&p.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),n.classList.add("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--visible"),ND(n,`translate(${a}, ${u}) scale3d(${s},${s},${s})`),n.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{n.classList.remove("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--in"),ND(n,`translate(${c}, ${m}) scale3d(1,1,1)`)})})},hide(t){var r;if(!((r=t==null?void 0:t._ripple)!=null&&r.enabled))return;const e=t.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const o=Array.from(e).findLast(s=>!s.dataset.isHiding);if(o)o.dataset.isHiding="true";else return;const i=performance.now()-Number(o.dataset.activated),n=Math.max(250-i,0);setTimeout(()=>{o.classList.remove("v-ripple__animation--in"),o.classList.add("v-ripple__animation--out"),setTimeout(()=>{var a;t.getElementsByClassName("v-ripple__animation").length===1&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),((a=o.parentNode)==null?void 0:a.parentNode)===t&&t.removeChild(o.parentNode)},300)},n)}};function fv(t){return typeof t>"u"||!!t}function sc(t){const e={},o=t.currentTarget;if(!(!(o!=null&&o._ripple)||o._ripple.touched||t[pF])){if(t[pF]=!0,CF(t))o._ripple.touched=!0,o._ripple.isTouch=!0;else if(o._ripple.isTouch)return;if(e.center=o._ripple.centered||mv(t),o._ripple.class&&(e.class=o._ripple.class),CF(t)){if(o._ripple.showTimerCommit)return;o._ripple.showTimerCommit=()=>{dh.show(t,o,e)},o._ripple.showTimer=window.setTimeout(()=>{var i;(i=o==null?void 0:o._ripple)!=null&&i.showTimerCommit&&(o._ripple.showTimerCommit(),o._ripple.showTimerCommit=null)},U7)}else dh.show(t,o,e)}}function PD(t){t[pF]=!0}function Mi(t){const e=t.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),t.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{Mi(t)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),dh.hide(e)}}function hv(t){const e=t.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let ac=!1;function _D(t,e){!ac&&e.includes(t.key)&&(ac=!0,sc(t))}function pv(t){ac=!1,Mi(t)}function Cv(t){ac&&(ac=!1,Mi(t))}function gv(t,e,o){const{value:i,modifiers:n}=e,r=fv(i);r||dh.hide(t),t._ripple=t._ripple??{},t._ripple.enabled=r,t._ripple.centered=n.center,t._ripple.circle=n.circle;const s=eF(i)?i:{};s.class&&(t._ripple.class=s.class);const a=s.keys??["Enter","Space"];if(t._ripple.keyDownHandler=u=>_D(u,a),r&&!o){if(n.stop){t.addEventListener("touchstart",PD,{passive:!0}),t.addEventListener("mousedown",PD);return}t.addEventListener("touchstart",sc,{passive:!0}),t.addEventListener("touchend",Mi,{passive:!0}),t.addEventListener("touchmove",hv,{passive:!0}),t.addEventListener("touchcancel",Mi),t.addEventListener("mousedown",sc),t.addEventListener("mouseup",Mi),t.addEventListener("mouseleave",Mi),t.addEventListener("keydown",u=>_D(u,a)),t.addEventListener("keyup",pv),t.addEventListener("blur",Cv),t.addEventListener("dragstart",Mi,{passive:!0})}else!r&&o&&Fv(t)}function Fv(t){var e;t.removeEventListener("mousedown",sc),t.removeEventListener("touchstart",sc),t.removeEventListener("touchend",Mi),t.removeEventListener("touchmove",hv),t.removeEventListener("touchcancel",Mi),t.removeEventListener("mouseup",Mi),t.removeEventListener("mouseleave",Mi),(e=t._ripple)!=null&&e.keyDownHandler&&t.removeEventListener("keydown",t._ripple.keyDownHandler),t.removeEventListener("keyup",pv),t.removeEventListener("dragstart",Mi),t.removeEventListener("blur",Cv)}function G7(t,e){gv(t,e,!1)}function K7(t){Fv(t),delete t._ripple}function q7(t,e){if(e.value===e.oldValue)return;const o=fv(e.oldValue);gv(t,e,o)}const gF={mounted:G7,unmounted:K7,updated:q7};function zy(t){return lE(()=>{const{class:e,style:o}=Y7(t);return{colorClasses:e,colorStyles:o}})}function lc(t){const{colorClasses:e,colorStyles:o}=zy(()=>({text:cu(t)}));return{textColorClasses:e,textColorStyles:o}}function gu(t){const{colorClasses:e,colorStyles:o}=zy(()=>({background:cu(t)}));return{backgroundColorClasses:e,backgroundColorStyles:o}}function Y7(t){const e=cu(t),o=[],i={};if(e.background)if(oF(e.background)){if(i.backgroundColor=e.background,!e.text&&P4(e.background)){const n=Ui(e.background);if(n.a==null||n.a===1){const r=gE(n);i.color=r,i.caretColor=r}}}else o.push(`bg-${e.background}`);return e.text&&(oF(e.text)?(i.color=e.text,i.caretColor=e.text):o.push(`text-${e.text}`)),{class:o,style:i}}const Dp=st({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function xp(t){return{dimensionStyles:Z(()=>{const o={},i=Qt(t.height),n=Qt(t.maxHeight),r=Qt(t.maxWidth),s=Qt(t.minHeight),a=Qt(t.minWidth),u=Qt(t.width);return i!=null&&(o.height=i),n!=null&&(o.maxHeight=n),r!=null&&(o.maxWidth=r),s!=null&&(o.minHeight=s),a!=null&&(o.minWidth=a),u!=null&&(o.width=u),o})}}function J7(){const t=Kn("useRoute");return Z(()=>{var e;return(e=t==null?void 0:t.proxy)==null?void 0:e.$route})}function Z7(t,e){var f,p;const o=z0("RouterLink"),i=Ue(()=>!!(t.href||t.to)),n=Z(()=>(i==null?void 0:i.value)||VR(e,"click")||VR(t,"click"));if(typeof o=="string"||!("useLink"in o)){const C=Ue(()=>t.href);return{isLink:i,isRouterLink:Ue(()=>!1),isClickable:n,href:C,linkProps:xt({href:C})}}const r=o.useLink({to:Ue(()=>t.to||""),replace:Ue(()=>t.replace)}),s=Z(()=>t.to?r:void 0),a=J7(),u=Z(()=>{var C,F,y;return s.value?t.exact?a.value?((y=s.value.isExactActive)==null?void 0:y.value)&&gp(s.value.route.value.query,a.value.query):((F=s.value.isExactActive)==null?void 0:F.value)??!1:((C=s.value.isActive)==null?void 0:C.value)??!1:!1}),c=Z(()=>{var C;return t.to?(C=s.value)==null?void 0:C.route.value.href:t.href}),m=Ue(()=>!!t.to);return{isLink:i,isRouterLink:m,isClickable:n,isActive:u,route:(f=s.value)==null?void 0:f.route,navigate:(p=s.value)==null?void 0:p.navigate,href:c,linkProps:xt({href:c,"aria-current":Ue(()=>u.value?"page":void 0),"aria-disabled":Ue(()=>t.disabled&&i.value?"true":void 0),tabindex:Ue(()=>t.disabled&&i.value?"-1":void 0)})}}const X7=st({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router"),Q7=st({transition:{type:null,default:"fade-transition",validator:t=>t!==!0}},"transition"),e8=(t,e)=>{let{slots:o}=e;const{transition:i,disabled:n,group:r,...s}=t,{component:a=r?by:xy,...u}=eF(i)?i:{};let c;return eF(i)?c=$n(u,p4({disabled:n,group:r}),s):c=$n({name:n||!i?"":i},s),Gn(a,c,o)},Ag=Symbol("Forwarded refs");function Ig(t,e){let o=t;for(;o;){const i=Reflect.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function t8(t){for(var e=arguments.length,o=new Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];return t[Ag]=o,new Proxy(t,{get(n,r){if(Reflect.has(n,r))return Reflect.get(n,r);if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const s of o)if(s.value&&Reflect.has(s.value,r)){const a=Reflect.get(s.value,r);return typeof a=="function"?a.bind(s.value):a}}},has(n,r){if(Reflect.has(n,r))return!0;if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const s of o)if(s.value&&Reflect.has(s.value,r))return!0;return!1},set(n,r,s){if(Reflect.has(n,r))return Reflect.set(n,r,s);if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const a of o)if(a.value&&Reflect.has(a.value,r))return Reflect.set(a.value,r,s);return!1},getOwnPropertyDescriptor(n,r){var a;const s=Reflect.getOwnPropertyDescriptor(n,r);if(s)return s;if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const u of o){if(!u.value)continue;const c=Ig(u.value,r)??("_"in u.value?Ig((a=u.value._)==null?void 0:a.setupState,r):void 0);if(c)return c}for(const u of o){const c=u.value&&u.value[Ag];if(!c)continue;const m=c.slice();for(;m.length;){const f=m.shift(),p=Ig(f.value,r);if(p)return p;const C=f.value&&f.value[Ag];C&&m.push(...C)}}}}})}const o8=t=>({emailTemplatePreviews:t.emailTemplatePreviews,initialEmailTemplate:t.initialEmailTemplate,exitLink:t.exitLink}),i8=t=>({favoritesTemplateListDeps:o8({emailTemplatePreviews:t.emailTemplatePreviews,initialEmailTemplate:t.initialEmailTemplate,exitLink:t.exitLink})}),n8=t=>({favoritesTemplateSelectorDeps:i8({emailTemplatePreviews:t.emailTemplatePreviews,initialEmailTemplate:t.initialEmailTemplate,exitLink:t.exitLink}),localeKey:t.localeKey}),r8=t=>{const e={[t.antiForgeryTokenHeaderName]:t.antiForgeryTokenValue};return async o=>{const i=t.baseUrl+o.path+"?"+o.query,n=await fetch(i,{method:o.method,body:o.body,headers:{...o.headers,...e}});return{status:n.status,body:await r()};async function r(){try{return await n.json()}catch{return}}}};var ef=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},kr={},AD;function s8(){if(AD)return kr;AD=1;var t=kr&&kr.__awaiter||function(z,M,X,Ce){function pe(ie){return ie instanceof X?ie:new X(function(Re){Re(ie)})}return new(X||(X=Promise))(function(ie,Re){function Ie(ve){try{ke(Ce.next(ve))}catch(lt){Re(lt)}}function mt(ve){try{ke(Ce.throw(ve))}catch(lt){Re(lt)}}function ke(ve){ve.done?ie(ve.value):pe(ve.value).then(Ie,mt)}ke((Ce=Ce.apply(z,M||[])).next())})},e=kr&&kr.__generator||function(z,M){var X={label:0,sent:function(){if(ie[0]&1)throw ie[1];return ie[1]},trys:[],ops:[]},Ce,pe,ie,Re=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return Re.next=Ie(0),Re.throw=Ie(1),Re.return=Ie(2),typeof Symbol=="function"&&(Re[Symbol.iterator]=function(){return this}),Re;function Ie(ke){return function(ve){return mt([ke,ve])}}function mt(ke){if(Ce)throw new TypeError("Generator is already executing.");for(;Re&&(Re=0,ke[0]&&(X=0)),X;)try{if(Ce=1,pe&&(ie=ke[0]&2?pe.return:ke[0]?pe.throw||((ie=pe.return)&&ie.call(pe),0):pe.next)&&!(ie=ie.call(pe,ke[1])).done)return ie;switch(pe=0,ie&&(ke=[ke[0]&2,ie.value]),ke[0]){case 0:case 1:ie=ke;break;case 4:return X.label++,{value:ke[1],done:!1};case 5:X.label++,pe=ke[1],ke=[0];continue;case 7:ke=X.ops.pop(),X.trys.pop();continue;default:if(ie=X.trys,!(ie=ie.length>0&&ie[ie.length-1])&&(ke[0]===6||ke[0]===2)){X=0;continue}if(ke[0]===3&&(!ie||ke[1]>ie[0]&&ke[1]<ie[3])){X.label=ke[1];break}if(ke[0]===6&&X.label<ie[1]){X.label=ie[1],ie=ke;break}if(ie&&X.label<ie[2]){X.label=ie[2],X.ops.push(ke);break}ie[2]&&X.ops.pop(),X.trys.pop();continue}ke=M.call(z,X)}catch(ve){ke=[6,ve],pe=0}finally{Ce=ie=0}if(ke[0]&5)throw ke[1];return{value:ke[0]?ke[1]:void 0,done:!0}}};Object.defineProperty(kr,"__esModule",{value:!0}),kr.createApi=void 0;var o=function(z,M){return function(X){return z(X,M)}},i=function(z){return{products:z.products.map(function(M){return r(M)})}},n=function(z){return{products:z.products.map(function(M){return r(M)})}},r=function(z){return{internalId:z.internalId,externalId:z.externalId,name:z.name,description:z.description,vendor:z.vendor?z.vendor:void 0,price:z.price,oldPrice:z.oldPrice,discountPercentage:z.discountPercentage?z.discountPercentage:void 0,pictureUrl:z.pictureUrl,url:z.url,parameters:z.parameters.map(function(M){return y(M)})}},s=function(z){return{recommendations:z.recommendations.map(function(M){return F(M)})}},a=function(z){return{recommendations:z.recommendations.map(function(M){return F(M)})}},u=function(z){return{recommendations:z.recommendations.map(function(M){return F(M)})}},c=function(z){return{recommendations:z.recommendations.map(function(M){return F(M)})}},m=function(z){return{recommendations:z.recommendations.map(function(M){return F(M)})}},f=function(z){return{recommendations:z.recommendations.map(function(M){return F(M)})}},p=function(z){return{recommendations:z.recommendations.map(function(M){return F(M)})}},C=function(z){return{recommendations:z.recommendations.map(function(M){return F(M)})}},F=function(z){return{internalProductId:z.internalProductId,externalProductId:z.externalProductId,name:z.name,description:z.description,vendor:z.vendor?z.vendor:void 0,price:z.price,oldPrice:z.oldPrice,discountPercentage:z.discountPercentage?z.discountPercentage:void 0,pictureUrl:z.pictureUrl,url:z.url,parameters:z.parameters.map(function(M){return y(M)})}},y=function(z){return{name:z.name,value:z.value}};function T(z,M){return t(this,void 0,void 0,function(){var X,Ce,pe;return e(this,function(ie){switch(ie.label){case 0:return X="wysiwyg/bff/v2/listExpressionDataSource/getProductsByIds/",Ce=new URLSearchParams,[4,M({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(z.body),query:Ce.toString()})];case 1:if(pe=ie.sent(),pe.status===200)return[2,{status:200,body:i(pe.body)}];throw new Error("Unknown response")}})})}function B(z,M){return t(this,void 0,void 0,function(){var X,Ce,pe;return e(this,function(ie){switch(ie.label){case 0:return X="wysiwyg/bff/v2/listExpressionDataSource/getPopularRecommendations/",Ce=new URLSearchParams,[4,M({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(z.body),query:Ce.toString()})];case 1:if(pe=ie.sent(),pe.status===200)return[2,{status:200,body:s(pe.body)}];throw new Error("Unknown response")}})})}function v(z,M){return t(this,void 0,void 0,function(){var X,Ce,pe;return e(this,function(ie){switch(ie.label){case 0:return X="wysiwyg/bff/v2/listExpressionDataSource/getPopularInCategoriesRecommendations/",Ce=new URLSearchParams,[4,M({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(z.body),query:Ce.toString()})];case 1:if(pe=ie.sent(),pe.status===200)return[2,{status:200,body:a(pe.body)}];throw new Error("Unknown response")}})})}function D(z,M){return t(this,void 0,void 0,function(){var X,Ce,pe;return e(this,function(ie){switch(ie.label){case 0:return X="wysiwyg/bff/v2/listExpressionDataSource/getRelatedRecommendations/",Ce=new URLSearchParams,[4,M({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(z.body),query:Ce.toString()})];case 1:if(pe=ie.sent(),pe.status===200)return[2,{status:200,body:u(pe.body)}];throw new Error("Unknown response")}})})}function R(z,M){return t(this,void 0,void 0,function(){var X,Ce,pe;return e(this,function(ie){switch(ie.label){case 0:return X="wysiwyg/bff/v2/listExpressionDataSource/getAlternativeRecommendations/",Ce=new URLSearchParams,[4,M({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(z.body),query:Ce.toString()})];case 1:if(pe=ie.sent(),pe.status===200)return[2,{status:200,body:c(pe.body)}];throw new Error("Unknown response")}})})}function N(z,M){return t(this,void 0,void 0,function(){var X,Ce,pe;return e(this,function(ie){switch(ie.label){case 0:return X="wysiwyg/bff/v2/listExpressionDataSource/getSearchRecommendations/",Ce=new URLSearchParams,[4,M({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(z.body),query:Ce.toString()})];case 1:if(pe=ie.sent(),pe.status===200)return[2,{status:200,body:m(pe.body)}];throw new Error("Unknown response")}})})}function _(z,M){return t(this,void 0,void 0,function(){var X,Ce,pe;return e(this,function(ie){switch(ie.label){case 0:return X="wysiwyg/bff/v2/listExpressionDataSource/getLatestRecommendations/",Ce=new URLSearchParams,[4,M({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(z.body),query:Ce.toString()})];case 1:if(pe=ie.sent(),pe.status===200)return[2,{status:200,body:f(pe.body)}];throw new Error("Unknown response")}})})}function P(z,M){return t(this,void 0,void 0,function(){var X,Ce,pe;return e(this,function(ie){switch(ie.label){case 0:return X="wysiwyg/bff/v2/listExpressionDataSource/getSaleByPopularRecommendations/",Ce=new URLSearchParams,[4,M({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(z.body),query:Ce.toString()})];case 1:if(pe=ie.sent(),pe.status===200)return[2,{status:200,body:p(pe.body)}];throw new Error("Unknown response")}})})}function U(z,M){return t(this,void 0,void 0,function(){var X,Ce,pe;return e(this,function(ie){switch(ie.label){case 0:return X="wysiwyg/bff/v2/listExpressionDataSource/getSaleByLatestRecommendations/",Ce=new URLSearchParams,[4,M({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(z.body),query:Ce.toString()})];case 1:if(pe=ie.sent(),pe.status===200)return[2,{status:200,body:C(pe.body)}];throw new Error("Unknown response")}})})}function k(z,M){return t(this,void 0,void 0,function(){var X,Ce,pe;return e(this,function(ie){switch(ie.label){case 0:return X="wysiwyg/bff/v2/listExpressionDataSource/getSampleProductsForPreview/",Ce=new URLSearchParams,[4,M({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(z.body),query:Ce.toString()})];case 1:if(pe=ie.sent(),pe.status===200)return[2,{status:200,body:n(pe.body)}];throw new Error("Unknown response")}})})}var de=function(z){return{postGetProductsByIds:o(T,z),postGetPopularRecommendations:o(B,z),postGetPopularInCategoriesRecommendations:o(v,z),postGetRelatedRecommendations:o(D,z),postGetAlternativeRecommendations:o(R,z),postGetSearchRecommendations:o(N,z),postGetLatestRecommendations:o(_,z),postGetSaleByPopularRecommendations:o(P,z),postGetSaleByLatestRecommendations:o(U,z),postGetSampleProductsForPreview:o(k,z)}};return kr.createApi=de,kr}var a8=s8();const Nc=st({elevation:{type:[Number,String],validator(t){const e=parseInt(t);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Pc(t){return{elevationClasses:Ue(()=>{const o=ao(t)?t.value:t.elevation;return o==null?[]:[`elevation-${o}`]})}}const l8={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function u8(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return V("div",{class:Ve(["v-skeleton-loader__bone",`v-skeleton-loader__${t}`])},[e])}function ID(t){const[e,o]=t.split("@");return Array.from({length:o}).map(()=>bp(e))}function bp(t){let e=[];if(!t)return e;const o=l8[t];if(t!==o){if(t.includes(","))return wD(t);if(t.includes("@"))return ID(t);o.includes(",")?e=wD(o):o.includes("@")?e=ID(o):o&&e.push(bp(o))}return[u8(t,e)]}function wD(t){return t.replace(/\s/g,"").split(",").map(bp)}const d8=st({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...Dp(),...Nc(),...ia()},"VSkeletonLoader"),kD=Do()({name:"VSkeletonLoader",inheritAttrs:!1,props:d8(),setup(t,e){let{attrs:o,slots:i}=e;const{backgroundColorClasses:n,backgroundColorStyles:r}=gu(()=>t.color),{dimensionStyles:s}=xp(t),{elevationClasses:a}=Pc(t),{themeClasses:u}=Iu(t),{t:c}=Fp(),m=Z(()=>bp(su(t.type).join(",")));return xo(()=>{var C;const f=!i.default||t.loading,p=t.boilerplate||!f?{}:{ariaLive:"polite",ariaLabel:c(t.loadingText),role:"alert"};return f?V("div",$n({class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":t.boilerplate},u.value,n.value,a.value],style:[r.value,s.value]},p,o),[m.value]):V(Ge,null,[(C=i.default)==null?void 0:C.call(i)])}),{}}});var mi="top",Ki="bottom",qi="right",fi="left",Lp="auto",ku=[mi,Ki,qi,fi],tl="start",Fu="end",yv="clippingParents",Uy="viewport",zl="popper",Tv="reference",FF=ku.reduce(function(t,e){return t.concat([e+"-"+tl,e+"-"+Fu])},[]),jy=[].concat(ku,[Lp]).reduce(function(t,e){return t.concat([e,e+"-"+tl,e+"-"+Fu])},[]),Sv="beforeRead",Bv="read",Vv="afterRead",Rv="beforeMain",Dv="main",xv="afterMain",bv="beforeWrite",Lv="write",Ev="afterWrite",vv=[Sv,Bv,Vv,Rv,Dv,xv,bv,Lv,Ev];function pr(t){return t?(t.nodeName||"").toLowerCase():null}function Yi(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ol(t){var e=Yi(t).Element;return t instanceof e||t instanceof Element}function Fn(t){var e=Yi(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Gy(t){if(typeof ShadowRoot>"u")return!1;var e=Yi(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function c8(t){var e=t.state;Object.keys(e.elements).forEach(function(o){var i=e.styles[o]||{},n=e.attributes[o]||{},r=e.elements[o];!Fn(r)||!pr(r)||(Object.assign(r.style,i),Object.keys(n).forEach(function(s){var a=n[s];a===!1?r.removeAttribute(s):r.setAttribute(s,a===!0?"":a)}))})}function m8(t){var e=t.state,o={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,o.popper),e.styles=o,e.elements.arrow&&Object.assign(e.elements.arrow.style,o.arrow),function(){Object.keys(e.elements).forEach(function(i){var n=e.elements[i],r=e.attributes[i]||{},s=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:o[i]),a=s.reduce(function(u,c){return u[c]="",u},{});!Fn(n)||!pr(n)||(Object.assign(n.style,a),Object.keys(r).forEach(function(u){n.removeAttribute(u)}))})}}const Ky={name:"applyStyles",enabled:!0,phase:"write",fn:c8,effect:m8,requires:["computeStyles"]};function cr(t){return t.split("-")[0]}var ja=Math.max,ch=Math.min,yu=Math.round;function yF(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Nv(){return!/^((?!chrome|android).)*safari/i.test(yF())}function Tu(t,e,o){e===void 0&&(e=!1),o===void 0&&(o=!1);var i=t.getBoundingClientRect(),n=1,r=1;e&&Fn(t)&&(n=t.offsetWidth>0&&yu(i.width)/t.offsetWidth||1,r=t.offsetHeight>0&&yu(i.height)/t.offsetHeight||1);var s=ol(t)?Yi(t):window,a=s.visualViewport,u=!Nv()&&o,c=(i.left+(u&&a?a.offsetLeft:0))/n,m=(i.top+(u&&a?a.offsetTop:0))/r,f=i.width/n,p=i.height/r;return{width:f,height:p,top:m,right:c+f,bottom:m+p,left:c,x:c,y:m}}function qy(t){var e=Tu(t),o=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-o)<=1&&(o=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:o,height:i}}function Pv(t,e){var o=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(o&&Gy(o)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ss(t){return Yi(t).getComputedStyle(t)}function f8(t){return["table","td","th"].indexOf(pr(t))>=0}function aa(t){return((ol(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ep(t){return pr(t)==="html"?t:t.assignedSlot||t.parentNode||(Gy(t)?t.host:null)||aa(t)}function WD(t){return!Fn(t)||ss(t).position==="fixed"?null:t.offsetParent}function h8(t){var e=/firefox/i.test(yF()),o=/Trident/i.test(yF());if(o&&Fn(t)){var i=ss(t);if(i.position==="fixed")return null}var n=Ep(t);for(Gy(n)&&(n=n.host);Fn(n)&&["html","body"].indexOf(pr(n))<0;){var r=ss(n);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return n;n=n.parentNode}return null}function _c(t){for(var e=Yi(t),o=WD(t);o&&f8(o)&&ss(o).position==="static";)o=WD(o);return o&&(pr(o)==="html"||pr(o)==="body"&&ss(o).position==="static")?e:o||h8(t)||e}function Yy(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ad(t,e,o){return ja(t,ch(e,o))}function p8(t,e,o){var i=Ad(t,e,o);return i>o?o:i}function _v(){return{top:0,right:0,bottom:0,left:0}}function Av(t){return Object.assign({},_v(),t)}function Iv(t,e){return e.reduce(function(o,i){return o[i]=t,o},{})}var C8=function(e,o){return e=typeof e=="function"?e(Object.assign({},o.rects,{placement:o.placement})):e,Av(typeof e!="number"?e:Iv(e,ku))};function g8(t){var e,o=t.state,i=t.name,n=t.options,r=o.elements.arrow,s=o.modifiersData.popperOffsets,a=cr(o.placement),u=Yy(a),c=[fi,qi].indexOf(a)>=0,m=c?"height":"width";if(!(!r||!s)){var f=C8(n.padding,o),p=qy(r),C=u==="y"?mi:fi,F=u==="y"?Ki:qi,y=o.rects.reference[m]+o.rects.reference[u]-s[u]-o.rects.popper[m],T=s[u]-o.rects.reference[u],B=_c(r),v=B?u==="y"?B.clientHeight||0:B.clientWidth||0:0,D=y/2-T/2,R=f[C],N=v-p[m]-f[F],_=v/2-p[m]/2+D,P=Ad(R,_,N),U=u;o.modifiersData[i]=(e={},e[U]=P,e.centerOffset=P-_,e)}}function F8(t){var e=t.state,o=t.options,i=o.element,n=i===void 0?"[data-popper-arrow]":i;n!=null&&(typeof n=="string"&&(n=e.elements.popper.querySelector(n),!n)||Pv(e.elements.popper,n)&&(e.elements.arrow=n))}const wv={name:"arrow",enabled:!0,phase:"main",fn:g8,effect:F8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Su(t){return t.split("-")[1]}var y8={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T8(t,e){var o=t.x,i=t.y,n=e.devicePixelRatio||1;return{x:yu(o*n)/n||0,y:yu(i*n)/n||0}}function OD(t){var e,o=t.popper,i=t.popperRect,n=t.placement,r=t.variation,s=t.offsets,a=t.position,u=t.gpuAcceleration,c=t.adaptive,m=t.roundOffsets,f=t.isFixed,p=s.x,C=p===void 0?0:p,F=s.y,y=F===void 0?0:F,T=typeof m=="function"?m({x:C,y}):{x:C,y};C=T.x,y=T.y;var B=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),D=fi,R=mi,N=window;if(c){var _=_c(o),P="clientHeight",U="clientWidth";if(_===Yi(o)&&(_=aa(o),ss(_).position!=="static"&&a==="absolute"&&(P="scrollHeight",U="scrollWidth")),_=_,n===mi||(n===fi||n===qi)&&r===Fu){R=Ki;var k=f&&_===N&&N.visualViewport?N.visualViewport.height:_[P];y-=k-i.height,y*=u?1:-1}if(n===fi||(n===mi||n===Ki)&&r===Fu){D=qi;var de=f&&_===N&&N.visualViewport?N.visualViewport.width:_[U];C-=de-i.width,C*=u?1:-1}}var z=Object.assign({position:a},c&&y8),M=m===!0?T8({x:C,y},Yi(o)):{x:C,y};if(C=M.x,y=M.y,u){var X;return Object.assign({},z,(X={},X[R]=v?"0":"",X[D]=B?"0":"",X.transform=(N.devicePixelRatio||1)<=1?"translate("+C+"px, "+y+"px)":"translate3d("+C+"px, "+y+"px, 0)",X))}return Object.assign({},z,(e={},e[R]=v?y+"px":"",e[D]=B?C+"px":"",e.transform="",e))}function S8(t){var e=t.state,o=t.options,i=o.gpuAcceleration,n=i===void 0?!0:i,r=o.adaptive,s=r===void 0?!0:r,a=o.roundOffsets,u=a===void 0?!0:a,c={placement:cr(e.placement),variation:Su(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,OD(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,OD(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Jy={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:S8,data:{}};var tf={passive:!0};function B8(t){var e=t.state,o=t.instance,i=t.options,n=i.scroll,r=n===void 0?!0:n,s=i.resize,a=s===void 0?!0:s,u=Yi(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(m){m.addEventListener("scroll",o.update,tf)}),a&&u.addEventListener("resize",o.update,tf),function(){r&&c.forEach(function(m){m.removeEventListener("scroll",o.update,tf)}),a&&u.removeEventListener("resize",o.update,tf)}}const Zy={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:B8,data:{}};var V8={left:"right",right:"left",bottom:"top",top:"bottom"};function Lf(t){return t.replace(/left|right|bottom|top/g,function(e){return V8[e]})}var R8={start:"end",end:"start"};function MD(t){return t.replace(/start|end/g,function(e){return R8[e]})}function Xy(t){var e=Yi(t),o=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:o,scrollTop:i}}function Qy(t){return Tu(aa(t)).left+Xy(t).scrollLeft}function D8(t,e){var o=Yi(t),i=aa(t),n=o.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,u=0;if(n){r=n.width,s=n.height;var c=Nv();(c||!c&&e==="fixed")&&(a=n.offsetLeft,u=n.offsetTop)}return{width:r,height:s,x:a+Qy(t),y:u}}function x8(t){var e,o=aa(t),i=Xy(t),n=(e=t.ownerDocument)==null?void 0:e.body,r=ja(o.scrollWidth,o.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=ja(o.scrollHeight,o.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-i.scrollLeft+Qy(t),u=-i.scrollTop;return ss(n||o).direction==="rtl"&&(a+=ja(o.clientWidth,n?n.clientWidth:0)-r),{width:r,height:s,x:a,y:u}}function eT(t){var e=ss(t),o=e.overflow,i=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+i)}function kv(t){return["html","body","#document"].indexOf(pr(t))>=0?t.ownerDocument.body:Fn(t)&&eT(t)?t:kv(Ep(t))}function Id(t,e){var o;e===void 0&&(e=[]);var i=kv(t),n=i===((o=t.ownerDocument)==null?void 0:o.body),r=Yi(i),s=n?[r].concat(r.visualViewport||[],eT(i)?i:[]):i,a=e.concat(s);return n?a:a.concat(Id(Ep(s)))}function TF(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function b8(t,e){var o=Tu(t,!1,e==="fixed");return o.top=o.top+t.clientTop,o.left=o.left+t.clientLeft,o.bottom=o.top+t.clientHeight,o.right=o.left+t.clientWidth,o.width=t.clientWidth,o.height=t.clientHeight,o.x=o.left,o.y=o.top,o}function HD(t,e,o){return e===Uy?TF(D8(t,o)):ol(e)?b8(e,o):TF(x8(aa(t)))}function L8(t){var e=Id(Ep(t)),o=["absolute","fixed"].indexOf(ss(t).position)>=0,i=o&&Fn(t)?_c(t):t;return ol(i)?e.filter(function(n){return ol(n)&&Pv(n,i)&&pr(n)!=="body"}):[]}function E8(t,e,o,i){var n=e==="clippingParents"?L8(t):[].concat(e),r=[].concat(n,[o]),s=r[0],a=r.reduce(function(u,c){var m=HD(t,c,i);return u.top=ja(m.top,u.top),u.right=ch(m.right,u.right),u.bottom=ch(m.bottom,u.bottom),u.left=ja(m.left,u.left),u},HD(t,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Wv(t){var e=t.reference,o=t.element,i=t.placement,n=i?cr(i):null,r=i?Su(i):null,s=e.x+e.width/2-o.width/2,a=e.y+e.height/2-o.height/2,u;switch(n){case mi:u={x:s,y:e.y-o.height};break;case Ki:u={x:s,y:e.y+e.height};break;case qi:u={x:e.x+e.width,y:a};break;case fi:u={x:e.x-o.width,y:a};break;default:u={x:e.x,y:e.y}}var c=n?Yy(n):null;if(c!=null){var m=c==="y"?"height":"width";switch(r){case tl:u[c]=u[c]-(e[m]/2-o[m]/2);break;case Fu:u[c]=u[c]+(e[m]/2-o[m]/2);break}}return u}function Bu(t,e){e===void 0&&(e={});var o=e,i=o.placement,n=i===void 0?t.placement:i,r=o.strategy,s=r===void 0?t.strategy:r,a=o.boundary,u=a===void 0?yv:a,c=o.rootBoundary,m=c===void 0?Uy:c,f=o.elementContext,p=f===void 0?zl:f,C=o.altBoundary,F=C===void 0?!1:C,y=o.padding,T=y===void 0?0:y,B=Av(typeof T!="number"?T:Iv(T,ku)),v=p===zl?Tv:zl,D=t.rects.popper,R=t.elements[F?v:p],N=E8(ol(R)?R:R.contextElement||aa(t.elements.popper),u,m,s),_=Tu(t.elements.reference),P=Wv({reference:_,element:D,placement:n}),U=TF(Object.assign({},D,P)),k=p===zl?U:_,de={top:N.top-k.top+B.top,bottom:k.bottom-N.bottom+B.bottom,left:N.left-k.left+B.left,right:k.right-N.right+B.right},z=t.modifiersData.offset;if(p===zl&&z){var M=z[n];Object.keys(de).forEach(function(X){var Ce=[qi,Ki].indexOf(X)>=0?1:-1,pe=[mi,Ki].indexOf(X)>=0?"y":"x";de[X]+=M[pe]*Ce})}return de}function v8(t,e){e===void 0&&(e={});var o=e,i=o.placement,n=o.boundary,r=o.rootBoundary,s=o.padding,a=o.flipVariations,u=o.allowedAutoPlacements,c=u===void 0?jy:u,m=Su(i),f=m?a?FF:FF.filter(function(F){return Su(F)===m}):ku,p=f.filter(function(F){return c.indexOf(F)>=0});p.length===0&&(p=f);var C=p.reduce(function(F,y){return F[y]=Bu(t,{placement:y,boundary:n,rootBoundary:r,padding:s})[cr(y)],F},{});return Object.keys(C).sort(function(F,y){return C[F]-C[y]})}function N8(t){if(cr(t)===Lp)return[];var e=Lf(t);return[MD(t),e,MD(e)]}function P8(t){var e=t.state,o=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var n=o.mainAxis,r=n===void 0?!0:n,s=o.altAxis,a=s===void 0?!0:s,u=o.fallbackPlacements,c=o.padding,m=o.boundary,f=o.rootBoundary,p=o.altBoundary,C=o.flipVariations,F=C===void 0?!0:C,y=o.allowedAutoPlacements,T=e.options.placement,B=cr(T),v=B===T,D=u||(v||!F?[Lf(T)]:N8(T)),R=[T].concat(D).reduce(function(jt,$e){return jt.concat(cr($e)===Lp?v8(e,{placement:$e,boundary:m,rootBoundary:f,padding:c,flipVariations:F,allowedAutoPlacements:y}):$e)},[]),N=e.rects.reference,_=e.rects.popper,P=new Map,U=!0,k=R[0],de=0;de<R.length;de++){var z=R[de],M=cr(z),X=Su(z)===tl,Ce=[mi,Ki].indexOf(M)>=0,pe=Ce?"width":"height",ie=Bu(e,{placement:z,boundary:m,rootBoundary:f,altBoundary:p,padding:c}),Re=Ce?X?qi:fi:X?Ki:mi;N[pe]>_[pe]&&(Re=Lf(Re));var Ie=Lf(Re),mt=[];if(r&&mt.push(ie[M]<=0),a&&mt.push(ie[Re]<=0,ie[Ie]<=0),mt.every(function(jt){return jt})){k=z,U=!1;break}P.set(z,mt)}if(U)for(var ke=F?3:1,ve=function($e){var Qe=R.find(function(We){var Oe=P.get(We);if(Oe)return Oe.slice(0,$e).every(function(bt){return bt})});if(Qe)return k=Qe,"break"},lt=ke;lt>0;lt--){var pt=ve(lt);if(pt==="break")break}e.placement!==k&&(e.modifiersData[i]._skip=!0,e.placement=k,e.reset=!0)}}const Ov={name:"flip",enabled:!0,phase:"main",fn:P8,requiresIfExists:["offset"],data:{_skip:!1}};function $D(t,e,o){return o===void 0&&(o={x:0,y:0}),{top:t.top-e.height-o.y,right:t.right-e.width+o.x,bottom:t.bottom-e.height+o.y,left:t.left-e.width-o.x}}function zD(t){return[mi,qi,Ki,fi].some(function(e){return t[e]>=0})}function _8(t){var e=t.state,o=t.name,i=e.rects.reference,n=e.rects.popper,r=e.modifiersData.preventOverflow,s=Bu(e,{elementContext:"reference"}),a=Bu(e,{altBoundary:!0}),u=$D(s,i),c=$D(a,n,r),m=zD(u),f=zD(c);e.modifiersData[o]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:m,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":f})}const Mv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:_8};function A8(t,e,o){var i=cr(t),n=[fi,mi].indexOf(i)>=0?-1:1,r=typeof o=="function"?o(Object.assign({},e,{placement:t})):o,s=r[0],a=r[1];return s=s||0,a=(a||0)*n,[fi,qi].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}function I8(t){var e=t.state,o=t.options,i=t.name,n=o.offset,r=n===void 0?[0,0]:n,s=jy.reduce(function(m,f){return m[f]=A8(f,e.rects,r),m},{}),a=s[e.placement],u=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=s}const Hv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:I8};function w8(t){var e=t.state,o=t.name;e.modifiersData[o]=Wv({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const tT={name:"popperOffsets",enabled:!0,phase:"read",fn:w8,data:{}};function k8(t){return t==="x"?"y":"x"}function W8(t){var e=t.state,o=t.options,i=t.name,n=o.mainAxis,r=n===void 0?!0:n,s=o.altAxis,a=s===void 0?!1:s,u=o.boundary,c=o.rootBoundary,m=o.altBoundary,f=o.padding,p=o.tether,C=p===void 0?!0:p,F=o.tetherOffset,y=F===void 0?0:F,T=Bu(e,{boundary:u,rootBoundary:c,padding:f,altBoundary:m}),B=cr(e.placement),v=Su(e.placement),D=!v,R=Yy(B),N=k8(R),_=e.modifiersData.popperOffsets,P=e.rects.reference,U=e.rects.popper,k=typeof y=="function"?y(Object.assign({},e.rects,{placement:e.placement})):y,de=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),z=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,M={x:0,y:0};if(_){if(r){var X,Ce=R==="y"?mi:fi,pe=R==="y"?Ki:qi,ie=R==="y"?"height":"width",Re=_[R],Ie=Re+T[Ce],mt=Re-T[pe],ke=C?-U[ie]/2:0,ve=v===tl?P[ie]:U[ie],lt=v===tl?-U[ie]:-P[ie],pt=e.elements.arrow,jt=C&&pt?qy(pt):{width:0,height:0},$e=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:_v(),Qe=$e[Ce],We=$e[pe],Oe=Ad(0,P[ie],jt[ie]),bt=D?P[ie]/2-ke-Oe-Qe-de.mainAxis:ve-Oe-Qe-de.mainAxis,Gt=D?-P[ie]/2+ke+Oe+We+de.mainAxis:lt+Oe+We+de.mainAxis,to=e.elements.arrow&&_c(e.elements.arrow),I=to?R==="y"?to.clientTop||0:to.clientLeft||0:0,H=(X=z==null?void 0:z[R])!=null?X:0,w=Re+bt-H-I,Q=Re+Gt-H,se=Ad(C?ch(Ie,w):Ie,Re,C?ja(mt,Q):mt);_[R]=se,M[R]=se-Re}if(a){var ne,Te=R==="x"?mi:fi,Se=R==="x"?Ki:qi,L=_[N],E=N==="y"?"height":"width",Y=L+T[Te],oe=L-T[Se],Be=[mi,fi].indexOf(B)!==-1,ce=(ne=z==null?void 0:z[N])!=null?ne:0,q=Be?Y:L-P[E]-U[E]-ce+de.altAxis,te=Be?L+P[E]+U[E]-ce-de.altAxis:oe,Ee=C&&Be?p8(q,L,te):Ad(C?q:Y,L,C?te:oe);_[N]=Ee,M[N]=Ee-L}e.modifiersData[i]=M}}const $v={name:"preventOverflow",enabled:!0,phase:"main",fn:W8,requiresIfExists:["offset"]};function O8(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function M8(t){return t===Yi(t)||!Fn(t)?Xy(t):O8(t)}function H8(t){var e=t.getBoundingClientRect(),o=yu(e.width)/t.offsetWidth||1,i=yu(e.height)/t.offsetHeight||1;return o!==1||i!==1}function $8(t,e,o){o===void 0&&(o=!1);var i=Fn(e),n=Fn(e)&&H8(e),r=aa(e),s=Tu(t,n,o),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!o)&&((pr(e)!=="body"||eT(r))&&(a=M8(e)),Fn(e)?(u=Tu(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):r&&(u.x=Qy(r))),{x:s.left+a.scrollLeft-u.x,y:s.top+a.scrollTop-u.y,width:s.width,height:s.height}}function z8(t){var e=new Map,o=new Set,i=[];t.forEach(function(r){e.set(r.name,r)});function n(r){o.add(r.name);var s=[].concat(r.requires||[],r.requiresIfExists||[]);s.forEach(function(a){if(!o.has(a)){var u=e.get(a);u&&n(u)}}),i.push(r)}return t.forEach(function(r){o.has(r.name)||n(r)}),i}function U8(t){var e=z8(t);return vv.reduce(function(o,i){return o.concat(e.filter(function(n){return n.phase===i}))},[])}function j8(t){var e;return function(){return e||(e=new Promise(function(o){Promise.resolve().then(function(){e=void 0,o(t())})})),e}}function G8(t){var e=t.reduce(function(o,i){var n=o[i.name];return o[i.name]=n?Object.assign({},n,i,{options:Object.assign({},n.options,i.options),data:Object.assign({},n.data,i.data)}):i,o},{});return Object.keys(e).map(function(o){return e[o]})}var UD={placement:"bottom",modifiers:[],strategy:"absolute"};function jD(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function vp(t){t===void 0&&(t={});var e=t,o=e.defaultModifiers,i=o===void 0?[]:o,n=e.defaultOptions,r=n===void 0?UD:n;return function(a,u,c){c===void 0&&(c=r);var m={placement:"bottom",orderedModifiers:[],options:Object.assign({},UD,r),modifiersData:{},elements:{reference:a,popper:u},attributes:{},styles:{}},f=[],p=!1,C={state:m,setOptions:function(B){var v=typeof B=="function"?B(m.options):B;y(),m.options=Object.assign({},r,m.options,v),m.scrollParents={reference:ol(a)?Id(a):a.contextElement?Id(a.contextElement):[],popper:Id(u)};var D=U8(G8([].concat(i,m.options.modifiers)));return m.orderedModifiers=D.filter(function(R){return R.enabled}),F(),C.update()},forceUpdate:function(){if(!p){var B=m.elements,v=B.reference,D=B.popper;if(jD(v,D)){m.rects={reference:$8(v,_c(D),m.options.strategy==="fixed"),popper:qy(D)},m.reset=!1,m.placement=m.options.placement,m.orderedModifiers.forEach(function(de){return m.modifiersData[de.name]=Object.assign({},de.data)});for(var R=0;R<m.orderedModifiers.length;R++){if(m.reset===!0){m.reset=!1,R=-1;continue}var N=m.orderedModifiers[R],_=N.fn,P=N.options,U=P===void 0?{}:P,k=N.name;typeof _=="function"&&(m=_({state:m,options:U,name:k,instance:C})||m)}}}},update:j8(function(){return new Promise(function(T){C.forceUpdate(),T(m)})}),destroy:function(){y(),p=!0}};if(!jD(a,u))return C;C.setOptions(c).then(function(T){!p&&c.onFirstUpdate&&c.onFirstUpdate(T)});function F(){m.orderedModifiers.forEach(function(T){var B=T.name,v=T.options,D=v===void 0?{}:v,R=T.effect;if(typeof R=="function"){var N=R({state:m,name:B,instance:C,options:D}),_=function(){};f.push(N||_)}})}function y(){f.forEach(function(T){return T()}),f=[]}return C}}var K8=vp(),q8=[Zy,tT,Jy,Ky],Y8=vp({defaultModifiers:q8}),J8=[Zy,tT,Jy,Ky,Hv,Ov,$v,wv,Mv],oT=vp({defaultModifiers:J8});const zv=Object.freeze(Object.defineProperty({__proto__:null,afterMain:xv,afterRead:Vv,afterWrite:Ev,applyStyles:Ky,arrow:wv,auto:Lp,basePlacements:ku,beforeMain:Rv,beforeRead:Sv,beforeWrite:bv,bottom:Ki,clippingParents:yv,computeStyles:Jy,createPopper:oT,createPopperBase:K8,createPopperLite:Y8,detectOverflow:Bu,end:Fu,eventListeners:Zy,flip:Ov,hide:Mv,left:fi,main:Dv,modifierPhases:vv,offset:Hv,placements:jy,popper:zl,popperGenerator:vp,popperOffsets:tT,preventOverflow:$v,read:Bv,reference:Tv,right:qi,start:tl,top:mi,variationPlacements:FF,viewport:Uy,write:Lv},Symbol.toStringTag,{value:"Module"}));/*!
|
|
44
|
-
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
45
|
-
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
46
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
47
|
-
*/const xs=new Map,wg={set(t,e,o){xs.has(t)||xs.set(t,new Map);const i=xs.get(t);if(!i.has(e)&&i.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`);return}i.set(e,o)},get(t,e){return xs.has(t)&&xs.get(t).get(e)||null},remove(t,e){if(!xs.has(t))return;const o=xs.get(t);o.delete(e),o.size===0&&xs.delete(t)}},Z8=1e6,X8=1e3,SF="transitionend",Uv=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,o)=>`#${CSS.escape(o)}`)),t),Q8=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),e$=t=>{do t+=Math.floor(Math.random()*Z8);while(document.getElementById(t));return t},t$=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:o}=window.getComputedStyle(t);const i=Number.parseFloat(e),n=Number.parseFloat(o);return!i&&!n?0:(e=e.split(",")[0],o=o.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(o))*X8)},jv=t=>{t.dispatchEvent(new Event(SF))},Qr=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),Ys=t=>Qr(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(Uv(t)):null,Wu=t=>{if(!Qr(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",o=t.closest("details:not([open])");if(!o)return e;if(o!==t){const i=t.closest("summary");if(i&&i.parentNode!==o||i===null)return!1}return e},Js=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",Gv=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?Gv(t.parentNode):null},mh=()=>{},Ac=t=>{t.offsetHeight},Kv=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,kg=[],o$=t=>{document.readyState==="loading"?(kg.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of kg)e()}),kg.push(t)):t()},Bn=()=>document.documentElement.dir==="rtl",Dn=t=>{o$(()=>{const e=Kv();if(e){const o=t.NAME,i=e.fn[o];e.fn[o]=t.jQueryInterface,e.fn[o].Constructor=t,e.fn[o].noConflict=()=>(e.fn[o]=i,t.jQueryInterface)}})},xi=(t,e=[],o=t)=>typeof t=="function"?t.call(...e):o,qv=(t,e,o=!0)=>{if(!o){xi(t);return}const n=t$(e)+5;let r=!1;const s=({target:a})=>{a===e&&(r=!0,e.removeEventListener(SF,s),xi(t))};e.addEventListener(SF,s),setTimeout(()=>{r||jv(e)},n)},iT=(t,e,o,i)=>{const n=t.length;let r=t.indexOf(e);return r===-1?!o&&i?t[n-1]:t[0]:(r+=o?1:-1,i&&(r=(r+n)%n),t[Math.max(0,Math.min(r,n-1))])},i$=/[^.]*(?=\..*)\.|.*/,n$=/\..*/,r$=/::\d+$/,Wg={};let GD=1;const Yv={mouseenter:"mouseover",mouseleave:"mouseout"},s$=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Jv(t,e){return e&&`${e}::${GD++}`||t.uidEvent||GD++}function Zv(t){const e=Jv(t);return t.uidEvent=e,Wg[e]=Wg[e]||{},Wg[e]}function a$(t,e){return function o(i){return nT(i,{delegateTarget:t}),o.oneOff&&he.off(t,i.type,e),e.apply(t,[i])}}function l$(t,e,o){return function i(n){const r=t.querySelectorAll(e);for(let{target:s}=n;s&&s!==this;s=s.parentNode)for(const a of r)if(a===s)return nT(n,{delegateTarget:s}),i.oneOff&&he.off(t,n.type,e,o),o.apply(s,[n])}}function Xv(t,e,o=null){return Object.values(t).find(i=>i.callable===e&&i.delegationSelector===o)}function Qv(t,e,o){const i=typeof e=="string",n=i?o:e||o;let r=eN(t);return s$.has(r)||(r=t),[i,n,r]}function KD(t,e,o,i,n){if(typeof e!="string"||!t)return;let[r,s,a]=Qv(e,o,i);e in Yv&&(s=(F=>function(y){if(!y.relatedTarget||y.relatedTarget!==y.delegateTarget&&!y.delegateTarget.contains(y.relatedTarget))return F.call(this,y)})(s));const u=Zv(t),c=u[a]||(u[a]={}),m=Xv(c,s,r?o:null);if(m){m.oneOff=m.oneOff&&n;return}const f=Jv(s,e.replace(i$,"")),p=r?l$(t,o,s):a$(t,s);p.delegationSelector=r?o:null,p.callable=s,p.oneOff=n,p.uidEvent=f,c[f]=p,t.addEventListener(a,p,r)}function BF(t,e,o,i,n){const r=Xv(e[o],i,n);r&&(t.removeEventListener(o,r,!!n),delete e[o][r.uidEvent])}function u$(t,e,o,i){const n=e[o]||{};for(const[r,s]of Object.entries(n))r.includes(i)&&BF(t,e,o,s.callable,s.delegationSelector)}function eN(t){return t=t.replace(n$,""),Yv[t]||t}const he={on(t,e,o,i){KD(t,e,o,i,!1)},one(t,e,o,i){KD(t,e,o,i,!0)},off(t,e,o,i){if(typeof e!="string"||!t)return;const[n,r,s]=Qv(e,o,i),a=s!==e,u=Zv(t),c=u[s]||{},m=e.startsWith(".");if(typeof r<"u"){if(!Object.keys(c).length)return;BF(t,u,s,r,n?o:null);return}if(m)for(const f of Object.keys(u))u$(t,u,f,e.slice(1));for(const[f,p]of Object.entries(c)){const C=f.replace(r$,"");(!a||e.includes(C))&&BF(t,u,s,p.callable,p.delegationSelector)}},trigger(t,e,o){if(typeof e!="string"||!t)return null;const i=Kv(),n=eN(e),r=e!==n;let s=null,a=!0,u=!0,c=!1;r&&i&&(s=i.Event(e,o),i(t).trigger(s),a=!s.isPropagationStopped(),u=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const m=nT(new Event(e,{bubbles:a,cancelable:!0}),o);return c&&m.preventDefault(),u&&t.dispatchEvent(m),m.defaultPrevented&&s&&s.preventDefault(),m}};function nT(t,e={}){for(const[o,i]of Object.entries(e))try{t[o]=i}catch{Object.defineProperty(t,o,{configurable:!0,get(){return i}})}return t}function qD(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function Og(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const es={setDataAttribute(t,e,o){t.setAttribute(`data-bs-${Og(e)}`,o)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Og(e)}`)},getDataAttributes(t){if(!t)return{};const e={},o=Object.keys(t.dataset).filter(i=>i.startsWith("bs")&&!i.startsWith("bsConfig"));for(const i of o){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),e[n]=qD(t.dataset[i])}return e},getDataAttribute(t,e){return qD(t.getAttribute(`data-bs-${Og(e)}`))}};class Ic{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,o){const i=Qr(o)?es.getDataAttribute(o,"config"):{};return{...this.constructor.Default,...typeof i=="object"?i:{},...Qr(o)?es.getDataAttributes(o):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,o=this.constructor.DefaultType){for(const[i,n]of Object.entries(o)){const r=e[i],s=Qr(r)?"element":Q8(r);if(!new RegExp(n).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${n}".`)}}}const d$="5.3.8";class qn extends Ic{constructor(e,o){super(),e=Ys(e),e&&(this._element=e,this._config=this._getConfig(o),wg.set(this._element,this.constructor.DATA_KEY,this))}dispose(){wg.remove(this._element,this.constructor.DATA_KEY),he.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,o,i=!0){qv(e,o,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return wg.get(Ys(e),this.DATA_KEY)}static getOrCreateInstance(e,o={}){return this.getInstance(e)||new this(e,typeof o=="object"?o:null)}static get VERSION(){return d$}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Mg=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let o=t.getAttribute("href");if(!o||!o.includes("#")&&!o.startsWith("."))return null;o.includes("#")&&!o.startsWith("#")&&(o=`#${o.split("#")[1]}`),e=o&&o!=="#"?o.trim():null}return e?e.split(",").map(o=>Uv(o)).join(","):null},Ke={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(o=>o.matches(e))},parents(t,e){const o=[];let i=t.parentNode.closest(e);for(;i;)o.push(i),i=i.parentNode.closest(e);return o},prev(t,e){let o=t.previousElementSibling;for(;o;){if(o.matches(e))return[o];o=o.previousElementSibling}return[]},next(t,e){let o=t.nextElementSibling;for(;o;){if(o.matches(e))return[o];o=o.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(o=>`${o}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(o=>!Js(o)&&Wu(o))},getSelectorFromElement(t){const e=Mg(t);return e&&Ke.findOne(e)?e:null},getElementFromSelector(t){const e=Mg(t);return e?Ke.findOne(e):null},getMultipleElementsFromSelector(t){const e=Mg(t);return e?Ke.find(e):[]}},Np=(t,e="hide")=>{const o=`click.dismiss${t.EVENT_KEY}`,i=t.NAME;he.on(document,o,`[data-bs-dismiss="${i}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Js(this))return;const r=Ke.getElementFromSelector(this)||this.closest(`.${i}`);t.getOrCreateInstance(r)[e]()})},c$="alert",m$="bs.alert",tN=`.${m$}`,f$=`close${tN}`,h$=`closed${tN}`,p$="fade",C$="show";class Pp extends qn{static get NAME(){return c$}close(){if(he.trigger(this._element,f$).defaultPrevented)return;this._element.classList.remove(C$);const o=this._element.classList.contains(p$);this._queueCallback(()=>this._destroyElement(),this._element,o)}_destroyElement(){this._element.remove(),he.trigger(this._element,h$),this.dispose()}static jQueryInterface(e){return this.each(function(){const o=Pp.getOrCreateInstance(this);if(typeof e=="string"){if(o[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);o[e](this)}})}}Np(Pp,"close");Dn(Pp);const g$="button",F$="bs.button",y$=`.${F$}`,T$=".data-api",S$="active",YD='[data-bs-toggle="button"]',B$=`click${y$}${T$}`;class _p extends qn{static get NAME(){return g$}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(S$))}static jQueryInterface(e){return this.each(function(){const o=_p.getOrCreateInstance(this);e==="toggle"&&o[e]()})}}he.on(document,B$,YD,t=>{t.preventDefault();const e=t.target.closest(YD);_p.getOrCreateInstance(e).toggle()});Dn(_p);const V$="swipe",Ou=".bs.swipe",R$=`touchstart${Ou}`,D$=`touchmove${Ou}`,x$=`touchend${Ou}`,b$=`pointerdown${Ou}`,L$=`pointerup${Ou}`,E$="touch",v$="pen",N$="pointer-event",P$=40,_$={endCallback:null,leftCallback:null,rightCallback:null},A$={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class fh extends Ic{constructor(e,o){super(),this._element=e,!(!e||!fh.isSupported())&&(this._config=this._getConfig(o),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return _$}static get DefaultType(){return A$}static get NAME(){return V$}dispose(){he.off(this._element,Ou)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),xi(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=P$)return;const o=e/this._deltaX;this._deltaX=0,o&&xi(o>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(he.on(this._element,b$,e=>this._start(e)),he.on(this._element,L$,e=>this._end(e)),this._element.classList.add(N$)):(he.on(this._element,R$,e=>this._start(e)),he.on(this._element,D$,e=>this._move(e)),he.on(this._element,x$,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===v$||e.pointerType===E$)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const I$="carousel",w$="bs.carousel",la=`.${w$}`,oN=".data-api",k$="ArrowLeft",W$="ArrowRight",O$=500,dd="next",kl="prev",Ul="left",Ef="right",M$=`slide${la}`,Hg=`slid${la}`,H$=`keydown${la}`,$$=`mouseenter${la}`,z$=`mouseleave${la}`,U$=`dragstart${la}`,j$=`load${la}${oN}`,G$=`click${la}${oN}`,iN="carousel",of="active",K$="slide",q$="carousel-item-end",Y$="carousel-item-start",J$="carousel-item-next",Z$="carousel-item-prev",nN=".active",rN=".carousel-item",X$=nN+rN,Q$=".carousel-item img",ez=".carousel-indicators",tz="[data-bs-slide], [data-bs-slide-to]",oz='[data-bs-ride="carousel"]',iz={[k$]:Ef,[W$]:Ul},nz={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},rz={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class wc extends qn{constructor(e,o){super(e,o),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ke.findOne(ez,this._element),this._addEventListeners(),this._config.ride===iN&&this.cycle()}static get Default(){return nz}static get DefaultType(){return rz}static get NAME(){return I$}next(){this._slide(dd)}nextWhenVisible(){!document.hidden&&Wu(this._element)&&this.next()}prev(){this._slide(kl)}pause(){this._isSliding&&jv(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){he.one(this._element,Hg,()=>this.cycle());return}this.cycle()}}to(e){const o=this._getItems();if(e>o.length-1||e<0)return;if(this._isSliding){he.one(this._element,Hg,()=>this.to(e));return}const i=this._getItemIndex(this._getActive());if(i===e)return;const n=e>i?dd:kl;this._slide(n,o[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&he.on(this._element,H$,e=>this._keydown(e)),this._config.pause==="hover"&&(he.on(this._element,$$,()=>this.pause()),he.on(this._element,z$,()=>this._maybeEnableCycle())),this._config.touch&&fh.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of Ke.find(Q$,this._element))he.on(i,U$,n=>n.preventDefault());const o={leftCallback:()=>this._slide(this._directionToOrder(Ul)),rightCallback:()=>this._slide(this._directionToOrder(Ef)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),O$+this._config.interval))}};this._swipeHelper=new fh(this._element,o)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const o=iz[e.key];o&&(e.preventDefault(),this._slide(this._directionToOrder(o)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const o=Ke.findOne(nN,this._indicatorsElement);o.classList.remove(of),o.removeAttribute("aria-current");const i=Ke.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);i&&(i.classList.add(of),i.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const o=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=o||this._config.defaultInterval}_slide(e,o=null){if(this._isSliding)return;const i=this._getActive(),n=e===dd,r=o||iT(this._getItems(),i,n,this._config.wrap);if(r===i)return;const s=this._getItemIndex(r),a=C=>he.trigger(this._element,C,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:s});if(a(M$).defaultPrevented||!i||!r)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=r;const m=n?Y$:q$,f=n?J$:Z$;r.classList.add(f),Ac(r),i.classList.add(m),r.classList.add(m);const p=()=>{r.classList.remove(m,f),r.classList.add(of),i.classList.remove(of,f,m),this._isSliding=!1,a(Hg)};this._queueCallback(p,i,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(K$)}_getActive(){return Ke.findOne(X$,this._element)}_getItems(){return Ke.find(rN,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Bn()?e===Ul?kl:dd:e===Ul?dd:kl}_orderToDirection(e){return Bn()?e===kl?Ul:Ef:e===kl?Ef:Ul}static jQueryInterface(e){return this.each(function(){const o=wc.getOrCreateInstance(this,e);if(typeof e=="number"){o.to(e);return}if(typeof e=="string"){if(o[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);o[e]()}})}}he.on(document,G$,tz,function(t){const e=Ke.getElementFromSelector(this);if(!e||!e.classList.contains(iN))return;t.preventDefault();const o=wc.getOrCreateInstance(e),i=this.getAttribute("data-bs-slide-to");if(i){o.to(i),o._maybeEnableCycle();return}if(es.getDataAttribute(this,"slide")==="next"){o.next(),o._maybeEnableCycle();return}o.prev(),o._maybeEnableCycle()});he.on(window,j$,()=>{const t=Ke.find(oz);for(const e of t)wc.getOrCreateInstance(e)});Dn(wc);const sz="collapse",az="bs.collapse",kc=`.${az}`,lz=".data-api",uz=`show${kc}`,dz=`shown${kc}`,cz=`hide${kc}`,mz=`hidden${kc}`,fz=`click${kc}${lz}`,$g="show",Jl="collapse",nf="collapsing",hz="collapsed",pz=`:scope .${Jl} .${Jl}`,Cz="collapse-horizontal",gz="width",Fz="height",yz=".collapse.show, .collapse.collapsing",VF='[data-bs-toggle="collapse"]',Tz={parent:null,toggle:!0},Sz={parent:"(null|element)",toggle:"boolean"};class uc extends qn{constructor(e,o){super(e,o),this._isTransitioning=!1,this._triggerArray=[];const i=Ke.find(VF);for(const n of i){const r=Ke.getSelectorFromElement(n),s=Ke.find(r).filter(a=>a===this._element);r!==null&&s.length&&this._triggerArray.push(n)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Tz}static get DefaultType(){return Sz}static get NAME(){return sz}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(yz).filter(a=>a!==this._element).map(a=>uc.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||he.trigger(this._element,uz).defaultPrevented)return;for(const a of e)a.hide();const i=this._getDimension();this._element.classList.remove(Jl),this._element.classList.add(nf),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(nf),this._element.classList.add(Jl,$g),this._element.style[i]="",he.trigger(this._element,dz)},s=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(n,this._element,!0),this._element.style[i]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||he.trigger(this._element,cz).defaultPrevented)return;const o=this._getDimension();this._element.style[o]=`${this._element.getBoundingClientRect()[o]}px`,Ac(this._element),this._element.classList.add(nf),this._element.classList.remove(Jl,$g);for(const n of this._triggerArray){const r=Ke.getElementFromSelector(n);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([n],!1)}this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(nf),this._element.classList.add(Jl),he.trigger(this._element,mz)};this._element.style[o]="",this._queueCallback(i,this._element,!0)}_isShown(e=this._element){return e.classList.contains($g)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=Ys(e.parent),e}_getDimension(){return this._element.classList.contains(Cz)?gz:Fz}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(VF);for(const o of e){const i=Ke.getElementFromSelector(o);i&&this._addAriaAndCollapsedClass([o],this._isShown(i))}}_getFirstLevelChildren(e){const o=Ke.find(pz,this._config.parent);return Ke.find(e,this._config.parent).filter(i=>!o.includes(i))}_addAriaAndCollapsedClass(e,o){if(e.length)for(const i of e)i.classList.toggle(hz,!o),i.setAttribute("aria-expanded",o)}static jQueryInterface(e){const o={};return typeof e=="string"&&/show|hide/.test(e)&&(o.toggle=!1),this.each(function(){const i=uc.getOrCreateInstance(this,o);if(typeof e=="string"){if(typeof i[e]>"u")throw new TypeError(`No method named "${e}"`);i[e]()}})}}he.on(document,fz,VF,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(const e of Ke.getMultipleElementsFromSelector(this))uc.getOrCreateInstance(e,{toggle:!1}).toggle()});Dn(uc);const JD="dropdown",Bz="bs.dropdown",cl=`.${Bz}`,rT=".data-api",Vz="Escape",ZD="Tab",Rz="ArrowUp",XD="ArrowDown",Dz=2,xz=`hide${cl}`,bz=`hidden${cl}`,Lz=`show${cl}`,Ez=`shown${cl}`,sN=`click${cl}${rT}`,aN=`keydown${cl}${rT}`,vz=`keyup${cl}${rT}`,jl="show",Nz="dropup",Pz="dropend",_z="dropstart",Az="dropup-center",Iz="dropdown-center",wa='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',wz=`${wa}.${jl}`,vf=".dropdown-menu",kz=".navbar",Wz=".navbar-nav",Oz=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Mz=Bn()?"top-end":"top-start",Hz=Bn()?"top-start":"top-end",$z=Bn()?"bottom-end":"bottom-start",zz=Bn()?"bottom-start":"bottom-end",Uz=Bn()?"left-start":"right-start",jz=Bn()?"right-start":"left-start",Gz="top",Kz="bottom",qz={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Yz={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class mr extends qn{constructor(e,o){super(e,o),this._popper=null,this._parent=this._element.parentNode,this._menu=Ke.next(this._element,vf)[0]||Ke.prev(this._element,vf)[0]||Ke.findOne(vf,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return qz}static get DefaultType(){return Yz}static get NAME(){return JD}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Js(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!he.trigger(this._element,Lz,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Wz))for(const i of[].concat(...document.body.children))he.on(i,"mouseover",mh);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(jl),this._element.classList.add(jl),he.trigger(this._element,Ez,e)}}hide(){if(Js(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!he.trigger(this._element,xz,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))he.off(i,"mouseover",mh);this._popper&&this._popper.destroy(),this._menu.classList.remove(jl),this._element.classList.remove(jl),this._element.setAttribute("aria-expanded","false"),es.removeDataAttribute(this._menu,"popper"),he.trigger(this._element,bz,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Qr(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${JD.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof zv>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;this._config.reference==="parent"?e=this._parent:Qr(this._config.reference)?e=Ys(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const o=this._getPopperConfig();this._popper=oT(e,this._menu,o)}_isShown(){return this._menu.classList.contains(jl)}_getPlacement(){const e=this._parent;if(e.classList.contains(Pz))return Uz;if(e.classList.contains(_z))return jz;if(e.classList.contains(Az))return Gz;if(e.classList.contains(Iz))return Kz;const o=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(Nz)?o?Hz:Mz:o?zz:$z}_detectNavbar(){return this._element.closest(kz)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(o=>Number.parseInt(o,10)):typeof e=="function"?o=>e(o,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(es.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...xi(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:o}){const i=Ke.find(Oz,this._menu).filter(n=>Wu(n));i.length&&iT(i,o,e===XD,!i.includes(o)).focus()}static jQueryInterface(e){return this.each(function(){const o=mr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e]()}})}static clearMenus(e){if(e.button===Dz||e.type==="keyup"&&e.key!==ZD)return;const o=Ke.find(wz);for(const i of o){const n=mr.getInstance(i);if(!n||n._config.autoClose===!1)continue;const r=e.composedPath(),s=r.includes(n._menu);if(r.includes(n._element)||n._config.autoClose==="inside"&&!s||n._config.autoClose==="outside"&&s||n._menu.contains(e.target)&&(e.type==="keyup"&&e.key===ZD||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:n._element};e.type==="click"&&(a.clickEvent=e),n._completeHide(a)}}static dataApiKeydownHandler(e){const o=/input|textarea/i.test(e.target.tagName),i=e.key===Vz,n=[Rz,XD].includes(e.key);if(!n&&!i||o&&!i)return;e.preventDefault();const r=this.matches(wa)?this:Ke.prev(this,wa)[0]||Ke.next(this,wa)[0]||Ke.findOne(wa,e.delegateTarget.parentNode),s=mr.getOrCreateInstance(r);if(n){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),r.focus())}}he.on(document,aN,wa,mr.dataApiKeydownHandler);he.on(document,aN,vf,mr.dataApiKeydownHandler);he.on(document,sN,mr.clearMenus);he.on(document,vz,mr.clearMenus);he.on(document,sN,wa,function(t){t.preventDefault(),mr.getOrCreateInstance(this).toggle()});Dn(mr);const lN="backdrop",Jz="fade",QD="show",ex=`mousedown.bs.${lN}`,Zz={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Xz={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class uN extends Ic{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Zz}static get DefaultType(){return Xz}static get NAME(){return lN}show(e){if(!this._config.isVisible){xi(e);return}this._append();const o=this._getElement();this._config.isAnimated&&Ac(o),o.classList.add(QD),this._emulateAnimation(()=>{xi(e)})}hide(e){if(!this._config.isVisible){xi(e);return}this._getElement().classList.remove(QD),this._emulateAnimation(()=>{this.dispose(),xi(e)})}dispose(){this._isAppended&&(he.off(this._element,ex),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(Jz),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Ys(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),he.on(e,ex,()=>{xi(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){qv(e,this._getElement(),this._config.isAnimated)}}const Qz="focustrap",eU="bs.focustrap",hh=`.${eU}`,tU=`focusin${hh}`,oU=`keydown.tab${hh}`,iU="Tab",nU="forward",tx="backward",rU={autofocus:!0,trapElement:null},sU={autofocus:"boolean",trapElement:"element"};class dN extends Ic{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return rU}static get DefaultType(){return sU}static get NAME(){return Qz}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),he.off(document,hh),he.on(document,tU,e=>this._handleFocusin(e)),he.on(document,oU,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,he.off(document,hh))}_handleFocusin(e){const{trapElement:o}=this._config;if(e.target===document||e.target===o||o.contains(e.target))return;const i=Ke.focusableChildren(o);i.length===0?o.focus():this._lastTabNavDirection===tx?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){e.key===iU&&(this._lastTabNavDirection=e.shiftKey?tx:nU)}}const ox=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ix=".sticky-top",rf="padding-right",nx="margin-right";class RF{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,rf,o=>o+e),this._setElementAttributes(ox,rf,o=>o+e),this._setElementAttributes(ix,nx,o=>o-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,rf),this._resetElementAttributes(ox,rf),this._resetElementAttributes(ix,nx)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,o,i){const n=this.getWidth(),r=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+n)return;this._saveInitialAttribute(s,o);const a=window.getComputedStyle(s).getPropertyValue(o);s.style.setProperty(o,`${i(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,r)}_saveInitialAttribute(e,o){const i=e.style.getPropertyValue(o);i&&es.setDataAttribute(e,o,i)}_resetElementAttributes(e,o){const i=n=>{const r=es.getDataAttribute(n,o);if(r===null){n.style.removeProperty(o);return}es.removeDataAttribute(n,o),n.style.setProperty(o,r)};this._applyManipulationCallback(e,i)}_applyManipulationCallback(e,o){if(Qr(e)){o(e);return}for(const i of Ke.find(e,this._element))o(i)}}const aU="modal",lU="bs.modal",Vn=`.${lU}`,uU=".data-api",dU="Escape",cU=`hide${Vn}`,mU=`hidePrevented${Vn}`,cN=`hidden${Vn}`,mN=`show${Vn}`,fU=`shown${Vn}`,hU=`resize${Vn}`,pU=`click.dismiss${Vn}`,CU=`mousedown.dismiss${Vn}`,gU=`keydown.dismiss${Vn}`,FU=`click${Vn}${uU}`,rx="modal-open",yU="fade",sx="show",zg="modal-static",TU=".modal.show",SU=".modal-dialog",BU=".modal-body",VU='[data-bs-toggle="modal"]',RU={backdrop:!0,focus:!0,keyboard:!0},DU={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Vu extends qn{constructor(e,o){super(e,o),this._dialog=Ke.findOne(SU,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new RF,this._addEventListeners()}static get Default(){return RU}static get DefaultType(){return DU}static get NAME(){return aU}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||he.trigger(this._element,mN,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(rx),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||he.trigger(this._element,cU).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(sx),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){he.off(window,Vn),he.off(this._dialog,Vn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new uN({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new dN({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const o=Ke.findOne(BU,this._dialog);o&&(o.scrollTop=0),Ac(this._element),this._element.classList.add(sx);const i=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,he.trigger(this._element,fU,{relatedTarget:e})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){he.on(this._element,gU,e=>{if(e.key===dU){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),he.on(window,hU,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),he.on(this._element,CU,e=>{he.one(this._element,pU,o=>{if(!(this._element!==e.target||this._element!==o.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(rx),this._resetAdjustments(),this._scrollBar.reset(),he.trigger(this._element,cN)})}_isAnimated(){return this._element.classList.contains(yU)}_triggerBackdropTransition(){if(he.trigger(this._element,mU).defaultPrevented)return;const o=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;i==="hidden"||this._element.classList.contains(zg)||(o||(this._element.style.overflowY="hidden"),this._element.classList.add(zg),this._queueCallback(()=>{this._element.classList.remove(zg),this._queueCallback(()=>{this._element.style.overflowY=i},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,o=this._scrollBar.getWidth(),i=o>0;if(i&&!e){const n=Bn()?"paddingLeft":"paddingRight";this._element.style[n]=`${o}px`}if(!i&&e){const n=Bn()?"paddingRight":"paddingLeft";this._element.style[n]=`${o}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,o){return this.each(function(){const i=Vu.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof i[e]>"u")throw new TypeError(`No method named "${e}"`);i[e](o)}})}}he.on(document,FU,VU,function(t){const e=Ke.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),he.one(e,mN,n=>{n.defaultPrevented||he.one(e,cN,()=>{Wu(this)&&this.focus()})});const o=Ke.findOne(TU);o&&Vu.getInstance(o).hide(),Vu.getOrCreateInstance(e).toggle(this)});Np(Vu);Dn(Vu);const xU="offcanvas",bU="bs.offcanvas",ms=`.${bU}`,fN=".data-api",LU=`load${ms}${fN}`,EU="Escape",ax="show",lx="showing",ux="hiding",vU="offcanvas-backdrop",hN=".offcanvas.show",NU=`show${ms}`,PU=`shown${ms}`,_U=`hide${ms}`,dx=`hidePrevented${ms}`,pN=`hidden${ms}`,AU=`resize${ms}`,IU=`click${ms}${fN}`,wU=`keydown.dismiss${ms}`,kU='[data-bs-toggle="offcanvas"]',WU={backdrop:!0,keyboard:!0,scroll:!1},OU={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Zs extends qn{constructor(e,o){super(e,o),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return WU}static get DefaultType(){return OU}static get NAME(){return xU}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||he.trigger(this._element,NU,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new RF().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(lx);const i=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(ax),this._element.classList.remove(lx),he.trigger(this._element,PU,{relatedTarget:e})};this._queueCallback(i,this._element,!0)}hide(){if(!this._isShown||he.trigger(this._element,_U).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(ux),this._backdrop.hide();const o=()=>{this._element.classList.remove(ax,ux),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new RF().reset(),he.trigger(this._element,pN)};this._queueCallback(o,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){he.trigger(this._element,dx);return}this.hide()},o=!!this._config.backdrop;return new uN({className:vU,isVisible:o,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:o?e:null})}_initializeFocusTrap(){return new dN({trapElement:this._element})}_addEventListeners(){he.on(this._element,wU,e=>{if(e.key===EU){if(this._config.keyboard){this.hide();return}he.trigger(this._element,dx)}})}static jQueryInterface(e){return this.each(function(){const o=Zs.getOrCreateInstance(this,e);if(typeof e=="string"){if(o[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);o[e](this)}})}}he.on(document,IU,kU,function(t){const e=Ke.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Js(this))return;he.one(e,pN,()=>{Wu(this)&&this.focus()});const o=Ke.findOne(hN);o&&o!==e&&Zs.getInstance(o).hide(),Zs.getOrCreateInstance(e).toggle(this)});he.on(window,LU,()=>{for(const t of Ke.find(hN))Zs.getOrCreateInstance(t).show()});he.on(window,AU,()=>{for(const t of Ke.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&Zs.getOrCreateInstance(t).hide()});Np(Zs);Dn(Zs);const MU=/^aria-[\w-]*$/i,CN={"*":["class","dir","id","lang","role",MU],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},HU=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),$U=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,zU=(t,e)=>{const o=t.nodeName.toLowerCase();return e.includes(o)?HU.has(o)?!!$U.test(t.nodeValue):!0:e.filter(i=>i instanceof RegExp).some(i=>i.test(o))};function UU(t,e,o){if(!t.length)return t;if(o&&typeof o=="function")return o(t);const n=new window.DOMParser().parseFromString(t,"text/html"),r=[].concat(...n.body.querySelectorAll("*"));for(const s of r){const a=s.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){s.remove();continue}const u=[].concat(...s.attributes),c=[].concat(e["*"]||[],e[a]||[]);for(const m of u)zU(m,c)||s.removeAttribute(m.nodeName)}return n.body.innerHTML}const jU="TemplateFactory",GU={allowList:CN,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},KU={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},qU={entry:"(string|element|function|null)",selector:"(string|element)"};class YU extends Ic{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return GU}static get DefaultType(){return KU}static get NAME(){return jU}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[n,r]of Object.entries(this._config.content))this._setContent(e,r,n);const o=e.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&o.classList.add(...i.split(" ")),o}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[o,i]of Object.entries(e))super._typeCheckConfig({selector:o,entry:i},qU)}_setContent(e,o,i){const n=Ke.findOne(i,e);if(n){if(o=this._resolvePossibleFunction(o),!o){n.remove();return}if(Qr(o)){this._putElementInTemplate(Ys(o),n);return}if(this._config.html){n.innerHTML=this._maybeSanitize(o);return}n.textContent=o}}_maybeSanitize(e){return this._config.sanitize?UU(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return xi(e,[void 0,this])}_putElementInTemplate(e,o){if(this._config.html){o.innerHTML="",o.append(e);return}o.textContent=e.textContent}}const JU="tooltip",ZU=new Set(["sanitize","allowList","sanitizeFn"]),Ug="fade",XU="modal",sf="show",QU=".tooltip-inner",cx=`.${XU}`,mx="hide.bs.modal",cd="hover",jg="focus",Gg="click",ej="manual",tj="hide",oj="hidden",ij="show",nj="shown",rj="inserted",sj="click",aj="focusin",lj="focusout",uj="mouseenter",dj="mouseleave",cj={AUTO:"auto",TOP:"top",RIGHT:Bn()?"left":"right",BOTTOM:"bottom",LEFT:Bn()?"right":"left"},mj={allowList:CN,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},fj={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ar extends qn{constructor(e,o){if(typeof zv>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(e,o),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return mj}static get DefaultType(){return fj}static get NAME(){return JU}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),he.off(this._element.closest(cx),mx,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=he.trigger(this._element,this.constructor.eventName(ij)),i=(Gv(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!i)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),he.trigger(this._element,this.constructor.eventName(rj))),this._popper=this._createPopper(n),n.classList.add(sf),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))he.on(a,"mouseover",mh);const s=()=>{he.trigger(this._element,this.constructor.eventName(nj)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||he.trigger(this._element,this.constructor.eventName(tj)).defaultPrevented)return;if(this._getTipElement().classList.remove(sf),"ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))he.off(n,"mouseover",mh);this._activeTrigger[Gg]=!1,this._activeTrigger[jg]=!1,this._activeTrigger[cd]=!1,this._isHovered=null;const i=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),he.trigger(this._element,this.constructor.eventName(oj)))};this._queueCallback(i,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const o=this._getTemplateFactory(e).toHtml();if(!o)return null;o.classList.remove(Ug,sf),o.classList.add(`bs-${this.constructor.NAME}-auto`);const i=e$(this.constructor.NAME).toString();return o.setAttribute("id",i),this._isAnimated()&&o.classList.add(Ug),o}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new YU({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[QU]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ug)}_isShown(){return this.tip&&this.tip.classList.contains(sf)}_createPopper(e){const o=xi(this._config.placement,[this,e,this._element]),i=cj[o.toUpperCase()];return oT(this._element,e,this._getPopperConfig(i))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(o=>Number.parseInt(o,10)):typeof e=="function"?o=>e(o,this._element):e}_resolvePossibleFunction(e){return xi(e,[this._element,this._element])}_getPopperConfig(e){const o={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:i=>{this._getTipElement().setAttribute("data-popper-placement",i.state.placement)}}]};return{...o,...xi(this._config.popperConfig,[void 0,o])}}_setListeners(){const e=this._config.trigger.split(" ");for(const o of e)if(o==="click")he.on(this._element,this.constructor.eventName(sj),this._config.selector,i=>{const n=this._initializeOnDelegatedTarget(i);n._activeTrigger[Gg]=!(n._isShown()&&n._activeTrigger[Gg]),n.toggle()});else if(o!==ej){const i=o===cd?this.constructor.eventName(uj):this.constructor.eventName(aj),n=o===cd?this.constructor.eventName(dj):this.constructor.eventName(lj);he.on(this._element,i,this._config.selector,r=>{const s=this._initializeOnDelegatedTarget(r);s._activeTrigger[r.type==="focusin"?jg:cd]=!0,s._enter()}),he.on(this._element,n,this._config.selector,r=>{const s=this._initializeOnDelegatedTarget(r);s._activeTrigger[r.type==="focusout"?jg:cd]=s._element.contains(r.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},he.on(this._element.closest(cx),mx,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,o){clearTimeout(this._timeout),this._timeout=setTimeout(e,o)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const o=es.getDataAttributes(this._element);for(const i of Object.keys(o))ZU.has(i)&&delete o[i];return e={...o,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:Ys(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[o,i]of Object.entries(this._config))this.constructor.Default[o]!==i&&(e[o]=i);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const o=ar.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e]()}})}}Dn(ar);const hj="popover",pj=".popover-header",Cj=".popover-body",gj={...ar.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Fj={...ar.DefaultType,content:"(null|string|element|function)"};class sT extends ar{static get Default(){return gj}static get DefaultType(){return Fj}static get NAME(){return hj}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[pj]:this._getTitle(),[Cj]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const o=sT.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e]()}})}}Dn(sT);const yj="scrollspy",Tj="bs.scrollspy",aT=`.${Tj}`,Sj=".data-api",Bj=`activate${aT}`,fx=`click${aT}`,Vj=`load${aT}${Sj}`,Rj="dropdown-item",Wl="active",Dj='[data-bs-spy="scroll"]',Kg="[href]",xj=".nav, .list-group",hx=".nav-link",bj=".nav-item",Lj=".list-group-item",Ej=`${hx}, ${bj} > ${hx}, ${Lj}`,vj=".dropdown",Nj=".dropdown-toggle",Pj={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},_j={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ap extends qn{constructor(e,o){super(e,o),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Pj}static get DefaultType(){return _j}static get NAME(){return yj}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Ys(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(o=>Number.parseFloat(o))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(he.off(this._config.target,fx),he.on(this._config.target,fx,Kg,e=>{const o=this._observableSections.get(e.target.hash);if(o){e.preventDefault();const i=this._rootElement||window,n=o.offsetTop-this._element.offsetTop;if(i.scrollTo){i.scrollTo({top:n,behavior:"smooth"});return}i.scrollTop=n}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(o=>this._observerCallback(o),e)}_observerCallback(e){const o=s=>this._targetLinks.get(`#${s.target.id}`),i=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(o(s))},n=(this._rootElement||document.documentElement).scrollTop,r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(o(s));continue}const a=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&a){if(i(s),!n)return;continue}!r&&!a&&i(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Ke.find(Kg,this._config.target);for(const o of e){if(!o.hash||Js(o))continue;const i=Ke.findOne(decodeURI(o.hash),this._element);Wu(i)&&(this._targetLinks.set(decodeURI(o.hash),o),this._observableSections.set(o.hash,i))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Wl),this._activateParents(e),he.trigger(this._element,Bj,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Rj)){Ke.findOne(Nj,e.closest(vj)).classList.add(Wl);return}for(const o of Ke.parents(e,xj))for(const i of Ke.prev(o,Ej))i.classList.add(Wl)}_clearActiveClass(e){e.classList.remove(Wl);const o=Ke.find(`${Kg}.${Wl}`,e);for(const i of o)i.classList.remove(Wl)}static jQueryInterface(e){return this.each(function(){const o=Ap.getOrCreateInstance(this,e);if(typeof e=="string"){if(o[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);o[e]()}})}}he.on(window,Vj,()=>{for(const t of Ke.find(Dj))Ap.getOrCreateInstance(t)});Dn(Ap);const Aj="tab",Ij="bs.tab",ml=`.${Ij}`,wj=`hide${ml}`,kj=`hidden${ml}`,Wj=`show${ml}`,Oj=`shown${ml}`,Mj=`click${ml}`,Hj=`keydown${ml}`,$j=`load${ml}`,zj="ArrowLeft",px="ArrowRight",Uj="ArrowUp",Cx="ArrowDown",qg="Home",gx="End",ka="active",Fx="fade",Yg="show",jj="dropdown",gN=".dropdown-toggle",Gj=".dropdown-menu",Jg=`:not(${gN})`,Kj='.list-group, .nav, [role="tablist"]',qj=".nav-item, .list-group-item",Yj=`.nav-link${Jg}, .list-group-item${Jg}, [role="tab"]${Jg}`,FN='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Zg=`${Yj}, ${FN}`,Jj=`.${ka}[data-bs-toggle="tab"], .${ka}[data-bs-toggle="pill"], .${ka}[data-bs-toggle="list"]`;class Ru extends qn{constructor(e){super(e),this._parent=this._element.closest(Kj),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),he.on(this._element,Hj,o=>this._keydown(o)))}static get NAME(){return Aj}show(){const e=this._element;if(this._elemIsActive(e))return;const o=this._getActiveElem(),i=o?he.trigger(o,wj,{relatedTarget:e}):null;he.trigger(e,Wj,{relatedTarget:o}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(o,e),this._activate(e,o))}_activate(e,o){if(!e)return;e.classList.add(ka),this._activate(Ke.getElementFromSelector(e));const i=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Yg);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),he.trigger(e,Oj,{relatedTarget:o})};this._queueCallback(i,e,e.classList.contains(Fx))}_deactivate(e,o){if(!e)return;e.classList.remove(ka),e.blur(),this._deactivate(Ke.getElementFromSelector(e));const i=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Yg);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),he.trigger(e,kj,{relatedTarget:o})};this._queueCallback(i,e,e.classList.contains(Fx))}_keydown(e){if(![zj,px,Uj,Cx,qg,gx].includes(e.key))return;e.stopPropagation(),e.preventDefault();const o=this._getChildren().filter(n=>!Js(n));let i;if([qg,gx].includes(e.key))i=o[e.key===qg?0:o.length-1];else{const n=[px,Cx].includes(e.key);i=iT(o,e.target,n,!0)}i&&(i.focus({preventScroll:!0}),Ru.getOrCreateInstance(i).show())}_getChildren(){return Ke.find(Zg,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,o){this._setAttributeIfNotExists(e,"role","tablist");for(const i of o)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const o=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",o),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),o||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const o=Ke.getElementFromSelector(e);o&&(this._setAttributeIfNotExists(o,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(o,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,o){const i=this._getOuterElement(e);if(!i.classList.contains(jj))return;const n=(r,s)=>{const a=Ke.findOne(r,i);a&&a.classList.toggle(s,o)};n(gN,ka),n(Gj,Yg),i.setAttribute("aria-expanded",o)}_setAttributeIfNotExists(e,o,i){e.hasAttribute(o)||e.setAttribute(o,i)}_elemIsActive(e){return e.classList.contains(ka)}_getInnerElement(e){return e.matches(Zg)?e:Ke.findOne(Zg,e)}_getOuterElement(e){return e.closest(qj)||e}static jQueryInterface(e){return this.each(function(){const o=Ru.getOrCreateInstance(this);if(typeof e=="string"){if(o[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);o[e]()}})}}he.on(document,Mj,FN,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!Js(this)&&Ru.getOrCreateInstance(this).show()});he.on(window,$j,()=>{for(const t of Ke.find(Jj))Ru.getOrCreateInstance(t)});Dn(Ru);const Zj="toast",Xj="bs.toast",ua=`.${Xj}`,Qj=`mouseover${ua}`,eG=`mouseout${ua}`,tG=`focusin${ua}`,oG=`focusout${ua}`,iG=`hide${ua}`,nG=`hidden${ua}`,rG=`show${ua}`,sG=`shown${ua}`,aG="fade",yx="hide",af="show",lf="showing",lG={animation:"boolean",autohide:"boolean",delay:"number"},uG={animation:!0,autohide:!0,delay:5e3};class Ip extends qn{constructor(e,o){super(e,o),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return uG}static get DefaultType(){return lG}static get NAME(){return Zj}show(){if(he.trigger(this._element,rG).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(aG);const o=()=>{this._element.classList.remove(lf),he.trigger(this._element,sG),this._maybeScheduleHide()};this._element.classList.remove(yx),Ac(this._element),this._element.classList.add(af,lf),this._queueCallback(o,this._element,this._config.animation)}hide(){if(!this.isShown()||he.trigger(this._element,iG).defaultPrevented)return;const o=()=>{this._element.classList.add(yx),this._element.classList.remove(lf,af),he.trigger(this._element,nG)};this._element.classList.add(lf),this._queueCallback(o,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(af),super.dispose()}isShown(){return this._element.classList.contains(af)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,o){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=o;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=o;break}}if(o){this._clearTimeout();return}const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){he.on(this._element,Qj,e=>this._onInteraction(e,!0)),he.on(this._element,eG,e=>this._onInteraction(e,!1)),he.on(this._element,tG,e=>this._onInteraction(e,!0)),he.on(this._element,oG,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const o=Ip.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e](this)}})}}Np(Ip);Dn(Ip);const Tx={trigger:"hover",placement:"top",delay:{show:500,hide:0}},po={mounted(t,e){return new ar(t,{...Tx,...e.value})},updated(t,e){const o=ar.getInstance(t);return o!==null&&o.dispose(),new ar(t,{...Tx,...e.value})},unmounted(t){const e=ar.getInstance(t);e!==null&&e.dispose()}},dG=t=>({Match:e=>{switch(t.Discriminator){case"CardBorderRadiusTopLeft":return e.CardBorderRadiusTopLeft();case"CardBorderRadiusTopRight":return e.CardBorderRadiusTopRight();case"CardBorderRadiusBottomLeft":return e.CardBorderRadiusBottomLeft();case"CardBorderRadiusBottomRight":return e.CardBorderRadiusBottomRight();case"ButtonBorderRadiusTopLeft":return e.ButtonBorderRadiusTopLeft();case"ButtonBorderRadiusTopRight":return e.ButtonBorderRadiusTopRight();case"ButtonBorderRadiusBottomLeft":return e.ButtonBorderRadiusBottomLeft();case"ButtonBorderRadiusBottomRight":return e.ButtonBorderRadiusBottomRight();case"BannerBorderRadiusTopLeft":return e.BannerBorderRadiusTopLeft();case"BannerBorderRadiusTopRight":return e.BannerBorderRadiusTopRight();case"BannerBorderRadiusBottomLeft":return e.BannerBorderRadiusBottomLeft();case"BannerBorderRadiusBottomRight":return e.BannerBorderRadiusBottomRight();case"BodyBorderRadiusTopLeft":return e.BodyBorderRadiusTopLeft();case"BodyBorderRadiusTopRight":return e.BodyBorderRadiusTopRight();case"BodyBorderRadiusBottomLeft":return e.BodyBorderRadiusBottomLeft();case"BodyBorderRadiusBottomRight":return e.BodyBorderRadiusBottomRight();case"CustomBorderRadius":return e.CustomBorderRadius(t.CustomValue)}}}),cG=t=>dG(t.borderRadiusVariant).Match({CardBorderRadiusTopLeft:()=>t.cardBorderRadius.TopLeft,CardBorderRadiusTopRight:()=>t.cardBorderRadius.TopRight,CardBorderRadiusBottomLeft:()=>t.cardBorderRadius.BottomLeft,CardBorderRadiusBottomRight:()=>t.cardBorderRadius.BottomRight,ButtonBorderRadiusTopLeft:()=>t.buttonBorderRadius.TopLeft,ButtonBorderRadiusTopRight:()=>t.buttonBorderRadius.TopRight,ButtonBorderRadiusBottomLeft:()=>t.buttonBorderRadius.BottomLeft,ButtonBorderRadiusBottomRight:()=>t.buttonBorderRadius.BottomRight,BannerBorderRadiusTopLeft:()=>t.bannerBorderRadius.TopLeft,BannerBorderRadiusTopRight:()=>t.bannerBorderRadius.TopRight,BannerBorderRadiusBottomLeft:()=>t.bannerBorderRadius.BottomLeft,BannerBorderRadiusBottomRight:()=>t.bannerBorderRadius.BottomRight,BodyBorderRadiusTopLeft:()=>t.bodyBorderRadius.TopLeft,BodyBorderRadiusTopRight:()=>t.bodyBorderRadius.TopRight,BodyBorderRadiusBottomLeft:()=>t.bodyBorderRadius.BottomLeft,BodyBorderRadiusBottomRight:()=>t.bodyBorderRadius.BottomRight,CustomBorderRadius:e=>e}),Cr=t=>{const e=o=>cG({borderRadiusVariant:o,cardBorderRadius:t.borderRadiusCard,buttonBorderRadius:t.borderButtonRadius,bannerBorderRadius:t.borderBannerRadius,bodyBorderRadius:t.bodyBorderRadius})+"px";return{borderTopLeftRadius:e(t.borderRadius.TopLeft),borderTopRightRadius:e(t.borderRadius.TopRight),borderBottomLeftRadius:e(t.borderRadius.BottomLeft),borderBottomRightRadius:e(t.borderRadius.BottomRight)}},Ao=t=>({Match:e=>{for(const o in t)if(t[o]!==void 0)return e[o](t[o]);throw Error("")}}),mG=t=>({Match:e=>{for(const o in t)if(t[o]!==void 0)return(e[o]??e.default)(t[o]);throw Error("")}}),fG=Ao,vi=t=>{throw new Error("Didn't expect to get here"+t)},hG=t=>{switch(t.themePaddingRef){case"ThemePaddingsMedium":return t.themeComponentPaddings.Medium;case"ThemePaddingsSmall":return t.themeComponentPaddings.Small;case"ThemePaddingsLarge":return t.themeComponentPaddings.Large;case"ThemePaddingsHuge":return t.themeComponentPaddings.Huge;case"BodyPaddingsTop":return t.themeBodyPaddings.Top;case"BodyPaddingsRight":return t.themeBodyPaddings.Right;case"BodyPaddingsBottom":return t.themeBodyPaddings.Bottom;case"BodyPaddingsLeft":return t.themeBodyPaddings.Left;default:return vi(t.themePaddingRef)}},Bo=t=>fG(t.paddingExpression).Match({ThemePadding:e=>hG({themePaddingRef:e,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings}),MinusExpression:e=>pG({paddingMinusExpression:e,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings}),DivideExpression:e=>CG({paddingDivideExpression:e,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings}),CustomValue:e=>e}),pG=t=>Bo({paddingExpression:t.paddingMinusExpression.Left,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings})-Bo({paddingExpression:t.paddingMinusExpression.Right,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings}),CG=t=>Bo({paddingExpression:t.paddingDivideExpression.Left,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings})/Bo({paddingExpression:t.paddingDivideExpression.Right,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings}),Sx=t=>({paddingTop:Bo({paddingExpression:t.paddings.Top,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings})+"px",paddingBottom:Bo({paddingExpression:t.paddings.Bottom,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings})+"px",paddingLeft:t.fullWidth?0:t.themeBodyPaddings.Left+"px",paddingRight:t.fullWidth?0:t.themeBodyPaddings.Right+"px"}),Nf=t=>t.directionRtl?{"padding-right":t.paddingSize*(t.index%t.numberColumnsInLine/t.numberColumnsInLine)+"px","padding-left":t.paddingSize*((t.numberColumnsInLine-1-t.index%t.numberColumnsInLine)/t.numberColumnsInLine)+"px"}:{"padding-left":t.paddingSize*(t.index%t.numberColumnsInLine/t.numberColumnsInLine)+"px","padding-right":t.paddingSize*((t.numberColumnsInLine-1-t.index%t.numberColumnsInLine)/t.numberColumnsInLine)+"px"},gG=t=>({Match:e=>{switch(t.Discriminator){case"EmailBackgroundColor":return e.EmailBackgroundColor();case"BodyColor":return e.BodyColor();case"TitleColor":return e.TitleColor();case"HeadingColor":return e.HeadingColor();case"SubHeadingColor":return e.SubHeading();case"LargeTextColor":return e.LargeTextColor();case"NormalTextColor":return e.NormalTextColor();case"DescriptionTextColor":return e.DescriptionTextColor();case"PrimaryTextColor":return e.PrimaryTextColor();case"SecondaryTextColor":return e.SecondaryTextColor();case"ButtonTextColor":return e.ButtonTextColor();case"LinkColor":return e.LinkColor();case"PrimaryColor":return e.PrimaryColor();case"SecondaryColor":return e.SecondaryColor();case"CardBackgroundColor":return e.CardBackgroundColor();case"Custom":return e.Custom(t.CustomValue);default:return vi(t.Discriminator)}}}),Pf=t=>gG(t.borderColor).Match({EmailBackgroundColor:()=>t.themeColors.EmailBackgroundColor,BodyColor:()=>t.themeColors.BodyColor,TitleColor:()=>t.themeColors.TitleColor,HeadingColor:()=>t.themeColors.HeadingColor,SubHeading:()=>t.themeColors.SubHeadingColor,LargeTextColor:()=>t.themeColors.LargeTextColor,NormalTextColor:()=>t.themeColors.NormalTextColor,DescriptionTextColor:()=>t.themeColors.DescriptionTextColor,PrimaryTextColor:()=>t.themeColors.PrimaryTextColor,SecondaryTextColor:()=>t.themeColors.SecondaryTextColor,LinkColor:()=>t.themeColors.LinkColor,PrimaryColor:()=>t.themeColors.PrimaryColor,SecondaryColor:()=>t.themeColors.SecondaryColor,CardBackgroundColor:()=>t.themeColors.CardBackgroundColor,ButtonTextColor:()=>t.themeColors.ButtonTextColor,Custom:e=>e}),FG=t=>({Match:e=>{switch(t.Style){case"None":return e.None();case"Solid":return e.Solid();case"Dashed":return e.Dashed();case"Dotted":return e.Dotted()}}}),uf=(t,e)=>FG(t).Match({None:()=>"",Solid:()=>`
|
|
48
|
-
${t.Width}px
|
|
49
|
-
solid
|
|
50
|
-
${Pf({borderColor:t.Color,themeColors:e})}
|
|
51
|
-
`,Dashed:()=>`
|
|
52
|
-
${t.Width}px
|
|
53
|
-
dashed
|
|
54
|
-
${Pf({borderColor:t.Color,themeColors:e})}
|
|
55
|
-
`,Dotted:()=>`
|
|
56
|
-
${t.Width}px
|
|
57
|
-
dotted
|
|
58
|
-
${Pf({borderColor:t.Color,themeColors:e})}
|
|
59
|
-
`}),as=t=>({borderTop:uf(t.border.Top,t.themeColors),borderRight:uf(t.border.Right,t.themeColors),borderBottom:uf(t.border.Bottom,t.themeColors),borderLeft:uf(t.border.Left,t.themeColors)}),Wc=t=>t.borderCollapse!==void 0?{borderCollapse:yG(t.borderCollapse)}:{borderCollapse:"collapse"},yG=t=>{switch(t){case"Collapse":return"collapse";case"Separate":return"separate";default:return vi(t)}},TG=t=>({Match:e=>{switch(t.Discriminator){case"None":return e.None();case"EmailBackgroundColor":return e.EmailBackgroundColor();case"BodyColor":return e.BodyColor();case"TitleColor":return e.TitleColor();case"HeadingColor":return e.HeadingColor();case"SubHeadingColor":return e.SubHeading();case"LargeTextColor":return e.LargeTextColor();case"NormalTextColor":return e.NormalTextColor();case"DescriptionTextColor":return e.DescriptionTextColor();case"PrimaryTextColor":return e.PrimaryTextColor();case"SecondaryTextColor":return e.SecondaryTextColor();case"ButtonTextColor":return e.ButtonTextColor();case"LinkColor":return e.LinkColor();case"PrimaryColor":return e.PrimaryColor();case"SecondaryColor":return e.SecondaryColor();case"CardBackgroundColor":return e.CardBackgroundColor();case"Custom":return e.Custom(t.CustomValue);default:return vi(t.Discriminator)}}}),zn=t=>TG(t.color).Match({None:()=>null,EmailBackgroundColor:()=>t.themeColors.EmailBackgroundColor,BodyColor:()=>t.themeColors.BodyColor,TitleColor:()=>t.themeColors.TitleColor,HeadingColor:()=>t.themeColors.HeadingColor,SubHeading:()=>t.themeColors.SubHeadingColor,LargeTextColor:()=>t.themeColors.LargeTextColor,NormalTextColor:()=>t.themeColors.NormalTextColor,DescriptionTextColor:()=>t.themeColors.DescriptionTextColor,PrimaryTextColor:()=>t.themeColors.PrimaryTextColor,SecondaryTextColor:()=>t.themeColors.SecondaryTextColor,LinkColor:()=>t.themeColors.LinkColor,PrimaryColor:()=>t.themeColors.PrimaryColor,SecondaryColor:()=>t.themeColors.SecondaryColor,CardBackgroundColor:()=>t.themeColors.CardBackgroundColor,ButtonTextColor:()=>t.themeColors.ButtonTextColor,Custom:e=>e}),yN=t=>({Match:e=>{switch(t){case"Left":return e.Left();case"Center":return e.Center();case"Right":return e.Right();default:return vi(t)}}}),SG=t=>t.containerAlign?yN(t.containerAlign).Match({Left:()=>({textAlign:"left"}),Center:()=>({textAlign:"center"}),Right:()=>({textAlign:"right"})}):{},Zr=t=>t.containerAlign?yN(t.containerAlign).Match({Left:()=>"left",Center:()=>"center",Right:()=>"right"}):"center";var Bd={exports:{}};/**
|
|
60
|
-
* @license
|
|
61
|
-
* Lodash <https://lodash.com/>
|
|
62
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
63
|
-
* Released under MIT license <https://lodash.com/license>
|
|
64
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
65
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
66
|
-
*/var BG=Bd.exports,Bx;function VG(){return Bx||(Bx=1,(function(t,e){(function(){var o,i="4.17.21",n=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",a="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",c=500,m="__lodash_placeholder__",f=1,p=2,C=4,F=1,y=2,T=1,B=2,v=4,D=8,R=16,N=32,_=64,P=128,U=256,k=512,de=30,z="...",M=800,X=16,Ce=1,pe=2,ie=3,Re=1/0,Ie=9007199254740991,mt=17976931348623157e292,ke=NaN,ve=4294967295,lt=ve-1,pt=ve>>>1,jt=[["ary",P],["bind",T],["bindKey",B],["curry",D],["curryRight",R],["flip",k],["partial",N],["partialRight",_],["rearg",U]],$e="[object Arguments]",Qe="[object Array]",We="[object AsyncFunction]",Oe="[object Boolean]",bt="[object Date]",Gt="[object DOMException]",to="[object Error]",I="[object Function]",H="[object GeneratorFunction]",w="[object Map]",Q="[object Number]",se="[object Null]",ne="[object Object]",Te="[object Promise]",Se="[object Proxy]",L="[object RegExp]",E="[object Set]",Y="[object String]",oe="[object Symbol]",Be="[object Undefined]",ce="[object WeakMap]",q="[object WeakSet]",te="[object ArrayBuffer]",Ee="[object DataView]",nt="[object Float32Array]",Nt="[object Float64Array]",oo="[object Int8Array]",Zt="[object Int16Array]",Uo="[object Int32Array]",Qi="[object Uint8Array]",wt="[object Uint8ClampedArray]",uo="[object Uint16Array]",Yn="[object Uint32Array]",hs=/\b__p \+= '';/g,iC=/\b(__p \+=) '' \+/g,Cl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,fa=/&(?:amp|lt|gt|quot|#39);/g,Kc=/[&<>"']/g,ha=RegExp(fa.source),nC=RegExp(Kc.source),rC=/<%-([\s\S]+?)%>/g,Co=/<%([\s\S]+?)%>/g,Br=/<%=([\s\S]+?)%>/g,sC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qc=/^\w*$/,Hu=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gl=/[\\^$.*+?()[\]{}|]/g,Yc=RegExp(gl.source),$u=/^\s+/,en=/\s/,Vr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Jc=/\{\n\/\* \[wrapped with (.+)\] \*/,Zc=/,? & /,zu=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xc=/[()=,{}\[\]\/\s]/,xn=/\\(\\)?/g,Qc=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Uu=/\w*$/,em=/^[-+]0x[0-9a-f]+$/i,tm=/^0b[01]+$/i,aC=/^\[object .+?Constructor\]$/,je=/^0o[0-7]+$/i,$=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=/($^)/,Ht=/['\n\r\u2028\u2029\\]/g,co="\\ud800-\\udfff",no="\\u0300-\\u036f",jo="\\ufe20-\\ufe2f",bn="\\u20d0-\\u20ff",Rr=no+jo+bn,Fl="\\u2700-\\u27bf",go="a-z\\xdf-\\xf6\\xf8-\\xff",om="\\xac\\xb1\\xd7\\xf7",im="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",AA="\\u2000-\\u206f",IA=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",mS="A-Z\\xc0-\\xd6\\xd8-\\xde",fS="\\ufe0e\\ufe0f",hS=om+im+AA+IA,lC="['’]",wA="["+co+"]",pS="["+hS+"]",nm="["+Rr+"]",CS="\\d+",kA="["+Fl+"]",gS="["+go+"]",FS="[^"+co+hS+CS+Fl+go+mS+"]",uC="\\ud83c[\\udffb-\\udfff]",WA="(?:"+nm+"|"+uC+")",yS="[^"+co+"]",dC="(?:\\ud83c[\\udde6-\\uddff]){2}",cC="[\\ud800-\\udbff][\\udc00-\\udfff]",yl="["+mS+"]",TS="\\u200d",SS="(?:"+gS+"|"+FS+")",OA="(?:"+yl+"|"+FS+")",BS="(?:"+lC+"(?:d|ll|m|re|s|t|ve))?",VS="(?:"+lC+"(?:D|LL|M|RE|S|T|VE))?",RS=WA+"?",DS="["+fS+"]?",MA="(?:"+TS+"(?:"+[yS,dC,cC].join("|")+")"+DS+RS+")*",HA="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$A="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xS=DS+RS+MA,zA="(?:"+[kA,dC,cC].join("|")+")"+xS,UA="(?:"+[yS+nm+"?",nm,dC,cC,wA].join("|")+")",jA=RegExp(lC,"g"),GA=RegExp(nm,"g"),mC=RegExp(uC+"(?="+uC+")|"+UA+xS,"g"),KA=RegExp([yl+"?"+gS+"+"+BS+"(?="+[pS,yl,"$"].join("|")+")",OA+"+"+VS+"(?="+[pS,yl+SS,"$"].join("|")+")",yl+"?"+SS+"+"+BS,yl+"+"+VS,$A,HA,CS,zA].join("|"),"g"),qA=RegExp("["+TS+co+Rr+fS+"]"),YA=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,JA=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ZA=-1,Kt={};Kt[nt]=Kt[Nt]=Kt[oo]=Kt[Zt]=Kt[Uo]=Kt[Qi]=Kt[wt]=Kt[uo]=Kt[Yn]=!0,Kt[$e]=Kt[Qe]=Kt[te]=Kt[Oe]=Kt[Ee]=Kt[bt]=Kt[to]=Kt[I]=Kt[w]=Kt[Q]=Kt[ne]=Kt[L]=Kt[E]=Kt[Y]=Kt[ce]=!1;var $t={};$t[$e]=$t[Qe]=$t[te]=$t[Ee]=$t[Oe]=$t[bt]=$t[nt]=$t[Nt]=$t[oo]=$t[Zt]=$t[Uo]=$t[w]=$t[Q]=$t[ne]=$t[L]=$t[E]=$t[Y]=$t[oe]=$t[Qi]=$t[wt]=$t[uo]=$t[Yn]=!0,$t[to]=$t[I]=$t[ce]=!1;var XA={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},QA={"&":"&","<":"<",">":">",'"':""","'":"'"},eI={"&":"&","<":"<",">":">",""":'"',"'":"'"},tI={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},oI=parseFloat,iI=parseInt,bS=typeof ef=="object"&&ef&&ef.Object===Object&&ef,nI=typeof self=="object"&&self&&self.Object===Object&&self,Io=bS||nI||Function("return this")(),fC=e&&!e.nodeType&&e,pa=fC&&!0&&t&&!t.nodeType&&t,LS=pa&&pa.exports===fC,hC=LS&&bS.process,tn=(function(){try{var G=pa&&pa.require&&pa.require("util").types;return G||hC&&hC.binding&&hC.binding("util")}catch{}})(),ES=tn&&tn.isArrayBuffer,vS=tn&&tn.isDate,NS=tn&&tn.isMap,PS=tn&&tn.isRegExp,_S=tn&&tn.isSet,AS=tn&&tn.isTypedArray;function Pi(G,re,ee){switch(ee.length){case 0:return G.call(re);case 1:return G.call(re,ee[0]);case 2:return G.call(re,ee[0],ee[1]);case 3:return G.call(re,ee[0],ee[1],ee[2])}return G.apply(re,ee)}function rI(G,re,ee,Ae){for(var it=-1,vt=G==null?0:G.length;++it<vt;){var To=G[it];re(Ae,To,ee(To),G)}return Ae}function on(G,re){for(var ee=-1,Ae=G==null?0:G.length;++ee<Ae&&re(G[ee],ee,G)!==!1;);return G}function sI(G,re){for(var ee=G==null?0:G.length;ee--&&re(G[ee],ee,G)!==!1;);return G}function IS(G,re){for(var ee=-1,Ae=G==null?0:G.length;++ee<Ae;)if(!re(G[ee],ee,G))return!1;return!0}function ps(G,re){for(var ee=-1,Ae=G==null?0:G.length,it=0,vt=[];++ee<Ae;){var To=G[ee];re(To,ee,G)&&(vt[it++]=To)}return vt}function rm(G,re){var ee=G==null?0:G.length;return!!ee&&Tl(G,re,0)>-1}function pC(G,re,ee){for(var Ae=-1,it=G==null?0:G.length;++Ae<it;)if(ee(re,G[Ae]))return!0;return!1}function Xt(G,re){for(var ee=-1,Ae=G==null?0:G.length,it=Array(Ae);++ee<Ae;)it[ee]=re(G[ee],ee,G);return it}function Cs(G,re){for(var ee=-1,Ae=re.length,it=G.length;++ee<Ae;)G[it+ee]=re[ee];return G}function CC(G,re,ee,Ae){var it=-1,vt=G==null?0:G.length;for(Ae&&vt&&(ee=G[++it]);++it<vt;)ee=re(ee,G[it],it,G);return ee}function aI(G,re,ee,Ae){var it=G==null?0:G.length;for(Ae&&it&&(ee=G[--it]);it--;)ee=re(ee,G[it],it,G);return ee}function gC(G,re){for(var ee=-1,Ae=G==null?0:G.length;++ee<Ae;)if(re(G[ee],ee,G))return!0;return!1}var lI=FC("length");function uI(G){return G.split("")}function dI(G){return G.match(zu)||[]}function wS(G,re,ee){var Ae;return ee(G,function(it,vt,To){if(re(it,vt,To))return Ae=vt,!1}),Ae}function sm(G,re,ee,Ae){for(var it=G.length,vt=ee+(Ae?1:-1);Ae?vt--:++vt<it;)if(re(G[vt],vt,G))return vt;return-1}function Tl(G,re,ee){return re===re?BI(G,re,ee):sm(G,kS,ee)}function cI(G,re,ee,Ae){for(var it=ee-1,vt=G.length;++it<vt;)if(Ae(G[it],re))return it;return-1}function kS(G){return G!==G}function WS(G,re){var ee=G==null?0:G.length;return ee?TC(G,re)/ee:ke}function FC(G){return function(re){return re==null?o:re[G]}}function yC(G){return function(re){return G==null?o:G[re]}}function OS(G,re,ee,Ae,it){return it(G,function(vt,To,kt){ee=Ae?(Ae=!1,vt):re(ee,vt,To,kt)}),ee}function mI(G,re){var ee=G.length;for(G.sort(re);ee--;)G[ee]=G[ee].value;return G}function TC(G,re){for(var ee,Ae=-1,it=G.length;++Ae<it;){var vt=re(G[Ae]);vt!==o&&(ee=ee===o?vt:ee+vt)}return ee}function SC(G,re){for(var ee=-1,Ae=Array(G);++ee<G;)Ae[ee]=re(ee);return Ae}function fI(G,re){return Xt(re,function(ee){return[ee,G[ee]]})}function MS(G){return G&&G.slice(0,US(G)+1).replace($u,"")}function _i(G){return function(re){return G(re)}}function BC(G,re){return Xt(re,function(ee){return G[ee]})}function ju(G,re){return G.has(re)}function HS(G,re){for(var ee=-1,Ae=G.length;++ee<Ae&&Tl(re,G[ee],0)>-1;);return ee}function $S(G,re){for(var ee=G.length;ee--&&Tl(re,G[ee],0)>-1;);return ee}function hI(G,re){for(var ee=G.length,Ae=0;ee--;)G[ee]===re&&++Ae;return Ae}var pI=yC(XA),CI=yC(QA);function gI(G){return"\\"+tI[G]}function FI(G,re){return G==null?o:G[re]}function Sl(G){return qA.test(G)}function yI(G){return YA.test(G)}function TI(G){for(var re,ee=[];!(re=G.next()).done;)ee.push(re.value);return ee}function VC(G){var re=-1,ee=Array(G.size);return G.forEach(function(Ae,it){ee[++re]=[it,Ae]}),ee}function zS(G,re){return function(ee){return G(re(ee))}}function gs(G,re){for(var ee=-1,Ae=G.length,it=0,vt=[];++ee<Ae;){var To=G[ee];(To===re||To===m)&&(G[ee]=m,vt[it++]=ee)}return vt}function am(G){var re=-1,ee=Array(G.size);return G.forEach(function(Ae){ee[++re]=Ae}),ee}function SI(G){var re=-1,ee=Array(G.size);return G.forEach(function(Ae){ee[++re]=[Ae,Ae]}),ee}function BI(G,re,ee){for(var Ae=ee-1,it=G.length;++Ae<it;)if(G[Ae]===re)return Ae;return-1}function VI(G,re,ee){for(var Ae=ee+1;Ae--;)if(G[Ae]===re)return Ae;return Ae}function Bl(G){return Sl(G)?DI(G):lI(G)}function Ln(G){return Sl(G)?xI(G):uI(G)}function US(G){for(var re=G.length;re--&&en.test(G.charAt(re)););return re}var RI=yC(eI);function DI(G){for(var re=mC.lastIndex=0;mC.test(G);)++re;return re}function xI(G){return G.match(mC)||[]}function bI(G){return G.match(KA)||[]}var LI=(function G(re){re=re==null?Io:Vl.defaults(Io.Object(),re,Vl.pick(Io,JA));var ee=re.Array,Ae=re.Date,it=re.Error,vt=re.Function,To=re.Math,kt=re.Object,RC=re.RegExp,EI=re.String,nn=re.TypeError,lm=ee.prototype,vI=vt.prototype,Rl=kt.prototype,um=re["__core-js_shared__"],dm=vI.toString,At=Rl.hasOwnProperty,NI=0,jS=(function(){var l=/[^.]+$/.exec(um&&um.keys&&um.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""})(),cm=Rl.toString,PI=dm.call(kt),_I=Io._,AI=RC("^"+dm.call(At).replace(gl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mm=LS?re.Buffer:o,Fs=re.Symbol,fm=re.Uint8Array,GS=mm?mm.allocUnsafe:o,hm=zS(kt.getPrototypeOf,kt),KS=kt.create,qS=Rl.propertyIsEnumerable,pm=lm.splice,YS=Fs?Fs.isConcatSpreadable:o,Gu=Fs?Fs.iterator:o,Ca=Fs?Fs.toStringTag:o,Cm=(function(){try{var l=Sa(kt,"defineProperty");return l({},"",{}),l}catch{}})(),II=re.clearTimeout!==Io.clearTimeout&&re.clearTimeout,wI=Ae&&Ae.now!==Io.Date.now&&Ae.now,kI=re.setTimeout!==Io.setTimeout&&re.setTimeout,gm=To.ceil,Fm=To.floor,DC=kt.getOwnPropertySymbols,WI=mm?mm.isBuffer:o,JS=re.isFinite,OI=lm.join,MI=zS(kt.keys,kt),So=To.max,Go=To.min,HI=Ae.now,$I=re.parseInt,ZS=To.random,zI=lm.reverse,xC=Sa(re,"DataView"),Ku=Sa(re,"Map"),bC=Sa(re,"Promise"),Dl=Sa(re,"Set"),qu=Sa(re,"WeakMap"),Yu=Sa(kt,"create"),ym=qu&&new qu,xl={},UI=Ba(xC),jI=Ba(Ku),GI=Ba(bC),KI=Ba(Dl),qI=Ba(qu),Tm=Fs?Fs.prototype:o,Ju=Tm?Tm.valueOf:o,XS=Tm?Tm.toString:o;function x(l){if(ro(l)&&!rt(l)&&!(l instanceof yt)){if(l instanceof rn)return l;if(At.call(l,"__wrapped__"))return QB(l)}return new rn(l)}var bl=(function(){function l(){}return function(d){if(!io(d))return{};if(KS)return KS(d);l.prototype=d;var h=new l;return l.prototype=o,h}})();function Sm(){}function rn(l,d){this.__wrapped__=l,this.__actions__=[],this.__chain__=!!d,this.__index__=0,this.__values__=o}x.templateSettings={escape:rC,evaluate:Co,interpolate:Br,variable:"",imports:{_:x}},x.prototype=Sm.prototype,x.prototype.constructor=x,rn.prototype=bl(Sm.prototype),rn.prototype.constructor=rn;function yt(l){this.__wrapped__=l,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ve,this.__views__=[]}function YI(){var l=new yt(this.__wrapped__);return l.__actions__=Ti(this.__actions__),l.__dir__=this.__dir__,l.__filtered__=this.__filtered__,l.__iteratees__=Ti(this.__iteratees__),l.__takeCount__=this.__takeCount__,l.__views__=Ti(this.__views__),l}function JI(){if(this.__filtered__){var l=new yt(this);l.__dir__=-1,l.__filtered__=!0}else l=this.clone(),l.__dir__*=-1;return l}function ZI(){var l=this.__wrapped__.value(),d=this.__dir__,h=rt(l),g=d<0,S=h?l.length:0,b=uk(0,S,this.__views__),A=b.start,O=b.end,K=O-A,ae=g?O:A-1,le=this.__iteratees__,me=le.length,De=0,ze=Go(K,this.__takeCount__);if(!h||!g&&S==K&&ze==K)return BB(l,this.__actions__);var Ye=[];e:for(;K--&&De<ze;){ae+=d;for(var ut=-1,Je=l[ae];++ut<me;){var gt=le[ut],St=gt.iteratee,wi=gt.type,ri=St(Je);if(wi==pe)Je=ri;else if(!ri){if(wi==Ce)continue e;break e}}Ye[De++]=Je}return Ye}yt.prototype=bl(Sm.prototype),yt.prototype.constructor=yt;function ga(l){var d=-1,h=l==null?0:l.length;for(this.clear();++d<h;){var g=l[d];this.set(g[0],g[1])}}function XI(){this.__data__=Yu?Yu(null):{},this.size=0}function QI(l){var d=this.has(l)&&delete this.__data__[l];return this.size-=d?1:0,d}function ew(l){var d=this.__data__;if(Yu){var h=d[l];return h===u?o:h}return At.call(d,l)?d[l]:o}function tw(l){var d=this.__data__;return Yu?d[l]!==o:At.call(d,l)}function ow(l,d){var h=this.__data__;return this.size+=this.has(l)?0:1,h[l]=Yu&&d===o?u:d,this}ga.prototype.clear=XI,ga.prototype.delete=QI,ga.prototype.get=ew,ga.prototype.has=tw,ga.prototype.set=ow;function Dr(l){var d=-1,h=l==null?0:l.length;for(this.clear();++d<h;){var g=l[d];this.set(g[0],g[1])}}function iw(){this.__data__=[],this.size=0}function nw(l){var d=this.__data__,h=Bm(d,l);if(h<0)return!1;var g=d.length-1;return h==g?d.pop():pm.call(d,h,1),--this.size,!0}function rw(l){var d=this.__data__,h=Bm(d,l);return h<0?o:d[h][1]}function sw(l){return Bm(this.__data__,l)>-1}function aw(l,d){var h=this.__data__,g=Bm(h,l);return g<0?(++this.size,h.push([l,d])):h[g][1]=d,this}Dr.prototype.clear=iw,Dr.prototype.delete=nw,Dr.prototype.get=rw,Dr.prototype.has=sw,Dr.prototype.set=aw;function xr(l){var d=-1,h=l==null?0:l.length;for(this.clear();++d<h;){var g=l[d];this.set(g[0],g[1])}}function lw(){this.size=0,this.__data__={hash:new ga,map:new(Ku||Dr),string:new ga}}function uw(l){var d=Am(this,l).delete(l);return this.size-=d?1:0,d}function dw(l){return Am(this,l).get(l)}function cw(l){return Am(this,l).has(l)}function mw(l,d){var h=Am(this,l),g=h.size;return h.set(l,d),this.size+=h.size==g?0:1,this}xr.prototype.clear=lw,xr.prototype.delete=uw,xr.prototype.get=dw,xr.prototype.has=cw,xr.prototype.set=mw;function Fa(l){var d=-1,h=l==null?0:l.length;for(this.__data__=new xr;++d<h;)this.add(l[d])}function fw(l){return this.__data__.set(l,u),this}function hw(l){return this.__data__.has(l)}Fa.prototype.add=Fa.prototype.push=fw,Fa.prototype.has=hw;function En(l){var d=this.__data__=new Dr(l);this.size=d.size}function pw(){this.__data__=new Dr,this.size=0}function Cw(l){var d=this.__data__,h=d.delete(l);return this.size=d.size,h}function gw(l){return this.__data__.get(l)}function Fw(l){return this.__data__.has(l)}function yw(l,d){var h=this.__data__;if(h instanceof Dr){var g=h.__data__;if(!Ku||g.length<n-1)return g.push([l,d]),this.size=++h.size,this;h=this.__data__=new xr(g)}return h.set(l,d),this.size=h.size,this}En.prototype.clear=pw,En.prototype.delete=Cw,En.prototype.get=gw,En.prototype.has=Fw,En.prototype.set=yw;function QS(l,d){var h=rt(l),g=!h&&Va(l),S=!h&&!g&&Vs(l),b=!h&&!g&&!S&&Nl(l),A=h||g||S||b,O=A?SC(l.length,EI):[],K=O.length;for(var ae in l)(d||At.call(l,ae))&&!(A&&(ae=="length"||S&&(ae=="offset"||ae=="parent")||b&&(ae=="buffer"||ae=="byteLength"||ae=="byteOffset")||vr(ae,K)))&&O.push(ae);return O}function eB(l){var d=l.length;return d?l[WC(0,d-1)]:o}function Tw(l,d){return Im(Ti(l),ya(d,0,l.length))}function Sw(l){return Im(Ti(l))}function LC(l,d,h){(h!==o&&!vn(l[d],h)||h===o&&!(d in l))&&br(l,d,h)}function Zu(l,d,h){var g=l[d];(!(At.call(l,d)&&vn(g,h))||h===o&&!(d in l))&&br(l,d,h)}function Bm(l,d){for(var h=l.length;h--;)if(vn(l[h][0],d))return h;return-1}function Bw(l,d,h,g){return ys(l,function(S,b,A){d(g,S,h(S),A)}),g}function tB(l,d){return l&&Zn(d,bo(d),l)}function Vw(l,d){return l&&Zn(d,Bi(d),l)}function br(l,d,h){d=="__proto__"&&Cm?Cm(l,d,{configurable:!0,enumerable:!0,value:h,writable:!0}):l[d]=h}function EC(l,d){for(var h=-1,g=d.length,S=ee(g),b=l==null;++h<g;)S[h]=b?o:ug(l,d[h]);return S}function ya(l,d,h){return l===l&&(h!==o&&(l=l<=h?l:h),d!==o&&(l=l>=d?l:d)),l}function sn(l,d,h,g,S,b){var A,O=d&f,K=d&p,ae=d&C;if(h&&(A=S?h(l,g,S,b):h(l)),A!==o)return A;if(!io(l))return l;var le=rt(l);if(le){if(A=ck(l),!O)return Ti(l,A)}else{var me=Ko(l),De=me==I||me==H;if(Vs(l))return DB(l,O);if(me==ne||me==$e||De&&!S){if(A=K||De?{}:UB(l),!O)return K?ek(l,Vw(A,l)):Qw(l,tB(A,l))}else{if(!$t[me])return S?l:{};A=mk(l,me,O)}}b||(b=new En);var ze=b.get(l);if(ze)return ze;b.set(l,A),yV(l)?l.forEach(function(Je){A.add(sn(Je,d,h,Je,l,b))}):gV(l)&&l.forEach(function(Je,gt){A.set(gt,sn(Je,d,h,gt,l,b))});var Ye=ae?K?YC:qC:K?Bi:bo,ut=le?o:Ye(l);return on(ut||l,function(Je,gt){ut&&(gt=Je,Je=l[gt]),Zu(A,gt,sn(Je,d,h,gt,l,b))}),A}function Rw(l){var d=bo(l);return function(h){return oB(h,l,d)}}function oB(l,d,h){var g=h.length;if(l==null)return!g;for(l=kt(l);g--;){var S=h[g],b=d[S],A=l[S];if(A===o&&!(S in l)||!b(A))return!1}return!0}function iB(l,d,h){if(typeof l!="function")throw new nn(s);return nd(function(){l.apply(o,h)},d)}function Xu(l,d,h,g){var S=-1,b=rm,A=!0,O=l.length,K=[],ae=d.length;if(!O)return K;h&&(d=Xt(d,_i(h))),g?(b=pC,A=!1):d.length>=n&&(b=ju,A=!1,d=new Fa(d));e:for(;++S<O;){var le=l[S],me=h==null?le:h(le);if(le=g||le!==0?le:0,A&&me===me){for(var De=ae;De--;)if(d[De]===me)continue e;K.push(le)}else b(d,me,g)||K.push(le)}return K}var ys=vB(Jn),nB=vB(NC,!0);function Dw(l,d){var h=!0;return ys(l,function(g,S,b){return h=!!d(g,S,b),h}),h}function Vm(l,d,h){for(var g=-1,S=l.length;++g<S;){var b=l[g],A=d(b);if(A!=null&&(O===o?A===A&&!Ii(A):h(A,O)))var O=A,K=b}return K}function xw(l,d,h,g){var S=l.length;for(h=at(h),h<0&&(h=-h>S?0:S+h),g=g===o||g>S?S:at(g),g<0&&(g+=S),g=h>g?0:SV(g);h<g;)l[h++]=d;return l}function rB(l,d){var h=[];return ys(l,function(g,S,b){d(g,S,b)&&h.push(g)}),h}function wo(l,d,h,g,S){var b=-1,A=l.length;for(h||(h=hk),S||(S=[]);++b<A;){var O=l[b];d>0&&h(O)?d>1?wo(O,d-1,h,g,S):Cs(S,O):g||(S[S.length]=O)}return S}var vC=NB(),sB=NB(!0);function Jn(l,d){return l&&vC(l,d,bo)}function NC(l,d){return l&&sB(l,d,bo)}function Rm(l,d){return ps(d,function(h){return Nr(l[h])})}function Ta(l,d){d=Ss(d,l);for(var h=0,g=d.length;l!=null&&h<g;)l=l[Xn(d[h++])];return h&&h==g?l:o}function aB(l,d,h){var g=d(l);return rt(l)?g:Cs(g,h(l))}function ii(l){return l==null?l===o?Be:se:Ca&&Ca in kt(l)?lk(l):Sk(l)}function PC(l,d){return l>d}function bw(l,d){return l!=null&&At.call(l,d)}function Lw(l,d){return l!=null&&d in kt(l)}function Ew(l,d,h){return l>=Go(d,h)&&l<So(d,h)}function _C(l,d,h){for(var g=h?pC:rm,S=l[0].length,b=l.length,A=b,O=ee(b),K=1/0,ae=[];A--;){var le=l[A];A&&d&&(le=Xt(le,_i(d))),K=Go(le.length,K),O[A]=!h&&(d||S>=120&&le.length>=120)?new Fa(A&&le):o}le=l[0];var me=-1,De=O[0];e:for(;++me<S&&ae.length<K;){var ze=le[me],Ye=d?d(ze):ze;if(ze=h||ze!==0?ze:0,!(De?ju(De,Ye):g(ae,Ye,h))){for(A=b;--A;){var ut=O[A];if(!(ut?ju(ut,Ye):g(l[A],Ye,h)))continue e}De&&De.push(Ye),ae.push(ze)}}return ae}function vw(l,d,h,g){return Jn(l,function(S,b,A){d(g,h(S),b,A)}),g}function Qu(l,d,h){d=Ss(d,l),l=qB(l,d);var g=l==null?l:l[Xn(ln(d))];return g==null?o:Pi(g,l,h)}function lB(l){return ro(l)&&ii(l)==$e}function Nw(l){return ro(l)&&ii(l)==te}function Pw(l){return ro(l)&&ii(l)==bt}function ed(l,d,h,g,S){return l===d?!0:l==null||d==null||!ro(l)&&!ro(d)?l!==l&&d!==d:_w(l,d,h,g,ed,S)}function _w(l,d,h,g,S,b){var A=rt(l),O=rt(d),K=A?Qe:Ko(l),ae=O?Qe:Ko(d);K=K==$e?ne:K,ae=ae==$e?ne:ae;var le=K==ne,me=ae==ne,De=K==ae;if(De&&Vs(l)){if(!Vs(d))return!1;A=!0,le=!1}if(De&&!le)return b||(b=new En),A||Nl(l)?HB(l,d,h,g,S,b):sk(l,d,K,h,g,S,b);if(!(h&F)){var ze=le&&At.call(l,"__wrapped__"),Ye=me&&At.call(d,"__wrapped__");if(ze||Ye){var ut=ze?l.value():l,Je=Ye?d.value():d;return b||(b=new En),S(ut,Je,h,g,b)}}return De?(b||(b=new En),ak(l,d,h,g,S,b)):!1}function Aw(l){return ro(l)&&Ko(l)==w}function AC(l,d,h,g){var S=h.length,b=S,A=!g;if(l==null)return!b;for(l=kt(l);S--;){var O=h[S];if(A&&O[2]?O[1]!==l[O[0]]:!(O[0]in l))return!1}for(;++S<b;){O=h[S];var K=O[0],ae=l[K],le=O[1];if(A&&O[2]){if(ae===o&&!(K in l))return!1}else{var me=new En;if(g)var De=g(ae,le,K,l,d,me);if(!(De===o?ed(le,ae,F|y,g,me):De))return!1}}return!0}function uB(l){if(!io(l)||Ck(l))return!1;var d=Nr(l)?AI:aC;return d.test(Ba(l))}function Iw(l){return ro(l)&&ii(l)==L}function ww(l){return ro(l)&&Ko(l)==E}function kw(l){return ro(l)&&Hm(l.length)&&!!Kt[ii(l)]}function dB(l){return typeof l=="function"?l:l==null?Vi:typeof l=="object"?rt(l)?fB(l[0],l[1]):mB(l):PV(l)}function IC(l){if(!id(l))return MI(l);var d=[];for(var h in kt(l))At.call(l,h)&&h!="constructor"&&d.push(h);return d}function Ww(l){if(!io(l))return Tk(l);var d=id(l),h=[];for(var g in l)g=="constructor"&&(d||!At.call(l,g))||h.push(g);return h}function wC(l,d){return l<d}function cB(l,d){var h=-1,g=Si(l)?ee(l.length):[];return ys(l,function(S,b,A){g[++h]=d(S,b,A)}),g}function mB(l){var d=ZC(l);return d.length==1&&d[0][2]?GB(d[0][0],d[0][1]):function(h){return h===l||AC(h,l,d)}}function fB(l,d){return QC(l)&&jB(d)?GB(Xn(l),d):function(h){var g=ug(h,l);return g===o&&g===d?dg(h,l):ed(d,g,F|y)}}function Dm(l,d,h,g,S){l!==d&&vC(d,function(b,A){if(S||(S=new En),io(b))Ow(l,d,A,h,Dm,g,S);else{var O=g?g(tg(l,A),b,A+"",l,d,S):o;O===o&&(O=b),LC(l,A,O)}},Bi)}function Ow(l,d,h,g,S,b,A){var O=tg(l,h),K=tg(d,h),ae=A.get(K);if(ae){LC(l,h,ae);return}var le=b?b(O,K,h+"",l,d,A):o,me=le===o;if(me){var De=rt(K),ze=!De&&Vs(K),Ye=!De&&!ze&&Nl(K);le=K,De||ze||Ye?rt(O)?le=O:mo(O)?le=Ti(O):ze?(me=!1,le=DB(K,!0)):Ye?(me=!1,le=xB(K,!0)):le=[]:rd(K)||Va(K)?(le=O,Va(O)?le=BV(O):(!io(O)||Nr(O))&&(le=UB(K))):me=!1}me&&(A.set(K,le),S(le,K,g,b,A),A.delete(K)),LC(l,h,le)}function hB(l,d){var h=l.length;if(h)return d+=d<0?h:0,vr(d,h)?l[d]:o}function pB(l,d,h){d.length?d=Xt(d,function(b){return rt(b)?function(A){return Ta(A,b.length===1?b[0]:b)}:b}):d=[Vi];var g=-1;d=Xt(d,_i(qe()));var S=cB(l,function(b,A,O){var K=Xt(d,function(ae){return ae(b)});return{criteria:K,index:++g,value:b}});return mI(S,function(b,A){return Xw(b,A,h)})}function Mw(l,d){return CB(l,d,function(h,g){return dg(l,g)})}function CB(l,d,h){for(var g=-1,S=d.length,b={};++g<S;){var A=d[g],O=Ta(l,A);h(O,A)&&td(b,Ss(A,l),O)}return b}function Hw(l){return function(d){return Ta(d,l)}}function kC(l,d,h,g){var S=g?cI:Tl,b=-1,A=d.length,O=l;for(l===d&&(d=Ti(d)),h&&(O=Xt(l,_i(h)));++b<A;)for(var K=0,ae=d[b],le=h?h(ae):ae;(K=S(O,le,K,g))>-1;)O!==l&&pm.call(O,K,1),pm.call(l,K,1);return l}function gB(l,d){for(var h=l?d.length:0,g=h-1;h--;){var S=d[h];if(h==g||S!==b){var b=S;vr(S)?pm.call(l,S,1):HC(l,S)}}return l}function WC(l,d){return l+Fm(ZS()*(d-l+1))}function $w(l,d,h,g){for(var S=-1,b=So(gm((d-l)/(h||1)),0),A=ee(b);b--;)A[g?b:++S]=l,l+=h;return A}function OC(l,d){var h="";if(!l||d<1||d>Ie)return h;do d%2&&(h+=l),d=Fm(d/2),d&&(l+=l);while(d);return h}function ft(l,d){return og(KB(l,d,Vi),l+"")}function zw(l){return eB(Pl(l))}function Uw(l,d){var h=Pl(l);return Im(h,ya(d,0,h.length))}function td(l,d,h,g){if(!io(l))return l;d=Ss(d,l);for(var S=-1,b=d.length,A=b-1,O=l;O!=null&&++S<b;){var K=Xn(d[S]),ae=h;if(K==="__proto__"||K==="constructor"||K==="prototype")return l;if(S!=A){var le=O[K];ae=g?g(le,K,O):o,ae===o&&(ae=io(le)?le:vr(d[S+1])?[]:{})}Zu(O,K,ae),O=O[K]}return l}var FB=ym?function(l,d){return ym.set(l,d),l}:Vi,jw=Cm?function(l,d){return Cm(l,"toString",{configurable:!0,enumerable:!1,value:mg(d),writable:!0})}:Vi;function Gw(l){return Im(Pl(l))}function an(l,d,h){var g=-1,S=l.length;d<0&&(d=-d>S?0:S+d),h=h>S?S:h,h<0&&(h+=S),S=d>h?0:h-d>>>0,d>>>=0;for(var b=ee(S);++g<S;)b[g]=l[g+d];return b}function Kw(l,d){var h;return ys(l,function(g,S,b){return h=d(g,S,b),!h}),!!h}function xm(l,d,h){var g=0,S=l==null?g:l.length;if(typeof d=="number"&&d===d&&S<=pt){for(;g<S;){var b=g+S>>>1,A=l[b];A!==null&&!Ii(A)&&(h?A<=d:A<d)?g=b+1:S=b}return S}return MC(l,d,Vi,h)}function MC(l,d,h,g){var S=0,b=l==null?0:l.length;if(b===0)return 0;d=h(d);for(var A=d!==d,O=d===null,K=Ii(d),ae=d===o;S<b;){var le=Fm((S+b)/2),me=h(l[le]),De=me!==o,ze=me===null,Ye=me===me,ut=Ii(me);if(A)var Je=g||Ye;else ae?Je=Ye&&(g||De):O?Je=Ye&&De&&(g||!ze):K?Je=Ye&&De&&!ze&&(g||!ut):ze||ut?Je=!1:Je=g?me<=d:me<d;Je?S=le+1:b=le}return Go(b,lt)}function yB(l,d){for(var h=-1,g=l.length,S=0,b=[];++h<g;){var A=l[h],O=d?d(A):A;if(!h||!vn(O,K)){var K=O;b[S++]=A===0?0:A}}return b}function TB(l){return typeof l=="number"?l:Ii(l)?ke:+l}function Ai(l){if(typeof l=="string")return l;if(rt(l))return Xt(l,Ai)+"";if(Ii(l))return XS?XS.call(l):"";var d=l+"";return d=="0"&&1/l==-Re?"-0":d}function Ts(l,d,h){var g=-1,S=rm,b=l.length,A=!0,O=[],K=O;if(h)A=!1,S=pC;else if(b>=n){var ae=d?null:nk(l);if(ae)return am(ae);A=!1,S=ju,K=new Fa}else K=d?[]:O;e:for(;++g<b;){var le=l[g],me=d?d(le):le;if(le=h||le!==0?le:0,A&&me===me){for(var De=K.length;De--;)if(K[De]===me)continue e;d&&K.push(me),O.push(le)}else S(K,me,h)||(K!==O&&K.push(me),O.push(le))}return O}function HC(l,d){return d=Ss(d,l),l=qB(l,d),l==null||delete l[Xn(ln(d))]}function SB(l,d,h,g){return td(l,d,h(Ta(l,d)),g)}function bm(l,d,h,g){for(var S=l.length,b=g?S:-1;(g?b--:++b<S)&&d(l[b],b,l););return h?an(l,g?0:b,g?b+1:S):an(l,g?b+1:0,g?S:b)}function BB(l,d){var h=l;return h instanceof yt&&(h=h.value()),CC(d,function(g,S){return S.func.apply(S.thisArg,Cs([g],S.args))},h)}function $C(l,d,h){var g=l.length;if(g<2)return g?Ts(l[0]):[];for(var S=-1,b=ee(g);++S<g;)for(var A=l[S],O=-1;++O<g;)O!=S&&(b[S]=Xu(b[S]||A,l[O],d,h));return Ts(wo(b,1),d,h)}function VB(l,d,h){for(var g=-1,S=l.length,b=d.length,A={};++g<S;){var O=g<b?d[g]:o;h(A,l[g],O)}return A}function zC(l){return mo(l)?l:[]}function UC(l){return typeof l=="function"?l:Vi}function Ss(l,d){return rt(l)?l:QC(l,d)?[l]:XB(Pt(l))}var qw=ft;function Bs(l,d,h){var g=l.length;return h=h===o?g:h,!d&&h>=g?l:an(l,d,h)}var RB=II||function(l){return Io.clearTimeout(l)};function DB(l,d){if(d)return l.slice();var h=l.length,g=GS?GS(h):new l.constructor(h);return l.copy(g),g}function jC(l){var d=new l.constructor(l.byteLength);return new fm(d).set(new fm(l)),d}function Yw(l,d){var h=d?jC(l.buffer):l.buffer;return new l.constructor(h,l.byteOffset,l.byteLength)}function Jw(l){var d=new l.constructor(l.source,Uu.exec(l));return d.lastIndex=l.lastIndex,d}function Zw(l){return Ju?kt(Ju.call(l)):{}}function xB(l,d){var h=d?jC(l.buffer):l.buffer;return new l.constructor(h,l.byteOffset,l.length)}function bB(l,d){if(l!==d){var h=l!==o,g=l===null,S=l===l,b=Ii(l),A=d!==o,O=d===null,K=d===d,ae=Ii(d);if(!O&&!ae&&!b&&l>d||b&&A&&K&&!O&&!ae||g&&A&&K||!h&&K||!S)return 1;if(!g&&!b&&!ae&&l<d||ae&&h&&S&&!g&&!b||O&&h&&S||!A&&S||!K)return-1}return 0}function Xw(l,d,h){for(var g=-1,S=l.criteria,b=d.criteria,A=S.length,O=h.length;++g<A;){var K=bB(S[g],b[g]);if(K){if(g>=O)return K;var ae=h[g];return K*(ae=="desc"?-1:1)}}return l.index-d.index}function LB(l,d,h,g){for(var S=-1,b=l.length,A=h.length,O=-1,K=d.length,ae=So(b-A,0),le=ee(K+ae),me=!g;++O<K;)le[O]=d[O];for(;++S<A;)(me||S<b)&&(le[h[S]]=l[S]);for(;ae--;)le[O++]=l[S++];return le}function EB(l,d,h,g){for(var S=-1,b=l.length,A=-1,O=h.length,K=-1,ae=d.length,le=So(b-O,0),me=ee(le+ae),De=!g;++S<le;)me[S]=l[S];for(var ze=S;++K<ae;)me[ze+K]=d[K];for(;++A<O;)(De||S<b)&&(me[ze+h[A]]=l[S++]);return me}function Ti(l,d){var h=-1,g=l.length;for(d||(d=ee(g));++h<g;)d[h]=l[h];return d}function Zn(l,d,h,g){var S=!h;h||(h={});for(var b=-1,A=d.length;++b<A;){var O=d[b],K=g?g(h[O],l[O],O,h,l):o;K===o&&(K=l[O]),S?br(h,O,K):Zu(h,O,K)}return h}function Qw(l,d){return Zn(l,XC(l),d)}function ek(l,d){return Zn(l,$B(l),d)}function Lm(l,d){return function(h,g){var S=rt(h)?rI:Bw,b=d?d():{};return S(h,l,qe(g,2),b)}}function Ll(l){return ft(function(d,h){var g=-1,S=h.length,b=S>1?h[S-1]:o,A=S>2?h[2]:o;for(b=l.length>3&&typeof b=="function"?(S--,b):o,A&&ni(h[0],h[1],A)&&(b=S<3?o:b,S=1),d=kt(d);++g<S;){var O=h[g];O&&l(d,O,g,b)}return d})}function vB(l,d){return function(h,g){if(h==null)return h;if(!Si(h))return l(h,g);for(var S=h.length,b=d?S:-1,A=kt(h);(d?b--:++b<S)&&g(A[b],b,A)!==!1;);return h}}function NB(l){return function(d,h,g){for(var S=-1,b=kt(d),A=g(d),O=A.length;O--;){var K=A[l?O:++S];if(h(b[K],K,b)===!1)break}return d}}function tk(l,d,h){var g=d&T,S=od(l);function b(){var A=this&&this!==Io&&this instanceof b?S:l;return A.apply(g?h:this,arguments)}return b}function PB(l){return function(d){d=Pt(d);var h=Sl(d)?Ln(d):o,g=h?h[0]:d.charAt(0),S=h?Bs(h,1).join(""):d.slice(1);return g[l]()+S}}function El(l){return function(d){return CC(vV(EV(d).replace(jA,"")),l,"")}}function od(l){return function(){var d=arguments;switch(d.length){case 0:return new l;case 1:return new l(d[0]);case 2:return new l(d[0],d[1]);case 3:return new l(d[0],d[1],d[2]);case 4:return new l(d[0],d[1],d[2],d[3]);case 5:return new l(d[0],d[1],d[2],d[3],d[4]);case 6:return new l(d[0],d[1],d[2],d[3],d[4],d[5]);case 7:return new l(d[0],d[1],d[2],d[3],d[4],d[5],d[6])}var h=bl(l.prototype),g=l.apply(h,d);return io(g)?g:h}}function ok(l,d,h){var g=od(l);function S(){for(var b=arguments.length,A=ee(b),O=b,K=vl(S);O--;)A[O]=arguments[O];var ae=b<3&&A[0]!==K&&A[b-1]!==K?[]:gs(A,K);if(b-=ae.length,b<h)return kB(l,d,Em,S.placeholder,o,A,ae,o,o,h-b);var le=this&&this!==Io&&this instanceof S?g:l;return Pi(le,this,A)}return S}function _B(l){return function(d,h,g){var S=kt(d);if(!Si(d)){var b=qe(h,3);d=bo(d),h=function(O){return b(S[O],O,S)}}var A=l(d,h,g);return A>-1?S[b?d[A]:A]:o}}function AB(l){return Er(function(d){var h=d.length,g=h,S=rn.prototype.thru;for(l&&d.reverse();g--;){var b=d[g];if(typeof b!="function")throw new nn(s);if(S&&!A&&_m(b)=="wrapper")var A=new rn([],!0)}for(g=A?g:h;++g<h;){b=d[g];var O=_m(b),K=O=="wrapper"?JC(b):o;K&&eg(K[0])&&K[1]==(P|D|N|U)&&!K[4].length&&K[9]==1?A=A[_m(K[0])].apply(A,K[3]):A=b.length==1&&eg(b)?A[O]():A.thru(b)}return function(){var ae=arguments,le=ae[0];if(A&&ae.length==1&&rt(le))return A.plant(le).value();for(var me=0,De=h?d[me].apply(this,ae):le;++me<h;)De=d[me].call(this,De);return De}})}function Em(l,d,h,g,S,b,A,O,K,ae){var le=d&P,me=d&T,De=d&B,ze=d&(D|R),Ye=d&k,ut=De?o:od(l);function Je(){for(var gt=arguments.length,St=ee(gt),wi=gt;wi--;)St[wi]=arguments[wi];if(ze)var ri=vl(Je),ki=hI(St,ri);if(g&&(St=LB(St,g,S,ze)),b&&(St=EB(St,b,A,ze)),gt-=ki,ze&><ae){var fo=gs(St,ri);return kB(l,d,Em,Je.placeholder,h,St,fo,O,K,ae-gt)}var Nn=me?h:this,_r=De?Nn[l]:l;return gt=St.length,O?St=Bk(St,O):Ye&>>1&&St.reverse(),le&&K<gt&&(St.length=K),this&&this!==Io&&this instanceof Je&&(_r=ut||od(_r)),_r.apply(Nn,St)}return Je}function IB(l,d){return function(h,g){return vw(h,l,d(g),{})}}function vm(l,d){return function(h,g){var S;if(h===o&&g===o)return d;if(h!==o&&(S=h),g!==o){if(S===o)return g;typeof h=="string"||typeof g=="string"?(h=Ai(h),g=Ai(g)):(h=TB(h),g=TB(g)),S=l(h,g)}return S}}function GC(l){return Er(function(d){return d=Xt(d,_i(qe())),ft(function(h){var g=this;return l(d,function(S){return Pi(S,g,h)})})})}function Nm(l,d){d=d===o?" ":Ai(d);var h=d.length;if(h<2)return h?OC(d,l):d;var g=OC(d,gm(l/Bl(d)));return Sl(d)?Bs(Ln(g),0,l).join(""):g.slice(0,l)}function ik(l,d,h,g){var S=d&T,b=od(l);function A(){for(var O=-1,K=arguments.length,ae=-1,le=g.length,me=ee(le+K),De=this&&this!==Io&&this instanceof A?b:l;++ae<le;)me[ae]=g[ae];for(;K--;)me[ae++]=arguments[++O];return Pi(De,S?h:this,me)}return A}function wB(l){return function(d,h,g){return g&&typeof g!="number"&&ni(d,h,g)&&(h=g=o),d=Pr(d),h===o?(h=d,d=0):h=Pr(h),g=g===o?d<h?1:-1:Pr(g),$w(d,h,g,l)}}function Pm(l){return function(d,h){return typeof d=="string"&&typeof h=="string"||(d=un(d),h=un(h)),l(d,h)}}function kB(l,d,h,g,S,b,A,O,K,ae){var le=d&D,me=le?A:o,De=le?o:A,ze=le?b:o,Ye=le?o:b;d|=le?N:_,d&=~(le?_:N),d&v||(d&=-4);var ut=[l,d,S,ze,me,Ye,De,O,K,ae],Je=h.apply(o,ut);return eg(l)&&YB(Je,ut),Je.placeholder=g,JB(Je,l,d)}function KC(l){var d=To[l];return function(h,g){if(h=un(h),g=g==null?0:Go(at(g),292),g&&JS(h)){var S=(Pt(h)+"e").split("e"),b=d(S[0]+"e"+(+S[1]+g));return S=(Pt(b)+"e").split("e"),+(S[0]+"e"+(+S[1]-g))}return d(h)}}var nk=Dl&&1/am(new Dl([,-0]))[1]==Re?function(l){return new Dl(l)}:pg;function WB(l){return function(d){var h=Ko(d);return h==w?VC(d):h==E?SI(d):fI(d,l(d))}}function Lr(l,d,h,g,S,b,A,O){var K=d&B;if(!K&&typeof l!="function")throw new nn(s);var ae=g?g.length:0;if(ae||(d&=-97,g=S=o),A=A===o?A:So(at(A),0),O=O===o?O:at(O),ae-=S?S.length:0,d&_){var le=g,me=S;g=S=o}var De=K?o:JC(l),ze=[l,d,h,g,S,le,me,b,A,O];if(De&&yk(ze,De),l=ze[0],d=ze[1],h=ze[2],g=ze[3],S=ze[4],O=ze[9]=ze[9]===o?K?0:l.length:So(ze[9]-ae,0),!O&&d&(D|R)&&(d&=-25),!d||d==T)var Ye=tk(l,d,h);else d==D||d==R?Ye=ok(l,d,O):(d==N||d==(T|N))&&!S.length?Ye=ik(l,d,h,g):Ye=Em.apply(o,ze);var ut=De?FB:YB;return JB(ut(Ye,ze),l,d)}function OB(l,d,h,g){return l===o||vn(l,Rl[h])&&!At.call(g,h)?d:l}function MB(l,d,h,g,S,b){return io(l)&&io(d)&&(b.set(d,l),Dm(l,d,o,MB,b),b.delete(d)),l}function rk(l){return rd(l)?o:l}function HB(l,d,h,g,S,b){var A=h&F,O=l.length,K=d.length;if(O!=K&&!(A&&K>O))return!1;var ae=b.get(l),le=b.get(d);if(ae&&le)return ae==d&&le==l;var me=-1,De=!0,ze=h&y?new Fa:o;for(b.set(l,d),b.set(d,l);++me<O;){var Ye=l[me],ut=d[me];if(g)var Je=A?g(ut,Ye,me,d,l,b):g(Ye,ut,me,l,d,b);if(Je!==o){if(Je)continue;De=!1;break}if(ze){if(!gC(d,function(gt,St){if(!ju(ze,St)&&(Ye===gt||S(Ye,gt,h,g,b)))return ze.push(St)})){De=!1;break}}else if(!(Ye===ut||S(Ye,ut,h,g,b))){De=!1;break}}return b.delete(l),b.delete(d),De}function sk(l,d,h,g,S,b,A){switch(h){case Ee:if(l.byteLength!=d.byteLength||l.byteOffset!=d.byteOffset)return!1;l=l.buffer,d=d.buffer;case te:return!(l.byteLength!=d.byteLength||!b(new fm(l),new fm(d)));case Oe:case bt:case Q:return vn(+l,+d);case to:return l.name==d.name&&l.message==d.message;case L:case Y:return l==d+"";case w:var O=VC;case E:var K=g&F;if(O||(O=am),l.size!=d.size&&!K)return!1;var ae=A.get(l);if(ae)return ae==d;g|=y,A.set(l,d);var le=HB(O(l),O(d),g,S,b,A);return A.delete(l),le;case oe:if(Ju)return Ju.call(l)==Ju.call(d)}return!1}function ak(l,d,h,g,S,b){var A=h&F,O=qC(l),K=O.length,ae=qC(d),le=ae.length;if(K!=le&&!A)return!1;for(var me=K;me--;){var De=O[me];if(!(A?De in d:At.call(d,De)))return!1}var ze=b.get(l),Ye=b.get(d);if(ze&&Ye)return ze==d&&Ye==l;var ut=!0;b.set(l,d),b.set(d,l);for(var Je=A;++me<K;){De=O[me];var gt=l[De],St=d[De];if(g)var wi=A?g(St,gt,De,d,l,b):g(gt,St,De,l,d,b);if(!(wi===o?gt===St||S(gt,St,h,g,b):wi)){ut=!1;break}Je||(Je=De=="constructor")}if(ut&&!Je){var ri=l.constructor,ki=d.constructor;ri!=ki&&"constructor"in l&&"constructor"in d&&!(typeof ri=="function"&&ri instanceof ri&&typeof ki=="function"&&ki instanceof ki)&&(ut=!1)}return b.delete(l),b.delete(d),ut}function Er(l){return og(KB(l,o,oV),l+"")}function qC(l){return aB(l,bo,XC)}function YC(l){return aB(l,Bi,$B)}var JC=ym?function(l){return ym.get(l)}:pg;function _m(l){for(var d=l.name+"",h=xl[d],g=At.call(xl,d)?h.length:0;g--;){var S=h[g],b=S.func;if(b==null||b==l)return S.name}return d}function vl(l){var d=At.call(x,"placeholder")?x:l;return d.placeholder}function qe(){var l=x.iteratee||fg;return l=l===fg?dB:l,arguments.length?l(arguments[0],arguments[1]):l}function Am(l,d){var h=l.__data__;return pk(d)?h[typeof d=="string"?"string":"hash"]:h.map}function ZC(l){for(var d=bo(l),h=d.length;h--;){var g=d[h],S=l[g];d[h]=[g,S,jB(S)]}return d}function Sa(l,d){var h=FI(l,d);return uB(h)?h:o}function lk(l){var d=At.call(l,Ca),h=l[Ca];try{l[Ca]=o;var g=!0}catch{}var S=cm.call(l);return g&&(d?l[Ca]=h:delete l[Ca]),S}var XC=DC?function(l){return l==null?[]:(l=kt(l),ps(DC(l),function(d){return qS.call(l,d)}))}:Cg,$B=DC?function(l){for(var d=[];l;)Cs(d,XC(l)),l=hm(l);return d}:Cg,Ko=ii;(xC&&Ko(new xC(new ArrayBuffer(1)))!=Ee||Ku&&Ko(new Ku)!=w||bC&&Ko(bC.resolve())!=Te||Dl&&Ko(new Dl)!=E||qu&&Ko(new qu)!=ce)&&(Ko=function(l){var d=ii(l),h=d==ne?l.constructor:o,g=h?Ba(h):"";if(g)switch(g){case UI:return Ee;case jI:return w;case GI:return Te;case KI:return E;case qI:return ce}return d});function uk(l,d,h){for(var g=-1,S=h.length;++g<S;){var b=h[g],A=b.size;switch(b.type){case"drop":l+=A;break;case"dropRight":d-=A;break;case"take":d=Go(d,l+A);break;case"takeRight":l=So(l,d-A);break}}return{start:l,end:d}}function dk(l){var d=l.match(Jc);return d?d[1].split(Zc):[]}function zB(l,d,h){d=Ss(d,l);for(var g=-1,S=d.length,b=!1;++g<S;){var A=Xn(d[g]);if(!(b=l!=null&&h(l,A)))break;l=l[A]}return b||++g!=S?b:(S=l==null?0:l.length,!!S&&Hm(S)&&vr(A,S)&&(rt(l)||Va(l)))}function ck(l){var d=l.length,h=new l.constructor(d);return d&&typeof l[0]=="string"&&At.call(l,"index")&&(h.index=l.index,h.input=l.input),h}function UB(l){return typeof l.constructor=="function"&&!id(l)?bl(hm(l)):{}}function mk(l,d,h){var g=l.constructor;switch(d){case te:return jC(l);case Oe:case bt:return new g(+l);case Ee:return Yw(l,h);case nt:case Nt:case oo:case Zt:case Uo:case Qi:case wt:case uo:case Yn:return xB(l,h);case w:return new g;case Q:case Y:return new g(l);case L:return Jw(l);case E:return new g;case oe:return Zw(l)}}function fk(l,d){var h=d.length;if(!h)return l;var g=h-1;return d[g]=(h>1?"& ":"")+d[g],d=d.join(h>2?", ":" "),l.replace(Vr,`{
|
|
67
|
-
/* [wrapped with `+d+`] */
|
|
68
|
-
`)}function hk(l){return rt(l)||Va(l)||!!(YS&&l&&l[YS])}function vr(l,d){var h=typeof l;return d=d??Ie,!!d&&(h=="number"||h!="symbol"&&$.test(l))&&l>-1&&l%1==0&&l<d}function ni(l,d,h){if(!io(h))return!1;var g=typeof d;return(g=="number"?Si(h)&&vr(d,h.length):g=="string"&&d in h)?vn(h[d],l):!1}function QC(l,d){if(rt(l))return!1;var h=typeof l;return h=="number"||h=="symbol"||h=="boolean"||l==null||Ii(l)?!0:qc.test(l)||!sC.test(l)||d!=null&&l in kt(d)}function pk(l){var d=typeof l;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?l!=="__proto__":l===null}function eg(l){var d=_m(l),h=x[d];if(typeof h!="function"||!(d in yt.prototype))return!1;if(l===h)return!0;var g=JC(h);return!!g&&l===g[0]}function Ck(l){return!!jS&&jS in l}var gk=um?Nr:gg;function id(l){var d=l&&l.constructor,h=typeof d=="function"&&d.prototype||Rl;return l===h}function jB(l){return l===l&&!io(l)}function GB(l,d){return function(h){return h==null?!1:h[l]===d&&(d!==o||l in kt(h))}}function Fk(l){var d=Om(l,function(g){return h.size===c&&h.clear(),g}),h=d.cache;return d}function yk(l,d){var h=l[1],g=d[1],S=h|g,b=S<(T|B|P),A=g==P&&h==D||g==P&&h==U&&l[7].length<=d[8]||g==(P|U)&&d[7].length<=d[8]&&h==D;if(!(b||A))return l;g&T&&(l[2]=d[2],S|=h&T?0:v);var O=d[3];if(O){var K=l[3];l[3]=K?LB(K,O,d[4]):O,l[4]=K?gs(l[3],m):d[4]}return O=d[5],O&&(K=l[5],l[5]=K?EB(K,O,d[6]):O,l[6]=K?gs(l[5],m):d[6]),O=d[7],O&&(l[7]=O),g&P&&(l[8]=l[8]==null?d[8]:Go(l[8],d[8])),l[9]==null&&(l[9]=d[9]),l[0]=d[0],l[1]=S,l}function Tk(l){var d=[];if(l!=null)for(var h in kt(l))d.push(h);return d}function Sk(l){return cm.call(l)}function KB(l,d,h){return d=So(d===o?l.length-1:d,0),function(){for(var g=arguments,S=-1,b=So(g.length-d,0),A=ee(b);++S<b;)A[S]=g[d+S];S=-1;for(var O=ee(d+1);++S<d;)O[S]=g[S];return O[d]=h(A),Pi(l,this,O)}}function qB(l,d){return d.length<2?l:Ta(l,an(d,0,-1))}function Bk(l,d){for(var h=l.length,g=Go(d.length,h),S=Ti(l);g--;){var b=d[g];l[g]=vr(b,h)?S[b]:o}return l}function tg(l,d){if(!(d==="constructor"&&typeof l[d]=="function")&&d!="__proto__")return l[d]}var YB=ZB(FB),nd=kI||function(l,d){return Io.setTimeout(l,d)},og=ZB(jw);function JB(l,d,h){var g=d+"";return og(l,fk(g,Vk(dk(g),h)))}function ZB(l){var d=0,h=0;return function(){var g=HI(),S=X-(g-h);if(h=g,S>0){if(++d>=M)return arguments[0]}else d=0;return l.apply(o,arguments)}}function Im(l,d){var h=-1,g=l.length,S=g-1;for(d=d===o?g:d;++h<d;){var b=WC(h,S),A=l[b];l[b]=l[h],l[h]=A}return l.length=d,l}var XB=Fk(function(l){var d=[];return l.charCodeAt(0)===46&&d.push(""),l.replace(Hu,function(h,g,S,b){d.push(S?b.replace(xn,"$1"):g||h)}),d});function Xn(l){if(typeof l=="string"||Ii(l))return l;var d=l+"";return d=="0"&&1/l==-Re?"-0":d}function Ba(l){if(l!=null){try{return dm.call(l)}catch{}try{return l+""}catch{}}return""}function Vk(l,d){return on(jt,function(h){var g="_."+h[0];d&h[1]&&!rm(l,g)&&l.push(g)}),l.sort()}function QB(l){if(l instanceof yt)return l.clone();var d=new rn(l.__wrapped__,l.__chain__);return d.__actions__=Ti(l.__actions__),d.__index__=l.__index__,d.__values__=l.__values__,d}function Rk(l,d,h){(h?ni(l,d,h):d===o)?d=1:d=So(at(d),0);var g=l==null?0:l.length;if(!g||d<1)return[];for(var S=0,b=0,A=ee(gm(g/d));S<g;)A[b++]=an(l,S,S+=d);return A}function Dk(l){for(var d=-1,h=l==null?0:l.length,g=0,S=[];++d<h;){var b=l[d];b&&(S[g++]=b)}return S}function xk(){var l=arguments.length;if(!l)return[];for(var d=ee(l-1),h=arguments[0],g=l;g--;)d[g-1]=arguments[g];return Cs(rt(h)?Ti(h):[h],wo(d,1))}var bk=ft(function(l,d){return mo(l)?Xu(l,wo(d,1,mo,!0)):[]}),Lk=ft(function(l,d){var h=ln(d);return mo(h)&&(h=o),mo(l)?Xu(l,wo(d,1,mo,!0),qe(h,2)):[]}),Ek=ft(function(l,d){var h=ln(d);return mo(h)&&(h=o),mo(l)?Xu(l,wo(d,1,mo,!0),o,h):[]});function vk(l,d,h){var g=l==null?0:l.length;return g?(d=h||d===o?1:at(d),an(l,d<0?0:d,g)):[]}function Nk(l,d,h){var g=l==null?0:l.length;return g?(d=h||d===o?1:at(d),d=g-d,an(l,0,d<0?0:d)):[]}function Pk(l,d){return l&&l.length?bm(l,qe(d,3),!0,!0):[]}function _k(l,d){return l&&l.length?bm(l,qe(d,3),!0):[]}function Ak(l,d,h,g){var S=l==null?0:l.length;return S?(h&&typeof h!="number"&&ni(l,d,h)&&(h=0,g=S),xw(l,d,h,g)):[]}function eV(l,d,h){var g=l==null?0:l.length;if(!g)return-1;var S=h==null?0:at(h);return S<0&&(S=So(g+S,0)),sm(l,qe(d,3),S)}function tV(l,d,h){var g=l==null?0:l.length;if(!g)return-1;var S=g-1;return h!==o&&(S=at(h),S=h<0?So(g+S,0):Go(S,g-1)),sm(l,qe(d,3),S,!0)}function oV(l){var d=l==null?0:l.length;return d?wo(l,1):[]}function Ik(l){var d=l==null?0:l.length;return d?wo(l,Re):[]}function wk(l,d){var h=l==null?0:l.length;return h?(d=d===o?1:at(d),wo(l,d)):[]}function kk(l){for(var d=-1,h=l==null?0:l.length,g={};++d<h;){var S=l[d];g[S[0]]=S[1]}return g}function iV(l){return l&&l.length?l[0]:o}function Wk(l,d,h){var g=l==null?0:l.length;if(!g)return-1;var S=h==null?0:at(h);return S<0&&(S=So(g+S,0)),Tl(l,d,S)}function Ok(l){var d=l==null?0:l.length;return d?an(l,0,-1):[]}var Mk=ft(function(l){var d=Xt(l,zC);return d.length&&d[0]===l[0]?_C(d):[]}),Hk=ft(function(l){var d=ln(l),h=Xt(l,zC);return d===ln(h)?d=o:h.pop(),h.length&&h[0]===l[0]?_C(h,qe(d,2)):[]}),$k=ft(function(l){var d=ln(l),h=Xt(l,zC);return d=typeof d=="function"?d:o,d&&h.pop(),h.length&&h[0]===l[0]?_C(h,o,d):[]});function zk(l,d){return l==null?"":OI.call(l,d)}function ln(l){var d=l==null?0:l.length;return d?l[d-1]:o}function Uk(l,d,h){var g=l==null?0:l.length;if(!g)return-1;var S=g;return h!==o&&(S=at(h),S=S<0?So(g+S,0):Go(S,g-1)),d===d?VI(l,d,S):sm(l,kS,S,!0)}function jk(l,d){return l&&l.length?hB(l,at(d)):o}var Gk=ft(nV);function nV(l,d){return l&&l.length&&d&&d.length?kC(l,d):l}function Kk(l,d,h){return l&&l.length&&d&&d.length?kC(l,d,qe(h,2)):l}function qk(l,d,h){return l&&l.length&&d&&d.length?kC(l,d,o,h):l}var Yk=Er(function(l,d){var h=l==null?0:l.length,g=EC(l,d);return gB(l,Xt(d,function(S){return vr(S,h)?+S:S}).sort(bB)),g});function Jk(l,d){var h=[];if(!(l&&l.length))return h;var g=-1,S=[],b=l.length;for(d=qe(d,3);++g<b;){var A=l[g];d(A,g,l)&&(h.push(A),S.push(g))}return gB(l,S),h}function ig(l){return l==null?l:zI.call(l)}function Zk(l,d,h){var g=l==null?0:l.length;return g?(h&&typeof h!="number"&&ni(l,d,h)?(d=0,h=g):(d=d==null?0:at(d),h=h===o?g:at(h)),an(l,d,h)):[]}function Xk(l,d){return xm(l,d)}function Qk(l,d,h){return MC(l,d,qe(h,2))}function e2(l,d){var h=l==null?0:l.length;if(h){var g=xm(l,d);if(g<h&&vn(l[g],d))return g}return-1}function t2(l,d){return xm(l,d,!0)}function o2(l,d,h){return MC(l,d,qe(h,2),!0)}function i2(l,d){var h=l==null?0:l.length;if(h){var g=xm(l,d,!0)-1;if(vn(l[g],d))return g}return-1}function n2(l){return l&&l.length?yB(l):[]}function r2(l,d){return l&&l.length?yB(l,qe(d,2)):[]}function s2(l){var d=l==null?0:l.length;return d?an(l,1,d):[]}function a2(l,d,h){return l&&l.length?(d=h||d===o?1:at(d),an(l,0,d<0?0:d)):[]}function l2(l,d,h){var g=l==null?0:l.length;return g?(d=h||d===o?1:at(d),d=g-d,an(l,d<0?0:d,g)):[]}function u2(l,d){return l&&l.length?bm(l,qe(d,3),!1,!0):[]}function d2(l,d){return l&&l.length?bm(l,qe(d,3)):[]}var c2=ft(function(l){return Ts(wo(l,1,mo,!0))}),m2=ft(function(l){var d=ln(l);return mo(d)&&(d=o),Ts(wo(l,1,mo,!0),qe(d,2))}),f2=ft(function(l){var d=ln(l);return d=typeof d=="function"?d:o,Ts(wo(l,1,mo,!0),o,d)});function h2(l){return l&&l.length?Ts(l):[]}function p2(l,d){return l&&l.length?Ts(l,qe(d,2)):[]}function C2(l,d){return d=typeof d=="function"?d:o,l&&l.length?Ts(l,o,d):[]}function ng(l){if(!(l&&l.length))return[];var d=0;return l=ps(l,function(h){if(mo(h))return d=So(h.length,d),!0}),SC(d,function(h){return Xt(l,FC(h))})}function rV(l,d){if(!(l&&l.length))return[];var h=ng(l);return d==null?h:Xt(h,function(g){return Pi(d,o,g)})}var g2=ft(function(l,d){return mo(l)?Xu(l,d):[]}),F2=ft(function(l){return $C(ps(l,mo))}),y2=ft(function(l){var d=ln(l);return mo(d)&&(d=o),$C(ps(l,mo),qe(d,2))}),T2=ft(function(l){var d=ln(l);return d=typeof d=="function"?d:o,$C(ps(l,mo),o,d)}),S2=ft(ng);function B2(l,d){return VB(l||[],d||[],Zu)}function V2(l,d){return VB(l||[],d||[],td)}var R2=ft(function(l){var d=l.length,h=d>1?l[d-1]:o;return h=typeof h=="function"?(l.pop(),h):o,rV(l,h)});function sV(l){var d=x(l);return d.__chain__=!0,d}function D2(l,d){return d(l),l}function wm(l,d){return d(l)}var x2=Er(function(l){var d=l.length,h=d?l[0]:0,g=this.__wrapped__,S=function(b){return EC(b,l)};return d>1||this.__actions__.length||!(g instanceof yt)||!vr(h)?this.thru(S):(g=g.slice(h,+h+(d?1:0)),g.__actions__.push({func:wm,args:[S],thisArg:o}),new rn(g,this.__chain__).thru(function(b){return d&&!b.length&&b.push(o),b}))});function b2(){return sV(this)}function L2(){return new rn(this.value(),this.__chain__)}function E2(){this.__values__===o&&(this.__values__=TV(this.value()));var l=this.__index__>=this.__values__.length,d=l?o:this.__values__[this.__index__++];return{done:l,value:d}}function v2(){return this}function N2(l){for(var d,h=this;h instanceof Sm;){var g=QB(h);g.__index__=0,g.__values__=o,d?S.__wrapped__=g:d=g;var S=g;h=h.__wrapped__}return S.__wrapped__=l,d}function P2(){var l=this.__wrapped__;if(l instanceof yt){var d=l;return this.__actions__.length&&(d=new yt(this)),d=d.reverse(),d.__actions__.push({func:wm,args:[ig],thisArg:o}),new rn(d,this.__chain__)}return this.thru(ig)}function _2(){return BB(this.__wrapped__,this.__actions__)}var A2=Lm(function(l,d,h){At.call(l,h)?++l[h]:br(l,h,1)});function I2(l,d,h){var g=rt(l)?IS:Dw;return h&&ni(l,d,h)&&(d=o),g(l,qe(d,3))}function w2(l,d){var h=rt(l)?ps:rB;return h(l,qe(d,3))}var k2=_B(eV),W2=_B(tV);function O2(l,d){return wo(km(l,d),1)}function M2(l,d){return wo(km(l,d),Re)}function H2(l,d,h){return h=h===o?1:at(h),wo(km(l,d),h)}function aV(l,d){var h=rt(l)?on:ys;return h(l,qe(d,3))}function lV(l,d){var h=rt(l)?sI:nB;return h(l,qe(d,3))}var $2=Lm(function(l,d,h){At.call(l,h)?l[h].push(d):br(l,h,[d])});function z2(l,d,h,g){l=Si(l)?l:Pl(l),h=h&&!g?at(h):0;var S=l.length;return h<0&&(h=So(S+h,0)),$m(l)?h<=S&&l.indexOf(d,h)>-1:!!S&&Tl(l,d,h)>-1}var U2=ft(function(l,d,h){var g=-1,S=typeof d=="function",b=Si(l)?ee(l.length):[];return ys(l,function(A){b[++g]=S?Pi(d,A,h):Qu(A,d,h)}),b}),j2=Lm(function(l,d,h){br(l,h,d)});function km(l,d){var h=rt(l)?Xt:cB;return h(l,qe(d,3))}function G2(l,d,h,g){return l==null?[]:(rt(d)||(d=d==null?[]:[d]),h=g?o:h,rt(h)||(h=h==null?[]:[h]),pB(l,d,h))}var K2=Lm(function(l,d,h){l[h?0:1].push(d)},function(){return[[],[]]});function q2(l,d,h){var g=rt(l)?CC:OS,S=arguments.length<3;return g(l,qe(d,4),h,S,ys)}function Y2(l,d,h){var g=rt(l)?aI:OS,S=arguments.length<3;return g(l,qe(d,4),h,S,nB)}function J2(l,d){var h=rt(l)?ps:rB;return h(l,Mm(qe(d,3)))}function Z2(l){var d=rt(l)?eB:zw;return d(l)}function X2(l,d,h){(h?ni(l,d,h):d===o)?d=1:d=at(d);var g=rt(l)?Tw:Uw;return g(l,d)}function Q2(l){var d=rt(l)?Sw:Gw;return d(l)}function eW(l){if(l==null)return 0;if(Si(l))return $m(l)?Bl(l):l.length;var d=Ko(l);return d==w||d==E?l.size:IC(l).length}function tW(l,d,h){var g=rt(l)?gC:Kw;return h&&ni(l,d,h)&&(d=o),g(l,qe(d,3))}var oW=ft(function(l,d){if(l==null)return[];var h=d.length;return h>1&&ni(l,d[0],d[1])?d=[]:h>2&&ni(d[0],d[1],d[2])&&(d=[d[0]]),pB(l,wo(d,1),[])}),Wm=wI||function(){return Io.Date.now()};function iW(l,d){if(typeof d!="function")throw new nn(s);return l=at(l),function(){if(--l<1)return d.apply(this,arguments)}}function uV(l,d,h){return d=h?o:d,d=l&&d==null?l.length:d,Lr(l,P,o,o,o,o,d)}function dV(l,d){var h;if(typeof d!="function")throw new nn(s);return l=at(l),function(){return--l>0&&(h=d.apply(this,arguments)),l<=1&&(d=o),h}}var rg=ft(function(l,d,h){var g=T;if(h.length){var S=gs(h,vl(rg));g|=N}return Lr(l,g,d,h,S)}),cV=ft(function(l,d,h){var g=T|B;if(h.length){var S=gs(h,vl(cV));g|=N}return Lr(d,g,l,h,S)});function mV(l,d,h){d=h?o:d;var g=Lr(l,D,o,o,o,o,o,d);return g.placeholder=mV.placeholder,g}function fV(l,d,h){d=h?o:d;var g=Lr(l,R,o,o,o,o,o,d);return g.placeholder=fV.placeholder,g}function hV(l,d,h){var g,S,b,A,O,K,ae=0,le=!1,me=!1,De=!0;if(typeof l!="function")throw new nn(s);d=un(d)||0,io(h)&&(le=!!h.leading,me="maxWait"in h,b=me?So(un(h.maxWait)||0,d):b,De="trailing"in h?!!h.trailing:De);function ze(fo){var Nn=g,_r=S;return g=S=o,ae=fo,A=l.apply(_r,Nn),A}function Ye(fo){return ae=fo,O=nd(gt,d),le?ze(fo):A}function ut(fo){var Nn=fo-K,_r=fo-ae,_V=d-Nn;return me?Go(_V,b-_r):_V}function Je(fo){var Nn=fo-K,_r=fo-ae;return K===o||Nn>=d||Nn<0||me&&_r>=b}function gt(){var fo=Wm();if(Je(fo))return St(fo);O=nd(gt,ut(fo))}function St(fo){return O=o,De&&g?ze(fo):(g=S=o,A)}function wi(){O!==o&&RB(O),ae=0,g=K=S=O=o}function ri(){return O===o?A:St(Wm())}function ki(){var fo=Wm(),Nn=Je(fo);if(g=arguments,S=this,K=fo,Nn){if(O===o)return Ye(K);if(me)return RB(O),O=nd(gt,d),ze(K)}return O===o&&(O=nd(gt,d)),A}return ki.cancel=wi,ki.flush=ri,ki}var nW=ft(function(l,d){return iB(l,1,d)}),rW=ft(function(l,d,h){return iB(l,un(d)||0,h)});function sW(l){return Lr(l,k)}function Om(l,d){if(typeof l!="function"||d!=null&&typeof d!="function")throw new nn(s);var h=function(){var g=arguments,S=d?d.apply(this,g):g[0],b=h.cache;if(b.has(S))return b.get(S);var A=l.apply(this,g);return h.cache=b.set(S,A)||b,A};return h.cache=new(Om.Cache||xr),h}Om.Cache=xr;function Mm(l){if(typeof l!="function")throw new nn(s);return function(){var d=arguments;switch(d.length){case 0:return!l.call(this);case 1:return!l.call(this,d[0]);case 2:return!l.call(this,d[0],d[1]);case 3:return!l.call(this,d[0],d[1],d[2])}return!l.apply(this,d)}}function aW(l){return dV(2,l)}var lW=qw(function(l,d){d=d.length==1&&rt(d[0])?Xt(d[0],_i(qe())):Xt(wo(d,1),_i(qe()));var h=d.length;return ft(function(g){for(var S=-1,b=Go(g.length,h);++S<b;)g[S]=d[S].call(this,g[S]);return Pi(l,this,g)})}),sg=ft(function(l,d){var h=gs(d,vl(sg));return Lr(l,N,o,d,h)}),pV=ft(function(l,d){var h=gs(d,vl(pV));return Lr(l,_,o,d,h)}),uW=Er(function(l,d){return Lr(l,U,o,o,o,d)});function dW(l,d){if(typeof l!="function")throw new nn(s);return d=d===o?d:at(d),ft(l,d)}function cW(l,d){if(typeof l!="function")throw new nn(s);return d=d==null?0:So(at(d),0),ft(function(h){var g=h[d],S=Bs(h,0,d);return g&&Cs(S,g),Pi(l,this,S)})}function mW(l,d,h){var g=!0,S=!0;if(typeof l!="function")throw new nn(s);return io(h)&&(g="leading"in h?!!h.leading:g,S="trailing"in h?!!h.trailing:S),hV(l,d,{leading:g,maxWait:d,trailing:S})}function fW(l){return uV(l,1)}function hW(l,d){return sg(UC(d),l)}function pW(){if(!arguments.length)return[];var l=arguments[0];return rt(l)?l:[l]}function CW(l){return sn(l,C)}function gW(l,d){return d=typeof d=="function"?d:o,sn(l,C,d)}function FW(l){return sn(l,f|C)}function yW(l,d){return d=typeof d=="function"?d:o,sn(l,f|C,d)}function TW(l,d){return d==null||oB(l,d,bo(d))}function vn(l,d){return l===d||l!==l&&d!==d}var SW=Pm(PC),BW=Pm(function(l,d){return l>=d}),Va=lB((function(){return arguments})())?lB:function(l){return ro(l)&&At.call(l,"callee")&&!qS.call(l,"callee")},rt=ee.isArray,VW=ES?_i(ES):Nw;function Si(l){return l!=null&&Hm(l.length)&&!Nr(l)}function mo(l){return ro(l)&&Si(l)}function RW(l){return l===!0||l===!1||ro(l)&&ii(l)==Oe}var Vs=WI||gg,DW=vS?_i(vS):Pw;function xW(l){return ro(l)&&l.nodeType===1&&!rd(l)}function bW(l){if(l==null)return!0;if(Si(l)&&(rt(l)||typeof l=="string"||typeof l.splice=="function"||Vs(l)||Nl(l)||Va(l)))return!l.length;var d=Ko(l);if(d==w||d==E)return!l.size;if(id(l))return!IC(l).length;for(var h in l)if(At.call(l,h))return!1;return!0}function LW(l,d){return ed(l,d)}function EW(l,d,h){h=typeof h=="function"?h:o;var g=h?h(l,d):o;return g===o?ed(l,d,o,h):!!g}function ag(l){if(!ro(l))return!1;var d=ii(l);return d==to||d==Gt||typeof l.message=="string"&&typeof l.name=="string"&&!rd(l)}function vW(l){return typeof l=="number"&&JS(l)}function Nr(l){if(!io(l))return!1;var d=ii(l);return d==I||d==H||d==We||d==Se}function CV(l){return typeof l=="number"&&l==at(l)}function Hm(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=Ie}function io(l){var d=typeof l;return l!=null&&(d=="object"||d=="function")}function ro(l){return l!=null&&typeof l=="object"}var gV=NS?_i(NS):Aw;function NW(l,d){return l===d||AC(l,d,ZC(d))}function PW(l,d,h){return h=typeof h=="function"?h:o,AC(l,d,ZC(d),h)}function _W(l){return FV(l)&&l!=+l}function AW(l){if(gk(l))throw new it(r);return uB(l)}function IW(l){return l===null}function wW(l){return l==null}function FV(l){return typeof l=="number"||ro(l)&&ii(l)==Q}function rd(l){if(!ro(l)||ii(l)!=ne)return!1;var d=hm(l);if(d===null)return!0;var h=At.call(d,"constructor")&&d.constructor;return typeof h=="function"&&h instanceof h&&dm.call(h)==PI}var lg=PS?_i(PS):Iw;function kW(l){return CV(l)&&l>=-Ie&&l<=Ie}var yV=_S?_i(_S):ww;function $m(l){return typeof l=="string"||!rt(l)&&ro(l)&&ii(l)==Y}function Ii(l){return typeof l=="symbol"||ro(l)&&ii(l)==oe}var Nl=AS?_i(AS):kw;function WW(l){return l===o}function OW(l){return ro(l)&&Ko(l)==ce}function MW(l){return ro(l)&&ii(l)==q}var HW=Pm(wC),$W=Pm(function(l,d){return l<=d});function TV(l){if(!l)return[];if(Si(l))return $m(l)?Ln(l):Ti(l);if(Gu&&l[Gu])return TI(l[Gu]());var d=Ko(l),h=d==w?VC:d==E?am:Pl;return h(l)}function Pr(l){if(!l)return l===0?l:0;if(l=un(l),l===Re||l===-Re){var d=l<0?-1:1;return d*mt}return l===l?l:0}function at(l){var d=Pr(l),h=d%1;return d===d?h?d-h:d:0}function SV(l){return l?ya(at(l),0,ve):0}function un(l){if(typeof l=="number")return l;if(Ii(l))return ke;if(io(l)){var d=typeof l.valueOf=="function"?l.valueOf():l;l=io(d)?d+"":d}if(typeof l!="string")return l===0?l:+l;l=MS(l);var h=tm.test(l);return h||je.test(l)?iI(l.slice(2),h?2:8):em.test(l)?ke:+l}function BV(l){return Zn(l,Bi(l))}function zW(l){return l?ya(at(l),-Ie,Ie):l===0?l:0}function Pt(l){return l==null?"":Ai(l)}var UW=Ll(function(l,d){if(id(d)||Si(d)){Zn(d,bo(d),l);return}for(var h in d)At.call(d,h)&&Zu(l,h,d[h])}),VV=Ll(function(l,d){Zn(d,Bi(d),l)}),zm=Ll(function(l,d,h,g){Zn(d,Bi(d),l,g)}),jW=Ll(function(l,d,h,g){Zn(d,bo(d),l,g)}),GW=Er(EC);function KW(l,d){var h=bl(l);return d==null?h:tB(h,d)}var qW=ft(function(l,d){l=kt(l);var h=-1,g=d.length,S=g>2?d[2]:o;for(S&&ni(d[0],d[1],S)&&(g=1);++h<g;)for(var b=d[h],A=Bi(b),O=-1,K=A.length;++O<K;){var ae=A[O],le=l[ae];(le===o||vn(le,Rl[ae])&&!At.call(l,ae))&&(l[ae]=b[ae])}return l}),YW=ft(function(l){return l.push(o,MB),Pi(RV,o,l)});function JW(l,d){return wS(l,qe(d,3),Jn)}function ZW(l,d){return wS(l,qe(d,3),NC)}function XW(l,d){return l==null?l:vC(l,qe(d,3),Bi)}function QW(l,d){return l==null?l:sB(l,qe(d,3),Bi)}function eO(l,d){return l&&Jn(l,qe(d,3))}function tO(l,d){return l&&NC(l,qe(d,3))}function oO(l){return l==null?[]:Rm(l,bo(l))}function iO(l){return l==null?[]:Rm(l,Bi(l))}function ug(l,d,h){var g=l==null?o:Ta(l,d);return g===o?h:g}function nO(l,d){return l!=null&&zB(l,d,bw)}function dg(l,d){return l!=null&&zB(l,d,Lw)}var rO=IB(function(l,d,h){d!=null&&typeof d.toString!="function"&&(d=cm.call(d)),l[d]=h},mg(Vi)),sO=IB(function(l,d,h){d!=null&&typeof d.toString!="function"&&(d=cm.call(d)),At.call(l,d)?l[d].push(h):l[d]=[h]},qe),aO=ft(Qu);function bo(l){return Si(l)?QS(l):IC(l)}function Bi(l){return Si(l)?QS(l,!0):Ww(l)}function lO(l,d){var h={};return d=qe(d,3),Jn(l,function(g,S,b){br(h,d(g,S,b),g)}),h}function uO(l,d){var h={};return d=qe(d,3),Jn(l,function(g,S,b){br(h,S,d(g,S,b))}),h}var dO=Ll(function(l,d,h){Dm(l,d,h)}),RV=Ll(function(l,d,h,g){Dm(l,d,h,g)}),cO=Er(function(l,d){var h={};if(l==null)return h;var g=!1;d=Xt(d,function(b){return b=Ss(b,l),g||(g=b.length>1),b}),Zn(l,YC(l),h),g&&(h=sn(h,f|p|C,rk));for(var S=d.length;S--;)HC(h,d[S]);return h});function mO(l,d){return DV(l,Mm(qe(d)))}var fO=Er(function(l,d){return l==null?{}:Mw(l,d)});function DV(l,d){if(l==null)return{};var h=Xt(YC(l),function(g){return[g]});return d=qe(d),CB(l,h,function(g,S){return d(g,S[0])})}function hO(l,d,h){d=Ss(d,l);var g=-1,S=d.length;for(S||(S=1,l=o);++g<S;){var b=l==null?o:l[Xn(d[g])];b===o&&(g=S,b=h),l=Nr(b)?b.call(l):b}return l}function pO(l,d,h){return l==null?l:td(l,d,h)}function CO(l,d,h,g){return g=typeof g=="function"?g:o,l==null?l:td(l,d,h,g)}var xV=WB(bo),bV=WB(Bi);function gO(l,d,h){var g=rt(l),S=g||Vs(l)||Nl(l);if(d=qe(d,4),h==null){var b=l&&l.constructor;S?h=g?new b:[]:io(l)?h=Nr(b)?bl(hm(l)):{}:h={}}return(S?on:Jn)(l,function(A,O,K){return d(h,A,O,K)}),h}function FO(l,d){return l==null?!0:HC(l,d)}function yO(l,d,h){return l==null?l:SB(l,d,UC(h))}function TO(l,d,h,g){return g=typeof g=="function"?g:o,l==null?l:SB(l,d,UC(h),g)}function Pl(l){return l==null?[]:BC(l,bo(l))}function SO(l){return l==null?[]:BC(l,Bi(l))}function BO(l,d,h){return h===o&&(h=d,d=o),h!==o&&(h=un(h),h=h===h?h:0),d!==o&&(d=un(d),d=d===d?d:0),ya(un(l),d,h)}function VO(l,d,h){return d=Pr(d),h===o?(h=d,d=0):h=Pr(h),l=un(l),Ew(l,d,h)}function RO(l,d,h){if(h&&typeof h!="boolean"&&ni(l,d,h)&&(d=h=o),h===o&&(typeof d=="boolean"?(h=d,d=o):typeof l=="boolean"&&(h=l,l=o)),l===o&&d===o?(l=0,d=1):(l=Pr(l),d===o?(d=l,l=0):d=Pr(d)),l>d){var g=l;l=d,d=g}if(h||l%1||d%1){var S=ZS();return Go(l+S*(d-l+oI("1e-"+((S+"").length-1))),d)}return WC(l,d)}var DO=El(function(l,d,h){return d=d.toLowerCase(),l+(h?LV(d):d)});function LV(l){return cg(Pt(l).toLowerCase())}function EV(l){return l=Pt(l),l&&l.replace(ye,pI).replace(GA,"")}function xO(l,d,h){l=Pt(l),d=Ai(d);var g=l.length;h=h===o?g:ya(at(h),0,g);var S=h;return h-=d.length,h>=0&&l.slice(h,S)==d}function bO(l){return l=Pt(l),l&&nC.test(l)?l.replace(Kc,CI):l}function LO(l){return l=Pt(l),l&&Yc.test(l)?l.replace(gl,"\\$&"):l}var EO=El(function(l,d,h){return l+(h?"-":"")+d.toLowerCase()}),vO=El(function(l,d,h){return l+(h?" ":"")+d.toLowerCase()}),NO=PB("toLowerCase");function PO(l,d,h){l=Pt(l),d=at(d);var g=d?Bl(l):0;if(!d||g>=d)return l;var S=(d-g)/2;return Nm(Fm(S),h)+l+Nm(gm(S),h)}function _O(l,d,h){l=Pt(l),d=at(d);var g=d?Bl(l):0;return d&&g<d?l+Nm(d-g,h):l}function AO(l,d,h){l=Pt(l),d=at(d);var g=d?Bl(l):0;return d&&g<d?Nm(d-g,h)+l:l}function IO(l,d,h){return h||d==null?d=0:d&&(d=+d),$I(Pt(l).replace($u,""),d||0)}function wO(l,d,h){return(h?ni(l,d,h):d===o)?d=1:d=at(d),OC(Pt(l),d)}function kO(){var l=arguments,d=Pt(l[0]);return l.length<3?d:d.replace(l[1],l[2])}var WO=El(function(l,d,h){return l+(h?"_":"")+d.toLowerCase()});function OO(l,d,h){return h&&typeof h!="number"&&ni(l,d,h)&&(d=h=o),h=h===o?ve:h>>>0,h?(l=Pt(l),l&&(typeof d=="string"||d!=null&&!lg(d))&&(d=Ai(d),!d&&Sl(l))?Bs(Ln(l),0,h):l.split(d,h)):[]}var MO=El(function(l,d,h){return l+(h?" ":"")+cg(d)});function HO(l,d,h){return l=Pt(l),h=h==null?0:ya(at(h),0,l.length),d=Ai(d),l.slice(h,h+d.length)==d}function $O(l,d,h){var g=x.templateSettings;h&&ni(l,d,h)&&(d=o),l=Pt(l),d=zm({},d,g,OB);var S=zm({},d.imports,g.imports,OB),b=bo(S),A=BC(S,b),O,K,ae=0,le=d.interpolate||we,me="__p += '",De=RC((d.escape||we).source+"|"+le.source+"|"+(le===Br?Qc:we).source+"|"+(d.evaluate||we).source+"|$","g"),ze="//# sourceURL="+(At.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ZA+"]")+`
|
|
69
|
-
`;l.replace(De,function(Je,gt,St,wi,ri,ki){return St||(St=wi),me+=l.slice(ae,ki).replace(Ht,gI),gt&&(O=!0,me+=`' +
|
|
70
|
-
__e(`+gt+`) +
|
|
71
|
-
'`),ri&&(K=!0,me+=`';
|
|
72
|
-
`+ri+`;
|
|
73
|
-
__p += '`),St&&(me+=`' +
|
|
74
|
-
((__t = (`+St+`)) == null ? '' : __t) +
|
|
75
|
-
'`),ae=ki+Je.length,Je}),me+=`';
|
|
76
|
-
`;var Ye=At.call(d,"variable")&&d.variable;if(!Ye)me=`with (obj) {
|
|
77
|
-
`+me+`
|
|
78
|
-
}
|
|
79
|
-
`;else if(Xc.test(Ye))throw new it(a);me=(K?me.replace(hs,""):me).replace(iC,"$1").replace(Cl,"$1;"),me="function("+(Ye||"obj")+`) {
|
|
80
|
-
`+(Ye?"":`obj || (obj = {});
|
|
81
|
-
`)+"var __t, __p = ''"+(O?", __e = _.escape":"")+(K?`, __j = Array.prototype.join;
|
|
82
|
-
function print() { __p += __j.call(arguments, '') }
|
|
83
|
-
`:`;
|
|
84
|
-
`)+me+`return __p
|
|
85
|
-
}`;var ut=NV(function(){return vt(b,ze+"return "+me).apply(o,A)});if(ut.source=me,ag(ut))throw ut;return ut}function zO(l){return Pt(l).toLowerCase()}function UO(l){return Pt(l).toUpperCase()}function jO(l,d,h){if(l=Pt(l),l&&(h||d===o))return MS(l);if(!l||!(d=Ai(d)))return l;var g=Ln(l),S=Ln(d),b=HS(g,S),A=$S(g,S)+1;return Bs(g,b,A).join("")}function GO(l,d,h){if(l=Pt(l),l&&(h||d===o))return l.slice(0,US(l)+1);if(!l||!(d=Ai(d)))return l;var g=Ln(l),S=$S(g,Ln(d))+1;return Bs(g,0,S).join("")}function KO(l,d,h){if(l=Pt(l),l&&(h||d===o))return l.replace($u,"");if(!l||!(d=Ai(d)))return l;var g=Ln(l),S=HS(g,Ln(d));return Bs(g,S).join("")}function qO(l,d){var h=de,g=z;if(io(d)){var S="separator"in d?d.separator:S;h="length"in d?at(d.length):h,g="omission"in d?Ai(d.omission):g}l=Pt(l);var b=l.length;if(Sl(l)){var A=Ln(l);b=A.length}if(h>=b)return l;var O=h-Bl(g);if(O<1)return g;var K=A?Bs(A,0,O).join(""):l.slice(0,O);if(S===o)return K+g;if(A&&(O+=K.length-O),lg(S)){if(l.slice(O).search(S)){var ae,le=K;for(S.global||(S=RC(S.source,Pt(Uu.exec(S))+"g")),S.lastIndex=0;ae=S.exec(le);)var me=ae.index;K=K.slice(0,me===o?O:me)}}else if(l.indexOf(Ai(S),O)!=O){var De=K.lastIndexOf(S);De>-1&&(K=K.slice(0,De))}return K+g}function YO(l){return l=Pt(l),l&&ha.test(l)?l.replace(fa,RI):l}var JO=El(function(l,d,h){return l+(h?" ":"")+d.toUpperCase()}),cg=PB("toUpperCase");function vV(l,d,h){return l=Pt(l),d=h?o:d,d===o?yI(l)?bI(l):dI(l):l.match(d)||[]}var NV=ft(function(l,d){try{return Pi(l,o,d)}catch(h){return ag(h)?h:new it(h)}}),ZO=Er(function(l,d){return on(d,function(h){h=Xn(h),br(l,h,rg(l[h],l))}),l});function XO(l){var d=l==null?0:l.length,h=qe();return l=d?Xt(l,function(g){if(typeof g[1]!="function")throw new nn(s);return[h(g[0]),g[1]]}):[],ft(function(g){for(var S=-1;++S<d;){var b=l[S];if(Pi(b[0],this,g))return Pi(b[1],this,g)}})}function QO(l){return Rw(sn(l,f))}function mg(l){return function(){return l}}function eM(l,d){return l==null||l!==l?d:l}var tM=AB(),oM=AB(!0);function Vi(l){return l}function fg(l){return dB(typeof l=="function"?l:sn(l,f))}function iM(l){return mB(sn(l,f))}function nM(l,d){return fB(l,sn(d,f))}var rM=ft(function(l,d){return function(h){return Qu(h,l,d)}}),sM=ft(function(l,d){return function(h){return Qu(l,h,d)}});function hg(l,d,h){var g=bo(d),S=Rm(d,g);h==null&&!(io(d)&&(S.length||!g.length))&&(h=d,d=l,l=this,S=Rm(d,bo(d)));var b=!(io(h)&&"chain"in h)||!!h.chain,A=Nr(l);return on(S,function(O){var K=d[O];l[O]=K,A&&(l.prototype[O]=function(){var ae=this.__chain__;if(b||ae){var le=l(this.__wrapped__),me=le.__actions__=Ti(this.__actions__);return me.push({func:K,args:arguments,thisArg:l}),le.__chain__=ae,le}return K.apply(l,Cs([this.value()],arguments))})}),l}function aM(){return Io._===this&&(Io._=_I),this}function pg(){}function lM(l){return l=at(l),ft(function(d){return hB(d,l)})}var uM=GC(Xt),dM=GC(IS),cM=GC(gC);function PV(l){return QC(l)?FC(Xn(l)):Hw(l)}function mM(l){return function(d){return l==null?o:Ta(l,d)}}var fM=wB(),hM=wB(!0);function Cg(){return[]}function gg(){return!1}function pM(){return{}}function CM(){return""}function gM(){return!0}function FM(l,d){if(l=at(l),l<1||l>Ie)return[];var h=ve,g=Go(l,ve);d=qe(d),l-=ve;for(var S=SC(g,d);++h<l;)d(h);return S}function yM(l){return rt(l)?Xt(l,Xn):Ii(l)?[l]:Ti(XB(Pt(l)))}function TM(l){var d=++NI;return Pt(l)+d}var SM=vm(function(l,d){return l+d},0),BM=KC("ceil"),VM=vm(function(l,d){return l/d},1),RM=KC("floor");function DM(l){return l&&l.length?Vm(l,Vi,PC):o}function xM(l,d){return l&&l.length?Vm(l,qe(d,2),PC):o}function bM(l){return WS(l,Vi)}function LM(l,d){return WS(l,qe(d,2))}function EM(l){return l&&l.length?Vm(l,Vi,wC):o}function vM(l,d){return l&&l.length?Vm(l,qe(d,2),wC):o}var NM=vm(function(l,d){return l*d},1),PM=KC("round"),_M=vm(function(l,d){return l-d},0);function AM(l){return l&&l.length?TC(l,Vi):0}function IM(l,d){return l&&l.length?TC(l,qe(d,2)):0}return x.after=iW,x.ary=uV,x.assign=UW,x.assignIn=VV,x.assignInWith=zm,x.assignWith=jW,x.at=GW,x.before=dV,x.bind=rg,x.bindAll=ZO,x.bindKey=cV,x.castArray=pW,x.chain=sV,x.chunk=Rk,x.compact=Dk,x.concat=xk,x.cond=XO,x.conforms=QO,x.constant=mg,x.countBy=A2,x.create=KW,x.curry=mV,x.curryRight=fV,x.debounce=hV,x.defaults=qW,x.defaultsDeep=YW,x.defer=nW,x.delay=rW,x.difference=bk,x.differenceBy=Lk,x.differenceWith=Ek,x.drop=vk,x.dropRight=Nk,x.dropRightWhile=Pk,x.dropWhile=_k,x.fill=Ak,x.filter=w2,x.flatMap=O2,x.flatMapDeep=M2,x.flatMapDepth=H2,x.flatten=oV,x.flattenDeep=Ik,x.flattenDepth=wk,x.flip=sW,x.flow=tM,x.flowRight=oM,x.fromPairs=kk,x.functions=oO,x.functionsIn=iO,x.groupBy=$2,x.initial=Ok,x.intersection=Mk,x.intersectionBy=Hk,x.intersectionWith=$k,x.invert=rO,x.invertBy=sO,x.invokeMap=U2,x.iteratee=fg,x.keyBy=j2,x.keys=bo,x.keysIn=Bi,x.map=km,x.mapKeys=lO,x.mapValues=uO,x.matches=iM,x.matchesProperty=nM,x.memoize=Om,x.merge=dO,x.mergeWith=RV,x.method=rM,x.methodOf=sM,x.mixin=hg,x.negate=Mm,x.nthArg=lM,x.omit=cO,x.omitBy=mO,x.once=aW,x.orderBy=G2,x.over=uM,x.overArgs=lW,x.overEvery=dM,x.overSome=cM,x.partial=sg,x.partialRight=pV,x.partition=K2,x.pick=fO,x.pickBy=DV,x.property=PV,x.propertyOf=mM,x.pull=Gk,x.pullAll=nV,x.pullAllBy=Kk,x.pullAllWith=qk,x.pullAt=Yk,x.range=fM,x.rangeRight=hM,x.rearg=uW,x.reject=J2,x.remove=Jk,x.rest=dW,x.reverse=ig,x.sampleSize=X2,x.set=pO,x.setWith=CO,x.shuffle=Q2,x.slice=Zk,x.sortBy=oW,x.sortedUniq=n2,x.sortedUniqBy=r2,x.split=OO,x.spread=cW,x.tail=s2,x.take=a2,x.takeRight=l2,x.takeRightWhile=u2,x.takeWhile=d2,x.tap=D2,x.throttle=mW,x.thru=wm,x.toArray=TV,x.toPairs=xV,x.toPairsIn=bV,x.toPath=yM,x.toPlainObject=BV,x.transform=gO,x.unary=fW,x.union=c2,x.unionBy=m2,x.unionWith=f2,x.uniq=h2,x.uniqBy=p2,x.uniqWith=C2,x.unset=FO,x.unzip=ng,x.unzipWith=rV,x.update=yO,x.updateWith=TO,x.values=Pl,x.valuesIn=SO,x.without=g2,x.words=vV,x.wrap=hW,x.xor=F2,x.xorBy=y2,x.xorWith=T2,x.zip=S2,x.zipObject=B2,x.zipObjectDeep=V2,x.zipWith=R2,x.entries=xV,x.entriesIn=bV,x.extend=VV,x.extendWith=zm,hg(x,x),x.add=SM,x.attempt=NV,x.camelCase=DO,x.capitalize=LV,x.ceil=BM,x.clamp=BO,x.clone=CW,x.cloneDeep=FW,x.cloneDeepWith=yW,x.cloneWith=gW,x.conformsTo=TW,x.deburr=EV,x.defaultTo=eM,x.divide=VM,x.endsWith=xO,x.eq=vn,x.escape=bO,x.escapeRegExp=LO,x.every=I2,x.find=k2,x.findIndex=eV,x.findKey=JW,x.findLast=W2,x.findLastIndex=tV,x.findLastKey=ZW,x.floor=RM,x.forEach=aV,x.forEachRight=lV,x.forIn=XW,x.forInRight=QW,x.forOwn=eO,x.forOwnRight=tO,x.get=ug,x.gt=SW,x.gte=BW,x.has=nO,x.hasIn=dg,x.head=iV,x.identity=Vi,x.includes=z2,x.indexOf=Wk,x.inRange=VO,x.invoke=aO,x.isArguments=Va,x.isArray=rt,x.isArrayBuffer=VW,x.isArrayLike=Si,x.isArrayLikeObject=mo,x.isBoolean=RW,x.isBuffer=Vs,x.isDate=DW,x.isElement=xW,x.isEmpty=bW,x.isEqual=LW,x.isEqualWith=EW,x.isError=ag,x.isFinite=vW,x.isFunction=Nr,x.isInteger=CV,x.isLength=Hm,x.isMap=gV,x.isMatch=NW,x.isMatchWith=PW,x.isNaN=_W,x.isNative=AW,x.isNil=wW,x.isNull=IW,x.isNumber=FV,x.isObject=io,x.isObjectLike=ro,x.isPlainObject=rd,x.isRegExp=lg,x.isSafeInteger=kW,x.isSet=yV,x.isString=$m,x.isSymbol=Ii,x.isTypedArray=Nl,x.isUndefined=WW,x.isWeakMap=OW,x.isWeakSet=MW,x.join=zk,x.kebabCase=EO,x.last=ln,x.lastIndexOf=Uk,x.lowerCase=vO,x.lowerFirst=NO,x.lt=HW,x.lte=$W,x.max=DM,x.maxBy=xM,x.mean=bM,x.meanBy=LM,x.min=EM,x.minBy=vM,x.stubArray=Cg,x.stubFalse=gg,x.stubObject=pM,x.stubString=CM,x.stubTrue=gM,x.multiply=NM,x.nth=jk,x.noConflict=aM,x.noop=pg,x.now=Wm,x.pad=PO,x.padEnd=_O,x.padStart=AO,x.parseInt=IO,x.random=RO,x.reduce=q2,x.reduceRight=Y2,x.repeat=wO,x.replace=kO,x.result=hO,x.round=PM,x.runInContext=G,x.sample=Z2,x.size=eW,x.snakeCase=WO,x.some=tW,x.sortedIndex=Xk,x.sortedIndexBy=Qk,x.sortedIndexOf=e2,x.sortedLastIndex=t2,x.sortedLastIndexBy=o2,x.sortedLastIndexOf=i2,x.startCase=MO,x.startsWith=HO,x.subtract=_M,x.sum=AM,x.sumBy=IM,x.template=$O,x.times=FM,x.toFinite=Pr,x.toInteger=at,x.toLength=SV,x.toLower=zO,x.toNumber=un,x.toSafeInteger=zW,x.toString=Pt,x.toUpper=UO,x.trim=jO,x.trimEnd=GO,x.trimStart=KO,x.truncate=qO,x.unescape=YO,x.uniqueId=TM,x.upperCase=JO,x.upperFirst=cg,x.each=aV,x.eachRight=lV,x.first=iV,hg(x,(function(){var l={};return Jn(x,function(d,h){At.call(x.prototype,h)||(l[h]=d)}),l})(),{chain:!1}),x.VERSION=i,on(["bind","bindKey","curry","curryRight","partial","partialRight"],function(l){x[l].placeholder=x}),on(["drop","take"],function(l,d){yt.prototype[l]=function(h){h=h===o?1:So(at(h),0);var g=this.__filtered__&&!d?new yt(this):this.clone();return g.__filtered__?g.__takeCount__=Go(h,g.__takeCount__):g.__views__.push({size:Go(h,ve),type:l+(g.__dir__<0?"Right":"")}),g},yt.prototype[l+"Right"]=function(h){return this.reverse()[l](h).reverse()}}),on(["filter","map","takeWhile"],function(l,d){var h=d+1,g=h==Ce||h==ie;yt.prototype[l]=function(S){var b=this.clone();return b.__iteratees__.push({iteratee:qe(S,3),type:h}),b.__filtered__=b.__filtered__||g,b}}),on(["head","last"],function(l,d){var h="take"+(d?"Right":"");yt.prototype[l]=function(){return this[h](1).value()[0]}}),on(["initial","tail"],function(l,d){var h="drop"+(d?"":"Right");yt.prototype[l]=function(){return this.__filtered__?new yt(this):this[h](1)}}),yt.prototype.compact=function(){return this.filter(Vi)},yt.prototype.find=function(l){return this.filter(l).head()},yt.prototype.findLast=function(l){return this.reverse().find(l)},yt.prototype.invokeMap=ft(function(l,d){return typeof l=="function"?new yt(this):this.map(function(h){return Qu(h,l,d)})}),yt.prototype.reject=function(l){return this.filter(Mm(qe(l)))},yt.prototype.slice=function(l,d){l=at(l);var h=this;return h.__filtered__&&(l>0||d<0)?new yt(h):(l<0?h=h.takeRight(-l):l&&(h=h.drop(l)),d!==o&&(d=at(d),h=d<0?h.dropRight(-d):h.take(d-l)),h)},yt.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},yt.prototype.toArray=function(){return this.take(ve)},Jn(yt.prototype,function(l,d){var h=/^(?:filter|find|map|reject)|While$/.test(d),g=/^(?:head|last)$/.test(d),S=x[g?"take"+(d=="last"?"Right":""):d],b=g||/^find/.test(d);S&&(x.prototype[d]=function(){var A=this.__wrapped__,O=g?[1]:arguments,K=A instanceof yt,ae=O[0],le=K||rt(A),me=function(gt){var St=S.apply(x,Cs([gt],O));return g&&De?St[0]:St};le&&h&&typeof ae=="function"&&ae.length!=1&&(K=le=!1);var De=this.__chain__,ze=!!this.__actions__.length,Ye=b&&!De,ut=K&&!ze;if(!b&&le){A=ut?A:new yt(this);var Je=l.apply(A,O);return Je.__actions__.push({func:wm,args:[me],thisArg:o}),new rn(Je,De)}return Ye&&ut?l.apply(this,O):(Je=this.thru(me),Ye?g?Je.value()[0]:Je.value():Je)})}),on(["pop","push","shift","sort","splice","unshift"],function(l){var d=lm[l],h=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",g=/^(?:pop|shift)$/.test(l);x.prototype[l]=function(){var S=arguments;if(g&&!this.__chain__){var b=this.value();return d.apply(rt(b)?b:[],S)}return this[h](function(A){return d.apply(rt(A)?A:[],S)})}}),Jn(yt.prototype,function(l,d){var h=x[d];if(h){var g=h.name+"";At.call(xl,g)||(xl[g]=[]),xl[g].push({name:d,func:h})}}),xl[Em(o,B).name]=[{name:"wrapper",func:o}],yt.prototype.clone=YI,yt.prototype.reverse=JI,yt.prototype.value=ZI,x.prototype.at=x2,x.prototype.chain=b2,x.prototype.commit=L2,x.prototype.next=E2,x.prototype.plant=N2,x.prototype.reverse=P2,x.prototype.toJSON=x.prototype.valueOf=x.prototype.value=_2,x.prototype.first=x.prototype.head,Gu&&(x.prototype[Gu]=v2),x}),Vl=LI();pa?((pa.exports=Vl)._=Vl,fC._=Vl):Io._=Vl}).call(BG)})(Bd,Bd.exports)),Bd.exports}var Ur=VG();const RG=Me({__name:"If",props:{deps:{},theme:{},element:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]}},emits:["onImageOriginalSizeAdjusted","onImageSizeAdjusted","onElementClicked","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){const o=t,i=e,n=xt({ifResult:!1,isLoading:!0});return o.deps.boolExpressionEvaluator({boolExpression:o.element.Predicate,context:o.context}).then(r=>{n.ifResult=r,n.isLoading=!1}),(r,s)=>(W(!0),J(Ge,null,Yt(n.ifResult?o.element.True:o.element.False,(a,u)=>(W(),Pe(Wn,{key:u,deps:o.deps,theme:o.theme,element:a,context:o.context,path:[...o.path,n.ifResult?"True":"False",u],selectedElementPath:o.selectedElementPath,onOnImageSizeAdjusted:s[0]||(s[0]=c=>i("onImageSizeAdjusted",c)),onOnImageOriginalSizeAdjusted:s[1]||(s[1]=c=>i("onImageOriginalSizeAdjusted",c)),onOnElementClicked:s[2]||(s[2]=c=>i("onElementClicked",c)),onOnElementUpdatedEvent:s[3]||(s[3]=c=>i("onElementUpdatedEvent",c)),onOnElementRemoved:s[4]||(s[4]=c=>i("onElementRemoved",c))},null,8,["deps","theme","element","context","path","selectedElementPath"]))),128))}}),Oc=t=>({paddingTop:Bo({paddingExpression:t.paddings.Top,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings})+"px",paddingRight:Bo({paddingExpression:t.paddings.Right,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings})+"px",paddingBottom:Bo({paddingExpression:t.paddings.Bottom,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings})+"px",paddingLeft:Bo({paddingExpression:t.paddings.Left,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings})+"px"}),DG=Ao,xG=t=>DG(t.width).Match({Auto:()=>"initial",Pixel:e=>e.Value+"px",Percentage:e=>e.Value+"%"}),bG=["align"],LG=Me({__name:"HeightContainer",props:{deps:{},theme:{},element:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]}},emits:["onImageOriginalSizeAdjusted","onImageSizeAdjusted","onElementClicked","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){const o=t,i=e;return(n,r)=>(W(),J("table",{class:"heightContainerRender",style:fe([{"border-spacing":"0","border-collapse":"separate"},{width:j(xG)({width:o.element.Width})}])},[V("tbody",null,[V("tr",null,[V("td",{align:j(Zr)({containerAlign:o.element.ContainerAlign}),style:fe([j(Oc)({paddings:o.element.Paddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings}),{height:o.element.Height?o.element.Height+"px":"",verticalAlign:o.element.VerticalAlign,backgroundRepeat:"no-repeat",backgroundSize:"contain",backgroundColor:j(zn)({color:o.element.BackgroundColor,themeColors:o.theme.Colors})??"inherit"},j(as)({border:o.element.Border,themeColors:o.theme.Colors}),j(Cr)({borderRadius:o.element.BorderRadius,borderRadiusCard:o.theme.BorderRadiusCard,bodyBorderRadius:o.theme.BorderRadius,borderButtonRadius:o.theme.BorderRadiusButton,borderBannerRadius:o.theme.BorderRadiusBanner})])},[(W(!0),J(Ge,null,Yt(o.element.Elements,(s,a)=>(W(),Pe(Wn,{key:a,deps:o.deps,theme:o.theme,element:s,path:[...o.path,"Elements",a],selectedElementPath:o.selectedElementPath,context:o.context,onOnImageSizeAdjusted:r[0]||(r[0]=u=>i("onImageSizeAdjusted",u)),onOnImageOriginalSizeAdjusted:r[1]||(r[1]=u=>i("onImageOriginalSizeAdjusted",u)),onOnElementClicked:r[2]||(r[2]=u=>i("onElementClicked",u)),onOnElementUpdatedEvent:r[3]||(r[3]=u=>i("onElementUpdatedEvent",u)),onOnElementRemoved:r[4]||(r[4]=u=>i("onElementRemoved",u))},null,8,["deps","theme","element","path","selectedElementPath","context"]))),128))],12,bG)])])],4))}}),EG=t=>({Match:e=>{switch(t){case"Left":return e.Left();case"Center":return e.Center();case"Right":return e.Right();case"Inline":return e.Inline()}}}),Du=t=>EG(t.contentAlign).Match({Left:()=>({display:"block",textAlign:"left"}),Center:()=>({display:"block",textAlign:"center"}),Right:()=>({display:"block",textAlign:"right"}),Inline:()=>({})});let Xg;const dc={mounted(t,e){const o=e.value;Xg=new ResizeObserver(i=>{i.forEach(n=>o(n.contentRect))}),Xg.observe(t)},unmounted(t){Xg.unobserve(t)}},vG=["href"],NG=["src","alt"],PG=["src","alt"],_G=Me({__name:"Image",props:{deps:{},theme:{},element:{},path:{},context:{type:[String,Number,Boolean,Array,Object]}},emits:["onImageOriginalSizeAdjusted","onImageSizeAdjusted"],setup(t,{emit:e}){const o=m=>{i("onImageOriginalSizeAdjusted",{Path:n.path,OriginalHeight:m.target.naturalHeight,OriginalWidth:m.target.naturalWidth})},i=e,n=t,r=xt({href:"",src:"",alt:"",isLoaded:!1}),s=Z(()=>n.element.IsResponsive?"100%":(n.element.IsRetina?n.element.OriginalWidth/2:n.element.OriginalWidth)+"px"),a=Z(()=>n.element.IsResponsive?(n.element.IsRetina?n.element.OriginalWidth/2:n.element.OriginalWidth)+"px":"100%"),u=async m=>n.deps.stringExpressionEvaluator({stringExpression:m,context:n.context}),c=async()=>{const[m,f,p]=await Promise.all([u(n.element.Src),u(n.element.HRef),u(n.element.Alt)]);r.href=f,r.src=m,r.alt=p,r.isLoaded=!0};return Rt(()=>[n.element.Src,n.element.HRef,n.element.Alt,n.context],()=>c()),c(),(m,f)=>n.element.IsLink?(W(),J("a",{key:0,href:r.href,style:fe([j(Du)({contentAlign:n.element.ContentAlign})]),onClick:f[0]||(f[0]=ci(()=>{},["prevent"]))},[r.isLoaded?ct((W(),J("img",{key:0,class:Ve(["Image cursor-pointer",{"img-responsive":n.element.IsResponsive}]),src:r.src,alt:r.alt,style:fe([j(Cr)({borderRadius:n.element.BorderRadius,borderRadiusCard:n.theme.BorderRadiusCard,bodyBorderRadius:n.theme.BorderRadius,borderButtonRadius:n.theme.BorderRadiusButton,borderBannerRadius:n.theme.BorderRadiusBanner}),j(as)({border:n.element.Border,themeColors:n.theme.Colors}),{width:s.value,maxWidth:a.value},{verticalAlign:n.element.VerticalAlign}]),onLoad:o},null,46,NG)),[[j(dc),({width:p,height:C})=>i("onImageSizeAdjusted",{Path:n.path,AdjustedHeight:C,AdjustedWidth:p})]]):xe("",!0)],12,vG)):(W(),J("span",{key:1,style:fe([j(Du)({contentAlign:n.element.ContentAlign})])},[r.isLoaded?ct((W(),J("img",{key:0,class:Ve(["Image cursor-pointer",{"img-responsive":n.element.IsResponsive}]),src:r.src,alt:r.alt,style:fe([j(Cr)({borderRadius:n.element.BorderRadius,borderRadiusCard:n.theme.BorderRadiusCard,bodyBorderRadius:n.theme.BorderRadius,borderButtonRadius:n.theme.BorderRadiusButton,borderBannerRadius:n.theme.BorderRadiusBanner}),j(as)({border:n.element.Border,themeColors:n.theme.Colors}),{width:s.value,maxWidth:a.value},{verticalAlign:n.element.VerticalAlign}]),onLoad:o},null,46,PG)),[[j(dc),({width:p,height:C})=>i("onImageSizeAdjusted",{Path:n.path,AdjustedHeight:C,AdjustedWidth:p})]]):xe("",!0)],4))}}),AG=Ne(_G,[["__scopeId","data-v-a9d47e92"]]),IG=Ao,wG=t=>t.width===void 0?{}:IG(t.width).Match({Auto:()=>({width:"auto"}),Pixel:e=>({width:e.Value+"px"}),Percentage:e=>({width:e.Value+"%"})}),kG=t=>{switch(t){case"Auto":return{width:"auto"};case"FullWidth":return{width:"100%"};default:return vi(t)}},WG=Me({__name:"OneLineList",props:{deps:{},theme:{},element:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]}},emits:["onImageSizeAdjusted","onImageOriginalSizeAdjusted","onElementClicked","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){const o=t,i=e;return(n,r)=>(W(),J("table",{class:"oneLineList",style:fe([{"border-spacing":"0","border-collapse":"collapse"},[j(kG)(o.element.ContainerWidth)]])},[V("tbody",null,[V("tr",null,[(W(!0),J(Ge,null,Yt(o.element.Elements,(s,a)=>(W(),J("td",{key:a,class:"oneLineListItem",style:fe([j(Oc)({paddings:o.element.ItemPaddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings}),j(wG)({width:o.element.ItemWidth}),{lineHeight:"normal"}])},[(W(),Pe(Wn,{key:a,deps:o.deps,theme:o.theme,element:s,path:[...o.path,"Elements",a],selectedElementPath:o.selectedElementPath,context:o.context,onOnImageSizeAdjusted:r[0]||(r[0]=u=>i("onImageSizeAdjusted",u)),onOnImageOriginalSizeAdjusted:r[1]||(r[1]=u=>i("onImageOriginalSizeAdjusted",u)),onOnElementClicked:r[2]||(r[2]=u=>i("onElementClicked",u)),onOnElementUpdatedEvent:r[3]||(r[3]=u=>i("onElementUpdatedEvent",u)),onOnElementRemoved:r[4]||(r[4]=u=>i("onElementRemoved",u))},null,8,["deps","theme","element","path","selectedElementPath","context"]))],4))),128))])])],4))}}),OG={class:"Spacer",width:"100%",style:{"border-spacing":"0","border-collapse":"collapse",width:"100%"}},MG={style:{"border-spacing":"0","border-collapse":"collapse",width:"100%"}},HG=Me({__name:"Spacer",props:{theme:{},element:{}},setup(t){const e=t;return(o,i)=>(W(),J("table",OG,[V("tbody",null,[V("tr",null,[V("td",{valign:"middle",style:fe([{height:j(Bo)({paddingExpression:e.element.Height,themeComponentPaddings:e.theme.ComponentPaddings,themeBodyPaddings:e.theme.BodyPaddings})+"px"}])},[V("table",MG,[V("tbody",null,[V("tr",null,[V("td",{style:fe([[{borderTop:e.element.Weight+"px",borderStyle:e.element.Weight>0?"solid":"none",borderColor:j(zn)({color:e.element.Color,themeColors:e.theme.Colors})}],{"font-size":"0","line-height":"0","border-bottom":"0","border-left":"0","border-right":"0"}])}," ",4)])])])],4)])])]))}});/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */const{entries:TN,setPrototypeOf:Vx,isFrozen:$G,getPrototypeOf:zG,getOwnPropertyDescriptor:UG}=Object;let{freeze:hi,seal:Rn,create:DF}=Object,{apply:xF,construct:bF}=typeof Reflect<"u"&&Reflect;hi||(hi=function(e){return e});Rn||(Rn=function(e){return e});xF||(xF=function(e,o){for(var i=arguments.length,n=new Array(i>2?i-2:0),r=2;r<i;r++)n[r-2]=arguments[r];return e.apply(o,n)});bF||(bF=function(e){for(var o=arguments.length,i=new Array(o>1?o-1:0),n=1;n<o;n++)i[n-1]=arguments[n];return new e(...i)});const df=pi(Array.prototype.forEach),jG=pi(Array.prototype.lastIndexOf),Rx=pi(Array.prototype.pop),md=pi(Array.prototype.push),GG=pi(Array.prototype.splice),_f=pi(String.prototype.toLowerCase),Qg=pi(String.prototype.toString),e0=pi(String.prototype.match),fd=pi(String.prototype.replace),KG=pi(String.prototype.indexOf),qG=pi(String.prototype.trim),An=pi(Object.prototype.hasOwnProperty),si=pi(RegExp.prototype.test),hd=YG(TypeError);function pi(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var o=arguments.length,i=new Array(o>1?o-1:0),n=1;n<o;n++)i[n-1]=arguments[n];return xF(t,e,i)}}function YG(t){return function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];return bF(t,o)}}function Ft(t,e){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_f;Vx&&Vx(t,null);let i=e.length;for(;i--;){let n=e[i];if(typeof n=="string"){const r=o(n);r!==n&&($G(e)||(e[i]=r),n=r)}t[n]=!0}return t}function JG(t){for(let e=0;e<t.length;e++)An(t,e)||(t[e]=null);return t}function Hr(t){const e=DF(null);for(const[o,i]of TN(t))An(t,o)&&(Array.isArray(i)?e[o]=JG(i):i&&typeof i=="object"&&i.constructor===Object?e[o]=Hr(i):e[o]=i);return e}function pd(t,e){for(;t!==null;){const i=UG(t,e);if(i){if(i.get)return pi(i.get);if(typeof i.value=="function")return pi(i.value)}t=zG(t)}function o(){return null}return o}const Dx=hi(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),t0=hi(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),o0=hi(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ZG=hi(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),i0=hi(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),XG=hi(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),xx=hi(["#text"]),bx=hi(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),n0=hi(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Lx=hi(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),cf=hi(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),QG=Rn(/\{\{[\w\W]*|[\w\W]*\}\}/gm),eK=Rn(/<%[\w\W]*|[\w\W]*%>/gm),tK=Rn(/\$\{[\w\W]*/gm),oK=Rn(/^data-[\-\w.\u00B7-\uFFFF]+$/),iK=Rn(/^aria-[\-\w]+$/),SN=Rn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),nK=Rn(/^(?:\w+script|data):/i),rK=Rn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),BN=Rn(/^html$/i),sK=Rn(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ex=Object.freeze({__proto__:null,ARIA_ATTR:iK,ATTR_WHITESPACE:rK,CUSTOM_ELEMENT:sK,DATA_ATTR:oK,DOCTYPE_NAME:BN,ERB_EXPR:eK,IS_ALLOWED_URI:SN,IS_SCRIPT_OR_DATA:nK,MUSTACHE_EXPR:QG,TMPLIT_EXPR:tK});const Cd={element:1,text:3,progressingInstruction:7,comment:8,document:9},aK=function(){return typeof window>"u"?null:window},lK=function(e,o){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null;const n="data-tt-policy-suffix";o&&o.hasAttribute(n)&&(i=o.getAttribute(n));const r="dompurify"+(i?"#"+i:"");try{return e.createPolicy(r,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}},vx=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function VN(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:aK();const e=je=>VN(je);if(e.version="3.3.0",e.removed=[],!t||!t.document||t.document.nodeType!==Cd.document||!t.Element)return e.isSupported=!1,e;let{document:o}=t;const i=o,n=i.currentScript,{DocumentFragment:r,HTMLTemplateElement:s,Node:a,Element:u,NodeFilter:c,NamedNodeMap:m=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:C}=t,F=u.prototype,y=pd(F,"cloneNode"),T=pd(F,"remove"),B=pd(F,"nextSibling"),v=pd(F,"childNodes"),D=pd(F,"parentNode");if(typeof s=="function"){const je=o.createElement("template");je.content&&je.content.ownerDocument&&(o=je.content.ownerDocument)}let R,N="";const{implementation:_,createNodeIterator:P,createDocumentFragment:U,getElementsByTagName:k}=o,{importNode:de}=i;let z=vx();e.isSupported=typeof TN=="function"&&typeof D=="function"&&_&&_.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:M,ERB_EXPR:X,TMPLIT_EXPR:Ce,DATA_ATTR:pe,ARIA_ATTR:ie,IS_SCRIPT_OR_DATA:Re,ATTR_WHITESPACE:Ie,CUSTOM_ELEMENT:mt}=Ex;let{IS_ALLOWED_URI:ke}=Ex,ve=null;const lt=Ft({},[...Dx,...t0,...o0,...i0,...xx]);let pt=null;const jt=Ft({},[...bx,...n0,...Lx,...cf]);let $e=Object.seal(DF(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Qe=null,We=null;const Oe=Object.seal(DF(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let bt=!0,Gt=!0,to=!1,I=!0,H=!1,w=!0,Q=!1,se=!1,ne=!1,Te=!1,Se=!1,L=!1,E=!0,Y=!1;const oe="user-content-";let Be=!0,ce=!1,q={},te=null;const Ee=Ft({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let nt=null;const Nt=Ft({},["audio","video","img","source","image","track"]);let oo=null;const Zt=Ft({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Uo="http://www.w3.org/1998/Math/MathML",Qi="http://www.w3.org/2000/svg",wt="http://www.w3.org/1999/xhtml";let uo=wt,Yn=!1,hs=null;const iC=Ft({},[Uo,Qi,wt],Qg);let Cl=Ft({},["mi","mo","mn","ms","mtext"]),fa=Ft({},["annotation-xml"]);const Kc=Ft({},["title","style","font","a","script"]);let ha=null;const nC=["application/xhtml+xml","text/html"],rC="text/html";let Co=null,Br=null;const sC=o.createElement("form"),qc=function($){return $ instanceof RegExp||$ instanceof Function},Hu=function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Br&&Br===$)){if((!$||typeof $!="object")&&($={}),$=Hr($),ha=nC.indexOf($.PARSER_MEDIA_TYPE)===-1?rC:$.PARSER_MEDIA_TYPE,Co=ha==="application/xhtml+xml"?Qg:_f,ve=An($,"ALLOWED_TAGS")?Ft({},$.ALLOWED_TAGS,Co):lt,pt=An($,"ALLOWED_ATTR")?Ft({},$.ALLOWED_ATTR,Co):jt,hs=An($,"ALLOWED_NAMESPACES")?Ft({},$.ALLOWED_NAMESPACES,Qg):iC,oo=An($,"ADD_URI_SAFE_ATTR")?Ft(Hr(Zt),$.ADD_URI_SAFE_ATTR,Co):Zt,nt=An($,"ADD_DATA_URI_TAGS")?Ft(Hr(Nt),$.ADD_DATA_URI_TAGS,Co):Nt,te=An($,"FORBID_CONTENTS")?Ft({},$.FORBID_CONTENTS,Co):Ee,Qe=An($,"FORBID_TAGS")?Ft({},$.FORBID_TAGS,Co):Hr({}),We=An($,"FORBID_ATTR")?Ft({},$.FORBID_ATTR,Co):Hr({}),q=An($,"USE_PROFILES")?$.USE_PROFILES:!1,bt=$.ALLOW_ARIA_ATTR!==!1,Gt=$.ALLOW_DATA_ATTR!==!1,to=$.ALLOW_UNKNOWN_PROTOCOLS||!1,I=$.ALLOW_SELF_CLOSE_IN_ATTR!==!1,H=$.SAFE_FOR_TEMPLATES||!1,w=$.SAFE_FOR_XML!==!1,Q=$.WHOLE_DOCUMENT||!1,Te=$.RETURN_DOM||!1,Se=$.RETURN_DOM_FRAGMENT||!1,L=$.RETURN_TRUSTED_TYPE||!1,ne=$.FORCE_BODY||!1,E=$.SANITIZE_DOM!==!1,Y=$.SANITIZE_NAMED_PROPS||!1,Be=$.KEEP_CONTENT!==!1,ce=$.IN_PLACE||!1,ke=$.ALLOWED_URI_REGEXP||SN,uo=$.NAMESPACE||wt,Cl=$.MATHML_TEXT_INTEGRATION_POINTS||Cl,fa=$.HTML_INTEGRATION_POINTS||fa,$e=$.CUSTOM_ELEMENT_HANDLING||{},$.CUSTOM_ELEMENT_HANDLING&&qc($.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&($e.tagNameCheck=$.CUSTOM_ELEMENT_HANDLING.tagNameCheck),$.CUSTOM_ELEMENT_HANDLING&&qc($.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&($e.attributeNameCheck=$.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),$.CUSTOM_ELEMENT_HANDLING&&typeof $.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&($e.allowCustomizedBuiltInElements=$.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),H&&(Gt=!1),Se&&(Te=!0),q&&(ve=Ft({},xx),pt=[],q.html===!0&&(Ft(ve,Dx),Ft(pt,bx)),q.svg===!0&&(Ft(ve,t0),Ft(pt,n0),Ft(pt,cf)),q.svgFilters===!0&&(Ft(ve,o0),Ft(pt,n0),Ft(pt,cf)),q.mathMl===!0&&(Ft(ve,i0),Ft(pt,Lx),Ft(pt,cf))),$.ADD_TAGS&&(typeof $.ADD_TAGS=="function"?Oe.tagCheck=$.ADD_TAGS:(ve===lt&&(ve=Hr(ve)),Ft(ve,$.ADD_TAGS,Co))),$.ADD_ATTR&&(typeof $.ADD_ATTR=="function"?Oe.attributeCheck=$.ADD_ATTR:(pt===jt&&(pt=Hr(pt)),Ft(pt,$.ADD_ATTR,Co))),$.ADD_URI_SAFE_ATTR&&Ft(oo,$.ADD_URI_SAFE_ATTR,Co),$.FORBID_CONTENTS&&(te===Ee&&(te=Hr(te)),Ft(te,$.FORBID_CONTENTS,Co)),Be&&(ve["#text"]=!0),Q&&Ft(ve,["html","head","body"]),ve.table&&(Ft(ve,["tbody"]),delete Qe.tbody),$.TRUSTED_TYPES_POLICY){if(typeof $.TRUSTED_TYPES_POLICY.createHTML!="function")throw hd('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof $.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw hd('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');R=$.TRUSTED_TYPES_POLICY,N=R.createHTML("")}else R===void 0&&(R=lK(C,n)),R!==null&&typeof N=="string"&&(N=R.createHTML(""));hi&&hi($),Br=$}},gl=Ft({},[...t0,...o0,...ZG]),Yc=Ft({},[...i0,...XG]),$u=function($){let ye=D($);(!ye||!ye.tagName)&&(ye={namespaceURI:uo,tagName:"template"});const we=_f($.tagName),Ht=_f(ye.tagName);return hs[$.namespaceURI]?$.namespaceURI===Qi?ye.namespaceURI===wt?we==="svg":ye.namespaceURI===Uo?we==="svg"&&(Ht==="annotation-xml"||Cl[Ht]):!!gl[we]:$.namespaceURI===Uo?ye.namespaceURI===wt?we==="math":ye.namespaceURI===Qi?we==="math"&&fa[Ht]:!!Yc[we]:$.namespaceURI===wt?ye.namespaceURI===Qi&&!fa[Ht]||ye.namespaceURI===Uo&&!Cl[Ht]?!1:!Yc[we]&&(Kc[we]||!gl[we]):!!(ha==="application/xhtml+xml"&&hs[$.namespaceURI]):!1},en=function($){md(e.removed,{element:$});try{D($).removeChild($)}catch{T($)}},Vr=function($,ye){try{md(e.removed,{attribute:ye.getAttributeNode($),from:ye})}catch{md(e.removed,{attribute:null,from:ye})}if(ye.removeAttribute($),$==="is")if(Te||Se)try{en(ye)}catch{}else try{ye.setAttribute($,"")}catch{}},Jc=function($){let ye=null,we=null;if(ne)$="<remove></remove>"+$;else{const no=e0($,/^[\r\n\t ]+/);we=no&&no[0]}ha==="application/xhtml+xml"&&uo===wt&&($='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+$+"</body></html>");const Ht=R?R.createHTML($):$;if(uo===wt)try{ye=new p().parseFromString(Ht,ha)}catch{}if(!ye||!ye.documentElement){ye=_.createDocument(uo,"template",null);try{ye.documentElement.innerHTML=Yn?N:Ht}catch{}}const co=ye.body||ye.documentElement;return $&&we&&co.insertBefore(o.createTextNode(we),co.childNodes[0]||null),uo===wt?k.call(ye,Q?"html":"body")[0]:Q?ye.documentElement:co},Zc=function($){return P.call($.ownerDocument||$,$,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},zu=function($){return $ instanceof f&&(typeof $.nodeName!="string"||typeof $.textContent!="string"||typeof $.removeChild!="function"||!($.attributes instanceof m)||typeof $.removeAttribute!="function"||typeof $.setAttribute!="function"||typeof $.namespaceURI!="string"||typeof $.insertBefore!="function"||typeof $.hasChildNodes!="function")},Xc=function($){return typeof a=="function"&&$ instanceof a};function xn(je,$,ye){df(je,we=>{we.call(e,$,ye,Br)})}const Qc=function($){let ye=null;if(xn(z.beforeSanitizeElements,$,null),zu($))return en($),!0;const we=Co($.nodeName);if(xn(z.uponSanitizeElement,$,{tagName:we,allowedTags:ve}),w&&$.hasChildNodes()&&!Xc($.firstElementChild)&&si(/<[/\w!]/g,$.innerHTML)&&si(/<[/\w!]/g,$.textContent)||$.nodeType===Cd.progressingInstruction||w&&$.nodeType===Cd.comment&&si(/<[/\w]/g,$.data))return en($),!0;if(!(Oe.tagCheck instanceof Function&&Oe.tagCheck(we))&&(!ve[we]||Qe[we])){if(!Qe[we]&&em(we)&&($e.tagNameCheck instanceof RegExp&&si($e.tagNameCheck,we)||$e.tagNameCheck instanceof Function&&$e.tagNameCheck(we)))return!1;if(Be&&!te[we]){const Ht=D($)||$.parentNode,co=v($)||$.childNodes;if(co&&Ht){const no=co.length;for(let jo=no-1;jo>=0;--jo){const bn=y(co[jo],!0);bn.__removalCount=($.__removalCount||0)+1,Ht.insertBefore(bn,B($))}}}return en($),!0}return $ instanceof u&&!$u($)||(we==="noscript"||we==="noembed"||we==="noframes")&&si(/<\/no(script|embed|frames)/i,$.innerHTML)?(en($),!0):(H&&$.nodeType===Cd.text&&(ye=$.textContent,df([M,X,Ce],Ht=>{ye=fd(ye,Ht," ")}),$.textContent!==ye&&(md(e.removed,{element:$.cloneNode()}),$.textContent=ye)),xn(z.afterSanitizeElements,$,null),!1)},Uu=function($,ye,we){if(E&&(ye==="id"||ye==="name")&&(we in o||we in sC))return!1;if(!(Gt&&!We[ye]&&si(pe,ye))){if(!(bt&&si(ie,ye))){if(!(Oe.attributeCheck instanceof Function&&Oe.attributeCheck(ye,$))){if(!pt[ye]||We[ye]){if(!(em($)&&($e.tagNameCheck instanceof RegExp&&si($e.tagNameCheck,$)||$e.tagNameCheck instanceof Function&&$e.tagNameCheck($))&&($e.attributeNameCheck instanceof RegExp&&si($e.attributeNameCheck,ye)||$e.attributeNameCheck instanceof Function&&$e.attributeNameCheck(ye,$))||ye==="is"&&$e.allowCustomizedBuiltInElements&&($e.tagNameCheck instanceof RegExp&&si($e.tagNameCheck,we)||$e.tagNameCheck instanceof Function&&$e.tagNameCheck(we))))return!1}else if(!oo[ye]){if(!si(ke,fd(we,Ie,""))){if(!((ye==="src"||ye==="xlink:href"||ye==="href")&&$!=="script"&&KG(we,"data:")===0&&nt[$])){if(!(to&&!si(Re,fd(we,Ie,"")))){if(we)return!1}}}}}}}return!0},em=function($){return $!=="annotation-xml"&&e0($,mt)},tm=function($){xn(z.beforeSanitizeAttributes,$,null);const{attributes:ye}=$;if(!ye||zu($))return;const we={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:pt,forceKeepAttr:void 0};let Ht=ye.length;for(;Ht--;){const co=ye[Ht],{name:no,namespaceURI:jo,value:bn}=co,Rr=Co(no),Fl=bn;let go=no==="value"?Fl:qG(Fl);if(we.attrName=Rr,we.attrValue=go,we.keepAttr=!0,we.forceKeepAttr=void 0,xn(z.uponSanitizeAttribute,$,we),go=we.attrValue,Y&&(Rr==="id"||Rr==="name")&&(Vr(no,$),go=oe+go),w&&si(/((--!?|])>)|<\/(style|title|textarea)/i,go)){Vr(no,$);continue}if(Rr==="attributename"&&e0(go,"href")){Vr(no,$);continue}if(we.forceKeepAttr)continue;if(!we.keepAttr){Vr(no,$);continue}if(!I&&si(/\/>/i,go)){Vr(no,$);continue}H&&df([M,X,Ce],im=>{go=fd(go,im," ")});const om=Co($.nodeName);if(!Uu(om,Rr,go)){Vr(no,$);continue}if(R&&typeof C=="object"&&typeof C.getAttributeType=="function"&&!jo)switch(C.getAttributeType(om,Rr)){case"TrustedHTML":{go=R.createHTML(go);break}case"TrustedScriptURL":{go=R.createScriptURL(go);break}}if(go!==Fl)try{jo?$.setAttributeNS(jo,no,go):$.setAttribute(no,go),zu($)?en($):Rx(e.removed)}catch{Vr(no,$)}}xn(z.afterSanitizeAttributes,$,null)},aC=function je($){let ye=null;const we=Zc($);for(xn(z.beforeSanitizeShadowDOM,$,null);ye=we.nextNode();)xn(z.uponSanitizeShadowNode,ye,null),Qc(ye),tm(ye),ye.content instanceof r&&je(ye.content);xn(z.afterSanitizeShadowDOM,$,null)};return e.sanitize=function(je){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ye=null,we=null,Ht=null,co=null;if(Yn=!je,Yn&&(je="<!-->"),typeof je!="string"&&!Xc(je))if(typeof je.toString=="function"){if(je=je.toString(),typeof je!="string")throw hd("dirty is not a string, aborting")}else throw hd("toString is not a function");if(!e.isSupported)return je;if(se||Hu($),e.removed=[],typeof je=="string"&&(ce=!1),ce){if(je.nodeName){const bn=Co(je.nodeName);if(!ve[bn]||Qe[bn])throw hd("root node is forbidden and cannot be sanitized in-place")}}else if(je instanceof a)ye=Jc("<!---->"),we=ye.ownerDocument.importNode(je,!0),we.nodeType===Cd.element&&we.nodeName==="BODY"||we.nodeName==="HTML"?ye=we:ye.appendChild(we);else{if(!Te&&!H&&!Q&&je.indexOf("<")===-1)return R&&L?R.createHTML(je):je;if(ye=Jc(je),!ye)return Te?null:L?N:""}ye&&ne&&en(ye.firstChild);const no=Zc(ce?je:ye);for(;Ht=no.nextNode();)Qc(Ht),tm(Ht),Ht.content instanceof r&&aC(Ht.content);if(ce)return je;if(Te){if(Se)for(co=U.call(ye.ownerDocument);ye.firstChild;)co.appendChild(ye.firstChild);else co=ye;return(pt.shadowroot||pt.shadowrootmode)&&(co=de.call(i,co,!0)),co}let jo=Q?ye.outerHTML:ye.innerHTML;return Q&&ve["!doctype"]&&ye.ownerDocument&&ye.ownerDocument.doctype&&ye.ownerDocument.doctype.name&&si(BN,ye.ownerDocument.doctype.name)&&(jo="<!DOCTYPE "+ye.ownerDocument.doctype.name+`>
|
|
86
|
-
`+jo),H&&df([M,X,Ce],bn=>{jo=fd(jo,bn," ")}),R&&L?R.createHTML(jo):jo},e.setConfig=function(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hu(je),se=!0},e.clearConfig=function(){Br=null,se=!1},e.isValidAttribute=function(je,$,ye){Br||Hu({});const we=Co(je),Ht=Co($);return Uu(we,Ht,ye)},e.addHook=function(je,$){typeof $=="function"&&md(z[je],$)},e.removeHook=function(je,$){if($!==void 0){const ye=jG(z[je],$);return ye===-1?void 0:GG(z[je],ye,1)[0]}return Rx(z[je])},e.removeHooks=function(je){z[je]=[]},e.removeAllHooks=function(){z=vx()},e}var Nx=VN();const LF={beforeMount(t,e){t.innerHTML=Nx.sanitize(e.value)},beforeUpdate(t,e){t.innerHTML=Nx.sanitize(e.value)}},uK=t=>({Match:e=>{switch(t.Discriminator){case"EmailBackgroundColor":return e.EmailBackgroundColor();case"BodyColor":return e.BodyColor();case"TitleColor":return e.TitleColor();case"HeadingColor":return e.HeadingColor();case"SubHeadingColor":return e.SubHeading();case"LargeTextColor":return e.LargeTextColor();case"NormalTextColor":return e.NormalTextColor();case"DescriptionTextColor":return e.DescriptionTextColor();case"PrimaryTextColor":return e.PrimaryTextColor();case"SecondaryTextColor":return e.SecondaryTextColor();case"ButtonTextColor":return e.ButtonTextColor();case"LinkColor":return e.LinkColor();case"PrimaryColor":return e.PrimaryColor();case"SecondaryColor":return e.SecondaryColor();case"CardBackgroundColor":return e.CardBackgroundColor();case"Custom":return e.Custom(t.CustomValue)}}}),wp=t=>uK(t.fontColor).Match({EmailBackgroundColor:()=>t.themeColors.EmailBackgroundColor,BodyColor:()=>t.themeColors.BodyColor,TitleColor:()=>t.themeColors.TitleColor,HeadingColor:()=>t.themeColors.HeadingColor,SubHeading:()=>t.themeColors.SubHeadingColor,LargeTextColor:()=>t.themeColors.LargeTextColor,NormalTextColor:()=>t.themeColors.NormalTextColor,DescriptionTextColor:()=>t.themeColors.DescriptionTextColor,PrimaryTextColor:()=>t.themeColors.PrimaryTextColor,SecondaryTextColor:()=>t.themeColors.SecondaryTextColor,LinkColor:()=>t.themeColors.LinkColor,PrimaryColor:()=>t.themeColors.PrimaryColor,SecondaryColor:()=>t.themeColors.SecondaryColor,CardBackgroundColor:()=>t.themeColors.CardBackgroundColor,ButtonTextColor:()=>t.themeColors.ButtonTextColor,Custom:e=>e}),dK=t=>({Match:e=>{switch(t){case"None":return e.None();case"Underline":return e.Underline();case"LineThrough":return e.LineThrough()}}}),lT=t=>dK(t.textDecoration).Match({None:()=>"none",Underline:()=>"underline",LineThrough:()=>"line-through"}),RN=t=>({fontSize:t.customFontSettings.FontSize,lineHeight:t.customFontSettings.LineHeight,fontWeight:t.customFontSettings.IsBold?"bold":"normal",fontStyle:t.customFontSettings.IsItalic?"italic":"normal",textDecoration:lT({textDecoration:t.customFontSettings.Decoration}),fontFamily:t.customFontSettings.FontFamily,color:wp({fontColor:t.customFontSettings.FontColor,themeColors:t.themeColors})}),DN=t=>({Match:e=>{switch(t.Discriminator){case"Heading":return e.Heading();case"Title":return e.Title();case"SubHeading":return e.SubHeading();case"LargeText":return e.LargeText();case"NormalText":return e.NormalText();case"DescriptionText":return e.DescriptionText();case"Link":return e.Link();case"Button":return e.Button();case"Custom":return e.Custom(t.CustomFontSettings);default:return vi(t.Discriminator)}}}),cK=t=>({Match:e=>{switch(t.Discriminator){case"StyleLinkedColor":return e.FontStyle();case"EmailBackgroundColor":return e.EmailBackgroundColor();case"BodyColor":return e.BodyColor();case"TitleColor":return e.TitleColor();case"HeadingColor":return e.HeadingColor();case"SubHeadingColor":return e.SubHeading();case"LargeTextColor":return e.LargeTextColor();case"NormalTextColor":return e.NormalTextColor();case"DescriptionTextColor":return e.DescriptionTextColor();case"PrimaryTextColor":return e.PrimaryTextColor();case"SecondaryTextColor":return e.SecondaryTextColor();case"ButtonTextColor":return e.ButtonTextColor();case"LinkColor":return e.LinkColor();case"PrimaryColor":return e.PrimaryColor();case"SecondaryColor":return e.SecondaryColor();case"CardBackgroundColor":return e.CardBackgroundColor();case"Custom":return e.Custom(t.CustomValue)}}}),mK=t=>cK(t.fontStyleColor).Match({FontStyle:()=>DN(t.fontStyle).Match({Heading:()=>t.themeColors.HeadingColor,Title:()=>t.themeColors.TitleColor,SubHeading:()=>t.themeColors.SubHeadingColor,LargeText:()=>t.themeColors.LargeTextColor,NormalText:()=>t.themeColors.NormalTextColor,DescriptionText:()=>t.themeColors.DescriptionTextColor,Button:()=>t.themeColors.ButtonTextColor,Link:()=>t.themeColors.LinkColor,Custom:e=>zn({color:e.FontColor,themeColors:t.themeColors})}),EmailBackgroundColor:()=>t.themeColors.EmailBackgroundColor,BodyColor:()=>t.themeColors.BodyColor,TitleColor:()=>t.themeColors.TitleColor,HeadingColor:()=>t.themeColors.HeadingColor,SubHeading:()=>t.themeColors.SubHeadingColor,LargeTextColor:()=>t.themeColors.LargeTextColor,NormalTextColor:()=>t.themeColors.NormalTextColor,DescriptionTextColor:()=>t.themeColors.DescriptionTextColor,PrimaryTextColor:()=>t.themeColors.PrimaryTextColor,SecondaryTextColor:()=>t.themeColors.SecondaryTextColor,LinkColor:()=>t.themeColors.LinkColor,PrimaryColor:()=>t.themeColors.PrimaryColor,SecondaryColor:()=>t.themeColors.SecondaryColor,CardBackgroundColor:()=>t.themeColors.CardBackgroundColor,ButtonTextColor:()=>t.themeColors.ButtonTextColor,Custom:e=>e}),xN=["Arial","Georgia","Tahoma","TimesNewRoman","Verdana"],EF={Arial:"Arial",Georgia:"Georgia",Tahoma:"Tahoma",TimesNewRoman:"Times New Roman",Verdana:"Verdana"},uT=t=>({fontSize:t.fontSize+"px",lineHeight:t.lineHeight+"px",fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:EF[t.fontFamily],textDecoration:t.textDecoration,color:t.color}),dT=t=>{const e=o=>({fontSize:o.FontSize,lineHeight:o.LineHeight,fontWeight:o.IsBold?"bold":"normal",fontStyle:o.IsItalic?"italic":"normal",fontFamily:t.fontFamily,textDecoration:lT({textDecoration:o.Decoration}),color:mK({fontStyleColor:t.fontStyle.FontColor,fontStyle:t.fontStyle,themeColors:t.themeColors})});return DN(t.fontStyle).Match({Heading:()=>e(t.themeDefinedFontSettings.Heading),Title:()=>e(t.themeDefinedFontSettings.Title),SubHeading:()=>e(t.themeDefinedFontSettings.SubHeading),LargeText:()=>e(t.themeDefinedFontSettings.LargeText),NormalText:()=>e(t.themeDefinedFontSettings.NormalText),DescriptionText:()=>e(t.themeDefinedFontSettings.DescriptionText),Link:()=>e(t.themeDefinedFontSettings.Link),Button:()=>e(t.themeDefinedFontSettings.Button),Custom:o=>RN({customFontSettings:o,themeColors:t.themeColors})})},fK=t=>({Match:e=>{switch(t.Discriminator){case"Theme":return e.Theme();case"Custom":return e.Custom(t.CustomValue);default:return vi(t.Discriminator)}}}),hK=t=>fK(t.buttonPaddings).Match({Theme:()=>({TopBottom:t.themeButtonPaddings.TopBottom,LeftRight:t.themeButtonPaddings.LeftRight}),Custom:e=>({TopBottom:e.TopBottom,LeftRight:e.LeftRight})}),pK={style:{"border-spacing":"0","border-collapse":"collapse",width:"100%"}},CK=["align"],gK={class:"Button"},FK=["href"],yK=Me({__name:"ButtonVue",props:{deps:{},theme:{},element:{},context:{type:[String,Number,Boolean,Array,Object]}},setup(t){const e=t,o=Z(()=>uT(dT({fontFamily:e.theme.FontFamily,fontStyle:e.element.TextStyle,themeDefinedFontSettings:e.theme.FontSettingsPresets,themeColors:e.theme.Colors}))),i=Z(()=>Pf({borderColor:e.element.Border.Left.Color,themeColors:e.theme.Colors})),n=Z(()=>hK({buttonPaddings:e.element.Paddings,themeButtonPaddings:e.theme.ButtonPaddings})),r=Z(()=>zn({color:e.element.BackgroundColor,themeColors:e.theme.Colors})),s=Z(()=>{switch(e.element.ContentAlign){case"Center":return"center";case"Left":return"left";case"Right":return"right";default:return"center"}}),a=xt({href:"",text:"",isLoading:!0}),u=e.deps.stringExpressionEvaluator,c=()=>{Promise.all([u({stringExpression:e.element.HRef,context:e.context}),u({stringExpression:e.element.Text,context:e.context})]).then(([m,f])=>{a.href=m,a.text=f,a.isLoading=!1})};return c(),Rt(()=>[e.element.HRef,e.element.Text,e.context],()=>c()),(m,f)=>(W(),J("table",pK,[V("tbody",null,[V("tr",null,[V("td",{align:s.value},[V("div",gK,[V("a",{style:fe([{display:"block","text-decoration":"none"},[o.value]]),href:a.href,onClick:f[0]||(f[0]=ci(()=>{},["prevent"]))},[V("table",{align:"center",style:fe([[{backgroundColor:r.value},j(Cr)({borderRadius:e.element.BorderRadius,borderRadiusCard:e.theme.BorderRadiusCard,bodyBorderRadius:e.theme.BorderRadius,borderButtonRadius:e.theme.BorderRadiusButton,borderBannerRadius:e.theme.BorderRadiusBanner}),{width:e.element.FullWidth?"100%":"auto"},j(as)({border:e.element.Border,themeColors:t.theme.Colors}),{borderColor:i.value}],{"text-align":"center","border-spacing":"0","border-collapse":"separate"}])},[V("tbody",null,[V("tr",null,[V("td",{align:"center",style:fe([{"line-height":"normal"},[{paddingTop:n.value.TopBottom+"px",paddingBottom:n.value.TopBottom+"px",paddingLeft:n.value.LeftRight+"px",paddingRight:n.value.LeftRight+"px"}]])},[ct(V("p",{class:"user-select-none",style:fe([o.value])},null,4),[[j(LF),a.text]])],4)])])],4)],12,FK)])],8,CK)])])]))}}),TK=Ne(yK,[["__scopeId","data-v-5522ff93"]]),SK=["href"],BK=Me({__name:"SpanText",props:{deps:{},theme:{},element:{},context:{type:[String,Number,Boolean,Array,Object]}},setup(t){const e=t,o=e.deps.stringExpressionEvaluator,i=Z(()=>{const a=dT({fontFamily:e.theme.FontFamily,fontStyle:e.element.Style,themeDefinedFontSettings:e.theme.FontSettingsPresets,themeColors:e.theme.Colors});if(e.element.Style.Discriminator==="Custom"){const u=RN({customFontSettings:e.element.Style.CustomFontSettings,themeColors:e.theme.Colors});return{...u,fontSize:u.fontSize+"px",lineHeight:u.lineHeight+"px",minHeight:e.element.MinNumberOfLines*a.lineHeight+"px"}}return{minHeight:e.element.MinNumberOfLines*a.lineHeight+"px",color:a.color}}),n=xt({href:"",text:"",isLoading:!0}),r=a=>a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),s=()=>{Promise.all([o({stringExpression:e.element.HRef,context:e.context}),o({stringExpression:e.element.Text,context:e.context})]).then(([a,u])=>{n.href=a,n.text=r(u),n.isLoading=!1})};return s(),Rt(()=>[e.context,e.element.HRef,e.element.Text],()=>s()),(a,u)=>e.element.IsLink?ct((W(),J("a",{key:0,href:n.href,class:Ve(["SpanText cursor-pointer user-select-none",e.element.Style.Discriminator]),style:fe([{margin:"0"},[i.value,j(Du)({contentAlign:e.element.ContentAlign})]]),onClick:u[0]||(u[0]=ci(()=>{},["prevent"]))},null,14,SK)),[[j(LF),n.text]]):ct((W(),J("span",{key:1,class:Ve(["SpanText cursor-pointer user-select-none",e.element.Style.Discriminator]),style:fe([{margin:"0"},[i.value,j(Du)({contentAlign:e.element.ContentAlign})]])},null,6)),[[j(LF),n.text]])}}),VK=Ne(BK,[["__scopeId","data-v-854791a9"]]),vF=Math.min,au=Math.max,ph=Math.round,mf=Math.floor,fr=t=>({x:t,y:t});function RK(t,e){return typeof t=="function"?t(e):t}function cT(t){return t.split("-")[0]}function bN(t){return t.split("-")[1]}function DK(t){return t==="x"?"y":"x"}function xK(t){return t==="y"?"height":"width"}const bK=new Set(["top","bottom"]);function mT(t){return bK.has(cT(t))?"y":"x"}function LK(t){return DK(mT(t))}function LN(t){const{x:e,y:o,width:i,height:n}=t;return{width:i,height:n,top:o,left:e,right:e+i,bottom:o+n,x:e,y:o}}function Px(t,e,o){let{reference:i,floating:n}=t;const r=mT(e),s=LK(e),a=xK(s),u=cT(e),c=r==="y",m=i.x+i.width/2-n.width/2,f=i.y+i.height/2-n.height/2,p=i[a]/2-n[a]/2;let C;switch(u){case"top":C={x:m,y:i.y-n.height};break;case"bottom":C={x:m,y:i.y+i.height};break;case"right":C={x:i.x+i.width,y:f};break;case"left":C={x:i.x-n.width,y:f};break;default:C={x:i.x,y:i.y}}switch(bN(e)){case"start":C[s]-=p*(o&&c?-1:1);break;case"end":C[s]+=p*(o&&c?-1:1);break}return C}const EK=async(t,e,o)=>{const{placement:i="bottom",strategy:n="absolute",middleware:r=[],platform:s}=o,a=r.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:m,y:f}=Px(c,i,u),p=i,C={},F=0;for(let y=0;y<a.length;y++){const{name:T,fn:B}=a[y],{x:v,y:D,data:R,reset:N}=await B({x:m,y:f,initialPlacement:i,placement:p,strategy:n,middlewareData:C,rects:c,platform:s,elements:{reference:t,floating:e}});m=v??m,f=D??f,C={...C,[T]:{...C[T],...R}},N&&F<=50&&(F++,typeof N=="object"&&(N.placement&&(p=N.placement),N.rects&&(c=N.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):N.rects),{x:m,y:f}=Px(c,p,u)),y=-1)}return{x:m,y:f,placement:p,strategy:n,middlewareData:C}},vK=new Set(["left","top"]);async function NK(t,e){const{placement:o,platform:i,elements:n}=t,r=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=cT(o),a=bN(o),u=mT(o)==="y",c=vK.has(s)?-1:1,m=r&&u?-1:1,f=RK(e,t);let{mainAxis:p,crossAxis:C,alignmentAxis:F}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof F=="number"&&(C=a==="end"?F*-1:F),u?{x:C*m,y:p*c}:{x:p*c,y:C*m}}const PK=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,i;const{x:n,y:r,placement:s,middlewareData:a}=e,u=await NK(e,t);return s===((o=a.offset)==null?void 0:o.placement)&&(i=a.arrow)!=null&&i.alignmentOffset?{}:{x:n+u.x,y:r+u.y,data:{...u,placement:s}}}}};function kp(){return typeof window<"u"}function fl(t){return fT(t)?(t.nodeName||"").toLowerCase():"#document"}function ji(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Sr(t){var e;return(e=(fT(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function fT(t){return kp()?t instanceof Node||t instanceof ji(t).Node:!1}function Un(t){return kp()?t instanceof Element||t instanceof ji(t).Element:!1}function gr(t){return kp()?t instanceof HTMLElement||t instanceof ji(t).HTMLElement:!1}function _x(t){return!kp()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ji(t).ShadowRoot}const _K=new Set(["inline","contents"]);function Mc(t){const{overflow:e,overflowX:o,overflowY:i,display:n}=jn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!_K.has(n)}const AK=new Set(["table","td","th"]);function IK(t){return AK.has(fl(t))}const wK=[":popover-open",":modal"];function Wp(t){return wK.some(e=>{try{return t.matches(e)}catch{return!1}})}const kK=["transform","translate","scale","rotate","perspective"],WK=["transform","translate","scale","rotate","perspective","filter"],OK=["paint","layout","strict","content"];function hT(t){const e=pT(),o=Un(t)?jn(t):t;return kK.some(i=>o[i]?o[i]!=="none":!1)||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||WK.some(i=>(o.willChange||"").includes(i))||OK.some(i=>(o.contain||"").includes(i))}function MK(t){let e=Xs(t);for(;gr(e)&&!xu(e);){if(hT(e))return e;if(Wp(e))return null;e=Xs(e)}return null}function pT(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const HK=new Set(["html","body","#document"]);function xu(t){return HK.has(fl(t))}function jn(t){return ji(t).getComputedStyle(t)}function Op(t){return Un(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Xs(t){if(fl(t)==="html")return t;const e=t.assignedSlot||t.parentNode||_x(t)&&t.host||Sr(t);return _x(e)?e.host:e}function EN(t){const e=Xs(t);return xu(e)?t.ownerDocument?t.ownerDocument.body:t.body:gr(e)&&Mc(e)?e:EN(e)}function cc(t,e,o){var i;e===void 0&&(e=[]),o===void 0&&(o=!0);const n=EN(t),r=n===((i=t.ownerDocument)==null?void 0:i.body),s=ji(n);if(r){const a=NF(s);return e.concat(s,s.visualViewport||[],Mc(n)?n:[],a&&o?cc(a):[])}return e.concat(n,cc(n,[],o))}function NF(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function vN(t){const e=jn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const n=gr(t),r=n?t.offsetWidth:o,s=n?t.offsetHeight:i,a=ph(o)!==r||ph(i)!==s;return a&&(o=r,i=s),{width:o,height:i,$:a}}function CT(t){return Un(t)?t:t.contextElement}function lu(t){const e=CT(t);if(!gr(e))return fr(1);const o=e.getBoundingClientRect(),{width:i,height:n,$:r}=vN(e);let s=(r?ph(o.width):o.width)/i,a=(r?ph(o.height):o.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const $K=fr(0);function NN(t){const e=ji(t);return!pT()||!e.visualViewport?$K:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function zK(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==ji(t)?!1:e}function il(t,e,o,i){e===void 0&&(e=!1),o===void 0&&(o=!1);const n=t.getBoundingClientRect(),r=CT(t);let s=fr(1);e&&(i?Un(i)&&(s=lu(i)):s=lu(t));const a=zK(r,o,i)?NN(r):fr(0);let u=(n.left+a.x)/s.x,c=(n.top+a.y)/s.y,m=n.width/s.x,f=n.height/s.y;if(r){const p=ji(r),C=i&&Un(i)?ji(i):i;let F=p,y=NF(F);for(;y&&i&&C!==F;){const T=lu(y),B=y.getBoundingClientRect(),v=jn(y),D=B.left+(y.clientLeft+parseFloat(v.paddingLeft))*T.x,R=B.top+(y.clientTop+parseFloat(v.paddingTop))*T.y;u*=T.x,c*=T.y,m*=T.x,f*=T.y,u+=D,c+=R,F=ji(y),y=NF(F)}}return LN({width:m,height:f,x:u,y:c})}function Mp(t,e){const o=Op(t).scrollLeft;return e?e.left+o:il(Sr(t)).left+o}function PN(t,e){const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-Mp(t,o),n=o.top+e.scrollTop;return{x:i,y:n}}function UK(t){let{elements:e,rect:o,offsetParent:i,strategy:n}=t;const r=n==="fixed",s=Sr(i),a=e?Wp(e.floating):!1;if(i===s||a&&r)return o;let u={scrollLeft:0,scrollTop:0},c=fr(1);const m=fr(0),f=gr(i);if((f||!f&&!r)&&((fl(i)!=="body"||Mc(s))&&(u=Op(i)),gr(i))){const C=il(i);c=lu(i),m.x=C.x+i.clientLeft,m.y=C.y+i.clientTop}const p=s&&!f&&!r?PN(s,u):fr(0);return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-u.scrollLeft*c.x+m.x+p.x,y:o.y*c.y-u.scrollTop*c.y+m.y+p.y}}function jK(t){return Array.from(t.getClientRects())}function GK(t){const e=Sr(t),o=Op(t),i=t.ownerDocument.body,n=au(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),r=au(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+Mp(t);const a=-o.scrollTop;return jn(i).direction==="rtl"&&(s+=au(e.clientWidth,i.clientWidth)-n),{width:n,height:r,x:s,y:a}}const Ax=25;function KK(t,e){const o=ji(t),i=Sr(t),n=o.visualViewport;let r=i.clientWidth,s=i.clientHeight,a=0,u=0;if(n){r=n.width,s=n.height;const m=pT();(!m||m&&e==="fixed")&&(a=n.offsetLeft,u=n.offsetTop)}const c=Mp(i);if(c<=0){const m=i.ownerDocument,f=m.body,p=getComputedStyle(f),C=m.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,F=Math.abs(i.clientWidth-f.clientWidth-C);F<=Ax&&(r-=F)}else c<=Ax&&(r+=c);return{width:r,height:s,x:a,y:u}}const qK=new Set(["absolute","fixed"]);function YK(t,e){const o=il(t,!0,e==="fixed"),i=o.top+t.clientTop,n=o.left+t.clientLeft,r=gr(t)?lu(t):fr(1),s=t.clientWidth*r.x,a=t.clientHeight*r.y,u=n*r.x,c=i*r.y;return{width:s,height:a,x:u,y:c}}function Ix(t,e,o){let i;if(e==="viewport")i=KK(t,o);else if(e==="document")i=GK(Sr(t));else if(Un(e))i=YK(e,o);else{const n=NN(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return LN(i)}function _N(t,e){const o=Xs(t);return o===e||!Un(o)||xu(o)?!1:jn(o).position==="fixed"||_N(o,e)}function JK(t,e){const o=e.get(t);if(o)return o;let i=cc(t,[],!1).filter(a=>Un(a)&&fl(a)!=="body"),n=null;const r=jn(t).position==="fixed";let s=r?Xs(t):t;for(;Un(s)&&!xu(s);){const a=jn(s),u=hT(s);!u&&a.position==="fixed"&&(n=null),(r?!u&&!n:!u&&a.position==="static"&&!!n&&qK.has(n.position)||Mc(s)&&!u&&_N(t,s))?i=i.filter(m=>m!==s):n=a,s=Xs(s)}return e.set(t,i),i}function ZK(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t;const s=[...o==="clippingAncestors"?Wp(e)?[]:JK(e,this._c):[].concat(o),i],a=s[0],u=s.reduce((c,m)=>{const f=Ix(e,m,n);return c.top=au(f.top,c.top),c.right=vF(f.right,c.right),c.bottom=vF(f.bottom,c.bottom),c.left=au(f.left,c.left),c},Ix(e,a,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function XK(t){const{width:e,height:o}=vN(t);return{width:e,height:o}}function QK(t,e,o){const i=gr(e),n=Sr(e),r=o==="fixed",s=il(t,!0,r,e);let a={scrollLeft:0,scrollTop:0};const u=fr(0);function c(){u.x=Mp(n)}if(i||!i&&!r)if((fl(e)!=="body"||Mc(n))&&(a=Op(e)),i){const C=il(e,!0,r,e);u.x=C.x+e.clientLeft,u.y=C.y+e.clientTop}else n&&c();r&&!i&&n&&c();const m=n&&!i&&!r?PN(n,a):fr(0),f=s.left+a.scrollLeft-u.x-m.x,p=s.top+a.scrollTop-u.y-m.y;return{x:f,y:p,width:s.width,height:s.height}}function r0(t){return jn(t).position==="static"}function wx(t,e){if(!gr(t)||jn(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return Sr(t)===o&&(o=o.ownerDocument.body),o}function AN(t,e){const o=ji(t);if(Wp(t))return o;if(!gr(t)){let n=Xs(t);for(;n&&!xu(n);){if(Un(n)&&!r0(n))return n;n=Xs(n)}return o}let i=wx(t,e);for(;i&&IK(i)&&r0(i);)i=wx(i,e);return i&&xu(i)&&r0(i)&&!hT(i)?o:i||MK(t)||o}const eq=async function(t){const e=this.getOffsetParent||AN,o=this.getDimensions,i=await o(t.floating);return{reference:QK(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function tq(t){return jn(t).direction==="rtl"}const oq={convertOffsetParentRelativeRectToViewportRelativeRect:UK,getDocumentElement:Sr,getClippingRect:ZK,getOffsetParent:AN,getElementRects:eq,getClientRects:jK,getDimensions:XK,getScale:lu,isElement:Un,isRTL:tq};function IN(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function iq(t,e){let o=null,i;const n=Sr(t);function r(){var a;clearTimeout(i),(a=o)==null||a.disconnect(),o=null}function s(a,u){a===void 0&&(a=!1),u===void 0&&(u=1),r();const c=t.getBoundingClientRect(),{left:m,top:f,width:p,height:C}=c;if(a||e(),!p||!C)return;const F=mf(f),y=mf(n.clientWidth-(m+p)),T=mf(n.clientHeight-(f+C)),B=mf(m),D={rootMargin:-F+"px "+-y+"px "+-T+"px "+-B+"px",threshold:au(0,vF(1,u))||1};let R=!0;function N(_){const P=_[0].intersectionRatio;if(P!==u){if(!R)return s();P?s(!1,P):i=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!IN(c,t.getBoundingClientRect())&&s(),R=!1}try{o=new IntersectionObserver(N,{...D,root:n.ownerDocument})}catch{o=new IntersectionObserver(N,D)}o.observe(t)}return s(!0),r}function wN(t,e,o,i){i===void 0&&(i={});const{ancestorScroll:n=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:u=!1}=i,c=CT(t),m=n||r?[...c?cc(c):[],...cc(e)]:[];m.forEach(B=>{n&&B.addEventListener("scroll",o,{passive:!0}),r&&B.addEventListener("resize",o)});const f=c&&a?iq(c,o):null;let p=-1,C=null;s&&(C=new ResizeObserver(B=>{let[v]=B;v&&v.target===c&&C&&(C.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var D;(D=C)==null||D.observe(e)})),o()}),c&&!u&&C.observe(c),C.observe(e));let F,y=u?il(t):null;u&&T();function T(){const B=il(t);y&&!IN(y,B)&&o(),y=B,F=requestAnimationFrame(T)}return o(),()=>{var B;m.forEach(v=>{n&&v.removeEventListener("scroll",o),r&&v.removeEventListener("resize",o)}),f==null||f(),(B=C)==null||B.disconnect(),C=null,u&&cancelAnimationFrame(F)}}const kN=PK,nq=(t,e,o)=>{const i=new Map,n={platform:oq,...o},r={...n.platform,_c:i};return EK(t,e,{...n,platform:r})};function rq(t){return t!=null&&typeof t=="object"&&"$el"in t}function kx(t){if(rq(t)){const e=t.$el;return fT(e)&&fl(e)==="#comment"?null:e}return t}function gd(t){return typeof t=="function"?t():j(t)}function WN(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Wx(t,e){const o=WN(t);return Math.round(e*o)/o}function ON(t,e,o){o===void 0&&(o={});const i=o.whileElementsMounted,n=Z(()=>{var P;return(P=gd(o.open))!=null?P:!0}),r=Z(()=>gd(o.middleware)),s=Z(()=>{var P;return(P=gd(o.placement))!=null?P:"bottom"}),a=Z(()=>{var P;return(P=gd(o.strategy))!=null?P:"absolute"}),u=Z(()=>{var P;return(P=gd(o.transform))!=null?P:!0}),c=Z(()=>kx(t.value)),m=Z(()=>kx(e.value)),f=Vt(0),p=Vt(0),C=Vt(a.value),F=Vt(s.value),y=lo({}),T=Vt(!1),B=Z(()=>{const P={position:C.value,left:"0",top:"0"};if(!m.value)return P;const U=Wx(m.value,f.value),k=Wx(m.value,p.value);return u.value?{...P,transform:"translate("+U+"px, "+k+"px)",...WN(m.value)>=1.5&&{willChange:"transform"}}:{position:C.value,left:U+"px",top:k+"px"}});let v;function D(){if(c.value==null||m.value==null)return;const P=n.value;nq(c.value,m.value,{middleware:r.value,placement:s.value,strategy:a.value}).then(U=>{f.value=U.x,p.value=U.y,C.value=U.strategy,F.value=U.placement,y.value=U.middlewareData,T.value=P!==!1})}function R(){typeof v=="function"&&(v(),v=void 0)}function N(){if(R(),i===void 0){D();return}if(c.value!=null&&m.value!=null){v=i(c.value,m.value,D);return}}function _(){n.value||(T.value=!1)}return Rt([r,s,a,n],D,{flush:"sync"}),Rt([c,m],N,{flush:"sync"}),Rt(n,_,{flush:"sync"}),my()&&Rc(R),{x:Al(f),y:Al(p),strategy:Al(C),placement:Al(F),middlewareData:Al(y),isPositioned:Al(T),floatingStyles:B,update:D}}const Oi=t=>({fontSize:t.themeFontSettings.FontSize,lineHeight:t.themeFontSettings.LineHeight,fontWeight:t.themeFontSettings.IsBold?"bold":"normal",fontStyle:t.themeFontSettings.IsItalic?"italic":"normal",fontFamily:t.fontFamily,textDecoration:lT({textDecoration:t.themeFontSettings.Decoration}),color:t.themeColor}),sq={class:"bootstrap-styles modal fade show d-block position-absolute"},aq={class:"bootstrap-styles modal-dialog modal-dialog-centered"},lq={class:"bootstrap-styles modal-content border rounded-3 shadow","data-test":"modal-window__content"},uq={class:"bootstrap-styles modal-header p-0"},dq={class:"bootstrap-styles container-fluid border-bottom g-0"},cq={class:"bootstrap-styles d-flex justify-content-between align-items-center px-11 py-7"},mq={class:"bootstrap-styles modal-title border-0","data-test":"modal-window__header-text"},fq={class:"bootstrap-styles modal-body p-0","data-test":"modal-window__body"},hq={class:"bootstrap-styles modal-footer p-0 g-0"},pq={class:"bootstrap-styles container-fluid border-top"},Cq={class:"bootstrap-styles d-flex justify-content-end py-8 px-11"},gq={class:"bootstrap-styles col-6 d-flex justify-content-end","data-test":"modal-window__footer-actions"},Fq=Me({__name:"ModalWindow",props:{headerText:{}},emits:["close"],setup(t,{emit:e}){const o=t,i=e;return(n,r)=>(W(),J("div",sq,[V("div",{class:"bootstrap-styles modal-blur d-block position-fixed top-0 left-0 w-100 vh-100","data-test":"modal-window__outside",onClick:r[0]||(r[0]=s=>i("close"))}),V("div",aq,[V("div",lq,[V("div",uq,[V("div",dq,[V("div",cq,[V("h5",mq,Lt(o.headerText),1),ct((W(),J("button",{type:"button","aria-label":"Close","data-bs-dismiss":"modal","data-test":"modal-window__close-button",onClick:r[1]||(r[1]=s=>i("close"))},[...r[2]||(r[2]=[V("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[V("path",{d:"M3 3L13 13",stroke:"var(--gray-500)"}),V("path",{d:"M13 3L3 13",stroke:"var(--gray-500)"})],-1)])])),[[j(po),{title:j(Le)("UIComponents.modalWindow.closeButton"),placement:"top"}]])])])]),V("div",fq,[qf(n.$slots,"body",{},void 0,!0)]),V("div",hq,[V("div",pq,[V("div",Cq,[V("div",gq,[qf(n.$slots,"footer-actions",{},void 0,!0)])])])])])])]))}}),gT=Ne(Fq,[["__scopeId","data-v-fd7bc93f"]]),yq={class:"bootstrap-styles px-11 py-7 text-start"},Tq=Me({__name:"RemoveConfirmModalWindow",props:{headerText:{}},emits:["cancel","confirmed"],setup(t,{emit:e}){const o=t,i=()=>{n("cancel")},n=e;return(r,s)=>(W(),Pe(gT,{headerText:o.headerText,class:"remove-element-confirm-modal-window",onClose:s[2]||(s[2]=()=>i())},{body:ur(()=>[V("div",yq,[qf(r.$slots,"body-content")])]),"footer-actions":ur(()=>[V("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:s[0]||(s[0]=ci(a=>i(),["stop"]))},Lt(j(Le)("UIComponents.removeConfirmModalWindow.cancelButton")),1),V("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 text-white cursor-pointer remove-element-confirm__button",onClick:s[1]||(s[1]=ci(a=>n("confirmed"),["stop"]))},Lt(j(Le)("UIComponents.removeConfirmModalWindow.applyButton")),1)]),_:3},8,["headerText"]))}});function ko(t){this.content=t}ko.prototype={constructor:ko,find:function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return-1},get:function(t){var e=this.find(t);return e==-1?void 0:this.content[e+1]},update:function(t,e,o){var i=o&&o!=t?this.remove(o):this,n=i.find(t),r=i.content.slice();return n==-1?r.push(o||t,e):(r[n+1]=e,o&&(r[n]=o)),new ko(r)},remove:function(t){var e=this.find(t);if(e==-1)return this;var o=this.content.slice();return o.splice(e,2),new ko(o)},addToStart:function(t,e){return new ko([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var o=this.remove(t).content.slice();return o.push(t,e),new ko(o)},addBefore:function(t,e,o){var i=this.remove(e),n=i.content.slice(),r=i.find(t);return n.splice(r==-1?n.length:r,0,e,o),new ko(n)},forEach:function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},prepend:function(t){return t=ko.from(t),t.size?new ko(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=ko.from(t),t.size?new ko(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=ko.from(t);for(var o=0;o<t.content.length;o+=2)e=e.remove(t.content[o]);return e},toObject:function(){var t={};return this.forEach(function(e,o){t[e]=o}),t},get size(){return this.content.length>>1}};ko.from=function(t){if(t instanceof ko)return t;var e=[];if(t)for(var o in t)e.push(o,t[o]);return new ko(e)};function MN(t,e,o){for(let i=0;;i++){if(i==t.childCount||i==e.childCount)return t.childCount==e.childCount?null:o;let n=t.child(i),r=e.child(i);if(n==r){o+=n.nodeSize;continue}if(!n.sameMarkup(r))return o;if(n.isText&&n.text!=r.text){for(let s=0;n.text[s]==r.text[s];s++)o++;return o}if(n.content.size||r.content.size){let s=MN(n.content,r.content,o+1);if(s!=null)return s}o+=n.nodeSize}}function HN(t,e,o,i){for(let n=t.childCount,r=e.childCount;;){if(n==0||r==0)return n==r?null:{a:o,b:i};let s=t.child(--n),a=e.child(--r),u=s.nodeSize;if(s==a){o-=u,i-=u;continue}if(!s.sameMarkup(a))return{a:o,b:i};if(s.isText&&s.text!=a.text){let c=0,m=Math.min(s.text.length,a.text.length);for(;c<m&&s.text[s.text.length-c-1]==a.text[a.text.length-c-1];)c++,o--,i--;return{a:o,b:i}}if(s.content.size||a.content.size){let c=HN(s.content,a.content,o-1,i-1);if(c)return c}o-=u,i-=u}}class ge{constructor(e,o){if(this.content=e,this.size=o||0,o==null)for(let i=0;i<e.length;i++)this.size+=e[i].nodeSize}nodesBetween(e,o,i,n=0,r){for(let s=0,a=0;a<o;s++){let u=this.content[s],c=a+u.nodeSize;if(c>e&&i(u,n+a,r||null,s)!==!1&&u.content.size){let m=a+1;u.nodesBetween(Math.max(0,e-m),Math.min(u.content.size,o-m),i,n+m)}a=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,o,i,n){let r="",s=!0;return this.nodesBetween(e,o,(a,u)=>{let c=a.isText?a.text.slice(Math.max(e,u)-u,o-u):a.isLeaf?n?typeof n=="function"?n(a):n:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&c||a.isTextblock)&&i&&(s?s=!1:r+=i),r+=c},0),r}append(e){if(!e.size)return this;if(!this.size)return e;let o=this.lastChild,i=e.firstChild,n=this.content.slice(),r=0;for(o.isText&&o.sameMarkup(i)&&(n[n.length-1]=o.withText(o.text+i.text),r=1);r<e.content.length;r++)n.push(e.content[r]);return new ge(n,this.size+e.size)}cut(e,o=this.size){if(e==0&&o==this.size)return this;let i=[],n=0;if(o>e)for(let r=0,s=0;s<o;r++){let a=this.content[r],u=s+a.nodeSize;u>e&&((s<e||u>o)&&(a.isText?a=a.cut(Math.max(0,e-s),Math.min(a.text.length,o-s)):a=a.cut(Math.max(0,e-s-1),Math.min(a.content.size,o-s-1))),i.push(a),n+=a.nodeSize),s=u}return new ge(i,n)}cutByIndex(e,o){return e==o?ge.empty:e==0&&o==this.content.length?this:new ge(this.content.slice(e,o))}replaceChild(e,o){let i=this.content[e];if(i==o)return this;let n=this.content.slice(),r=this.size+o.nodeSize-i.nodeSize;return n[e]=o,new ge(n,r)}addToStart(e){return new ge([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new ge(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let o=0;o<this.content.length;o++)if(!this.content[o].eq(e.content[o]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let o=this.content[e];if(!o)throw new RangeError("Index "+e+" out of range for "+this);return o}maybeChild(e){return this.content[e]||null}forEach(e){for(let o=0,i=0;o<this.content.length;o++){let n=this.content[o];e(n,i,o),i+=n.nodeSize}}findDiffStart(e,o=0){return MN(this,e,o)}findDiffEnd(e,o=this.size,i=e.size){return HN(this,e,o,i)}findIndex(e){if(e==0)return ff(0,e);if(e==this.size)return ff(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let o=0,i=0;;o++){let n=this.child(o),r=i+n.nodeSize;if(r>=e)return r==e?ff(o+1,r):ff(o,i);i=r}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,o){if(!o)return ge.empty;if(!Array.isArray(o))throw new RangeError("Invalid input for Fragment.fromJSON");return new ge(o.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return ge.empty;let o,i=0;for(let n=0;n<e.length;n++){let r=e[n];i+=r.nodeSize,n&&r.isText&&e[n-1].sameMarkup(r)?(o||(o=e.slice(0,n)),o[o.length-1]=r.withText(o[o.length-1].text+r.text)):o&&o.push(r)}return new ge(o||e,i)}static from(e){if(!e)return ge.empty;if(e instanceof ge)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new ge([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}ge.empty=new ge([],0);const s0={index:0,offset:0};function ff(t,e){return s0.index=t,s0.offset=e,s0}function Ch(t,e){if(t===e)return!0;if(!(t&&typeof t=="object")||!(e&&typeof e=="object"))return!1;let o=Array.isArray(t);if(Array.isArray(e)!=o)return!1;if(o){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(!Ch(t[i],e[i]))return!1}else{for(let i in t)if(!(i in e)||!Ch(t[i],e[i]))return!1;for(let i in e)if(!(i in t))return!1}return!0}let Ot=class PF{constructor(e,o){this.type=e,this.attrs=o}addToSet(e){let o,i=!1;for(let n=0;n<e.length;n++){let r=e[n];if(this.eq(r))return e;if(this.type.excludes(r.type))o||(o=e.slice(0,n));else{if(r.type.excludes(this.type))return e;!i&&r.type.rank>this.type.rank&&(o||(o=e.slice(0,n)),o.push(this),i=!0),o&&o.push(r)}}return o||(o=e.slice()),i||o.push(this),o}removeFromSet(e){for(let o=0;o<e.length;o++)if(this.eq(e[o]))return e.slice(0,o).concat(e.slice(o+1));return e}isInSet(e){for(let o=0;o<e.length;o++)if(this.eq(e[o]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Ch(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let o in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,o){if(!o)throw new RangeError("Invalid input for Mark.fromJSON");let i=e.marks[o.type];if(!i)throw new RangeError(`There is no mark type ${o.type} in this schema`);let n=i.create(o.attrs);return i.checkAttrs(n.attrs),n}static sameSet(e,o){if(e==o)return!0;if(e.length!=o.length)return!1;for(let i=0;i<e.length;i++)if(!e[i].eq(o[i]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return PF.none;if(e instanceof PF)return[e];let o=e.slice();return o.sort((i,n)=>i.type.rank-n.type.rank),o}};Ot.none=[];class gh extends Error{}class _e{constructor(e,o,i){this.content=e,this.openStart=o,this.openEnd=i}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,o){let i=zN(this.content,e+this.openStart,o);return i&&new _e(i,this.openStart,this.openEnd)}removeBetween(e,o){return new _e($N(this.content,e+this.openStart,o+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,o){if(!o)return _e.empty;let i=o.openStart||0,n=o.openEnd||0;if(typeof i!="number"||typeof n!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new _e(ge.fromJSON(e,o.content),i,n)}static maxOpen(e,o=!0){let i=0,n=0;for(let r=e.firstChild;r&&!r.isLeaf&&(o||!r.type.spec.isolating);r=r.firstChild)i++;for(let r=e.lastChild;r&&!r.isLeaf&&(o||!r.type.spec.isolating);r=r.lastChild)n++;return new _e(e,i,n)}}_e.empty=new _e(ge.empty,0,0);function $N(t,e,o){let{index:i,offset:n}=t.findIndex(e),r=t.maybeChild(i),{index:s,offset:a}=t.findIndex(o);if(n==e||r.isText){if(a!=o&&!t.child(s).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(o))}if(i!=s)throw new RangeError("Removing non-flat range");return t.replaceChild(i,r.copy($N(r.content,e-n-1,o-n-1)))}function zN(t,e,o,i){let{index:n,offset:r}=t.findIndex(e),s=t.maybeChild(n);if(r==e||s.isText)return i&&!i.canReplace(n,n,o)?null:t.cut(0,e).append(o).append(t.cut(e));let a=zN(s.content,e-r-1,o,s);return a&&t.replaceChild(n,s.copy(a))}function Sq(t,e,o){if(o.openStart>t.depth)throw new gh("Inserted content deeper than insertion position");if(t.depth-o.openStart!=e.depth-o.openEnd)throw new gh("Inconsistent open depths");return UN(t,e,o,0)}function UN(t,e,o,i){let n=t.index(i),r=t.node(i);if(n==e.index(i)&&i<t.depth-o.openStart){let s=UN(t,e,o,i+1);return r.copy(r.content.replaceChild(n,s))}else if(o.content.size)if(!o.openStart&&!o.openEnd&&t.depth==i&&e.depth==i){let s=t.parent,a=s.content;return Ka(s,a.cut(0,t.parentOffset).append(o.content).append(a.cut(e.parentOffset)))}else{let{start:s,end:a}=Bq(o,t);return Ka(r,GN(t,s,a,e,i))}else return Ka(r,Fh(t,e,i))}function jN(t,e){if(!e.type.compatibleContent(t.type))throw new gh("Cannot join "+e.type.name+" onto "+t.type.name)}function _F(t,e,o){let i=t.node(o);return jN(i,e.node(o)),i}function Ga(t,e){let o=e.length-1;o>=0&&t.isText&&t.sameMarkup(e[o])?e[o]=t.withText(e[o].text+t.text):e.push(t)}function wd(t,e,o,i){let n=(e||t).node(o),r=0,s=e?e.index(o):n.childCount;t&&(r=t.index(o),t.depth>o?r++:t.textOffset&&(Ga(t.nodeAfter,i),r++));for(let a=r;a<s;a++)Ga(n.child(a),i);e&&e.depth==o&&e.textOffset&&Ga(e.nodeBefore,i)}function Ka(t,e){return t.type.checkContent(e),t.copy(e)}function GN(t,e,o,i,n){let r=t.depth>n&&_F(t,e,n+1),s=i.depth>n&&_F(o,i,n+1),a=[];return wd(null,t,n,a),r&&s&&e.index(n)==o.index(n)?(jN(r,s),Ga(Ka(r,GN(t,e,o,i,n+1)),a)):(r&&Ga(Ka(r,Fh(t,e,n+1)),a),wd(e,o,n,a),s&&Ga(Ka(s,Fh(o,i,n+1)),a)),wd(i,null,n,a),new ge(a)}function Fh(t,e,o){let i=[];if(wd(null,t,o,i),t.depth>o){let n=_F(t,e,o+1);Ga(Ka(n,Fh(t,e,o+1)),i)}return wd(e,null,o,i),new ge(i)}function Bq(t,e){let o=e.depth-t.openStart,n=e.node(o).copy(t.content);for(let r=o-1;r>=0;r--)n=e.node(r).copy(ge.from(n));return{start:n.resolveNoCache(t.openStart+o),end:n.resolveNoCache(n.content.size-t.openEnd-o)}}class mc{constructor(e,o,i){this.pos=e,this.path=o,this.parentOffset=i,this.depth=o.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,o=this.index(this.depth);if(o==e.childCount)return null;let i=this.pos-this.path[this.path.length-1],n=e.child(o);return i?e.child(o).cut(i):n}get nodeBefore(){let e=this.index(this.depth),o=this.pos-this.path[this.path.length-1];return o?this.parent.child(e).cut(0,o):e==0?null:this.parent.child(e-1)}posAtIndex(e,o){o=this.resolveDepth(o);let i=this.path[o*3],n=o==0?0:this.path[o*3-1]+1;for(let r=0;r<e;r++)n+=i.child(r).nodeSize;return n}marks(){let e=this.parent,o=this.index();if(e.content.size==0)return Ot.none;if(this.textOffset)return e.child(o).marks;let i=e.maybeChild(o-1),n=e.maybeChild(o);if(!i){let a=i;i=n,n=a}let r=i.marks;for(var s=0;s<r.length;s++)r[s].type.spec.inclusive===!1&&(!n||!r[s].isInSet(n.marks))&&(r=r[s--].removeFromSet(r));return r}marksAcross(e){let o=this.parent.maybeChild(this.index());if(!o||!o.isInline)return null;let i=o.marks,n=e.parent.maybeChild(e.index());for(var r=0;r<i.length;r++)i[r].type.spec.inclusive===!1&&(!n||!i[r].isInSet(n.marks))&&(i=i[r--].removeFromSet(i));return i}sharedDepth(e){for(let o=this.depth;o>0;o--)if(this.start(o)<=e&&this.end(o)>=e)return o;return 0}blockRange(e=this,o){if(e.pos<this.pos)return e.blockRange(this);for(let i=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);i>=0;i--)if(e.pos<=this.end(i)&&(!o||o(this.node(i))))return new yh(this,e,i);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let o=1;o<=this.depth;o++)e+=(e?"/":"")+this.node(o).type.name+"_"+this.index(o-1);return e+":"+this.parentOffset}static resolve(e,o){if(!(o>=0&&o<=e.content.size))throw new RangeError("Position "+o+" out of range");let i=[],n=0,r=o;for(let s=e;;){let{index:a,offset:u}=s.content.findIndex(r),c=r-u;if(i.push(s,a,n+u),!c||(s=s.child(a),s.isText))break;r=c-1,n+=u+1}return new mc(o,i,r)}static resolveCached(e,o){let i=Ox.get(e);if(i)for(let r=0;r<i.elts.length;r++){let s=i.elts[r];if(s.pos==o)return s}else Ox.set(e,i=new Vq);let n=i.elts[i.i]=mc.resolve(e,o);return i.i=(i.i+1)%Rq,n}}class Vq{constructor(){this.elts=[],this.i=0}}const Rq=12,Ox=new WeakMap;class yh{constructor(e,o,i){this.$from=e,this.$to=o,this.depth=i}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const Dq=Object.create(null);let Hs=class AF{constructor(e,o,i,n=Ot.none){this.type=e,this.attrs=o,this.marks=n,this.content=i||ge.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,o,i,n=0){this.content.nodesBetween(e,o,i,n,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,o,i,n){return this.content.textBetween(e,o,i,n)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,o,i){return this.type==e&&Ch(this.attrs,o||e.defaultAttrs||Dq)&&Ot.sameSet(this.marks,i||Ot.none)}copy(e=null){return e==this.content?this:new AF(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new AF(this.type,this.attrs,this.content,e)}cut(e,o=this.content.size){return e==0&&o==this.content.size?this:this.copy(this.content.cut(e,o))}slice(e,o=this.content.size,i=!1){if(e==o)return _e.empty;let n=this.resolve(e),r=this.resolve(o),s=i?0:n.sharedDepth(o),a=n.start(s),c=n.node(s).content.cut(n.pos-a,r.pos-a);return new _e(c,n.depth-s,r.depth-s)}replace(e,o,i){return Sq(this.resolve(e),this.resolve(o),i)}nodeAt(e){for(let o=this;;){let{index:i,offset:n}=o.content.findIndex(e);if(o=o.maybeChild(i),!o)return null;if(n==e||o.isText)return o;e-=n+1}}childAfter(e){let{index:o,offset:i}=this.content.findIndex(e);return{node:this.content.maybeChild(o),index:o,offset:i}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:o,offset:i}=this.content.findIndex(e);if(i<e)return{node:this.content.child(o),index:o,offset:i};let n=this.content.child(o-1);return{node:n,index:o-1,offset:i-n.nodeSize}}resolve(e){return mc.resolveCached(this,e)}resolveNoCache(e){return mc.resolve(this,e)}rangeHasMark(e,o,i){let n=!1;return o>e&&this.nodesBetween(e,o,r=>(i.isInSet(r.marks)&&(n=!0),!n)),n}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),KN(this.marks,e)}contentMatchAt(e){let o=this.type.contentMatch.matchFragment(this.content,0,e);if(!o)throw new Error("Called contentMatchAt on a node with invalid content");return o}canReplace(e,o,i=ge.empty,n=0,r=i.childCount){let s=this.contentMatchAt(e).matchFragment(i,n,r),a=s&&s.matchFragment(this.content,o);if(!a||!a.validEnd)return!1;for(let u=n;u<r;u++)if(!this.type.allowsMarks(i.child(u).marks))return!1;return!0}canReplaceWith(e,o,i,n){if(n&&!this.type.allowsMarks(n))return!1;let r=this.contentMatchAt(e).matchType(i),s=r&&r.matchFragment(this.content,o);return s?s.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=Ot.none;for(let o=0;o<this.marks.length;o++){let i=this.marks[o];i.type.checkAttrs(i.attrs),e=i.addToSet(e)}if(!Ot.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(o=>o.type.name)}`);this.content.forEach(o=>o.check())}toJSON(){let e={type:this.type.name};for(let o in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(o=>o.toJSON())),e}static fromJSON(e,o){if(!o)throw new RangeError("Invalid input for Node.fromJSON");let i;if(o.marks){if(!Array.isArray(o.marks))throw new RangeError("Invalid mark data for Node.fromJSON");i=o.marks.map(e.markFromJSON)}if(o.type=="text"){if(typeof o.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(o.text,i)}let n=ge.fromJSON(e,o.content),r=e.nodeType(o.type).create(o.attrs,n,i);return r.type.checkAttrs(r.attrs),r}};Hs.prototype.text=void 0;class Th extends Hs{constructor(e,o,i,n){if(super(e,o,null,n),!i)throw new RangeError("Empty text nodes are not allowed");this.text=i}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):KN(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,o){return this.text.slice(e,o)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Th(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Th(this.type,this.attrs,e,this.marks)}cut(e=0,o=this.text.length){return e==0&&o==this.text.length?this:this.withText(this.text.slice(e,o))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function KN(t,e){for(let o=t.length-1;o>=0;o--)e=t[o].type.name+"("+e+")";return e}class nl{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,o){let i=new xq(e,o);if(i.next==null)return nl.empty;let n=qN(i);i.next&&i.err("Unexpected trailing text");let r=_q(Pq(n));return Aq(r,i),r}matchType(e){for(let o=0;o<this.next.length;o++)if(this.next[o].type==e)return this.next[o].next;return null}matchFragment(e,o=0,i=e.childCount){let n=this;for(let r=o;n&&r<i;r++)n=n.matchType(e.child(r).type);return n}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:o}=this.next[e];if(!(o.isText||o.hasRequiredAttrs()))return o}return null}compatible(e){for(let o=0;o<this.next.length;o++)for(let i=0;i<e.next.length;i++)if(this.next[o].type==e.next[i].type)return!0;return!1}fillBefore(e,o=!1,i=0){let n=[this];function r(s,a){let u=s.matchFragment(e,i);if(u&&(!o||u.validEnd))return ge.from(a.map(c=>c.createAndFill()));for(let c=0;c<s.next.length;c++){let{type:m,next:f}=s.next[c];if(!(m.isText||m.hasRequiredAttrs())&&n.indexOf(f)==-1){n.push(f);let p=r(f,a.concat(m));if(p)return p}}return null}return r(this,[])}findWrapping(e){for(let i=0;i<this.wrapCache.length;i+=2)if(this.wrapCache[i]==e)return this.wrapCache[i+1];let o=this.computeWrapping(e);return this.wrapCache.push(e,o),o}computeWrapping(e){let o=Object.create(null),i=[{match:this,type:null,via:null}];for(;i.length;){let n=i.shift(),r=n.match;if(r.matchType(e)){let s=[];for(let a=n;a.type;a=a.via)s.push(a.type);return s.reverse()}for(let s=0;s<r.next.length;s++){let{type:a,next:u}=r.next[s];!a.isLeaf&&!a.hasRequiredAttrs()&&!(a.name in o)&&(!n.type||u.validEnd)&&(i.push({match:a.contentMatch,type:a,via:n}),o[a.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function o(i){e.push(i);for(let n=0;n<i.next.length;n++)e.indexOf(i.next[n].next)==-1&&o(i.next[n].next)}return o(this),e.map((i,n)=>{let r=n+(i.validEnd?"*":" ")+" ";for(let s=0;s<i.next.length;s++)r+=(s?", ":"")+i.next[s].type.name+"->"+e.indexOf(i.next[s].next);return r}).join(`
|
|
87
|
-
`)}}nl.empty=new nl(!0);class xq{constructor(e,o){this.string=e,this.nodeTypes=o,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function qN(t){let e=[];do e.push(bq(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function bq(t){let e=[];do e.push(Lq(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function Lq(t){let e=Nq(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=Eq(t,e);else break;return e}function Mx(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function Eq(t,e){let o=Mx(t),i=o;return t.eat(",")&&(t.next!="}"?i=Mx(t):i=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:o,max:i,expr:e}}function vq(t,e){let o=t.nodeTypes,i=o[e];if(i)return[i];let n=[];for(let r in o){let s=o[r];s.isInGroup(e)&&n.push(s)}return n.length==0&&t.err("No node type or group '"+e+"' found"),n}function Nq(t){if(t.eat("(")){let e=qN(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=vq(t,t.next).map(o=>(t.inline==null?t.inline=o.isInline:t.inline!=o.isInline&&t.err("Mixing inline and block content"),{type:"name",value:o}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function Pq(t){let e=[[]];return n(r(t,0),o()),e;function o(){return e.push([])-1}function i(s,a,u){let c={term:u,to:a};return e[s].push(c),c}function n(s,a){s.forEach(u=>u.to=a)}function r(s,a){if(s.type=="choice")return s.exprs.reduce((u,c)=>u.concat(r(c,a)),[]);if(s.type=="seq")for(let u=0;;u++){let c=r(s.exprs[u],a);if(u==s.exprs.length-1)return c;n(c,a=o())}else if(s.type=="star"){let u=o();return i(a,u),n(r(s.expr,u),u),[i(u)]}else if(s.type=="plus"){let u=o();return n(r(s.expr,a),u),n(r(s.expr,u),u),[i(u)]}else{if(s.type=="opt")return[i(a)].concat(r(s.expr,a));if(s.type=="range"){let u=a;for(let c=0;c<s.min;c++){let m=o();n(r(s.expr,u),m),u=m}if(s.max==-1)n(r(s.expr,u),u);else for(let c=s.min;c<s.max;c++){let m=o();i(u,m),n(r(s.expr,u),m),u=m}return[i(u)]}else{if(s.type=="name")return[i(a,void 0,s.value)];throw new Error("Unknown expr type")}}}}function YN(t,e){return e-t}function Hx(t,e){let o=[];return i(e),o.sort(YN);function i(n){let r=t[n];if(r.length==1&&!r[0].term)return i(r[0].to);o.push(n);for(let s=0;s<r.length;s++){let{term:a,to:u}=r[s];!a&&o.indexOf(u)==-1&&i(u)}}}function _q(t){let e=Object.create(null);return o(Hx(t,0));function o(i){let n=[];i.forEach(s=>{t[s].forEach(({term:a,to:u})=>{if(!a)return;let c;for(let m=0;m<n.length;m++)n[m][0]==a&&(c=n[m][1]);Hx(t,u).forEach(m=>{c||n.push([a,c=[]]),c.indexOf(m)==-1&&c.push(m)})})});let r=e[i.join(",")]=new nl(i.indexOf(t.length-1)>-1);for(let s=0;s<n.length;s++){let a=n[s][1].sort(YN);r.next.push({type:n[s][0],next:e[a.join(",")]||o(a)})}return r}}function Aq(t,e){for(let o=0,i=[t];o<i.length;o++){let n=i[o],r=!n.validEnd,s=[];for(let a=0;a<n.next.length;a++){let{type:u,next:c}=n.next[a];s.push(u.name),r&&!(u.isText||u.hasRequiredAttrs())&&(r=!1),i.indexOf(c)==-1&&i.push(c)}r&&e.err("Only non-generatable nodes ("+s.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function JN(t){let e=Object.create(null);for(let o in t){let i=t[o];if(!i.hasDefault)return null;e[o]=i.default}return e}function ZN(t,e){let o=Object.create(null);for(let i in t){let n=e&&e[i];if(n===void 0){let r=t[i];if(r.hasDefault)n=r.default;else throw new RangeError("No value supplied for attribute "+i)}o[i]=n}return o}function XN(t,e,o,i){for(let n in e)if(!(n in t))throw new RangeError(`Unsupported attribute ${n} for ${o} of type ${n}`);for(let n in t){let r=t[n];r.validate&&r.validate(e[n])}}function QN(t,e){let o=Object.create(null);if(e)for(let i in e)o[i]=new wq(t,i,e[i]);return o}let $x=class eP{constructor(e,o,i){this.name=e,this.schema=o,this.spec=i,this.markSet=null,this.groups=i.group?i.group.split(" "):[],this.attrs=QN(e,i.attrs),this.defaultAttrs=JN(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(i.inline||e=="text"),this.isText=e=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==nl.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:ZN(this.attrs,e)}create(e=null,o,i){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Hs(this,this.computeAttrs(e),ge.from(o),Ot.setFrom(i))}createChecked(e=null,o,i){return o=ge.from(o),this.checkContent(o),new Hs(this,this.computeAttrs(e),o,Ot.setFrom(i))}createAndFill(e=null,o,i){if(e=this.computeAttrs(e),o=ge.from(o),o.size){let s=this.contentMatch.fillBefore(o);if(!s)return null;o=s.append(o)}let n=this.contentMatch.matchFragment(o),r=n&&n.fillBefore(ge.empty,!0);return r?new Hs(this,e,o.append(r),Ot.setFrom(i)):null}validContent(e){let o=this.contentMatch.matchFragment(e);if(!o||!o.validEnd)return!1;for(let i=0;i<e.childCount;i++)if(!this.allowsMarks(e.child(i).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){XN(this.attrs,e,"node",this.name)}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let o=0;o<e.length;o++)if(!this.allowsMarkType(e[o].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let o;for(let i=0;i<e.length;i++)this.allowsMarkType(e[i].type)?o&&o.push(e[i]):o||(o=e.slice(0,i));return o?o.length?o:Ot.none:e}static compile(e,o){let i=Object.create(null);e.forEach((r,s)=>i[r]=new eP(r,o,s));let n=o.spec.topNode||"doc";if(!i[n])throw new RangeError("Schema is missing its top node type ('"+n+"')");if(!i.text)throw new RangeError("Every schema needs a 'text' type");for(let r in i.text.attrs)throw new RangeError("The text node type should not have attributes");return i}};function Iq(t,e,o){let i=o.split("|");return n=>{let r=n===null?"null":typeof n;if(i.indexOf(r)<0)throw new RangeError(`Expected value of type ${i} for attribute ${e} on type ${t}, got ${r}`)}}class wq{constructor(e,o,i){this.hasDefault=Object.prototype.hasOwnProperty.call(i,"default"),this.default=i.default,this.validate=typeof i.validate=="string"?Iq(e,o,i.validate):i.validate}get isRequired(){return!this.hasDefault}}class Hp{constructor(e,o,i,n){this.name=e,this.rank=o,this.schema=i,this.spec=n,this.attrs=QN(e,n.attrs),this.excluded=null;let r=JN(this.attrs);this.instance=r?new Ot(this,r):null}create(e=null){return!e&&this.instance?this.instance:new Ot(this,ZN(this.attrs,e))}static compile(e,o){let i=Object.create(null),n=0;return e.forEach((r,s)=>i[r]=new Hp(r,n++,o,s)),i}removeFromSet(e){for(var o=0;o<e.length;o++)e[o].type==this&&(e=e.slice(0,o).concat(e.slice(o+1)),o--);return e}isInSet(e){for(let o=0;o<e.length;o++)if(e[o].type==this)return e[o]}checkAttrs(e){XN(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class tP{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let o=this.spec={};for(let n in e)o[n]=e[n];o.nodes=ko.from(e.nodes),o.marks=ko.from(e.marks||{}),this.nodes=$x.compile(this.spec.nodes,this),this.marks=Hp.compile(this.spec.marks,this);let i=Object.create(null);for(let n in this.nodes){if(n in this.marks)throw new RangeError(n+" can not be both a node and a mark");let r=this.nodes[n],s=r.spec.content||"",a=r.spec.marks;if(r.contentMatch=i[s]||(i[s]=nl.parse(s,this.nodes)),r.inlineContent=r.contentMatch.inlineContent,r.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!r.isInline||!r.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=r}r.markSet=a=="_"?null:a?zx(this,a.split(" ")):a==""||!r.inlineContent?[]:null}for(let n in this.marks){let r=this.marks[n],s=r.spec.excludes;r.excluded=s==null?[r]:s==""?[]:zx(this,s.split(" "))}this.nodeFromJSON=n=>Hs.fromJSON(this,n),this.markFromJSON=n=>Ot.fromJSON(this,n),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,o=null,i,n){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof $x){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(o,i,n)}text(e,o){let i=this.nodes.text;return new Th(i,i.defaultAttrs,e,Ot.setFrom(o))}mark(e,o){return typeof e=="string"&&(e=this.marks[e]),e.create(o)}nodeType(e){let o=this.nodes[e];if(!o)throw new RangeError("Unknown node type: "+e);return o}}function zx(t,e){let o=[];for(let i=0;i<e.length;i++){let n=e[i],r=t.marks[n],s=r;if(r)o.push(r);else for(let a in t.marks){let u=t.marks[a];(n=="_"||u.spec.group&&u.spec.group.split(" ").indexOf(n)>-1)&&o.push(s=u)}if(!s)throw new SyntaxError("Unknown mark type: '"+e[i]+"'")}return o}function kq(t){return t.tag!=null}function Wq(t){return t.style!=null}class $s{constructor(e,o){this.schema=e,this.rules=o,this.tags=[],this.styles=[];let i=this.matchedStyles=[];o.forEach(n=>{if(kq(n))this.tags.push(n);else if(Wq(n)){let r=/[^=]*/.exec(n.style)[0];i.indexOf(r)<0&&i.push(r),this.styles.push(n)}}),this.normalizeLists=!this.tags.some(n=>{if(!/^(ul|ol)\b/.test(n.tag)||!n.node)return!1;let r=e.nodes[n.node];return r.contentMatch.matchType(r)})}parse(e,o={}){let i=new jx(this,o,!1);return i.addAll(e,Ot.none,o.from,o.to),i.finish()}parseSlice(e,o={}){let i=new jx(this,o,!0);return i.addAll(e,Ot.none,o.from,o.to),_e.maxOpen(i.finish())}matchTag(e,o,i){for(let n=i?this.tags.indexOf(i)+1:0;n<this.tags.length;n++){let r=this.tags[n];if(Hq(e,r.tag)&&(r.namespace===void 0||e.namespaceURI==r.namespace)&&(!r.context||o.matchesContext(r.context))){if(r.getAttrs){let s=r.getAttrs(e);if(s===!1)continue;r.attrs=s||void 0}return r}}}matchStyle(e,o,i,n){for(let r=n?this.styles.indexOf(n)+1:0;r<this.styles.length;r++){let s=this.styles[r],a=s.style;if(!(a.indexOf(e)!=0||s.context&&!i.matchesContext(s.context)||a.length>e.length&&(a.charCodeAt(e.length)!=61||a.slice(e.length+1)!=o))){if(s.getAttrs){let u=s.getAttrs(o);if(u===!1)continue;s.attrs=u||void 0}return s}}}static schemaRules(e){let o=[];function i(n){let r=n.priority==null?50:n.priority,s=0;for(;s<o.length;s++){let a=o[s];if((a.priority==null?50:a.priority)<r)break}o.splice(s,0,n)}for(let n in e.marks){let r=e.marks[n].spec.parseDOM;r&&r.forEach(s=>{i(s=Gx(s)),s.mark||s.ignore||s.clearMark||(s.mark=n)})}for(let n in e.nodes){let r=e.nodes[n].spec.parseDOM;r&&r.forEach(s=>{i(s=Gx(s)),s.node||s.ignore||s.mark||(s.node=n)})}return o}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new $s(e,$s.schemaRules(e)))}}const oP={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},Oq={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},iP={ol:!0,ul:!0},fc=1,IF=2,kd=4;function Ux(t,e,o){return e!=null?(e?fc:0)|(e==="full"?IF:0):t&&t.whitespace=="pre"?fc|IF:o&~kd}class hf{constructor(e,o,i,n,r,s){this.type=e,this.attrs=o,this.marks=i,this.solid=n,this.options=s,this.content=[],this.activeMarks=Ot.none,this.match=r||(s&kd?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let o=this.type.contentMatch.fillBefore(ge.from(e));if(o)this.match=this.type.contentMatch.matchFragment(o);else{let i=this.type.contentMatch,n;return(n=i.findWrapping(e.type))?(this.match=i,n):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&fc)){let i=this.content[this.content.length-1],n;if(i&&i.isText&&(n=/[ \t\r\n\u000c]+$/.exec(i.text))){let r=i;i.text.length==n[0].length?this.content.pop():this.content[this.content.length-1]=r.withText(r.text.slice(0,r.text.length-n[0].length))}}let o=ge.from(this.content);return!e&&this.match&&(o=o.append(this.match.fillBefore(ge.empty,!0))),this.type?this.type.create(this.attrs,o,this.marks):o}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!oP.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class jx{constructor(e,o,i){this.parser=e,this.options=o,this.isOpen=i,this.open=0,this.localPreserveWS=!1;let n=o.topNode,r,s=Ux(null,o.preserveWhitespace,0)|(i?kd:0);n?r=new hf(n.type,n.attrs,Ot.none,!0,o.topMatch||n.type.contentMatch,s):i?r=new hf(null,null,Ot.none,!0,null,s):r=new hf(e.schema.topNodeType,null,Ot.none,!0,null,s),this.nodes=[r],this.find=o.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,o){e.nodeType==3?this.addTextNode(e,o):e.nodeType==1&&this.addElement(e,o)}addTextNode(e,o){let i=e.nodeValue,n=this.top,r=n.options&IF?"full":this.localPreserveWS||(n.options&fc)>0,{schema:s}=this.parser;if(r==="full"||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(i)){if(r)if(r==="full")i=i.replace(/\r\n?/g,`
|
|
88
|
-
`);else if(s.linebreakReplacement&&/[\r\n]/.test(i)&&this.top.findWrapping(s.linebreakReplacement.create())){let a=i.split(/\r?\n|\r/);for(let u=0;u<a.length;u++)u&&this.insertNode(s.linebreakReplacement.create(),o,!0),a[u]&&this.insertNode(s.text(a[u]),o,!/\S/.test(a[u]));i=""}else i=i.replace(/\r?\n|\r/g," ");else if(i=i.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(i)&&this.open==this.nodes.length-1){let a=n.content[n.content.length-1],u=e.previousSibling;(!a||u&&u.nodeName=="BR"||a.isText&&/[ \t\r\n\u000c]$/.test(a.text))&&(i=i.slice(1))}i&&this.insertNode(s.text(i),o,!/\S/.test(i)),this.findInText(e)}else this.findInside(e)}addElement(e,o,i){let n=this.localPreserveWS,r=this.top;(e.tagName=="PRE"||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let s=e.nodeName.toLowerCase(),a;iP.hasOwnProperty(s)&&this.parser.normalizeLists&&Mq(e);let u=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(a=this.parser.matchTag(e,this,i));e:if(u?u.ignore:Oq.hasOwnProperty(s))this.findInside(e),this.ignoreFallback(e,o);else if(!u||u.skip||u.closeParent){u&&u.closeParent?this.open=Math.max(0,this.open-1):u&&u.skip.nodeType&&(e=u.skip);let c,m=this.needsBlock;if(oP.hasOwnProperty(s))r.content.length&&r.content[0].isInline&&this.open&&(this.open--,r=this.top),c=!0,r.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,o);break e}let f=u&&u.skip?o:this.readStyles(e,o);f&&this.addAll(e,f),c&&this.sync(r),this.needsBlock=m}else{let c=this.readStyles(e,o);c&&this.addElementByRule(e,u,c,u.consuming===!1?a:void 0)}this.localPreserveWS=n}leafFallback(e,o){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`
|
|
89
|
-
`),o)}ignoreFallback(e,o){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),o,!0)}readStyles(e,o){let i=e.style;if(i&&i.length)for(let n=0;n<this.parser.matchedStyles.length;n++){let r=this.parser.matchedStyles[n],s=i.getPropertyValue(r);if(s)for(let a=void 0;;){let u=this.parser.matchStyle(r,s,this,a);if(!u)break;if(u.ignore)return null;if(u.clearMark?o=o.filter(c=>!u.clearMark(c)):o=o.concat(this.parser.schema.marks[u.mark].create(u.attrs)),u.consuming===!1)a=u;else break}}return o}addElementByRule(e,o,i,n){let r,s;if(o.node)if(s=this.parser.schema.nodes[o.node],s.isLeaf)this.insertNode(s.create(o.attrs),i,e.nodeName=="BR")||this.leafFallback(e,i);else{let u=this.enter(s,o.attrs||null,i,o.preserveWhitespace);u&&(r=!0,i=u)}else{let u=this.parser.schema.marks[o.mark];i=i.concat(u.create(o.attrs))}let a=this.top;if(s&&s.isLeaf)this.findInside(e);else if(n)this.addElement(e,i,n);else if(o.getContent)this.findInside(e),o.getContent(e,this.parser.schema).forEach(u=>this.insertNode(u,i,!1));else{let u=e;typeof o.contentElement=="string"?u=e.querySelector(o.contentElement):typeof o.contentElement=="function"?u=o.contentElement(e):o.contentElement&&(u=o.contentElement),this.findAround(e,u,!0),this.addAll(u,i),this.findAround(e,u,!1)}r&&this.sync(a)&&this.open--}addAll(e,o,i,n){let r=i||0;for(let s=i?e.childNodes[i]:e.firstChild,a=n==null?null:e.childNodes[n];s!=a;s=s.nextSibling,++r)this.findAtPoint(e,r),this.addDOM(s,o);this.findAtPoint(e,r)}findPlace(e,o,i){let n,r;for(let s=this.open,a=0;s>=0;s--){let u=this.nodes[s],c=u.findWrapping(e);if(c&&(!n||n.length>c.length+a)&&(n=c,r=u,!c.length))break;if(u.solid){if(i)break;a+=2}}if(!n)return null;this.sync(r);for(let s=0;s<n.length;s++)o=this.enterInner(n[s],null,o,!1);return o}insertNode(e,o,i){if(e.isInline&&this.needsBlock&&!this.top.type){let r=this.textblockFromContext();r&&(o=this.enterInner(r,null,o))}let n=this.findPlace(e,o,i);if(n){this.closeExtra();let r=this.top;r.match&&(r.match=r.match.matchType(e.type));let s=Ot.none;for(let a of n.concat(e.marks))(r.type?r.type.allowsMarkType(a.type):Kx(a.type,e.type))&&(s=a.addToSet(s));return r.content.push(e.mark(s)),!0}return!1}enter(e,o,i,n){let r=this.findPlace(e.create(o),i,!1);return r&&(r=this.enterInner(e,o,i,!0,n)),r}enterInner(e,o,i,n=!1,r){this.closeExtra();let s=this.top;s.match=s.match&&s.match.matchType(e);let a=Ux(e,r,s.options);s.options&kd&&s.content.length==0&&(a|=kd);let u=Ot.none;return i=i.filter(c=>(s.type?s.type.allowsMarkType(c.type):Kx(c.type,e))?(u=c.addToSet(u),!1):!0),this.nodes.push(new hf(e,o,u,n,null,a)),this.open++,i}closeExtra(e=!1){let o=this.nodes.length-1;if(o>this.open){for(;o>this.open;o--)this.nodes[o-1].content.push(this.nodes[o].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let o=this.open;o>=0;o--){if(this.nodes[o]==e)return this.open=o,!0;this.localPreserveWS&&(this.nodes[o].options|=fc)}return!1}get currentPos(){this.closeExtra();let e=0;for(let o=this.open;o>=0;o--){let i=this.nodes[o].content;for(let n=i.length-1;n>=0;n--)e+=i[n].nodeSize;o&&e++}return e}findAtPoint(e,o){if(this.find)for(let i=0;i<this.find.length;i++)this.find[i].node==e&&this.find[i].offset==o&&(this.find[i].pos=this.currentPos)}findInside(e){if(this.find)for(let o=0;o<this.find.length;o++)this.find[o].pos==null&&e.nodeType==1&&e.contains(this.find[o].node)&&(this.find[o].pos=this.currentPos)}findAround(e,o,i){if(e!=o&&this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&e.nodeType==1&&e.contains(this.find[n].node)&&o.compareDocumentPosition(this.find[n].node)&(i?2:4)&&(this.find[n].pos=this.currentPos)}findInText(e){if(this.find)for(let o=0;o<this.find.length;o++)this.find[o].node==e&&(this.find[o].pos=this.currentPos-(e.nodeValue.length-this.find[o].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let o=e.split("/"),i=this.options.context,n=!this.isOpen&&(!i||i.parent.type==this.nodes[0].type),r=-(i?i.depth+1:0)+(n?0:1),s=(a,u)=>{for(;a>=0;a--){let c=o[a];if(c==""){if(a==o.length-1||a==0)continue;for(;u>=r;u--)if(s(a-1,u))return!0;return!1}else{let m=u>0||u==0&&n?this.nodes[u].type:i&&u>=r?i.node(u-r).type:null;if(!m||m.name!=c&&!m.isInGroup(c))return!1;u--}}return!0};return s(o.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let o=e.depth;o>=0;o--){let i=e.node(o).contentMatchAt(e.indexAfter(o)).defaultType;if(i&&i.isTextblock&&i.defaultAttrs)return i}for(let o in this.parser.schema.nodes){let i=this.parser.schema.nodes[o];if(i.isTextblock&&i.defaultAttrs)return i}}}function Mq(t){for(let e=t.firstChild,o=null;e;e=e.nextSibling){let i=e.nodeType==1?e.nodeName.toLowerCase():null;i&&iP.hasOwnProperty(i)&&o?(o.appendChild(e),e=o):i=="li"?o=e:i&&(o=null)}}function Hq(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function Gx(t){let e={};for(let o in t)e[o]=t[o];return e}function Kx(t,e){let o=e.schema.nodes;for(let i in o){let n=o[i];if(!n.allowsMarkType(t))continue;let r=[],s=a=>{r.push(a);for(let u=0;u<a.edgeCount;u++){let{type:c,next:m}=a.edge(u);if(c==e||r.indexOf(m)<0&&s(m))return!0}};if(s(n.contentMatch))return!0}}class hl{constructor(e,o){this.nodes=e,this.marks=o}serializeFragment(e,o={},i){i||(i=a0(o).createDocumentFragment());let n=i,r=[];return e.forEach(s=>{if(r.length||s.marks.length){let a=0,u=0;for(;a<r.length&&u<s.marks.length;){let c=s.marks[u];if(!this.marks[c.type.name]){u++;continue}if(!c.eq(r[a][0])||c.type.spec.spanning===!1)break;a++,u++}for(;a<r.length;)n=r.pop()[1];for(;u<s.marks.length;){let c=s.marks[u++],m=this.serializeMark(c,s.isInline,o);m&&(r.push([c,n]),n.appendChild(m.dom),n=m.contentDOM||m.dom)}}n.appendChild(this.serializeNodeInner(s,o))}),i}serializeNodeInner(e,o){let{dom:i,contentDOM:n}=Af(a0(o),this.nodes[e.type.name](e),null,e.attrs);if(n){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,o,n)}return i}serializeNode(e,o={}){let i=this.serializeNodeInner(e,o);for(let n=e.marks.length-1;n>=0;n--){let r=this.serializeMark(e.marks[n],e.isInline,o);r&&((r.contentDOM||r.dom).appendChild(i),i=r.dom)}return i}serializeMark(e,o,i={}){let n=this.marks[e.type.name];return n&&Af(a0(i),n(e,o),null,e.attrs)}static renderSpec(e,o,i=null,n){return Af(e,o,i,n)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new hl(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let o=qx(e.nodes);return o.text||(o.text=i=>i.text),o}static marksFromSchema(e){return qx(e.marks)}}function qx(t){let e={};for(let o in t){let i=t[o].spec.toDOM;i&&(e[o]=i)}return e}function a0(t){return t.document||window.document}const Yx=new WeakMap;function $q(t){let e=Yx.get(t);return e===void 0&&Yx.set(t,e=zq(t)),e}function zq(t){let e=null;function o(i){if(i&&typeof i=="object")if(Array.isArray(i))if(typeof i[0]=="string")e||(e=[]),e.push(i);else for(let n=0;n<i.length;n++)o(i[n]);else for(let n in i)o(i[n])}return o(t),e}function Af(t,e,o,i){if(typeof e=="string")return{dom:t.createTextNode(e)};if(e.nodeType!=null)return{dom:e};if(e.dom&&e.dom.nodeType!=null)return e;let n=e[0],r;if(typeof n!="string")throw new RangeError("Invalid array passed to renderSpec");if(i&&(r=$q(i))&&r.indexOf(e)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let s=n.indexOf(" ");s>0&&(o=n.slice(0,s),n=n.slice(s+1));let a,u=o?t.createElementNS(o,n):t.createElement(n),c=e[1],m=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){m=2;for(let f in c)if(c[f]!=null){let p=f.indexOf(" ");p>0?u.setAttributeNS(f.slice(0,p),f.slice(p+1),c[f]):f=="style"&&u.style?u.style.cssText=c[f]:u.setAttribute(f,c[f])}}for(let f=m;f<e.length;f++){let p=e[f];if(p===0){if(f<e.length-1||f>m)throw new RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}else{let{dom:C,contentDOM:F}=Af(t,p,o,i);if(u.appendChild(C),F){if(a)throw new RangeError("Multiple content holes");a=F}}}return{dom:u,contentDOM:a}}const nP=65535,rP=Math.pow(2,16);function Uq(t,e){return t+e*rP}function Jx(t){return t&nP}function jq(t){return(t-(t&nP))/rP}const sP=1,aP=2,If=4,lP=8;class wF{constructor(e,o,i){this.pos=e,this.delInfo=o,this.recover=i}get deleted(){return(this.delInfo&lP)>0}get deletedBefore(){return(this.delInfo&(sP|If))>0}get deletedAfter(){return(this.delInfo&(aP|If))>0}get deletedAcross(){return(this.delInfo&If)>0}}class Hi{constructor(e,o=!1){if(this.ranges=e,this.inverted=o,!e.length&&Hi.empty)return Hi.empty}recover(e){let o=0,i=Jx(e);if(!this.inverted)for(let n=0;n<i;n++)o+=this.ranges[n*3+2]-this.ranges[n*3+1];return this.ranges[i*3]+o+jq(e)}mapResult(e,o=1){return this._map(e,o,!1)}map(e,o=1){return this._map(e,o,!0)}_map(e,o,i){let n=0,r=this.inverted?2:1,s=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let u=this.ranges[a]-(this.inverted?n:0);if(u>e)break;let c=this.ranges[a+r],m=this.ranges[a+s],f=u+c;if(e<=f){let p=c?e==u?-1:e==f?1:o:o,C=u+n+(p<0?0:m);if(i)return C;let F=e==(o<0?u:f)?null:Uq(a/3,e-u),y=e==u?aP:e==f?sP:If;return(o<0?e!=u:e!=f)&&(y|=lP),new wF(C,y,F)}n+=m-c}return i?e+n:new wF(e+n,0,null)}touches(e,o){let i=0,n=Jx(o),r=this.inverted?2:1,s=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let u=this.ranges[a]-(this.inverted?i:0);if(u>e)break;let c=this.ranges[a+r],m=u+c;if(e<=m&&a==n*3)return!0;i+=this.ranges[a+s]-c}return!1}forEach(e){let o=this.inverted?2:1,i=this.inverted?1:2;for(let n=0,r=0;n<this.ranges.length;n+=3){let s=this.ranges[n],a=s-(this.inverted?r:0),u=s+(this.inverted?0:r),c=this.ranges[n+o],m=this.ranges[n+i];e(a,a+c,u,u+m),r+=m-c}}invert(){return new Hi(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?Hi.empty:new Hi(e<0?[0,-e,0]:[0,0,e])}}Hi.empty=new Hi([]);class hc{constructor(e,o,i=0,n=e?e.length:0){this.mirror=o,this.from=i,this.to=n,this._maps=e||[],this.ownData=!(e||o)}get maps(){return this._maps}slice(e=0,o=this.maps.length){return new hc(this._maps,this.mirror,e,o)}appendMap(e,o){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(e),o!=null&&this.setMirror(this._maps.length-1,o)}appendMapping(e){for(let o=0,i=this._maps.length;o<e._maps.length;o++){let n=e.getMirror(o);this.appendMap(e._maps[o],n!=null&&n<o?i+n:void 0)}}getMirror(e){if(this.mirror){for(let o=0;o<this.mirror.length;o++)if(this.mirror[o]==e)return this.mirror[o+(o%2?-1:1)]}}setMirror(e,o){this.mirror||(this.mirror=[]),this.mirror.push(e,o)}appendMappingInverted(e){for(let o=e.maps.length-1,i=this._maps.length+e._maps.length;o>=0;o--){let n=e.getMirror(o);this.appendMap(e._maps[o].invert(),n!=null&&n>o?i-n-1:void 0)}}invert(){let e=new hc;return e.appendMappingInverted(this),e}map(e,o=1){if(this.mirror)return this._map(e,o,!0);for(let i=this.from;i<this.to;i++)e=this._maps[i].map(e,o);return e}mapResult(e,o=1){return this._map(e,o,!1)}_map(e,o,i){let n=0;for(let r=this.from;r<this.to;r++){let s=this._maps[r],a=s.mapResult(e,o);if(a.recover!=null){let u=this.getMirror(r);if(u!=null&&u>r&&u<this.to){r=u,e=this._maps[u].recover(a.recover);continue}}n|=a.delInfo,e=a.pos}return i?e:new wF(e,n,null)}}const l0=Object.create(null);class oi{getMap(){return Hi.empty}merge(e){return null}static fromJSON(e,o){if(!o||!o.stepType)throw new RangeError("Invalid input for Step.fromJSON");let i=l0[o.stepType];if(!i)throw new RangeError(`No step type ${o.stepType} defined`);return i.fromJSON(e,o)}static jsonID(e,o){if(e in l0)throw new RangeError("Duplicate use of step JSON ID "+e);return l0[e]=o,o.prototype.jsonID=e,o}}class yo{constructor(e,o){this.doc=e,this.failed=o}static ok(e){return new yo(e,null)}static fail(e){return new yo(null,e)}static fromReplace(e,o,i,n){try{return yo.ok(e.replace(o,i,n))}catch(r){if(r instanceof gh)return yo.fail(r.message);throw r}}}function FT(t,e,o){let i=[];for(let n=0;n<t.childCount;n++){let r=t.child(n);r.content.size&&(r=r.copy(FT(r.content,e,r))),r.isInline&&(r=e(r,o,n)),i.push(r)}return ge.fromArray(i)}class ks extends oi{constructor(e,o,i){super(),this.from=e,this.to=o,this.mark=i}apply(e){let o=e.slice(this.from,this.to),i=e.resolve(this.from),n=i.node(i.sharedDepth(this.to)),r=new _e(FT(o.content,(s,a)=>!s.isAtom||!a.type.allowsMarkType(this.mark.type)?s:s.mark(this.mark.addToSet(s.marks)),n),o.openStart,o.openEnd);return yo.fromReplace(e,this.from,this.to,r)}invert(){return new lr(this.from,this.to,this.mark)}map(e){let o=e.mapResult(this.from,1),i=e.mapResult(this.to,-1);return o.deleted&&i.deleted||o.pos>=i.pos?null:new ks(o.pos,i.pos,this.mark)}merge(e){return e instanceof ks&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new ks(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,o){if(typeof o.from!="number"||typeof o.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new ks(o.from,o.to,e.markFromJSON(o.mark))}}oi.jsonID("addMark",ks);class lr extends oi{constructor(e,o,i){super(),this.from=e,this.to=o,this.mark=i}apply(e){let o=e.slice(this.from,this.to),i=new _e(FT(o.content,n=>n.mark(this.mark.removeFromSet(n.marks)),e),o.openStart,o.openEnd);return yo.fromReplace(e,this.from,this.to,i)}invert(){return new ks(this.from,this.to,this.mark)}map(e){let o=e.mapResult(this.from,1),i=e.mapResult(this.to,-1);return o.deleted&&i.deleted||o.pos>=i.pos?null:new lr(o.pos,i.pos,this.mark)}merge(e){return e instanceof lr&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new lr(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,o){if(typeof o.from!="number"||typeof o.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new lr(o.from,o.to,e.markFromJSON(o.mark))}}oi.jsonID("removeMark",lr);class Ws extends oi{constructor(e,o){super(),this.pos=e,this.mark=o}apply(e){let o=e.nodeAt(this.pos);if(!o)return yo.fail("No node at mark step's position");let i=o.type.create(o.attrs,null,this.mark.addToSet(o.marks));return yo.fromReplace(e,this.pos,this.pos+1,new _e(ge.from(i),0,o.isLeaf?0:1))}invert(e){let o=e.nodeAt(this.pos);if(o){let i=this.mark.addToSet(o.marks);if(i.length==o.marks.length){for(let n=0;n<o.marks.length;n++)if(!o.marks[n].isInSet(i))return new Ws(this.pos,o.marks[n]);return new Ws(this.pos,this.mark)}}return new rl(this.pos,this.mark)}map(e){let o=e.mapResult(this.pos,1);return o.deletedAfter?null:new Ws(o.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,o){if(typeof o.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new Ws(o.pos,e.markFromJSON(o.mark))}}oi.jsonID("addNodeMark",Ws);class rl extends oi{constructor(e,o){super(),this.pos=e,this.mark=o}apply(e){let o=e.nodeAt(this.pos);if(!o)return yo.fail("No node at mark step's position");let i=o.type.create(o.attrs,null,this.mark.removeFromSet(o.marks));return yo.fromReplace(e,this.pos,this.pos+1,new _e(ge.from(i),0,o.isLeaf?0:1))}invert(e){let o=e.nodeAt(this.pos);return!o||!this.mark.isInSet(o.marks)?this:new Ws(this.pos,this.mark)}map(e){let o=e.mapResult(this.pos,1);return o.deletedAfter?null:new rl(o.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,o){if(typeof o.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new rl(o.pos,e.markFromJSON(o.mark))}}oi.jsonID("removeNodeMark",rl);class Eo extends oi{constructor(e,o,i,n=!1){super(),this.from=e,this.to=o,this.slice=i,this.structure=n}apply(e){return this.structure&&kF(e,this.from,this.to)?yo.fail("Structure replace would overwrite content"):yo.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Hi([this.from,this.to-this.from,this.slice.size])}invert(e){return new Eo(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let o=e.mapResult(this.from,1),i=e.mapResult(this.to,-1);return o.deletedAcross&&i.deletedAcross?null:new Eo(o.pos,Math.max(o.pos,i.pos),this.slice,this.structure)}merge(e){if(!(e instanceof Eo)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let o=this.slice.size+e.slice.size==0?_e.empty:new _e(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new Eo(this.from,this.to+(e.to-e.from),o,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let o=this.slice.size+e.slice.size==0?_e.empty:new _e(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new Eo(e.from,this.to,o,this.structure)}else return null}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,o){if(typeof o.from!="number"||typeof o.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new Eo(o.from,o.to,_e.fromJSON(e,o.slice),!!o.structure)}}oi.jsonID("replace",Eo);class No extends oi{constructor(e,o,i,n,r,s,a=!1){super(),this.from=e,this.to=o,this.gapFrom=i,this.gapTo=n,this.slice=r,this.insert=s,this.structure=a}apply(e){if(this.structure&&(kF(e,this.from,this.gapFrom)||kF(e,this.gapTo,this.to)))return yo.fail("Structure gap-replace would overwrite content");let o=e.slice(this.gapFrom,this.gapTo);if(o.openStart||o.openEnd)return yo.fail("Gap is not a flat range");let i=this.slice.insertAt(this.insert,o.content);return i?yo.fromReplace(e,this.from,this.to,i):yo.fail("Content does not fit in gap")}getMap(){return new Hi([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let o=this.gapTo-this.gapFrom;return new No(this.from,this.from+this.slice.size+o,this.from+this.insert,this.from+this.insert+o,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let o=e.mapResult(this.from,1),i=e.mapResult(this.to,-1),n=this.from==this.gapFrom?o.pos:e.map(this.gapFrom,-1),r=this.to==this.gapTo?i.pos:e.map(this.gapTo,1);return o.deletedAcross&&i.deletedAcross||n<o.pos||r>i.pos?null:new No(o.pos,i.pos,n,r,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,o){if(typeof o.from!="number"||typeof o.to!="number"||typeof o.gapFrom!="number"||typeof o.gapTo!="number"||typeof o.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new No(o.from,o.to,o.gapFrom,o.gapTo,_e.fromJSON(e,o.slice),o.insert,!!o.structure)}}oi.jsonID("replaceAround",No);function kF(t,e,o){let i=t.resolve(e),n=o-e,r=i.depth;for(;n>0&&r>0&&i.indexAfter(r)==i.node(r).childCount;)r--,n--;if(n>0){let s=i.node(r).maybeChild(i.indexAfter(r));for(;n>0;){if(!s||s.isLeaf)return!0;s=s.firstChild,n--}}return!1}function Gq(t,e,o,i){let n=[],r=[],s,a;t.doc.nodesBetween(e,o,(u,c,m)=>{if(!u.isInline)return;let f=u.marks;if(!i.isInSet(f)&&m.type.allowsMarkType(i.type)){let p=Math.max(c,e),C=Math.min(c+u.nodeSize,o),F=i.addToSet(f);for(let y=0;y<f.length;y++)f[y].isInSet(F)||(s&&s.to==p&&s.mark.eq(f[y])?s.to=C:n.push(s=new lr(p,C,f[y])));a&&a.to==p?a.to=C:r.push(a=new ks(p,C,i))}}),n.forEach(u=>t.step(u)),r.forEach(u=>t.step(u))}function Kq(t,e,o,i){let n=[],r=0;t.doc.nodesBetween(e,o,(s,a)=>{if(!s.isInline)return;r++;let u=null;if(i instanceof Hp){let c=s.marks,m;for(;m=i.isInSet(c);)(u||(u=[])).push(m),c=m.removeFromSet(c)}else i?i.isInSet(s.marks)&&(u=[i]):u=s.marks;if(u&&u.length){let c=Math.min(a+s.nodeSize,o);for(let m=0;m<u.length;m++){let f=u[m],p;for(let C=0;C<n.length;C++){let F=n[C];F.step==r-1&&f.eq(n[C].style)&&(p=F)}p?(p.to=c,p.step=r):n.push({style:f,from:Math.max(a,e),to:c,step:r})}}}),n.forEach(s=>t.step(new lr(s.from,s.to,s.style)))}function yT(t,e,o,i=o.contentMatch,n=!0){let r=t.doc.nodeAt(e),s=[],a=e+1;for(let u=0;u<r.childCount;u++){let c=r.child(u),m=a+c.nodeSize,f=i.matchType(c.type);if(!f)s.push(new Eo(a,m,_e.empty));else{i=f;for(let p=0;p<c.marks.length;p++)o.allowsMarkType(c.marks[p].type)||t.step(new lr(a,m,c.marks[p]));if(n&&c.isText&&o.whitespace!="pre"){let p,C=/\r?\n|\r/g,F;for(;p=C.exec(c.text);)F||(F=new _e(ge.from(o.schema.text(" ",o.allowedMarks(c.marks))),0,0)),s.push(new Eo(a+p.index,a+p.index+p[0].length,F))}}a=m}if(!i.validEnd){let u=i.fillBefore(ge.empty,!0);t.replace(a,a,new _e(u,0,0))}for(let u=s.length-1;u>=0;u--)t.step(s[u])}function qq(t,e,o){return(e==0||t.canReplace(e,t.childCount))&&(o==t.childCount||t.canReplace(0,o))}function Mu(t){let o=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let i=t.depth;;--i){let n=t.$from.node(i),r=t.$from.index(i),s=t.$to.indexAfter(i);if(i<t.depth&&n.canReplace(r,s,o))return i;if(i==0||n.type.spec.isolating||!qq(n,r,s))break}return null}function Yq(t,e,o){let{$from:i,$to:n,depth:r}=e,s=i.before(r+1),a=n.after(r+1),u=s,c=a,m=ge.empty,f=0;for(let F=r,y=!1;F>o;F--)y||i.index(F)>0?(y=!0,m=ge.from(i.node(F).copy(m)),f++):u--;let p=ge.empty,C=0;for(let F=r,y=!1;F>o;F--)y||n.after(F+1)<n.end(F)?(y=!0,p=ge.from(n.node(F).copy(p)),C++):c++;t.step(new No(u,c,s,a,new _e(m.append(p),f,C),m.size-f,!0))}function TT(t,e,o=null,i=t){let n=Jq(t,e),r=n&&Zq(i,e);return r?n.map(Zx).concat({type:e,attrs:o}).concat(r.map(Zx)):null}function Zx(t){return{type:t,attrs:null}}function Jq(t,e){let{parent:o,startIndex:i,endIndex:n}=t,r=o.contentMatchAt(i).findWrapping(e);if(!r)return null;let s=r.length?r[0]:e;return o.canReplaceWith(i,n,s)?r:null}function Zq(t,e){let{parent:o,startIndex:i,endIndex:n}=t,r=o.child(i),s=e.contentMatch.findWrapping(r.type);if(!s)return null;let u=(s.length?s[s.length-1]:e).contentMatch;for(let c=i;u&&c<n;c++)u=u.matchType(o.child(c).type);return!u||!u.validEnd?null:s}function Xq(t,e,o){let i=ge.empty;for(let s=o.length-1;s>=0;s--){if(i.size){let a=o[s].type.contentMatch.matchFragment(i);if(!a||!a.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=ge.from(o[s].type.create(o[s].attrs,i))}let n=e.start,r=e.end;t.step(new No(n,r,n,r,new _e(i,0,0),o.length,!0))}function Qq(t,e,o,i,n){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let r=t.steps.length;t.doc.nodesBetween(e,o,(s,a)=>{let u=typeof n=="function"?n(s):n;if(s.isTextblock&&!s.hasMarkup(i,u)&&eY(t.doc,t.mapping.slice(r).map(a),i)){let c=null;if(i.schema.linebreakReplacement){let C=i.whitespace=="pre",F=!!i.contentMatch.matchType(i.schema.linebreakReplacement);C&&!F?c=!1:!C&&F&&(c=!0)}c===!1&&dP(t,s,a,r),yT(t,t.mapping.slice(r).map(a,1),i,void 0,c===null);let m=t.mapping.slice(r),f=m.map(a,1),p=m.map(a+s.nodeSize,1);return t.step(new No(f,p,f+1,p-1,new _e(ge.from(i.create(u,null,s.marks)),0,0),1,!0)),c===!0&&uP(t,s,a,r),!1}})}function uP(t,e,o,i){e.forEach((n,r)=>{if(n.isText){let s,a=/\r?\n|\r/g;for(;s=a.exec(n.text);){let u=t.mapping.slice(i).map(o+1+r+s.index);t.replaceWith(u,u+1,e.type.schema.linebreakReplacement.create())}}})}function dP(t,e,o,i){e.forEach((n,r)=>{if(n.type==n.type.schema.linebreakReplacement){let s=t.mapping.slice(i).map(o+1+r);t.replaceWith(s,s+1,e.type.schema.text(`
|
|
90
|
-
`))}})}function eY(t,e,o){let i=t.resolve(e),n=i.index();return i.parent.canReplaceWith(n,n+1,o)}function tY(t,e,o,i,n){let r=t.doc.nodeAt(e);if(!r)throw new RangeError("No node at given position");o||(o=r.type);let s=o.create(i,null,n||r.marks);if(r.isLeaf)return t.replaceWith(e,e+r.nodeSize,s);if(!o.validContent(r.content))throw new RangeError("Invalid content for node type "+o.name);t.step(new No(e,e+r.nodeSize,e+1,e+r.nodeSize-1,new _e(ge.from(s),0,0),1,!0))}function ts(t,e,o=1,i){let n=t.resolve(e),r=n.depth-o,s=i&&i[i.length-1]||n.parent;if(r<0||n.parent.type.spec.isolating||!n.parent.canReplace(n.index(),n.parent.childCount)||!s.type.validContent(n.parent.content.cutByIndex(n.index(),n.parent.childCount)))return!1;for(let c=n.depth-1,m=o-2;c>r;c--,m--){let f=n.node(c),p=n.index(c);if(f.type.spec.isolating)return!1;let C=f.content.cutByIndex(p,f.childCount),F=i&&i[m+1];F&&(C=C.replaceChild(0,F.type.create(F.attrs)));let y=i&&i[m]||f;if(!f.canReplace(p+1,f.childCount)||!y.type.validContent(C))return!1}let a=n.indexAfter(r),u=i&&i[0];return n.node(r).canReplaceWith(a,a,u?u.type:n.node(r+1).type)}function oY(t,e,o=1,i){let n=t.doc.resolve(e),r=ge.empty,s=ge.empty;for(let a=n.depth,u=n.depth-o,c=o-1;a>u;a--,c--){r=ge.from(n.node(a).copy(r));let m=i&&i[c];s=ge.from(m?m.type.create(m.attrs,s):n.node(a).copy(s))}t.step(new Eo(e,e,new _e(r.append(s),o,o),!0))}function da(t,e){let o=t.resolve(e),i=o.index();return cP(o.nodeBefore,o.nodeAfter)&&o.parent.canReplace(i,i+1)}function iY(t,e){e.content.size||t.type.compatibleContent(e.type);let o=t.contentMatchAt(t.childCount),{linebreakReplacement:i}=t.type.schema;for(let n=0;n<e.childCount;n++){let r=e.child(n),s=r.type==i?t.type.schema.nodes.text:r.type;if(o=o.matchType(s),!o||!t.type.allowsMarks(r.marks))return!1}return o.validEnd}function cP(t,e){return!!(t&&e&&!t.isLeaf&&iY(t,e))}function $p(t,e,o=-1){let i=t.resolve(e);for(let n=i.depth;;n--){let r,s,a=i.index(n);if(n==i.depth?(r=i.nodeBefore,s=i.nodeAfter):o>0?(r=i.node(n+1),a++,s=i.node(n).maybeChild(a)):(r=i.node(n).maybeChild(a-1),s=i.node(n+1)),r&&!r.isTextblock&&cP(r,s)&&i.node(n).canReplace(a,a+1))return e;if(n==0)break;e=o<0?i.before(n):i.after(n)}}function nY(t,e,o){let i=null,{linebreakReplacement:n}=t.doc.type.schema,r=t.doc.resolve(e-o),s=r.node().type;if(n&&s.inlineContent){let m=s.whitespace=="pre",f=!!s.contentMatch.matchType(n);m&&!f?i=!1:!m&&f&&(i=!0)}let a=t.steps.length;if(i===!1){let m=t.doc.resolve(e+o);dP(t,m.node(),m.before(),a)}s.inlineContent&&yT(t,e+o-1,s,r.node().contentMatchAt(r.index()),i==null);let u=t.mapping.slice(a),c=u.map(e-o);if(t.step(new Eo(c,u.map(e+o,-1),_e.empty,!0)),i===!0){let m=t.doc.resolve(c);uP(t,m.node(),m.before(),t.steps.length)}return t}function rY(t,e,o){let i=t.resolve(e);if(i.parent.canReplaceWith(i.index(),i.index(),o))return e;if(i.parentOffset==0)for(let n=i.depth-1;n>=0;n--){let r=i.index(n);if(i.node(n).canReplaceWith(r,r,o))return i.before(n+1);if(r>0)return null}if(i.parentOffset==i.parent.content.size)for(let n=i.depth-1;n>=0;n--){let r=i.indexAfter(n);if(i.node(n).canReplaceWith(r,r,o))return i.after(n+1);if(r<i.node(n).childCount)return null}return null}function sY(t,e,o){let i=t.resolve(e);if(!o.content.size)return e;let n=o.content;for(let r=0;r<o.openStart;r++)n=n.firstChild.content;for(let r=1;r<=(o.openStart==0&&o.size?2:1);r++)for(let s=i.depth;s>=0;s--){let a=s==i.depth?0:i.pos<=(i.start(s+1)+i.end(s+1))/2?-1:1,u=i.index(s)+(a>0?1:0),c=i.node(s),m=!1;if(r==1)m=c.canReplace(u,u,n);else{let f=c.contentMatchAt(u).findWrapping(n.firstChild.type);m=f&&c.canReplaceWith(u,u,f[0])}if(m)return a==0?i.pos:a<0?i.before(s+1):i.after(s+1)}return null}function zp(t,e,o=e,i=_e.empty){if(e==o&&!i.size)return null;let n=t.resolve(e),r=t.resolve(o);return mP(n,r,i)?new Eo(e,o,i):new aY(n,r,i).fit()}function mP(t,e,o){return!o.openStart&&!o.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),o.content)}class aY{constructor(e,o,i){this.$from=e,this.$to=o,this.unplaced=i,this.frontier=[],this.placed=ge.empty;for(let n=0;n<=e.depth;n++){let r=e.node(n);this.frontier.push({type:r.type,match:r.contentMatchAt(e.indexAfter(n))})}for(let n=e.depth;n>0;n--)this.placed=ge.from(e.node(n).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),o=this.placed.size-this.depth-this.$from.depth,i=this.$from,n=this.close(e<0?this.$to:i.doc.resolve(e));if(!n)return null;let r=this.placed,s=i.depth,a=n.depth;for(;s&&a&&r.childCount==1;)r=r.firstChild.content,s--,a--;let u=new _e(r,s,a);return e>-1?new No(i.pos,e,this.$to.pos,this.$to.end(),u,o):u.size||i.pos!=this.$to.pos?new Eo(i.pos,n.pos,u):null}findFittable(){let e=this.unplaced.openStart;for(let o=this.unplaced.content,i=0,n=this.unplaced.openEnd;i<e;i++){let r=o.firstChild;if(o.childCount>1&&(n=0),r.type.spec.isolating&&n<=i){e=i;break}o=r.content}for(let o=1;o<=2;o++)for(let i=o==1?e:this.unplaced.openStart;i>=0;i--){let n,r=null;i?(r=u0(this.unplaced.content,i-1).firstChild,n=r.content):n=this.unplaced.content;let s=n.firstChild;for(let a=this.depth;a>=0;a--){let{type:u,match:c}=this.frontier[a],m,f=null;if(o==1&&(s?c.matchType(s.type)||(f=c.fillBefore(ge.from(s),!1)):r&&u.compatibleContent(r.type)))return{sliceDepth:i,frontierDepth:a,parent:r,inject:f};if(o==2&&s&&(m=c.findWrapping(s.type)))return{sliceDepth:i,frontierDepth:a,parent:r,wrap:m};if(r&&c.matchType(r.type))break}}}openMore(){let{content:e,openStart:o,openEnd:i}=this.unplaced,n=u0(e,o);return!n.childCount||n.firstChild.isLeaf?!1:(this.unplaced=new _e(e,o+1,Math.max(i,n.size+o>=e.size-i?o+1:0)),!0)}dropNode(){let{content:e,openStart:o,openEnd:i}=this.unplaced,n=u0(e,o);if(n.childCount<=1&&o>0){let r=e.size-o<=o+n.size;this.unplaced=new _e(Vd(e,o-1,1),o-1,r?o-1:i)}else this.unplaced=new _e(Vd(e,o,1),o,i)}placeNodes({sliceDepth:e,frontierDepth:o,parent:i,inject:n,wrap:r}){for(;this.depth>o;)this.closeFrontierNode();if(r)for(let y=0;y<r.length;y++)this.openFrontierNode(r[y]);let s=this.unplaced,a=i?i.content:s.content,u=s.openStart-e,c=0,m=[],{match:f,type:p}=this.frontier[o];if(n){for(let y=0;y<n.childCount;y++)m.push(n.child(y));f=f.matchFragment(n)}let C=a.size+e-(s.content.size-s.openEnd);for(;c<a.childCount;){let y=a.child(c),T=f.matchType(y.type);if(!T)break;c++,(c>1||u==0||y.content.size)&&(f=T,m.push(fP(y.mark(p.allowedMarks(y.marks)),c==1?u:0,c==a.childCount?C:-1)))}let F=c==a.childCount;F||(C=-1),this.placed=Rd(this.placed,o,ge.from(m)),this.frontier[o].match=f,F&&C<0&&i&&i.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let y=0,T=a;y<C;y++){let B=T.lastChild;this.frontier.push({type:B.type,match:B.contentMatchAt(B.childCount)}),T=B.content}this.unplaced=F?e==0?_e.empty:new _e(Vd(s.content,e-1,1),e-1,C<0?s.openEnd:e-1):new _e(Vd(s.content,e,c),s.openStart,s.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],o;if(!e.type.isTextblock||!d0(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(o=this.findCloseLevel(this.$to))&&o.depth==this.depth)return-1;let{depth:i}=this.$to,n=this.$to.after(i);for(;i>1&&n==this.$to.end(--i);)++n;return n}findCloseLevel(e){e:for(let o=Math.min(this.depth,e.depth);o>=0;o--){let{match:i,type:n}=this.frontier[o],r=o<e.depth&&e.end(o+1)==e.pos+(e.depth-(o+1)),s=d0(e,o,n,i,r);if(s){for(let a=o-1;a>=0;a--){let{match:u,type:c}=this.frontier[a],m=d0(e,a,c,u,!0);if(!m||m.childCount)continue e}return{depth:o,fit:s,move:r?e.doc.resolve(e.after(o+1)):e}}}}close(e){let o=this.findCloseLevel(e);if(!o)return null;for(;this.depth>o.depth;)this.closeFrontierNode();o.fit.childCount&&(this.placed=Rd(this.placed,o.depth,o.fit)),e=o.move;for(let i=o.depth+1;i<=e.depth;i++){let n=e.node(i),r=n.type.contentMatch.fillBefore(n.content,!0,e.index(i));this.openFrontierNode(n.type,n.attrs,r)}return e}openFrontierNode(e,o=null,i){let n=this.frontier[this.depth];n.match=n.match.matchType(e),this.placed=Rd(this.placed,this.depth,ge.from(e.create(o,i))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let o=this.frontier.pop().match.fillBefore(ge.empty,!0);o.childCount&&(this.placed=Rd(this.placed,this.frontier.length,o))}}function Vd(t,e,o){return e==0?t.cutByIndex(o,t.childCount):t.replaceChild(0,t.firstChild.copy(Vd(t.firstChild.content,e-1,o)))}function Rd(t,e,o){return e==0?t.append(o):t.replaceChild(t.childCount-1,t.lastChild.copy(Rd(t.lastChild.content,e-1,o)))}function u0(t,e){for(let o=0;o<e;o++)t=t.firstChild.content;return t}function fP(t,e,o){if(e<=0)return t;let i=t.content;return e>1&&(i=i.replaceChild(0,fP(i.firstChild,e-1,i.childCount==1?o-1:0))),e>0&&(i=t.type.contentMatch.fillBefore(i).append(i),o<=0&&(i=i.append(t.type.contentMatch.matchFragment(i).fillBefore(ge.empty,!0)))),t.copy(i)}function d0(t,e,o,i,n){let r=t.node(e),s=n?t.indexAfter(e):t.index(e);if(s==r.childCount&&!o.compatibleContent(r.type))return null;let a=i.fillBefore(r.content,!0,s);return a&&!lY(o,r.content,s)?a:null}function lY(t,e,o){for(let i=o;i<e.childCount;i++)if(!t.allowsMarks(e.child(i).marks))return!0;return!1}function uY(t){return t.spec.defining||t.spec.definingForContent}function dY(t,e,o,i){if(!i.size)return t.deleteRange(e,o);let n=t.doc.resolve(e),r=t.doc.resolve(o);if(mP(n,r,i))return t.step(new Eo(e,o,i));let s=pP(n,t.doc.resolve(o));s[s.length-1]==0&&s.pop();let a=-(n.depth+1);s.unshift(a);for(let p=n.depth,C=n.pos-1;p>0;p--,C--){let F=n.node(p).type.spec;if(F.defining||F.definingAsContext||F.isolating)break;s.indexOf(p)>-1?a=p:n.before(p)==C&&s.splice(1,0,-p)}let u=s.indexOf(a),c=[],m=i.openStart;for(let p=i.content,C=0;;C++){let F=p.firstChild;if(c.push(F),C==i.openStart)break;p=F.content}for(let p=m-1;p>=0;p--){let C=c[p],F=uY(C.type);if(F&&!C.sameMarkup(n.node(Math.abs(a)-1)))m=p;else if(F||!C.type.isTextblock)break}for(let p=i.openStart;p>=0;p--){let C=(p+m+1)%(i.openStart+1),F=c[C];if(F)for(let y=0;y<s.length;y++){let T=s[(y+u)%s.length],B=!0;T<0&&(B=!1,T=-T);let v=n.node(T-1),D=n.index(T-1);if(v.canReplaceWith(D,D,F.type,F.marks))return t.replace(n.before(T),B?r.after(T):o,new _e(hP(i.content,0,i.openStart,C),C,i.openEnd))}}let f=t.steps.length;for(let p=s.length-1;p>=0&&(t.replace(e,o,i),!(t.steps.length>f));p--){let C=s[p];C<0||(e=n.before(C),o=r.after(C))}}function hP(t,e,o,i,n){if(e<o){let r=t.firstChild;t=t.replaceChild(0,r.copy(hP(r.content,e+1,o,i,r)))}if(e>i){let r=n.contentMatchAt(0),s=r.fillBefore(t).append(t);t=s.append(r.matchFragment(s).fillBefore(ge.empty,!0))}return t}function cY(t,e,o,i){if(!i.isInline&&e==o&&t.doc.resolve(e).parent.content.size){let n=rY(t.doc,e,i.type);n!=null&&(e=o=n)}t.replaceRange(e,o,new _e(ge.from(i),0,0))}function mY(t,e,o){let i=t.doc.resolve(e),n=t.doc.resolve(o),r=pP(i,n);for(let s=0;s<r.length;s++){let a=r[s],u=s==r.length-1;if(u&&a==0||i.node(a).type.contentMatch.validEnd)return t.delete(i.start(a),n.end(a));if(a>0&&(u||i.node(a-1).canReplace(i.index(a-1),n.indexAfter(a-1))))return t.delete(i.before(a),n.after(a))}for(let s=1;s<=i.depth&&s<=n.depth;s++)if(e-i.start(s)==i.depth-s&&o>i.end(s)&&n.end(s)-o!=n.depth-s&&i.start(s-1)==n.start(s-1)&&i.node(s-1).canReplace(i.index(s-1),n.index(s-1)))return t.delete(i.before(s),o);t.delete(e,o)}function pP(t,e){let o=[],i=Math.min(t.depth,e.depth);for(let n=i;n>=0;n--){let r=t.start(n);if(r<t.pos-(t.depth-n)||e.end(n)>e.pos+(e.depth-n)||t.node(n).type.spec.isolating||e.node(n).type.spec.isolating)break;(r==e.start(n)||n==t.depth&&n==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&n&&e.start(n-1)==r-1)&&o.push(n)}return o}class uu extends oi{constructor(e,o,i){super(),this.pos=e,this.attr=o,this.value=i}apply(e){let o=e.nodeAt(this.pos);if(!o)return yo.fail("No node at attribute step's position");let i=Object.create(null);for(let r in o.attrs)i[r]=o.attrs[r];i[this.attr]=this.value;let n=o.type.create(i,null,o.marks);return yo.fromReplace(e,this.pos,this.pos+1,new _e(ge.from(n),0,o.isLeaf?0:1))}getMap(){return Hi.empty}invert(e){return new uu(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let o=e.mapResult(this.pos,1);return o.deletedAfter?null:new uu(o.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,o){if(typeof o.pos!="number"||typeof o.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new uu(o.pos,o.attr,o.value)}}oi.jsonID("attr",uu);class pc extends oi{constructor(e,o){super(),this.attr=e,this.value=o}apply(e){let o=Object.create(null);for(let n in e.attrs)o[n]=e.attrs[n];o[this.attr]=this.value;let i=e.type.create(o,e.content,e.marks);return yo.ok(i)}getMap(){return Hi.empty}invert(e){return new pc(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,o){if(typeof o.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new pc(o.attr,o.value)}}oi.jsonID("docAttr",pc);let bu=class extends Error{};bu=function t(e){let o=Error.call(this,e);return o.__proto__=t.prototype,o};bu.prototype=Object.create(Error.prototype);bu.prototype.constructor=bu;bu.prototype.name="TransformError";class CP{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new hc}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let o=this.maybeStep(e);if(o.failed)throw new bu(o.failed);return this}maybeStep(e){let o=e.apply(this.doc);return o.failed||this.addStep(e,o.doc),o}get docChanged(){return this.steps.length>0}addStep(e,o){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=o}replace(e,o=e,i=_e.empty){let n=zp(this.doc,e,o,i);return n&&this.step(n),this}replaceWith(e,o,i){return this.replace(e,o,new _e(ge.from(i),0,0))}delete(e,o){return this.replace(e,o,_e.empty)}insert(e,o){return this.replaceWith(e,e,o)}replaceRange(e,o,i){return dY(this,e,o,i),this}replaceRangeWith(e,o,i){return cY(this,e,o,i),this}deleteRange(e,o){return mY(this,e,o),this}lift(e,o){return Yq(this,e,o),this}join(e,o=1){return nY(this,e,o),this}wrap(e,o){return Xq(this,e,o),this}setBlockType(e,o=e,i,n=null){return Qq(this,e,o,i,n),this}setNodeMarkup(e,o,i=null,n){return tY(this,e,o,i,n),this}setNodeAttribute(e,o,i){return this.step(new uu(e,o,i)),this}setDocAttribute(e,o){return this.step(new pc(e,o)),this}addNodeMark(e,o){return this.step(new Ws(e,o)),this}removeNodeMark(e,o){let i=this.doc.nodeAt(e);if(!i)throw new RangeError("No node at position "+e);if(o instanceof Ot)o.isInSet(i.marks)&&this.step(new rl(e,o));else{let n=i.marks,r,s=[];for(;r=o.isInSet(n);)s.push(new rl(e,r)),n=r.removeFromSet(n);for(let a=s.length-1;a>=0;a--)this.step(s[a])}return this}split(e,o=1,i){return oY(this,e,o,i),this}addMark(e,o,i){return Gq(this,e,o,i),this}removeMark(e,o,i){return Kq(this,e,o,i),this}clearIncompatible(e,o,i){return yT(this,e,o,i),this}}const c0=Object.create(null);class Bt{constructor(e,o,i){this.$anchor=e,this.$head=o,this.ranges=i||[new fY(e.min(o),e.max(o))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let o=0;o<e.length;o++)if(e[o].$from.pos!=e[o].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,o=_e.empty){let i=o.content.lastChild,n=null;for(let a=0;a<o.openEnd;a++)n=i,i=i.lastChild;let r=e.steps.length,s=this.ranges;for(let a=0;a<s.length;a++){let{$from:u,$to:c}=s[a],m=e.mapping.slice(r);e.replaceRange(m.map(u.pos),m.map(c.pos),a?_e.empty:o),a==0&&eb(e,r,(i?i.isInline:n&&n.isTextblock)?-1:1)}}replaceWith(e,o){let i=e.steps.length,n=this.ranges;for(let r=0;r<n.length;r++){let{$from:s,$to:a}=n[r],u=e.mapping.slice(i),c=u.map(s.pos),m=u.map(a.pos);r?e.deleteRange(c,m):(e.replaceRangeWith(c,m,o),eb(e,i,o.isInline?-1:1))}}static findFrom(e,o,i=!1){let n=e.parent.inlineContent?new ht(e):Gl(e.node(0),e.parent,e.pos,e.index(),o,i);if(n)return n;for(let r=e.depth-1;r>=0;r--){let s=o<0?Gl(e.node(0),e.node(r),e.before(r+1),e.index(r),o,i):Gl(e.node(0),e.node(r),e.after(r+1),e.index(r)+1,o,i);if(s)return s}return null}static near(e,o=1){return this.findFrom(e,o)||this.findFrom(e,-o)||new Gi(e.node(0))}static atStart(e){return Gl(e,e,0,0,1)||new Gi(e)}static atEnd(e){return Gl(e,e,e.content.size,e.childCount,-1)||new Gi(e)}static fromJSON(e,o){if(!o||!o.type)throw new RangeError("Invalid input for Selection.fromJSON");let i=c0[o.type];if(!i)throw new RangeError(`No selection type ${o.type} defined`);return i.fromJSON(e,o)}static jsonID(e,o){if(e in c0)throw new RangeError("Duplicate use of selection JSON ID "+e);return c0[e]=o,o.prototype.jsonID=e,o}getBookmark(){return ht.between(this.$anchor,this.$head).getBookmark()}}Bt.prototype.visible=!0;class fY{constructor(e,o){this.$from=e,this.$to=o}}let Xx=!1;function Qx(t){!Xx&&!t.parent.inlineContent&&(Xx=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class ht extends Bt{constructor(e,o=e){Qx(e),Qx(o),super(e,o)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,o){let i=e.resolve(o.map(this.head));if(!i.parent.inlineContent)return Bt.near(i);let n=e.resolve(o.map(this.anchor));return new ht(n.parent.inlineContent?n:i,i)}replace(e,o=_e.empty){if(super.replace(e,o),o==_e.empty){let i=this.$from.marksAcross(this.$to);i&&e.ensureMarks(i)}}eq(e){return e instanceof ht&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Up(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,o){if(typeof o.anchor!="number"||typeof o.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new ht(e.resolve(o.anchor),e.resolve(o.head))}static create(e,o,i=o){let n=e.resolve(o);return new this(n,i==o?n:e.resolve(i))}static between(e,o,i){let n=e.pos-o.pos;if((!i||n)&&(i=n>=0?1:-1),!o.parent.inlineContent){let r=Bt.findFrom(o,i,!0)||Bt.findFrom(o,-i,!0);if(r)o=r.$head;else return Bt.near(o,i)}return e.parent.inlineContent||(n==0?e=o:(e=(Bt.findFrom(e,-i,!0)||Bt.findFrom(e,i,!0)).$anchor,e.pos<o.pos!=n<0&&(e=o))),new ht(e,o)}}Bt.jsonID("text",ht);class Up{constructor(e,o){this.anchor=e,this.head=o}map(e){return new Up(e.map(this.anchor),e.map(this.head))}resolve(e){return ht.between(e.resolve(this.anchor),e.resolve(this.head))}}class Xe extends Bt{constructor(e){let o=e.nodeAfter,i=e.node(0).resolve(e.pos+o.nodeSize);super(e,i),this.node=o}map(e,o){let{deleted:i,pos:n}=o.mapResult(this.anchor),r=e.resolve(n);return i?Bt.near(r):new Xe(r)}content(){return new _e(ge.from(this.node),0,0)}eq(e){return e instanceof Xe&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new ST(this.anchor)}static fromJSON(e,o){if(typeof o.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Xe(e.resolve(o.anchor))}static create(e,o){return new Xe(e.resolve(o))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}Xe.prototype.visible=!1;Bt.jsonID("node",Xe);class ST{constructor(e){this.anchor=e}map(e){let{deleted:o,pos:i}=e.mapResult(this.anchor);return o?new Up(i,i):new ST(i)}resolve(e){let o=e.resolve(this.anchor),i=o.nodeAfter;return i&&Xe.isSelectable(i)?new Xe(o):Bt.near(o)}}class Gi extends Bt{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,o=_e.empty){if(o==_e.empty){e.delete(0,e.doc.content.size);let i=Bt.atStart(e.doc);i.eq(e.selection)||e.setSelection(i)}else super.replace(e,o)}toJSON(){return{type:"all"}}static fromJSON(e){return new Gi(e)}map(e){return new Gi(e)}eq(e){return e instanceof Gi}getBookmark(){return hY}}Bt.jsonID("all",Gi);const hY={map(){return this},resolve(t){return new Gi(t)}};function Gl(t,e,o,i,n,r=!1){if(e.inlineContent)return ht.create(t,o);for(let s=i-(n>0?0:1);n>0?s<e.childCount:s>=0;s+=n){let a=e.child(s);if(a.isAtom){if(!r&&Xe.isSelectable(a))return Xe.create(t,o-(n<0?a.nodeSize:0))}else{let u=Gl(t,a,o+n,n<0?a.childCount:0,n,r);if(u)return u}o+=a.nodeSize*n}return null}function eb(t,e,o){let i=t.steps.length-1;if(i<e)return;let n=t.steps[i];if(!(n instanceof Eo||n instanceof No))return;let r=t.mapping.maps[i],s;r.forEach((a,u,c,m)=>{s==null&&(s=m)}),t.setSelection(Bt.near(t.doc.resolve(s),o))}const tb=1,pf=2,ob=4;class pY extends CP{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(this.updated|tb)&~pf,this.storedMarks=null,this}get selectionSet(){return(this.updated&tb)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=pf,this}ensureMarks(e){return Ot.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&pf)>0}addStep(e,o){super.addStep(e,o),this.updated=this.updated&~pf,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,o=!0){let i=this.selection;return o&&(e=e.mark(this.storedMarks||(i.empty?i.$from.marks():i.$from.marksAcross(i.$to)||Ot.none))),i.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,o,i){let n=this.doc.type.schema;if(o==null)return e?this.replaceSelectionWith(n.text(e),!0):this.deleteSelection();{if(i==null&&(i=o),!e)return this.deleteRange(o,i);let r=this.storedMarks;if(!r){let s=this.doc.resolve(o);r=i==o?s.marks():s.marksAcross(this.doc.resolve(i))}return this.replaceRangeWith(o,i,n.text(e,r)),!this.selection.empty&&this.selection.to==o+e.length&&this.setSelection(Bt.near(this.selection.$to)),this}}setMeta(e,o){return this.meta[typeof e=="string"?e:e.key]=o,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=ob,this}get scrolledIntoView(){return(this.updated&ob)>0}}function ib(t,e){return!e||!t?t:t.bind(e)}class Dd{constructor(e,o,i){this.name=e,this.init=ib(o.init,i),this.apply=ib(o.apply,i)}}const CY=[new Dd("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new Dd("selection",{init(t,e){return t.selection||Bt.atStart(e.doc)},apply(t){return t.selection}}),new Dd("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,o,i){return i.selection.$cursor?t.storedMarks:null}}),new Dd("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class m0{constructor(e,o){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=CY.slice(),o&&o.forEach(i=>{if(this.pluginsByKey[i.key])throw new RangeError("Adding different instances of a keyed plugin ("+i.key+")");this.plugins.push(i),this.pluginsByKey[i.key]=i,i.spec.state&&this.fields.push(new Dd(i.key,i.spec.state,i))})}}class Zl{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,o=-1){for(let i=0;i<this.config.plugins.length;i++)if(i!=o){let n=this.config.plugins[i];if(n.spec.filterTransaction&&!n.spec.filterTransaction.call(n,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let o=[e],i=this.applyInner(e),n=null;for(;;){let r=!1;for(let s=0;s<this.config.plugins.length;s++){let a=this.config.plugins[s];if(a.spec.appendTransaction){let u=n?n[s].n:0,c=n?n[s].state:this,m=u<o.length&&a.spec.appendTransaction.call(a,u?o.slice(u):o,c,i);if(m&&i.filterTransaction(m,s)){if(m.setMeta("appendedTransaction",e),!n){n=[];for(let f=0;f<this.config.plugins.length;f++)n.push(f<s?{state:i,n:o.length}:{state:this,n:0})}o.push(m),i=i.applyInner(m),r=!0}n&&(n[s]={state:i,n:o.length})}}if(!r)return{state:i,transactions:o}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let o=new Zl(this.config),i=this.config.fields;for(let n=0;n<i.length;n++){let r=i[n];o[r.name]=r.apply(e,this[r.name],this,o)}return o}get tr(){return new pY(this)}static create(e){let o=new m0(e.doc?e.doc.type.schema:e.schema,e.plugins),i=new Zl(o);for(let n=0;n<o.fields.length;n++)i[o.fields[n].name]=o.fields[n].init(e,i);return i}reconfigure(e){let o=new m0(this.schema,e.plugins),i=o.fields,n=new Zl(o);for(let r=0;r<i.length;r++){let s=i[r].name;n[s]=this.hasOwnProperty(s)?this[s]:i[r].init(e,n)}return n}toJSON(e){let o={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(o.storedMarks=this.storedMarks.map(i=>i.toJSON())),e&&typeof e=="object")for(let i in e){if(i=="doc"||i=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let n=e[i],r=n.spec.state;r&&r.toJSON&&(o[i]=r.toJSON.call(n,this[n.key]))}return o}static fromJSON(e,o,i){if(!o)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let n=new m0(e.schema,e.plugins),r=new Zl(n);return n.fields.forEach(s=>{if(s.name=="doc")r.doc=Hs.fromJSON(e.schema,o.doc);else if(s.name=="selection")r.selection=Bt.fromJSON(r.doc,o.selection);else if(s.name=="storedMarks")o.storedMarks&&(r.storedMarks=o.storedMarks.map(e.schema.markFromJSON));else{if(i)for(let a in i){let u=i[a],c=u.spec.state;if(u.key==s.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(o,a)){r[s.name]=c.fromJSON.call(u,e,o[a],r);return}}r[s.name]=s.init(e,r)}}),r}}function gP(t,e,o){for(let i in t){let n=t[i];n instanceof Function?n=n.bind(e):i=="handleDOMEvents"&&(n=gP(n,e,{})),o[i]=n}return o}class zo{constructor(e){this.spec=e,this.props={},e.props&&gP(e.props,this,this.props),this.key=e.key?e.key.key:FP("plugin")}getState(e){return e[this.key]}}const f0=Object.create(null);function FP(t){return t in f0?t+"$"+ ++f0[t]:(f0[t]=0,t+"$")}class Ni{constructor(e="key"){this.key=FP(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const Oo=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},Lu=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let WF=null;const jr=function(t,e,o){let i=WF||(WF=document.createRange());return i.setEnd(t,o??t.nodeValue.length),i.setStart(t,e||0),i},gY=function(){WF=null},sl=function(t,e,o,i){return o&&(nb(t,e,o,i,-1)||nb(t,e,o,i,1))},FY=/^(img|br|input|textarea|hr)$/i;function nb(t,e,o,i,n){for(var r;;){if(t==o&&e==i)return!0;if(e==(n<0?0:pn(t))){let s=t.parentNode;if(!s||s.nodeType!=1||Hc(t)||FY.test(t.nodeName)||t.contentEditable=="false")return!1;e=Oo(t)+(n<0?0:1),t=s}else if(t.nodeType==1){let s=t.childNodes[e+(n<0?-1:0)];if(s.nodeType==1&&s.contentEditable=="false")if(!((r=s.pmViewDesc)===null||r===void 0)&&r.ignoreForSelection)e+=n;else return!1;else t=s,e=n<0?pn(t):0}else return!1}}function pn(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function yY(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=pn(t)}else if(t.parentNode&&!Hc(t))e=Oo(t),t=t.parentNode;else return null}}function TY(t,e){for(;;){if(t.nodeType==3&&e<t.nodeValue.length)return t;if(t.nodeType==1&&e<t.childNodes.length){if(t.contentEditable=="false")return null;t=t.childNodes[e],e=0}else if(t.parentNode&&!Hc(t))e=Oo(t)+1,t=t.parentNode;else return null}}function SY(t,e,o){for(let i=e==0,n=e==pn(t);i||n;){if(t==o)return!0;let r=Oo(t);if(t=t.parentNode,!t)return!1;i=i&&r==0,n=n&&r==pn(t)}}function Hc(t){let e;for(let o=t;o&&!(e=o.pmViewDesc);o=o.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==t||e.contentDOM==t)}const jp=function(t){return t.focusNode&&sl(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)};function _a(t,e){let o=document.createEvent("Event");return o.initEvent("keydown",!0,!0),o.keyCode=t,o.key=o.code=e,o}function BY(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function VY(t,e,o){if(t.caretPositionFromPoint)try{let i=t.caretPositionFromPoint(e,o);if(i)return{node:i.offsetNode,offset:Math.min(pn(i.offsetNode),i.offset)}}catch{}if(t.caretRangeFromPoint){let i=t.caretRangeFromPoint(e,o);if(i)return{node:i.startContainer,offset:Math.min(pn(i.startContainer),i.startOffset)}}}const Fr=typeof navigator<"u"?navigator:null,rb=typeof document<"u"?document:null,ca=Fr&&Fr.userAgent||"",OF=/Edge\/(\d+)/.exec(ca),yP=/MSIE \d/.exec(ca),MF=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ca),Li=!!(yP||MF||OF),zs=yP?document.documentMode:MF?+MF[1]:OF?+OF[1]:0,yn=!Li&&/gecko\/(\d+)/i.test(ca);yn&&+(/Firefox\/(\d+)/.exec(ca)||[0,0])[1];const HF=!Li&&/Chrome\/(\d+)/.exec(ca),Qo=!!HF,TP=HF?+HF[1]:0,Ci=!Li&&!!Fr&&/Apple Computer/.test(Fr.vendor),Eu=Ci&&(/Mobile\/\w+/.test(ca)||!!Fr&&Fr.maxTouchPoints>2),fn=Eu||(Fr?/Mac/.test(Fr.platform):!1),RY=Fr?/Win/.test(Fr.platform):!1,Xr=/Android \d/.test(ca),$c=!!rb&&"webkitFontSmoothing"in rb.documentElement.style,DY=$c?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function xY(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function Wr(t,e){return typeof t=="number"?t:t[e]}function bY(t){let e=t.getBoundingClientRect(),o=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*o,top:e.top,bottom:e.top+t.clientHeight*i}}function sb(t,e,o){let i=t.someProp("scrollThreshold")||0,n=t.someProp("scrollMargin")||5,r=t.dom.ownerDocument;for(let s=o||t.dom;s;){if(s.nodeType!=1){s=Lu(s);continue}let a=s,u=a==r.body,c=u?xY(r):bY(a),m=0,f=0;if(e.top<c.top+Wr(i,"top")?f=-(c.top-e.top+Wr(n,"top")):e.bottom>c.bottom-Wr(i,"bottom")&&(f=e.bottom-e.top>c.bottom-c.top?e.top+Wr(n,"top")-c.top:e.bottom-c.bottom+Wr(n,"bottom")),e.left<c.left+Wr(i,"left")?m=-(c.left-e.left+Wr(n,"left")):e.right>c.right-Wr(i,"right")&&(m=e.right-c.right+Wr(n,"right")),m||f)if(u)r.defaultView.scrollBy(m,f);else{let C=a.scrollLeft,F=a.scrollTop;f&&(a.scrollTop+=f),m&&(a.scrollLeft+=m);let y=a.scrollLeft-C,T=a.scrollTop-F;e={left:e.left-y,top:e.top-T,right:e.right-y,bottom:e.bottom-T}}let p=u?"fixed":getComputedStyle(s).position;if(/^(fixed|sticky)$/.test(p))break;s=p=="absolute"?s.offsetParent:Lu(s)}}function LY(t){let e=t.dom.getBoundingClientRect(),o=Math.max(0,e.top),i,n;for(let r=(e.left+e.right)/2,s=o+1;s<Math.min(innerHeight,e.bottom);s+=5){let a=t.root.elementFromPoint(r,s);if(!a||a==t.dom||!t.dom.contains(a))continue;let u=a.getBoundingClientRect();if(u.top>=o-20){i=a,n=u.top;break}}return{refDOM:i,refTop:n,stack:SP(t.dom)}}function SP(t){let e=[],o=t.ownerDocument;for(let i=t;i&&(e.push({dom:i,top:i.scrollTop,left:i.scrollLeft}),t!=o);i=Lu(i));return e}function EY({refDOM:t,refTop:e,stack:o}){let i=t?t.getBoundingClientRect().top:0;BP(o,i==0?0:i-e)}function BP(t,e){for(let o=0;o<t.length;o++){let{dom:i,top:n,left:r}=t[o];i.scrollTop!=n+e&&(i.scrollTop=n+e),i.scrollLeft!=r&&(i.scrollLeft=r)}}let Ol=null;function vY(t){if(t.setActive)return t.setActive();if(Ol)return t.focus(Ol);let e=SP(t);t.focus(Ol==null?{get preventScroll(){return Ol={preventScroll:!0},!0}}:void 0),Ol||(Ol=!1,BP(e,0))}function VP(t,e){let o,i=2e8,n,r=0,s=e.top,a=e.top,u,c;for(let m=t.firstChild,f=0;m;m=m.nextSibling,f++){let p;if(m.nodeType==1)p=m.getClientRects();else if(m.nodeType==3)p=jr(m).getClientRects();else continue;for(let C=0;C<p.length;C++){let F=p[C];if(F.top<=s&&F.bottom>=a){s=Math.max(F.bottom,s),a=Math.min(F.top,a);let y=F.left>e.left?F.left-e.left:F.right<e.left?e.left-F.right:0;if(y<i){o=m,i=y,n=y&&o.nodeType==3?{left:F.right<e.left?F.right:F.left,top:e.top}:e,m.nodeType==1&&y&&(r=f+(e.left>=(F.left+F.right)/2?1:0));continue}}else F.top>e.top&&!u&&F.left<=e.left&&F.right>=e.left&&(u=m,c={left:Math.max(F.left,Math.min(F.right,e.left)),top:F.top});!o&&(e.left>=F.right&&e.top>=F.top||e.left>=F.left&&e.top>=F.bottom)&&(r=f+1)}}return!o&&u&&(o=u,n=c,i=0),o&&o.nodeType==3?NY(o,n):!o||i&&o.nodeType==1?{node:t,offset:r}:VP(o,n)}function NY(t,e){let o=t.nodeValue.length,i=document.createRange();for(let n=0;n<o;n++){i.setEnd(t,n+1),i.setStart(t,n);let r=Es(i,1);if(r.top!=r.bottom&&BT(e,r))return{node:t,offset:n+(e.left>=(r.left+r.right)/2?1:0)}}return{node:t,offset:0}}function BT(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function PY(t,e){let o=t.parentNode;return o&&/^li$/i.test(o.nodeName)&&e.left<t.getBoundingClientRect().left?o:t}function _Y(t,e,o){let{node:i,offset:n}=VP(e,o),r=-1;if(i.nodeType==1&&!i.firstChild){let s=i.getBoundingClientRect();r=s.left!=s.right&&o.left>(s.left+s.right)/2?1:-1}return t.docView.posFromDOM(i,n,r)}function AY(t,e,o,i){let n=-1;for(let r=e,s=!1;r!=t.dom;){let a=t.docView.nearestDesc(r,!0),u;if(!a)return null;if(a.dom.nodeType==1&&(a.node.isBlock&&a.parent||!a.contentDOM)&&((u=a.dom.getBoundingClientRect()).width||u.height)&&(a.node.isBlock&&a.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(a.dom.nodeName)&&(!s&&u.left>i.left||u.top>i.top?n=a.posBefore:(!s&&u.right<i.left||u.bottom<i.top)&&(n=a.posAfter),s=!0),!a.contentDOM&&n<0&&!a.node.isText))return(a.node.isBlock?i.top<(u.top+u.bottom)/2:i.left<(u.left+u.right)/2)?a.posBefore:a.posAfter;r=a.dom.parentNode}return n>-1?n:t.docView.posFromDOM(e,o,-1)}function RP(t,e,o){let i=t.childNodes.length;if(i&&o.top<o.bottom)for(let n=Math.max(0,Math.min(i-1,Math.floor(i*(e.top-o.top)/(o.bottom-o.top))-2)),r=n;;){let s=t.childNodes[r];if(s.nodeType==1){let a=s.getClientRects();for(let u=0;u<a.length;u++){let c=a[u];if(BT(e,c))return RP(s,e,c)}}if((r=(r+1)%i)==n)break}return t}function IY(t,e){let o=t.dom.ownerDocument,i,n=0,r=VY(o,e.left,e.top);r&&({node:i,offset:n}=r);let s=(t.root.elementFromPoint?t.root:o).elementFromPoint(e.left,e.top),a;if(!s||!t.dom.contains(s.nodeType!=1?s.parentNode:s)){let c=t.dom.getBoundingClientRect();if(!BT(e,c)||(s=RP(t.dom,e,c),!s))return null}if(Ci)for(let c=s;i&&c;c=Lu(c))c.draggable&&(i=void 0);if(s=PY(s,e),i){if(yn&&i.nodeType==1&&(n=Math.min(n,i.childNodes.length),n<i.childNodes.length)){let m=i.childNodes[n],f;m.nodeName=="IMG"&&(f=m.getBoundingClientRect()).right<=e.left&&f.bottom>e.top&&n++}let c;$c&&n&&i.nodeType==1&&(c=i.childNodes[n-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=e.top&&n--,i==t.dom&&n==i.childNodes.length-1&&i.lastChild.nodeType==1&&e.top>i.lastChild.getBoundingClientRect().bottom?a=t.state.doc.content.size:(n==0||i.nodeType!=1||i.childNodes[n-1].nodeName!="BR")&&(a=AY(t,i,n,e))}a==null&&(a=_Y(t,s,e));let u=t.docView.nearestDesc(s,!0);return{pos:a,inside:u?u.posAtStart-u.border:-1}}function ab(t){return t.top<t.bottom||t.left<t.right}function Es(t,e){let o=t.getClientRects();if(o.length){let i=o[e<0?0:o.length-1];if(ab(i))return i}return Array.prototype.find.call(o,ab)||t.getBoundingClientRect()}const wY=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function DP(t,e,o){let{node:i,offset:n,atom:r}=t.docView.domFromPos(e,o<0?-1:1),s=$c||yn;if(i.nodeType==3)if(s&&(wY.test(i.nodeValue)||(o<0?!n:n==i.nodeValue.length))){let u=Es(jr(i,n,n),o);if(yn&&n&&/\s/.test(i.nodeValue[n-1])&&n<i.nodeValue.length){let c=Es(jr(i,n-1,n-1),-1);if(c.top==u.top){let m=Es(jr(i,n,n+1),-1);if(m.top!=u.top)return Fd(m,m.left<c.left)}}return u}else{let u=n,c=n,m=o<0?1:-1;return o<0&&!n?(c++,m=-1):o>=0&&n==i.nodeValue.length?(u--,m=1):o<0?u--:c++,Fd(Es(jr(i,u,c),m),m<0)}if(!t.state.doc.resolve(e-(r||0)).parent.inlineContent){if(r==null&&n&&(o<0||n==pn(i))){let u=i.childNodes[n-1];if(u.nodeType==1)return h0(u.getBoundingClientRect(),!1)}if(r==null&&n<pn(i)){let u=i.childNodes[n];if(u.nodeType==1)return h0(u.getBoundingClientRect(),!0)}return h0(i.getBoundingClientRect(),o>=0)}if(r==null&&n&&(o<0||n==pn(i))){let u=i.childNodes[n-1],c=u.nodeType==3?jr(u,pn(u)-(s?0:1)):u.nodeType==1&&(u.nodeName!="BR"||!u.nextSibling)?u:null;if(c)return Fd(Es(c,1),!1)}if(r==null&&n<pn(i)){let u=i.childNodes[n];for(;u.pmViewDesc&&u.pmViewDesc.ignoreForCoords;)u=u.nextSibling;let c=u?u.nodeType==3?jr(u,0,s?0:1):u.nodeType==1?u:null:null;if(c)return Fd(Es(c,-1),!0)}return Fd(Es(i.nodeType==3?jr(i):i,-o),o>=0)}function Fd(t,e){if(t.width==0)return t;let o=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:o,right:o}}function h0(t,e){if(t.height==0)return t;let o=e?t.top:t.bottom;return{top:o,bottom:o,left:t.left,right:t.right}}function xP(t,e,o){let i=t.state,n=t.root.activeElement;i!=e&&t.updateState(e),n!=t.dom&&t.focus();try{return o()}finally{i!=e&&t.updateState(i),n!=t.dom&&n&&n.focus()}}function kY(t,e,o){let i=e.selection,n=o=="up"?i.$from:i.$to;return xP(t,e,()=>{let{node:r}=t.docView.domFromPos(n.pos,o=="up"?-1:1);for(;;){let a=t.docView.nearestDesc(r,!0);if(!a)break;if(a.node.isBlock){r=a.contentDOM||a.dom;break}r=a.dom.parentNode}let s=DP(t,n.pos,1);for(let a=r.firstChild;a;a=a.nextSibling){let u;if(a.nodeType==1)u=a.getClientRects();else if(a.nodeType==3)u=jr(a,0,a.nodeValue.length).getClientRects();else continue;for(let c=0;c<u.length;c++){let m=u[c];if(m.bottom>m.top+1&&(o=="up"?s.top-m.top>(m.bottom-s.top)*2:m.bottom-s.bottom>(s.bottom-m.top)*2))return!1}}return!0})}const WY=/[\u0590-\u08ac]/;function OY(t,e,o){let{$head:i}=e.selection;if(!i.parent.isTextblock)return!1;let n=i.parentOffset,r=!n,s=n==i.parent.content.size,a=t.domSelection();return a?!WY.test(i.parent.textContent)||!a.modify?o=="left"||o=="backward"?r:s:xP(t,e,()=>{let{focusNode:u,focusOffset:c,anchorNode:m,anchorOffset:f}=t.domSelectionRange(),p=a.caretBidiLevel;a.modify("move",o,"character");let C=i.depth?t.docView.domAfterPos(i.before()):t.dom,{focusNode:F,focusOffset:y}=t.domSelectionRange(),T=F&&!C.contains(F.nodeType==1?F:F.parentNode)||u==F&&c==y;try{a.collapse(m,f),u&&(u!=m||c!=f)&&a.extend&&a.extend(u,c)}catch{}return p!=null&&(a.caretBidiLevel=p),T}):i.pos==i.start()||i.pos==i.end()}let lb=null,ub=null,db=!1;function MY(t,e,o){return lb==e&&ub==o?db:(lb=e,ub=o,db=o=="up"||o=="down"?kY(t,e,o):OY(t,e,o))}const Tn=0,cb=1,Wa=2,yr=3;class zc{constructor(e,o,i,n){this.parent=e,this.children=o,this.dom=i,this.contentDOM=n,this.dirty=Tn,i.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,o,i){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let o=0;o<this.children.length;o++)e+=this.children[o].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let o=0,i=this.posAtStart;;o++){let n=this.children[o];if(n==e)return i;i+=n.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,o,i){if(this.contentDOM&&this.contentDOM.contains(e.nodeType==1?e:e.parentNode))if(i<0){let r,s;if(e==this.contentDOM)r=e.childNodes[o-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;r=e.previousSibling}for(;r&&!((s=r.pmViewDesc)&&s.parent==this);)r=r.previousSibling;return r?this.posBeforeChild(s)+s.size:this.posAtStart}else{let r,s;if(e==this.contentDOM)r=e.childNodes[o];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;r=e.nextSibling}for(;r&&!((s=r.pmViewDesc)&&s.parent==this);)r=r.nextSibling;return r?this.posBeforeChild(s):this.posAtEnd}let n;if(e==this.dom&&this.contentDOM)n=o>Oo(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))n=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(o==0)for(let r=e;;r=r.parentNode){if(r==this.dom){n=!1;break}if(r.previousSibling)break}if(n==null&&o==e.childNodes.length)for(let r=e;;r=r.parentNode){if(r==this.dom){n=!0;break}if(r.nextSibling)break}}return n??i>0?this.posAtEnd:this.posAtStart}nearestDesc(e,o=!1){for(let i=!0,n=e;n;n=n.parentNode){let r=this.getDesc(n),s;if(r&&(!o||r.node))if(i&&(s=r.nodeDOM)&&!(s.nodeType==1?s.contains(e.nodeType==1?e:e.parentNode):s==e))i=!1;else return r}}getDesc(e){let o=e.pmViewDesc;for(let i=o;i;i=i.parent)if(i==this)return o}posFromDOM(e,o,i){for(let n=e;n;n=n.parentNode){let r=this.getDesc(n);if(r)return r.localPosFromDOM(e,o,i)}return-1}descAt(e){for(let o=0,i=0;o<this.children.length;o++){let n=this.children[o],r=i+n.size;if(i==e&&r!=i){for(;!n.border&&n.children.length;)for(let s=0;s<n.children.length;s++){let a=n.children[s];if(a.size){n=a;break}}return n}if(e<r)return n.descAt(e-i-n.border);i=r}}domFromPos(e,o){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let i=0,n=0;for(let r=0;i<this.children.length;i++){let s=this.children[i],a=r+s.size;if(a>e||s instanceof LP){n=e-r;break}r=a}if(n)return this.children[i].domFromPos(n-this.children[i].border,o);for(let r;i&&!(r=this.children[i-1]).size&&r instanceof bP&&r.side>=0;i--);if(o<=0){let r,s=!0;for(;r=i?this.children[i-1]:null,!(!r||r.dom.parentNode==this.contentDOM);i--,s=!1);return r&&o&&s&&!r.border&&!r.domAtom?r.domFromPos(r.size,o):{node:this.contentDOM,offset:r?Oo(r.dom)+1:0}}else{let r,s=!0;for(;r=i<this.children.length?this.children[i]:null,!(!r||r.dom.parentNode==this.contentDOM);i++,s=!1);return r&&s&&!r.border&&!r.domAtom?r.domFromPos(0,o):{node:this.contentDOM,offset:r?Oo(r.dom):this.contentDOM.childNodes.length}}}parseRange(e,o,i=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:o,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let n=-1,r=-1;for(let s=i,a=0;;a++){let u=this.children[a],c=s+u.size;if(n==-1&&e<=c){let m=s+u.border;if(e>=m&&o<=c-u.border&&u.node&&u.contentDOM&&this.contentDOM.contains(u.contentDOM))return u.parseRange(e,o,m);e=s;for(let f=a;f>0;f--){let p=this.children[f-1];if(p.size&&p.dom.parentNode==this.contentDOM&&!p.emptyChildAt(1)){n=Oo(p.dom)+1;break}e-=p.size}n==-1&&(n=0)}if(n>-1&&(c>o||a==this.children.length-1)){o=c;for(let m=a+1;m<this.children.length;m++){let f=this.children[m];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){r=Oo(f.dom);break}o+=f.size}r==-1&&(r=this.contentDOM.childNodes.length);break}s=c}return{node:this.contentDOM,from:e,to:o,fromOffset:n,toOffset:r}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let o=this.children[e<0?0:this.children.length-1];return o.size==0||o.emptyChildAt(e)}domAfterPos(e){let{node:o,offset:i}=this.domFromPos(e,0);if(o.nodeType!=1||i==o.childNodes.length)throw new RangeError("No node after pos "+e);return o.childNodes[i]}setSelection(e,o,i,n=!1){let r=Math.min(e,o),s=Math.max(e,o);for(let C=0,F=0;C<this.children.length;C++){let y=this.children[C],T=F+y.size;if(r>F&&s<T)return y.setSelection(e-F-y.border,o-F-y.border,i,n);F=T}let a=this.domFromPos(e,e?-1:1),u=o==e?a:this.domFromPos(o,o?-1:1),c=i.root.getSelection(),m=i.domSelectionRange(),f=!1;if((yn||Ci)&&e==o){let{node:C,offset:F}=a;if(C.nodeType==3){if(f=!!(F&&C.nodeValue[F-1]==`
|
|
91
|
-
`),f&&F==C.nodeValue.length)for(let y=C,T;y;y=y.parentNode){if(T=y.nextSibling){T.nodeName=="BR"&&(a=u={node:T.parentNode,offset:Oo(T)+1});break}let B=y.pmViewDesc;if(B&&B.node&&B.node.isBlock)break}}else{let y=C.childNodes[F-1];f=y&&(y.nodeName=="BR"||y.contentEditable=="false")}}if(yn&&m.focusNode&&m.focusNode!=u.node&&m.focusNode.nodeType==1){let C=m.focusNode.childNodes[m.focusOffset];C&&C.contentEditable=="false"&&(n=!0)}if(!(n||f&&Ci)&&sl(a.node,a.offset,m.anchorNode,m.anchorOffset)&&sl(u.node,u.offset,m.focusNode,m.focusOffset))return;let p=!1;if((c.extend||e==o)&&!(f&&yn)){c.collapse(a.node,a.offset);try{e!=o&&c.extend(u.node,u.offset),p=!0}catch{}}if(!p){if(e>o){let F=a;a=u,u=F}let C=document.createRange();C.setEnd(u.node,u.offset),C.setStart(a.node,a.offset),c.removeAllRanges(),c.addRange(C)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,o){for(let i=0,n=0;n<this.children.length;n++){let r=this.children[n],s=i+r.size;if(i==s?e<=s&&o>=i:e<s&&o>i){let a=i+r.border,u=s-r.border;if(e>=a&&o<=u){this.dirty=e==i||o==s?Wa:cb,e==a&&o==u&&(r.contentLost||r.dom.parentNode!=this.contentDOM)?r.dirty=yr:r.markDirty(e-a,o-a);return}else r.dirty=r.dom==r.contentDOM&&r.dom.parentNode==this.contentDOM&&!r.children.length?Wa:yr}i=s}this.dirty=Wa}markParentsDirty(){let e=1;for(let o=this.parent;o;o=o.parent,e++){let i=e==1?Wa:cb;o.dirty<i&&(o.dirty=i)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}}class bP extends zc{constructor(e,o,i,n){let r,s=o.type.toDOM;if(typeof s=="function"&&(s=s(i,()=>{if(!r)return n;if(r.parent)return r.parent.posBeforeChild(r)})),!o.type.spec.raw){if(s.nodeType!=1){let a=document.createElement("span");a.appendChild(s),s=a}s.contentEditable="false",s.classList.add("ProseMirror-widget")}super(e,[],s,null),this.widget=o,this.widget=o,r=this}matchesWidget(e){return this.dirty==Tn&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let o=this.widget.spec.stopEvent;return o?o(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class HY extends zc{constructor(e,o,i,n){super(e,[],o,null),this.textDOM=i,this.text=n}get size(){return this.text.length}localPosFromDOM(e,o){return e!=this.textDOM?this.posAtStart+(o?this.size:0):this.posAtStart+o}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class al extends zc{constructor(e,o,i,n,r){super(e,[],i,n),this.mark=o,this.spec=r}static create(e,o,i,n){let r=n.nodeViews[o.type.name],s=r&&r(o,n,i);return(!s||!s.dom)&&(s=hl.renderSpec(document,o.type.spec.toDOM(o,i),null,o.attrs)),new al(e,o,s.dom,s.contentDOM||s.dom,s)}parseRule(){return this.dirty&yr||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=yr&&this.mark.eq(e)}markDirty(e,o){if(super.markDirty(e,o),this.dirty!=Tn){let i=this.parent;for(;!i.node;)i=i.parent;i.dirty<this.dirty&&(i.dirty=this.dirty),this.dirty=Tn}}slice(e,o,i){let n=al.create(this.parent,this.mark,!0,i),r=this.children,s=this.size;o<s&&(r=zF(r,o,s,i)),e>0&&(r=zF(r,0,e,i));for(let a=0;a<r.length;a++)r[a].parent=n;return n.children=r,n}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class Us extends zc{constructor(e,o,i,n,r,s,a,u,c){super(e,[],r,s),this.node=o,this.outerDeco=i,this.innerDeco=n,this.nodeDOM=a}static create(e,o,i,n,r,s){let a=r.nodeViews[o.type.name],u,c=a&&a(o,r,()=>{if(!u)return s;if(u.parent)return u.parent.posBeforeChild(u)},i,n),m=c&&c.dom,f=c&&c.contentDOM;if(o.isText){if(!m)m=document.createTextNode(o.text);else if(m.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else m||({dom:m,contentDOM:f}=hl.renderSpec(document,o.type.spec.toDOM(o),null,o.attrs));!f&&!o.isText&&m.nodeName!="BR"&&(m.hasAttribute("contenteditable")||(m.contentEditable="false"),o.type.spec.draggable&&(m.draggable=!0));let p=m;return m=NP(m,i,o),c?u=new $Y(e,o,i,n,m,f||null,p,c,r,s+1):o.isText?new Gp(e,o,i,n,m,p,r):new Us(e,o,i,n,m,f||null,p,r,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let o=this.children.length-1;o>=0;o--){let i=this.children[o];if(this.dom.contains(i.dom.parentNode)){e.contentElement=i.dom.parentNode;break}}e.contentElement||(e.getContent=()=>ge.empty)}return e}matchesNode(e,o,i){return this.dirty==Tn&&e.eq(this.node)&&Sh(o,this.outerDeco)&&i.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,o){let i=this.node.inlineContent,n=o,r=e.composing?this.localCompositionInfo(e,o):null,s=r&&r.pos>-1?r:null,a=r&&r.pos<0,u=new UY(this,s&&s.node,e);KY(this.node,this.innerDeco,(c,m,f)=>{c.spec.marks?u.syncToMarks(c.spec.marks,i,e):c.type.side>=0&&!f&&u.syncToMarks(m==this.node.childCount?Ot.none:this.node.child(m).marks,i,e),u.placeWidget(c,e,n)},(c,m,f,p)=>{u.syncToMarks(c.marks,i,e);let C;u.findNodeMatch(c,m,f,p)||a&&e.state.selection.from>n&&e.state.selection.to<n+c.nodeSize&&(C=u.findIndexWithChild(r.node))>-1&&u.updateNodeAt(c,m,f,C,e)||u.updateNextNode(c,m,f,e,p,n)||u.addNode(c,m,f,e,n),n+=c.nodeSize}),u.syncToMarks([],i,e),this.node.isTextblock&&u.addTextblockHacks(),u.destroyRest(),(u.changed||this.dirty==Wa)&&(s&&this.protectLocalComposition(e,s),EP(this.contentDOM,this.children,e),Eu&&qY(this.dom))}localCompositionInfo(e,o){let{from:i,to:n}=e.state.selection;if(!(e.state.selection instanceof ht)||i<o||n>o+this.node.content.size)return null;let r=e.input.compositionNode;if(!r||!this.dom.contains(r.parentNode))return null;if(this.node.inlineContent){let s=r.nodeValue,a=YY(this.node.content,s,i-o,n-o);return a<0?null:{node:r,pos:a,text:s}}else return{node:r,pos:-1,text:""}}protectLocalComposition(e,{node:o,pos:i,text:n}){if(this.getDesc(o))return;let r=o;for(;r.parentNode!=this.contentDOM;r=r.parentNode){for(;r.previousSibling;)r.parentNode.removeChild(r.previousSibling);for(;r.nextSibling;)r.parentNode.removeChild(r.nextSibling);r.pmViewDesc&&(r.pmViewDesc=void 0)}let s=new HY(this,r,o,n);e.input.compositionNodes.push(s),this.children=zF(this.children,i,i+n.length,e,s)}update(e,o,i,n){return this.dirty==yr||!e.sameMarkup(this.node)?!1:(this.updateInner(e,o,i,n),!0)}updateInner(e,o,i,n){this.updateOuterDeco(o),this.node=e,this.innerDeco=i,this.contentDOM&&this.updateChildren(n,this.posAtStart),this.dirty=Tn}updateOuterDeco(e){if(Sh(e,this.outerDeco))return;let o=this.nodeDOM.nodeType!=1,i=this.dom;this.dom=vP(this.dom,this.nodeDOM,$F(this.outerDeco,this.node,o),$F(e,this.node,o)),this.dom!=i&&(i.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function mb(t,e,o,i,n){NP(i,e,t);let r=new Us(void 0,t,e,o,i,i,i,n,0);return r.contentDOM&&r.updateChildren(n,0),r}class Gp extends Us{constructor(e,o,i,n,r,s,a){super(e,o,i,n,r,null,s,a,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,o,i,n){return this.dirty==yr||this.dirty!=Tn&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(o),(this.dirty!=Tn||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,n.trackWrites==this.nodeDOM&&(n.trackWrites=null)),this.node=e,this.dirty=Tn,!0)}inParent(){let e=this.parent.contentDOM;for(let o=this.nodeDOM;o;o=o.parentNode)if(o==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,o,i){return e==this.nodeDOM?this.posAtStart+Math.min(o,this.node.text.length):super.localPosFromDOM(e,o,i)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,o,i){let n=this.node.cut(e,o),r=document.createTextNode(n.text);return new Gp(this.parent,n,this.outerDeco,this.innerDeco,r,r,i)}markDirty(e,o){super.markDirty(e,o),this.dom!=this.nodeDOM&&(e==0||o==this.nodeDOM.nodeValue.length)&&(this.dirty=yr)}get domAtom(){return!1}isText(e){return this.node.text==e}}class LP extends zc{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Tn&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class $Y extends Us{constructor(e,o,i,n,r,s,a,u,c,m){super(e,o,i,n,r,s,a,c,m),this.spec=u}update(e,o,i,n){if(this.dirty==yr)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let r=this.spec.update(e,o,i);return r&&this.updateInner(e,o,i,n),r}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,o,i,n)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,o,i,n){this.spec.setSelection?this.spec.setSelection(e,o,i.root):super.setSelection(e,o,i,n)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function EP(t,e,o){let i=t.firstChild,n=!1;for(let r=0;r<e.length;r++){let s=e[r],a=s.dom;if(a.parentNode==t){for(;a!=i;)i=fb(i),n=!0;i=i.nextSibling}else n=!0,t.insertBefore(a,i);if(s instanceof al){let u=i?i.previousSibling:t.lastChild;EP(s.contentDOM,s.children,o),i=u?u.nextSibling:t.firstChild}}for(;i;)i=fb(i),n=!0;n&&o.trackWrites==t&&(o.trackWrites=null)}const Wd=function(t){t&&(this.nodeName=t)};Wd.prototype=Object.create(null);const Oa=[new Wd];function $F(t,e,o){if(t.length==0)return Oa;let i=o?Oa[0]:new Wd,n=[i];for(let r=0;r<t.length;r++){let s=t[r].type.attrs;if(s){s.nodeName&&n.push(i=new Wd(s.nodeName));for(let a in s){let u=s[a];u!=null&&(o&&n.length==1&&n.push(i=new Wd(e.isInline?"span":"div")),a=="class"?i.class=(i.class?i.class+" ":"")+u:a=="style"?i.style=(i.style?i.style+";":"")+u:a!="nodeName"&&(i[a]=u))}}}return n}function vP(t,e,o,i){if(o==Oa&&i==Oa)return e;let n=e;for(let r=0;r<i.length;r++){let s=i[r],a=o[r];if(r){let u;a&&a.nodeName==s.nodeName&&n!=t&&(u=n.parentNode)&&u.nodeName.toLowerCase()==s.nodeName||(u=document.createElement(s.nodeName),u.pmIsDeco=!0,u.appendChild(n),a=Oa[0]),n=u}zY(n,a||Oa[0],s)}return n}function zY(t,e,o){for(let i in e)i!="class"&&i!="style"&&i!="nodeName"&&!(i in o)&&t.removeAttribute(i);for(let i in o)i!="class"&&i!="style"&&i!="nodeName"&&o[i]!=e[i]&&t.setAttribute(i,o[i]);if(e.class!=o.class){let i=e.class?e.class.split(" ").filter(Boolean):[],n=o.class?o.class.split(" ").filter(Boolean):[];for(let r=0;r<i.length;r++)n.indexOf(i[r])==-1&&t.classList.remove(i[r]);for(let r=0;r<n.length;r++)i.indexOf(n[r])==-1&&t.classList.add(n[r]);t.classList.length==0&&t.removeAttribute("class")}if(e.style!=o.style){if(e.style){let i=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,n;for(;n=i.exec(e.style);)t.style.removeProperty(n[1])}o.style&&(t.style.cssText+=o.style)}}function NP(t,e,o){return vP(t,t,Oa,$F(e,o,t.nodeType!=1))}function Sh(t,e){if(t.length!=e.length)return!1;for(let o=0;o<t.length;o++)if(!t[o].type.eq(e[o].type))return!1;return!0}function fb(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class UY{constructor(e,o,i){this.lock=o,this.view=i,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=jY(e.node.content,e)}destroyBetween(e,o){if(e!=o){for(let i=e;i<o;i++)this.top.children[i].destroy();this.top.children.splice(e,o-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,o,i){let n=0,r=this.stack.length>>1,s=Math.min(r,e.length);for(;n<s&&(n==r-1?this.top:this.stack[n+1<<1]).matchesMark(e[n])&&e[n].type.spec.spanning!==!1;)n++;for(;n<r;)this.destroyRest(),this.top.dirty=Tn,this.index=this.stack.pop(),this.top=this.stack.pop(),r--;for(;r<e.length;){this.stack.push(this.top,this.index+1);let a=-1;for(let u=this.index;u<Math.min(this.index+3,this.top.children.length);u++){let c=this.top.children[u];if(c.matchesMark(e[r])&&!this.isLocked(c.dom)){a=u;break}}if(a>-1)a>this.index&&(this.changed=!0,this.destroyBetween(this.index,a)),this.top=this.top.children[this.index];else{let u=al.create(this.top,e[r],o,i);this.top.children.splice(this.index,0,u),this.top=u,this.changed=!0}this.index=0,r++}}findNodeMatch(e,o,i,n){let r=-1,s;if(n>=this.preMatch.index&&(s=this.preMatch.matches[n-this.preMatch.index]).parent==this.top&&s.matchesNode(e,o,i))r=this.top.children.indexOf(s,this.index);else for(let a=this.index,u=Math.min(this.top.children.length,a+5);a<u;a++){let c=this.top.children[a];if(c.matchesNode(e,o,i)&&!this.preMatch.matched.has(c)){r=a;break}}return r<0?!1:(this.destroyBetween(this.index,r),this.index++,!0)}updateNodeAt(e,o,i,n,r){let s=this.top.children[n];return s.dirty==yr&&s.dom==s.contentDOM&&(s.dirty=Wa),s.update(e,o,i,r)?(this.destroyBetween(this.index,n),this.index++,!0):!1}findIndexWithChild(e){for(;;){let o=e.parentNode;if(!o)return-1;if(o==this.top.contentDOM){let i=e.pmViewDesc;if(i){for(let n=this.index;n<this.top.children.length;n++)if(this.top.children[n]==i)return n}return-1}e=o}}updateNextNode(e,o,i,n,r,s){for(let a=this.index;a<this.top.children.length;a++){let u=this.top.children[a];if(u instanceof Us){let c=this.preMatch.matched.get(u);if(c!=null&&c!=r)return!1;let m=u.dom,f,p=this.isLocked(m)&&!(e.isText&&u.node&&u.node.isText&&u.nodeDOM.nodeValue==e.text&&u.dirty!=yr&&Sh(o,u.outerDeco));if(!p&&u.update(e,o,i,n))return this.destroyBetween(this.index,a),u.dom!=m&&(this.changed=!0),this.index++,!0;if(!p&&(f=this.recreateWrapper(u,e,o,i,n,s)))return this.destroyBetween(this.index,a),this.top.children[this.index]=f,f.contentDOM&&(f.dirty=Wa,f.updateChildren(n,s+1),f.dirty=Tn),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,o,i,n,r,s){if(e.dirty||o.isAtom||!e.children.length||!e.node.content.eq(o.content)||!Sh(i,e.outerDeco)||!n.eq(e.innerDeco))return null;let a=Us.create(this.top,o,i,n,r,s);if(a.contentDOM){a.children=e.children,e.children=[];for(let u of a.children)u.parent=a}return e.destroy(),a}addNode(e,o,i,n,r){let s=Us.create(this.top,e,o,i,n,r);s.contentDOM&&s.updateChildren(n,r+1),this.top.children.splice(this.index++,0,s),this.changed=!0}placeWidget(e,o,i){let n=this.index<this.top.children.length?this.top.children[this.index]:null;if(n&&n.matchesWidget(e)&&(e==n.widget||!n.widget.type.toDOM.parentNode))this.index++;else{let r=new bP(this.top,e,o,i);this.top.children.splice(this.index++,0,r),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],o=this.top;for(;e instanceof al;)o=e,e=o.children[o.children.length-1];(!e||!(e instanceof Gp)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((Ci||Qo)&&e&&e.dom.contentEditable=="false"&&this.addHackNode("IMG",o),this.addHackNode("BR",this.top))}addHackNode(e,o){if(o==this.top&&this.index<o.children.length&&o.children[this.index].matchesHack(e))this.index++;else{let i=document.createElement(e);e=="IMG"&&(i.className="ProseMirror-separator",i.alt=""),e=="BR"&&(i.className="ProseMirror-trailingBreak");let n=new LP(this.top,[],i,null);o!=this.top?o.children.push(n):o.children.splice(this.index++,0,n),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||e.nodeType==1&&e.contains(this.lock.parentNode))}}function jY(t,e){let o=e,i=o.children.length,n=t.childCount,r=new Map,s=[];e:for(;n>0;){let a;for(;;)if(i){let c=o.children[i-1];if(c instanceof al)o=c,i=c.children.length;else{a=c,i--;break}}else{if(o==e)break e;i=o.parent.children.indexOf(o),o=o.parent}let u=a.node;if(u){if(u!=t.child(n-1))break;--n,r.set(a,n),s.push(a)}}return{index:n,matched:r,matches:s.reverse()}}function GY(t,e){return t.type.side-e.type.side}function KY(t,e,o,i){let n=e.locals(t),r=0;if(n.length==0){for(let c=0;c<t.childCount;c++){let m=t.child(c);i(m,n,e.forChild(r,m),c),r+=m.nodeSize}return}let s=0,a=[],u=null;for(let c=0;;){let m,f;for(;s<n.length&&n[s].to==r;){let T=n[s++];T.widget&&(m?(f||(f=[m])).push(T):m=T)}if(m)if(f){f.sort(GY);for(let T=0;T<f.length;T++)o(f[T],c,!!u)}else o(m,c,!!u);let p,C;if(u)C=-1,p=u,u=null;else if(c<t.childCount)C=c,p=t.child(c++);else break;for(let T=0;T<a.length;T++)a[T].to<=r&&a.splice(T--,1);for(;s<n.length&&n[s].from<=r&&n[s].to>r;)a.push(n[s++]);let F=r+p.nodeSize;if(p.isText){let T=F;s<n.length&&n[s].from<T&&(T=n[s].from);for(let B=0;B<a.length;B++)a[B].to<T&&(T=a[B].to);T<F&&(u=p.cut(T-r),p=p.cut(0,T-r),F=T,C=-1)}else for(;s<n.length&&n[s].to<F;)s++;let y=p.isInline&&!p.isLeaf?a.filter(T=>!T.inline):a.slice();i(p,y,e.forChild(r,p),C),r=F}}function qY(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function YY(t,e,o,i){for(let n=0,r=0;n<t.childCount&&r<=i;){let s=t.child(n++),a=r;if(r+=s.nodeSize,!s.isText)continue;let u=s.text;for(;n<t.childCount;){let c=t.child(n++);if(r+=c.nodeSize,!c.isText)break;u+=c.text}if(r>=o){if(r>=i&&u.slice(i-e.length-a,i-a)==e)return i-e.length;let c=a<i?u.lastIndexOf(e,i-a-1):-1;if(c>=0&&c+e.length+a>=o)return a+c;if(o==i&&u.length>=i+e.length-a&&u.slice(i-a,i-a+e.length)==e)return i}}return-1}function zF(t,e,o,i,n){let r=[];for(let s=0,a=0;s<t.length;s++){let u=t[s],c=a,m=a+=u.size;c>=o||m<=e?r.push(u):(c<e&&r.push(u.slice(0,e-c,i)),n&&(r.push(n),n=void 0),m>o&&r.push(u.slice(o-c,u.size,i)))}return r}function VT(t,e=null){let o=t.domSelectionRange(),i=t.state.doc;if(!o.focusNode)return null;let n=t.docView.nearestDesc(o.focusNode),r=n&&n.size==0,s=t.docView.posFromDOM(o.focusNode,o.focusOffset,1);if(s<0)return null;let a=i.resolve(s),u,c;if(jp(o)){for(u=s;n&&!n.node;)n=n.parent;let f=n.node;if(n&&f.isAtom&&Xe.isSelectable(f)&&n.parent&&!(f.isInline&&SY(o.focusNode,o.focusOffset,n.dom))){let p=n.posBefore;c=new Xe(s==p?a:i.resolve(p))}}else{if(o instanceof t.dom.ownerDocument.defaultView.Selection&&o.rangeCount>1){let f=s,p=s;for(let C=0;C<o.rangeCount;C++){let F=o.getRangeAt(C);f=Math.min(f,t.docView.posFromDOM(F.startContainer,F.startOffset,1)),p=Math.max(p,t.docView.posFromDOM(F.endContainer,F.endOffset,-1))}if(f<0)return null;[u,s]=p==t.state.selection.anchor?[p,f]:[f,p],a=i.resolve(s)}else u=t.docView.posFromDOM(o.anchorNode,o.anchorOffset,1);if(u<0)return null}let m=i.resolve(u);if(!c){let f=e=="pointer"||t.state.selection.head<a.pos&&!r?1:-1;c=RT(t,m,a,f)}return c}function PP(t){return t.editable?t.hasFocus():AP(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function is(t,e=!1){let o=t.state.selection;if(_P(t,o),!!PP(t)){if(!e&&t.input.mouseDown&&t.input.mouseDown.allowDefault&&Qo){let i=t.domSelectionRange(),n=t.domObserver.currentSelection;if(i.anchorNode&&n.anchorNode&&sl(i.anchorNode,i.anchorOffset,n.anchorNode,n.anchorOffset)){t.input.mouseDown.delayedSelectionSync=!0,t.domObserver.setCurSelection();return}}if(t.domObserver.disconnectSelection(),t.cursorWrapper)ZY(t);else{let{anchor:i,head:n}=o,r,s;hb&&!(o instanceof ht)&&(o.$from.parent.inlineContent||(r=pb(t,o.from)),!o.empty&&!o.$from.parent.inlineContent&&(s=pb(t,o.to))),t.docView.setSelection(i,n,t,e),hb&&(r&&Cb(r),s&&Cb(s)),o.visible?t.dom.classList.remove("ProseMirror-hideselection"):(t.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&JY(t))}t.domObserver.setCurSelection(),t.domObserver.connectSelection()}}const hb=Ci||Qo&&TP<63;function pb(t,e){let{node:o,offset:i}=t.docView.domFromPos(e,0),n=i<o.childNodes.length?o.childNodes[i]:null,r=i?o.childNodes[i-1]:null;if(Ci&&n&&n.contentEditable=="false")return p0(n);if((!n||n.contentEditable=="false")&&(!r||r.contentEditable=="false")){if(n)return p0(n);if(r)return p0(r)}}function p0(t){return t.contentEditable="true",Ci&&t.draggable&&(t.draggable=!1,t.wasDraggable=!0),t}function Cb(t){t.contentEditable="false",t.wasDraggable&&(t.draggable=!0,t.wasDraggable=null)}function JY(t){let e=t.dom.ownerDocument;e.removeEventListener("selectionchange",t.input.hideSelectionGuard);let o=t.domSelectionRange(),i=o.anchorNode,n=o.anchorOffset;e.addEventListener("selectionchange",t.input.hideSelectionGuard=()=>{(o.anchorNode!=i||o.anchorOffset!=n)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!PP(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function ZY(t){let e=t.domSelection();if(!e)return;let o=t.cursorWrapper.dom,i=o.nodeName=="IMG";i?e.collapse(o.parentNode,Oo(o)+1):e.collapse(o,0),!i&&!t.state.selection.visible&&Li&&zs<=11&&(o.disabled=!0,o.disabled=!1)}function _P(t,e){if(e instanceof Xe){let o=t.docView.descAt(e.from);o!=t.lastSelectedViewDesc&&(gb(t),o&&o.selectNode(),t.lastSelectedViewDesc=o)}else gb(t)}function gb(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function RT(t,e,o,i){return t.someProp("createSelectionBetween",n=>n(t,e,o))||ht.between(e,o,i)}function Fb(t){return t.editable&&!t.hasFocus()?!1:AP(t)}function AP(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function XY(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),o=t.domSelectionRange();return sl(e.node,e.offset,o.anchorNode,o.anchorOffset)}function UF(t,e){let{$anchor:o,$head:i}=t.selection,n=e>0?o.max(i):o.min(i),r=n.parent.inlineContent?n.depth?t.doc.resolve(e>0?n.after():n.before()):null:n;return r&&Bt.findFrom(r,e)}function Ps(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function yb(t,e,o){let i=t.state.selection;if(i instanceof ht)if(o.indexOf("s")>-1){let{$head:n}=i,r=n.textOffset?null:e<0?n.nodeBefore:n.nodeAfter;if(!r||r.isText||!r.isLeaf)return!1;let s=t.state.doc.resolve(n.pos+r.nodeSize*(e<0?-1:1));return Ps(t,new ht(i.$anchor,s))}else if(i.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let n=UF(t.state,e);return n&&n instanceof Xe?Ps(t,n):!1}else if(!(fn&&o.indexOf("m")>-1)){let n=i.$head,r=n.textOffset?null:e<0?n.nodeBefore:n.nodeAfter,s;if(!r||r.isText)return!1;let a=e<0?n.pos-r.nodeSize:n.pos;return r.isAtom||(s=t.docView.descAt(a))&&!s.contentDOM?Xe.isSelectable(r)?Ps(t,new Xe(e<0?t.state.doc.resolve(n.pos-r.nodeSize):n)):$c?Ps(t,new ht(t.state.doc.resolve(e<0?a:a+r.nodeSize))):!1:!1}}else return!1;else{if(i instanceof Xe&&i.node.isInline)return Ps(t,new ht(e>0?i.$to:i.$from));{let n=UF(t.state,e);return n?Ps(t,n):!1}}}function Bh(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Od(t,e){let o=t.pmViewDesc;return o&&o.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function Ml(t,e){return e<0?QY(t):eJ(t)}function QY(t){let e=t.domSelectionRange(),o=e.focusNode,i=e.focusOffset;if(!o)return;let n,r,s=!1;for(yn&&o.nodeType==1&&i<Bh(o)&&Od(o.childNodes[i],-1)&&(s=!0);;)if(i>0){if(o.nodeType!=1)break;{let a=o.childNodes[i-1];if(Od(a,-1))n=o,r=--i;else if(a.nodeType==3)o=a,i=o.nodeValue.length;else break}}else{if(IP(o))break;{let a=o.previousSibling;for(;a&&Od(a,-1);)n=o.parentNode,r=Oo(a),a=a.previousSibling;if(a)o=a,i=Bh(o);else{if(o=o.parentNode,o==t.dom)break;i=0}}}s?jF(t,o,i):n&&jF(t,n,r)}function eJ(t){let e=t.domSelectionRange(),o=e.focusNode,i=e.focusOffset;if(!o)return;let n=Bh(o),r,s;for(;;)if(i<n){if(o.nodeType!=1)break;let a=o.childNodes[i];if(Od(a,1))r=o,s=++i;else break}else{if(IP(o))break;{let a=o.nextSibling;for(;a&&Od(a,1);)r=a.parentNode,s=Oo(a)+1,a=a.nextSibling;if(a)o=a,i=0,n=Bh(o);else{if(o=o.parentNode,o==t.dom)break;i=n=0}}}r&&jF(t,r,s)}function IP(t){let e=t.pmViewDesc;return e&&e.node&&e.node.isBlock}function tJ(t,e){for(;t&&e==t.childNodes.length&&!Hc(t);)e=Oo(t)+1,t=t.parentNode;for(;t&&e<t.childNodes.length;){let o=t.childNodes[e];if(o.nodeType==3)return o;if(o.nodeType==1&&o.contentEditable=="false")break;t=o,e=0}}function oJ(t,e){for(;t&&!e&&!Hc(t);)e=Oo(t),t=t.parentNode;for(;t&&e;){let o=t.childNodes[e-1];if(o.nodeType==3)return o;if(o.nodeType==1&&o.contentEditable=="false")break;t=o,e=t.childNodes.length}}function jF(t,e,o){if(e.nodeType!=3){let r,s;(s=tJ(e,o))?(e=s,o=0):(r=oJ(e,o))&&(e=r,o=r.nodeValue.length)}let i=t.domSelection();if(!i)return;if(jp(i)){let r=document.createRange();r.setEnd(e,o),r.setStart(e,o),i.removeAllRanges(),i.addRange(r)}else i.extend&&i.extend(e,o);t.domObserver.setCurSelection();let{state:n}=t;setTimeout(()=>{t.state==n&&is(t)},50)}function Tb(t,e){let o=t.state.doc.resolve(e);if(!(Qo||RY)&&o.parent.inlineContent){let n=t.coordsAtPos(e);if(e>o.start()){let r=t.coordsAtPos(e-1),s=(r.top+r.bottom)/2;if(s>n.top&&s<n.bottom&&Math.abs(r.left-n.left)>1)return r.left<n.left?"ltr":"rtl"}if(e<o.end()){let r=t.coordsAtPos(e+1),s=(r.top+r.bottom)/2;if(s>n.top&&s<n.bottom&&Math.abs(r.left-n.left)>1)return r.left>n.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function Sb(t,e,o){let i=t.state.selection;if(i instanceof ht&&!i.empty||o.indexOf("s")>-1||fn&&o.indexOf("m")>-1)return!1;let{$from:n,$to:r}=i;if(!n.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let s=UF(t.state,e);if(s&&s instanceof Xe)return Ps(t,s)}if(!n.parent.inlineContent){let s=e<0?n:r,a=i instanceof Gi?Bt.near(s,e):Bt.findFrom(s,e);return a?Ps(t,a):!1}return!1}function Bb(t,e){if(!(t.state.selection instanceof ht))return!0;let{$head:o,$anchor:i,empty:n}=t.state.selection;if(!o.sameParent(i))return!0;if(!n)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let r=!o.textOffset&&(e<0?o.nodeBefore:o.nodeAfter);if(r&&!r.isText){let s=t.state.tr;return e<0?s.delete(o.pos-r.nodeSize,o.pos):s.delete(o.pos,o.pos+r.nodeSize),t.dispatch(s),!0}return!1}function Vb(t,e,o){t.domObserver.stop(),e.contentEditable=o,t.domObserver.start()}function iJ(t){if(!Ci||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:o}=t.domSelectionRange();if(e&&e.nodeType==1&&o==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let i=e.firstChild;Vb(t,i,"true"),setTimeout(()=>Vb(t,i,"false"),20)}return!1}function nJ(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function rJ(t,e){let o=e.keyCode,i=nJ(e);if(o==8||fn&&o==72&&i=="c")return Bb(t,-1)||Ml(t,-1);if(o==46&&!e.shiftKey||fn&&o==68&&i=="c")return Bb(t,1)||Ml(t,1);if(o==13||o==27)return!0;if(o==37||fn&&o==66&&i=="c"){let n=o==37?Tb(t,t.state.selection.from)=="ltr"?-1:1:-1;return yb(t,n,i)||Ml(t,n)}else if(o==39||fn&&o==70&&i=="c"){let n=o==39?Tb(t,t.state.selection.from)=="ltr"?1:-1:1;return yb(t,n,i)||Ml(t,n)}else{if(o==38||fn&&o==80&&i=="c")return Sb(t,-1,i)||Ml(t,-1);if(o==40||fn&&o==78&&i=="c")return iJ(t)||Sb(t,1,i)||Ml(t,1);if(i==(fn?"m":"c")&&(o==66||o==73||o==89||o==90))return!0}return!1}function DT(t,e){t.someProp("transformCopied",C=>{e=C(e,t)});let o=[],{content:i,openStart:n,openEnd:r}=e;for(;n>1&&r>1&&i.childCount==1&&i.firstChild.childCount==1;){n--,r--;let C=i.firstChild;o.push(C.type.name,C.attrs!=C.type.defaultAttrs?C.attrs:null),i=C.content}let s=t.someProp("clipboardSerializer")||hl.fromSchema(t.state.schema),a=HP(),u=a.createElement("div");u.appendChild(s.serializeFragment(i,{document:a}));let c=u.firstChild,m,f=0;for(;c&&c.nodeType==1&&(m=MP[c.nodeName.toLowerCase()]);){for(let C=m.length-1;C>=0;C--){let F=a.createElement(m[C]);for(;u.firstChild;)F.appendChild(u.firstChild);u.appendChild(F),f++}c=u.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${n} ${r}${f?` -${f}`:""} ${JSON.stringify(o)}`);let p=t.someProp("clipboardTextSerializer",C=>C(e,t))||e.content.textBetween(0,e.content.size,`
|
|
92
|
-
|
|
93
|
-
`);return{dom:u,text:p,slice:e}}function wP(t,e,o,i,n){let r=n.parent.type.spec.code,s,a;if(!o&&!e)return null;let u=!!e&&(i||r||!o);if(u){if(t.someProp("transformPastedText",p=>{e=p(e,r||i,t)}),r)return a=new _e(ge.from(t.state.schema.text(e.replace(/\r\n?/g,`
|
|
94
|
-
`))),0,0),t.someProp("transformPasted",p=>{a=p(a,t,!0)}),a;let f=t.someProp("clipboardTextParser",p=>p(e,n,i,t));if(f)a=f;else{let p=n.marks(),{schema:C}=t.state,F=hl.fromSchema(C);s=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(y=>{let T=s.appendChild(document.createElement("p"));y&&T.appendChild(F.serializeNode(C.text(y,p)))})}}else t.someProp("transformPastedHTML",f=>{o=f(o,t)}),s=uJ(o),$c&&dJ(s);let c=s&&s.querySelector("[data-pm-slice]"),m=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(m&&m[3])for(let f=+m[3];f>0;f--){let p=s.firstChild;for(;p&&p.nodeType!=1;)p=p.nextSibling;if(!p)break;s=p}if(a||(a=(t.someProp("clipboardParser")||t.someProp("domParser")||$s.fromSchema(t.state.schema)).parseSlice(s,{preserveWhitespace:!!(u||m),context:n,ruleFromNode(p){return p.nodeName=="BR"&&!p.nextSibling&&p.parentNode&&!sJ.test(p.parentNode.nodeName)?{ignore:!0}:null}})),m)a=cJ(Rb(a,+m[1],+m[2]),m[4]);else if(a=_e.maxOpen(aJ(a.content,n),!0),a.openStart||a.openEnd){let f=0,p=0;for(let C=a.content.firstChild;f<a.openStart&&!C.type.spec.isolating;f++,C=C.firstChild);for(let C=a.content.lastChild;p<a.openEnd&&!C.type.spec.isolating;p++,C=C.lastChild);a=Rb(a,f,p)}return t.someProp("transformPasted",f=>{a=f(a,t,u)}),a}const sJ=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function aJ(t,e){if(t.childCount<2)return t;for(let o=e.depth;o>=0;o--){let n=e.node(o).contentMatchAt(e.index(o)),r,s=[];if(t.forEach(a=>{if(!s)return;let u=n.findWrapping(a.type),c;if(!u)return s=null;if(c=s.length&&r.length&&WP(u,r,a,s[s.length-1],0))s[s.length-1]=c;else{s.length&&(s[s.length-1]=OP(s[s.length-1],r.length));let m=kP(a,u);s.push(m),n=n.matchType(m.type),r=u}}),s)return ge.from(s)}return t}function kP(t,e,o=0){for(let i=e.length-1;i>=o;i--)t=e[i].create(null,ge.from(t));return t}function WP(t,e,o,i,n){if(n<t.length&&n<e.length&&t[n]==e[n]){let r=WP(t,e,o,i.lastChild,n+1);if(r)return i.copy(i.content.replaceChild(i.childCount-1,r));if(i.contentMatchAt(i.childCount).matchType(n==t.length-1?o.type:t[n+1]))return i.copy(i.content.append(ge.from(kP(o,t,n+1))))}}function OP(t,e){if(e==0)return t;let o=t.content.replaceChild(t.childCount-1,OP(t.lastChild,e-1)),i=t.contentMatchAt(t.childCount).fillBefore(ge.empty,!0);return t.copy(o.append(i))}function GF(t,e,o,i,n,r){let s=e<0?t.firstChild:t.lastChild,a=s.content;return t.childCount>1&&(r=0),n<i-1&&(a=GF(a,e,o,i,n+1,r)),n>=o&&(a=e<0?s.contentMatchAt(0).fillBefore(a,r<=n).append(a):a.append(s.contentMatchAt(s.childCount).fillBefore(ge.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,s.copy(a))}function Rb(t,e,o){return e<t.openStart&&(t=new _e(GF(t.content,-1,e,t.openStart,0,t.openEnd),e,t.openEnd)),o<t.openEnd&&(t=new _e(GF(t.content,1,o,t.openEnd,0,0),t.openStart,o)),t}const MP={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let Db=null;function HP(){return Db||(Db=document.implementation.createHTMLDocument("title"))}let C0=null;function lJ(t){let e=window.trustedTypes;return e?(C0||(C0=e.defaultPolicy||e.createPolicy("ProseMirrorClipboard",{createHTML:o=>o})),C0.createHTML(t)):t}function uJ(t){let e=/^(\s*<meta [^>]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let o=HP().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(t),n;if((n=i&&MP[i[1].toLowerCase()])&&(t=n.map(r=>"<"+r+">").join("")+t+n.map(r=>"</"+r+">").reverse().join("")),o.innerHTML=lJ(t),n)for(let r=0;r<n.length;r++)o=o.querySelector(n[r])||o;return o}function dJ(t){let e=t.querySelectorAll(Qo?"span:not([class]):not([style])":"span.Apple-converted-space");for(let o=0;o<e.length;o++){let i=e[o];i.childNodes.length==1&&i.textContent==" "&&i.parentNode&&i.parentNode.replaceChild(t.ownerDocument.createTextNode(" "),i)}}function cJ(t,e){if(!t.size)return t;let o=t.content.firstChild.type.schema,i;try{i=JSON.parse(e)}catch{return t}let{content:n,openStart:r,openEnd:s}=t;for(let a=i.length-2;a>=0;a-=2){let u=o.nodes[i[a]];if(!u||u.hasRequiredAttrs())break;n=ge.from(u.create(i[a+1],n)),r++,s++}return new _e(n,r,s)}const gi={},Fi={},mJ={touchstart:!0,touchmove:!0};class fJ{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function hJ(t){for(let e in gi){let o=gi[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=i=>{CJ(t,i)&&!xT(t,i)&&(t.editable||!(i.type in Fi))&&o(t,i)},mJ[e]?{passive:!0}:void 0)}Ci&&t.dom.addEventListener("input",()=>null),KF(t)}function Os(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function pJ(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function KF(t){t.someProp("handleDOMEvents",e=>{for(let o in e)t.input.eventHandlers[o]||t.dom.addEventListener(o,t.input.eventHandlers[o]=i=>xT(t,i))})}function xT(t,e){return t.someProp("handleDOMEvents",o=>{let i=o[e.type];return i?i(t,e)||e.defaultPrevented:!1})}function CJ(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let o=e.target;o!=t.dom;o=o.parentNode)if(!o||o.nodeType==11||o.pmViewDesc&&o.pmViewDesc.stopEvent(e))return!1;return!0}function gJ(t,e){!xT(t,e)&&gi[e.type]&&(t.editable||!(e.type in Fi))&&gi[e.type](t,e)}Fi.keydown=(t,e)=>{let o=e;if(t.input.shiftKey=o.keyCode==16||o.shiftKey,!zP(t,o)&&(t.input.lastKeyCode=o.keyCode,t.input.lastKeyCodeTime=Date.now(),!(Xr&&Qo&&o.keyCode==13)))if(o.keyCode!=229&&t.domObserver.forceFlush(),Eu&&o.keyCode==13&&!o.ctrlKey&&!o.altKey&&!o.metaKey){let i=Date.now();t.input.lastIOSEnter=i,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==i&&(t.someProp("handleKeyDown",n=>n(t,_a(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",i=>i(t,o))||rJ(t,o)?o.preventDefault():Os(t,"key")};Fi.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};Fi.keypress=(t,e)=>{let o=e;if(zP(t,o)||!o.charCode||o.ctrlKey&&!o.altKey||fn&&o.metaKey)return;if(t.someProp("handleKeyPress",n=>n(t,o))){o.preventDefault();return}let i=t.state.selection;if(!(i instanceof ht)||!i.$from.sameParent(i.$to)){let n=String.fromCharCode(o.charCode),r=()=>t.state.tr.insertText(n).scrollIntoView();!/[\r\n]/.test(n)&&!t.someProp("handleTextInput",s=>s(t,i.$from.pos,i.$to.pos,n,r))&&t.dispatch(r()),o.preventDefault()}};function Kp(t){return{left:t.clientX,top:t.clientY}}function FJ(t,e){let o=e.x-t.clientX,i=e.y-t.clientY;return o*o+i*i<100}function bT(t,e,o,i,n){if(i==-1)return!1;let r=t.state.doc.resolve(i);for(let s=r.depth+1;s>0;s--)if(t.someProp(e,a=>s>r.depth?a(t,o,r.nodeAfter,r.before(s),n,!0):a(t,o,r.node(s),r.before(s),n,!1)))return!0;return!1}function du(t,e,o){if(t.focused||t.focus(),t.state.selection.eq(e))return;let i=t.state.tr.setSelection(e);i.setMeta("pointer",!0),t.dispatch(i)}function yJ(t,e){if(e==-1)return!1;let o=t.state.doc.resolve(e),i=o.nodeAfter;return i&&i.isAtom&&Xe.isSelectable(i)?(du(t,new Xe(o)),!0):!1}function TJ(t,e){if(e==-1)return!1;let o=t.state.selection,i,n;o instanceof Xe&&(i=o.node);let r=t.state.doc.resolve(e);for(let s=r.depth+1;s>0;s--){let a=s>r.depth?r.nodeAfter:r.node(s);if(Xe.isSelectable(a)){i&&o.$from.depth>0&&s>=o.$from.depth&&r.before(o.$from.depth+1)==o.$from.pos?n=r.before(o.$from.depth):n=r.before(s);break}}return n!=null?(du(t,Xe.create(t.state.doc,n)),!0):!1}function SJ(t,e,o,i,n){return bT(t,"handleClickOn",e,o,i)||t.someProp("handleClick",r=>r(t,e,i))||(n?TJ(t,o):yJ(t,o))}function BJ(t,e,o,i){return bT(t,"handleDoubleClickOn",e,o,i)||t.someProp("handleDoubleClick",n=>n(t,e,i))}function VJ(t,e,o,i){return bT(t,"handleTripleClickOn",e,o,i)||t.someProp("handleTripleClick",n=>n(t,e,i))||RJ(t,o,i)}function RJ(t,e,o){if(o.button!=0)return!1;let i=t.state.doc;if(e==-1)return i.inlineContent?(du(t,ht.create(i,0,i.content.size)),!0):!1;let n=i.resolve(e);for(let r=n.depth+1;r>0;r--){let s=r>n.depth?n.nodeAfter:n.node(r),a=n.before(r);if(s.inlineContent)du(t,ht.create(i,a+1,a+1+s.content.size));else if(Xe.isSelectable(s))du(t,Xe.create(i,a));else continue;return!0}}function LT(t){return Vh(t)}const $P=fn?"metaKey":"ctrlKey";gi.mousedown=(t,e)=>{let o=e;t.input.shiftKey=o.shiftKey;let i=LT(t),n=Date.now(),r="singleClick";n-t.input.lastClick.time<500&&FJ(o,t.input.lastClick)&&!o[$P]&&t.input.lastClick.button==o.button&&(t.input.lastClick.type=="singleClick"?r="doubleClick":t.input.lastClick.type=="doubleClick"&&(r="tripleClick")),t.input.lastClick={time:n,x:o.clientX,y:o.clientY,type:r,button:o.button};let s=t.posAtCoords(Kp(o));s&&(r=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new DJ(t,s,o,!!i)):(r=="doubleClick"?BJ:VJ)(t,s.pos,s.inside,o)?o.preventDefault():Os(t,"pointer"))};class DJ{constructor(e,o,i,n){this.view=e,this.pos=o,this.event=i,this.flushed=n,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!i[$P],this.allowDefault=i.shiftKey;let r,s;if(o.inside>-1)r=e.state.doc.nodeAt(o.inside),s=o.inside;else{let m=e.state.doc.resolve(o.pos);r=m.parent,s=m.depth?m.before():0}const a=n?null:i.target,u=a?e.docView.nearestDesc(a,!0):null;this.target=u&&u.nodeDOM.nodeType==1?u.nodeDOM:null;let{selection:c}=e.state;(i.button==0&&r.type.spec.draggable&&r.type.spec.selectable!==!1||c instanceof Xe&&c.from<=s&&c.to>s)&&(this.mightDrag={node:r,pos:s,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&yn&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Os(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>is(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let o=this.pos;this.view.state.doc!=this.startDoc&&(o=this.view.posAtCoords(Kp(e))),this.updateAllowDefault(e),this.allowDefault||!o?Os(this.view,"pointer"):SJ(this.view,o.pos,o.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Ci&&this.mightDrag&&!this.mightDrag.node.isAtom||Qo&&!this.view.state.selection.visible&&Math.min(Math.abs(o.pos-this.view.state.selection.from),Math.abs(o.pos-this.view.state.selection.to))<=2)?(du(this.view,Bt.near(this.view.state.doc.resolve(o.pos))),e.preventDefault()):Os(this.view,"pointer")}move(e){this.updateAllowDefault(e),Os(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}gi.touchstart=t=>{t.input.lastTouch=Date.now(),LT(t),Os(t,"pointer")};gi.touchmove=t=>{t.input.lastTouch=Date.now(),Os(t,"pointer")};gi.contextmenu=t=>LT(t);function zP(t,e){return t.composing?!0:Ci&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const xJ=Xr?5e3:-1;Fi.compositionstart=Fi.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,o=e.selection.$to;if(e.selection instanceof ht&&(e.storedMarks||!o.textOffset&&o.parentOffset&&o.nodeBefore.marks.some(i=>i.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||o.marks(),Vh(t,!0),t.markCursor=null;else if(Vh(t,!e.selection.empty),yn&&e.selection.empty&&o.parentOffset&&!o.textOffset&&o.nodeBefore.marks.length){let i=t.domSelectionRange();for(let n=i.focusNode,r=i.focusOffset;n&&n.nodeType==1&&r!=0;){let s=r<0?n.lastChild:n.childNodes[r-1];if(!s)break;if(s.nodeType==3){let a=t.domSelection();a&&a.collapse(s,s.nodeValue.length);break}else n=s,r=-1}}t.input.composing=!0}UP(t,xJ)};Fi.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,UP(t,20))};function UP(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>Vh(t),e))}function jP(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=LJ());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function bJ(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let o=yY(e.focusNode,e.focusOffset),i=TY(e.focusNode,e.focusOffset);if(o&&i&&o!=i){let n=i.pmViewDesc,r=t.domObserver.lastChangedTextNode;if(o==r||i==r)return r;if(!n||!n.isText(i.nodeValue))return i;if(t.input.compositionNode==i){let s=o.pmViewDesc;if(!(!s||!s.isText(o.nodeValue)))return i}}return o||i}function LJ(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function Vh(t,e=!1){if(!(Xr&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),jP(t),e||t.docView&&t.docView.dirty){let o=VT(t),i=t.state.selection;return o&&!o.eq(i)?t.dispatch(t.state.tr.setSelection(o)):(t.markCursor||e)&&!i.$from.node(i.$from.sharedDepth(i.to)).inlineContent?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}function EJ(t,e){if(!t.dom.parentNode)return;let o=t.dom.parentNode.appendChild(document.createElement("div"));o.appendChild(e),o.style.cssText="position: fixed; left: -10000px; top: 10px";let i=getSelection(),n=document.createRange();n.selectNodeContents(e),t.dom.blur(),i.removeAllRanges(),i.addRange(n),setTimeout(()=>{o.parentNode&&o.parentNode.removeChild(o),t.focus()},50)}const Cc=Li&&zs<15||Eu&&DY<604;gi.copy=Fi.cut=(t,e)=>{let o=e,i=t.state.selection,n=o.type=="cut";if(i.empty)return;let r=Cc?null:o.clipboardData,s=i.content(),{dom:a,text:u}=DT(t,s);r?(o.preventDefault(),r.clearData(),r.setData("text/html",a.innerHTML),r.setData("text/plain",u)):EJ(t,a),n&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function vJ(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function NJ(t,e){if(!t.dom.parentNode)return;let o=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,i=t.dom.parentNode.appendChild(document.createElement(o?"textarea":"div"));o||(i.contentEditable="true"),i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus();let n=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),i.parentNode&&i.parentNode.removeChild(i),o?gc(t,i.value,null,n,e):gc(t,i.textContent,i.innerHTML,n,e)},50)}function gc(t,e,o,i,n){let r=wP(t,e,o,i,t.state.selection.$from);if(t.someProp("handlePaste",u=>u(t,n,r||_e.empty)))return!0;if(!r)return!1;let s=vJ(r),a=s?t.state.tr.replaceSelectionWith(s,i):t.state.tr.replaceSelection(r);return t.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function GP(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let o=t.getData("text/uri-list");return o?o.replace(/\r?\n/g," "):""}Fi.paste=(t,e)=>{let o=e;if(t.composing&&!Xr)return;let i=Cc?null:o.clipboardData,n=t.input.shiftKey&&t.input.lastKeyCode!=45;i&&gc(t,GP(i),i.getData("text/html"),n,o)?o.preventDefault():NJ(t,o)};class KP{constructor(e,o,i){this.slice=e,this.move=o,this.node=i}}const PJ=fn?"altKey":"ctrlKey";function qP(t,e){let o=t.someProp("dragCopies",i=>!i(e));return o??!e[PJ]}gi.dragstart=(t,e)=>{let o=e,i=t.input.mouseDown;if(i&&i.done(),!o.dataTransfer)return;let n=t.state.selection,r=n.empty?null:t.posAtCoords(Kp(o)),s;if(!(r&&r.pos>=n.from&&r.pos<=(n instanceof Xe?n.to-1:n.to))){if(i&&i.mightDrag)s=Xe.create(t.state.doc,i.mightDrag.pos);else if(o.target&&o.target.nodeType==1){let f=t.docView.nearestDesc(o.target,!0);f&&f.node.type.spec.draggable&&f!=t.docView&&(s=Xe.create(t.state.doc,f.posBefore))}}let a=(s||t.state.selection).content(),{dom:u,text:c,slice:m}=DT(t,a);(!o.dataTransfer.files.length||!Qo||TP>120)&&o.dataTransfer.clearData(),o.dataTransfer.setData(Cc?"Text":"text/html",u.innerHTML),o.dataTransfer.effectAllowed="copyMove",Cc||o.dataTransfer.setData("text/plain",c),t.dragging=new KP(m,qP(t,o),s)};gi.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};Fi.dragover=Fi.dragenter=(t,e)=>e.preventDefault();Fi.drop=(t,e)=>{let o=e,i=t.dragging;if(t.dragging=null,!o.dataTransfer)return;let n=t.posAtCoords(Kp(o));if(!n)return;let r=t.state.doc.resolve(n.pos),s=i&&i.slice;s?t.someProp("transformPasted",F=>{s=F(s,t,!1)}):s=wP(t,GP(o.dataTransfer),Cc?null:o.dataTransfer.getData("text/html"),!1,r);let a=!!(i&&qP(t,o));if(t.someProp("handleDrop",F=>F(t,o,s||_e.empty,a))){o.preventDefault();return}if(!s)return;o.preventDefault();let u=s?sY(t.state.doc,r.pos,s):r.pos;u==null&&(u=r.pos);let c=t.state.tr;if(a){let{node:F}=i;F?F.replace(c):c.deleteSelection()}let m=c.mapping.map(u),f=s.openStart==0&&s.openEnd==0&&s.content.childCount==1,p=c.doc;if(f?c.replaceRangeWith(m,m,s.content.firstChild):c.replaceRange(m,m,s),c.doc.eq(p))return;let C=c.doc.resolve(m);if(f&&Xe.isSelectable(s.content.firstChild)&&C.nodeAfter&&C.nodeAfter.sameMarkup(s.content.firstChild))c.setSelection(new Xe(C));else{let F=c.mapping.map(u);c.mapping.maps[c.mapping.maps.length-1].forEach((y,T,B,v)=>F=v),c.setSelection(RT(t,C,c.doc.resolve(F)))}t.focus(),t.dispatch(c.setMeta("uiEvent","drop"))};gi.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&is(t)},20))};gi.blur=(t,e)=>{let o=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),o.relatedTarget&&t.dom.contains(o.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};gi.beforeinput=(t,e)=>{if(Qo&&Xr&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:i}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=i||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",r=>r(t,_a(8,"Backspace")))))return;let{$cursor:n}=t.state.selection;n&&n.pos>0&&t.dispatch(t.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let t in Fi)gi[t]=Fi[t];function Fc(t,e){if(t==e)return!0;for(let o in t)if(t[o]!==e[o])return!1;for(let o in e)if(!(o in t))return!1;return!0}class Rh{constructor(e,o){this.toDOM=e,this.spec=o||qa,this.side=this.spec.side||0}map(e,o,i,n){let{pos:r,deleted:s}=e.mapResult(o.from+n,this.side<0?-1:1);return s?null:new Cn(r-i,r-i,this)}valid(){return!0}eq(e){return this==e||e instanceof Rh&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Fc(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class js{constructor(e,o){this.attrs=e,this.spec=o||qa}map(e,o,i,n){let r=e.map(o.from+n,this.spec.inclusiveStart?-1:1)-i,s=e.map(o.to+n,this.spec.inclusiveEnd?1:-1)-i;return r>=s?null:new Cn(r,s,this)}valid(e,o){return o.from<o.to}eq(e){return this==e||e instanceof js&&Fc(this.attrs,e.attrs)&&Fc(this.spec,e.spec)}static is(e){return e.type instanceof js}destroy(){}}class ET{constructor(e,o){this.attrs=e,this.spec=o||qa}map(e,o,i,n){let r=e.mapResult(o.from+n,1);if(r.deleted)return null;let s=e.mapResult(o.to+n,-1);return s.deleted||s.pos<=r.pos?null:new Cn(r.pos-i,s.pos-i,this)}valid(e,o){let{index:i,offset:n}=e.content.findIndex(o.from),r;return n==o.from&&!(r=e.child(i)).isText&&n+r.nodeSize==o.to}eq(e){return this==e||e instanceof ET&&Fc(this.attrs,e.attrs)&&Fc(this.spec,e.spec)}destroy(){}}class Cn{constructor(e,o,i){this.from=e,this.to=o,this.type=i}copy(e,o){return new Cn(e,o,this.type)}eq(e,o=0){return this.type.eq(e.type)&&this.from+o==e.from&&this.to+o==e.to}map(e,o,i){return this.type.map(e,this,o,i)}static widget(e,o,i){return new Cn(e,e,new Rh(o,i))}static inline(e,o,i,n){return new Cn(e,o,new js(i,n))}static node(e,o,i,n){return new Cn(e,o,new ET(i,n))}get spec(){return this.type.spec}get inline(){return this.type instanceof js}get widget(){return this.type instanceof Rh}}const Kl=[],qa={};class Fo{constructor(e,o){this.local=e.length?e:Kl,this.children=o.length?o:Kl}static create(e,o){return o.length?Dh(o,e,0,qa):Yo}find(e,o,i){let n=[];return this.findInner(e??0,o??1e9,n,0,i),n}findInner(e,o,i,n,r){for(let s=0;s<this.local.length;s++){let a=this.local[s];a.from<=o&&a.to>=e&&(!r||r(a.spec))&&i.push(a.copy(a.from+n,a.to+n))}for(let s=0;s<this.children.length;s+=3)if(this.children[s]<o&&this.children[s+1]>e){let a=this.children[s]+1;this.children[s+2].findInner(e-a,o-a,i,n+a,r)}}map(e,o,i){return this==Yo||e.maps.length==0?this:this.mapInner(e,o,0,0,i||qa)}mapInner(e,o,i,n,r){let s;for(let a=0;a<this.local.length;a++){let u=this.local[a].map(e,i,n);u&&u.type.valid(o,u)?(s||(s=[])).push(u):r.onRemove&&r.onRemove(this.local[a].spec)}return this.children.length?_J(this.children,s||[],e,o,i,n,r):s?new Fo(s.sort(Ya),Kl):Yo}add(e,o){return o.length?this==Yo?Fo.create(e,o):this.addInner(e,o,0):this}addInner(e,o,i){let n,r=0;e.forEach((a,u)=>{let c=u+i,m;if(m=JP(o,a,c)){for(n||(n=this.children.slice());r<n.length&&n[r]<u;)r+=3;n[r]==u?n[r+2]=n[r+2].addInner(a,m,c+1):n.splice(r,0,u,u+a.nodeSize,Dh(m,a,c+1,qa)),r+=3}});let s=YP(r?ZP(o):o,-i);for(let a=0;a<s.length;a++)s[a].type.valid(e,s[a])||s.splice(a--,1);return new Fo(s.length?this.local.concat(s).sort(Ya):this.local,n||this.children)}remove(e){return e.length==0||this==Yo?this:this.removeInner(e,0)}removeInner(e,o){let i=this.children,n=this.local;for(let r=0;r<i.length;r+=3){let s,a=i[r]+o,u=i[r+1]+o;for(let m=0,f;m<e.length;m++)(f=e[m])&&f.from>a&&f.to<u&&(e[m]=null,(s||(s=[])).push(f));if(!s)continue;i==this.children&&(i=this.children.slice());let c=i[r+2].removeInner(s,a+1);c!=Yo?i[r+2]=c:(i.splice(r,3),r-=3)}if(n.length){for(let r=0,s;r<e.length;r++)if(s=e[r])for(let a=0;a<n.length;a++)n[a].eq(s,o)&&(n==this.local&&(n=this.local.slice()),n.splice(a--,1))}return i==this.children&&n==this.local?this:n.length||i.length?new Fo(n,i):Yo}forChild(e,o){if(this==Yo)return this;if(o.isLeaf)return Fo.empty;let i,n;for(let a=0;a<this.children.length;a+=3)if(this.children[a]>=e){this.children[a]==e&&(i=this.children[a+2]);break}let r=e+1,s=r+o.content.size;for(let a=0;a<this.local.length;a++){let u=this.local[a];if(u.from<s&&u.to>r&&u.type instanceof js){let c=Math.max(r,u.from)-r,m=Math.min(s,u.to)-r;c<m&&(n||(n=[])).push(u.copy(c,m))}}if(n){let a=new Fo(n.sort(Ya),Kl);return i?new Is([a,i]):a}return i||Yo}eq(e){if(this==e)return!0;if(!(e instanceof Fo)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let o=0;o<this.local.length;o++)if(!this.local[o].eq(e.local[o]))return!1;for(let o=0;o<this.children.length;o+=3)if(this.children[o]!=e.children[o]||this.children[o+1]!=e.children[o+1]||!this.children[o+2].eq(e.children[o+2]))return!1;return!0}locals(e){return vT(this.localsInner(e))}localsInner(e){if(this==Yo)return Kl;if(e.inlineContent||!this.local.some(js.is))return this.local;let o=[];for(let i=0;i<this.local.length;i++)this.local[i].type instanceof js||o.push(this.local[i]);return o}forEachSet(e){e(this)}}Fo.empty=new Fo([],[]);Fo.removeOverlap=vT;const Yo=Fo.empty;class Is{constructor(e){this.members=e}map(e,o){const i=this.members.map(n=>n.map(e,o,qa));return Is.from(i)}forChild(e,o){if(o.isLeaf)return Fo.empty;let i=[];for(let n=0;n<this.members.length;n++){let r=this.members[n].forChild(e,o);r!=Yo&&(r instanceof Is?i=i.concat(r.members):i.push(r))}return Is.from(i)}eq(e){if(!(e instanceof Is)||e.members.length!=this.members.length)return!1;for(let o=0;o<this.members.length;o++)if(!this.members[o].eq(e.members[o]))return!1;return!0}locals(e){let o,i=!0;for(let n=0;n<this.members.length;n++){let r=this.members[n].localsInner(e);if(r.length)if(!o)o=r;else{i&&(o=o.slice(),i=!1);for(let s=0;s<r.length;s++)o.push(r[s])}}return o?vT(i?o:o.sort(Ya)):Kl}static from(e){switch(e.length){case 0:return Yo;case 1:return e[0];default:return new Is(e.every(o=>o instanceof Fo)?e:e.reduce((o,i)=>o.concat(i instanceof Fo?i:i.members),[]))}}forEachSet(e){for(let o=0;o<this.members.length;o++)this.members[o].forEachSet(e)}}function _J(t,e,o,i,n,r,s){let a=t.slice();for(let c=0,m=r;c<o.maps.length;c++){let f=0;o.maps[c].forEach((p,C,F,y)=>{let T=y-F-(C-p);for(let B=0;B<a.length;B+=3){let v=a[B+1];if(v<0||p>v+m-f)continue;let D=a[B]+m-f;C>=D?a[B+1]=p<=D?-2:-1:p>=m&&T&&(a[B]+=T,a[B+1]+=T)}f+=T}),m=o.maps[c].map(m,-1)}let u=!1;for(let c=0;c<a.length;c+=3)if(a[c+1]<0){if(a[c+1]==-2){u=!0,a[c+1]=-1;continue}let m=o.map(t[c]+r),f=m-n;if(f<0||f>=i.content.size){u=!0;continue}let p=o.map(t[c+1]+r,-1),C=p-n,{index:F,offset:y}=i.content.findIndex(f),T=i.maybeChild(F);if(T&&y==f&&y+T.nodeSize==C){let B=a[c+2].mapInner(o,T,m+1,t[c]+r+1,s);B!=Yo?(a[c]=f,a[c+1]=C,a[c+2]=B):(a[c+1]=-2,u=!0)}else u=!0}if(u){let c=AJ(a,t,e,o,n,r,s),m=Dh(c,i,0,s);e=m.local;for(let f=0;f<a.length;f+=3)a[f+1]<0&&(a.splice(f,3),f-=3);for(let f=0,p=0;f<m.children.length;f+=3){let C=m.children[f];for(;p<a.length&&a[p]<C;)p+=3;a.splice(p,0,m.children[f],m.children[f+1],m.children[f+2])}}return new Fo(e.sort(Ya),a)}function YP(t,e){if(!e||!t.length)return t;let o=[];for(let i=0;i<t.length;i++){let n=t[i];o.push(new Cn(n.from+e,n.to+e,n.type))}return o}function AJ(t,e,o,i,n,r,s){function a(u,c){for(let m=0;m<u.local.length;m++){let f=u.local[m].map(i,n,c);f?o.push(f):s.onRemove&&s.onRemove(u.local[m].spec)}for(let m=0;m<u.children.length;m+=3)a(u.children[m+2],u.children[m]+c+1)}for(let u=0;u<t.length;u+=3)t[u+1]==-1&&a(t[u+2],e[u]+r+1);return o}function JP(t,e,o){if(e.isLeaf)return null;let i=o+e.nodeSize,n=null;for(let r=0,s;r<t.length;r++)(s=t[r])&&s.from>o&&s.to<i&&((n||(n=[])).push(s),t[r]=null);return n}function ZP(t){let e=[];for(let o=0;o<t.length;o++)t[o]!=null&&e.push(t[o]);return e}function Dh(t,e,o,i){let n=[],r=!1;e.forEach((a,u)=>{let c=JP(t,a,u+o);if(c){r=!0;let m=Dh(c,a,o+u+1,i);m!=Yo&&n.push(u,u+a.nodeSize,m)}});let s=YP(r?ZP(t):t,-o).sort(Ya);for(let a=0;a<s.length;a++)s[a].type.valid(e,s[a])||(i.onRemove&&i.onRemove(s[a].spec),s.splice(a--,1));return s.length||n.length?new Fo(s,n):Yo}function Ya(t,e){return t.from-e.from||t.to-e.to}function vT(t){let e=t;for(let o=0;o<e.length-1;o++){let i=e[o];if(i.from!=i.to)for(let n=o+1;n<e.length;n++){let r=e[n];if(r.from==i.from){r.to!=i.to&&(e==t&&(e=t.slice()),e[n]=r.copy(r.from,i.to),xb(e,n+1,r.copy(i.to,r.to)));continue}else{r.from<i.to&&(e==t&&(e=t.slice()),e[o]=i.copy(i.from,r.from),xb(e,n,i.copy(r.from,i.to)));break}}}return e}function xb(t,e,o){for(;e<t.length&&Ya(o,t[e])>0;)e++;t.splice(e,0,o)}function g0(t){let e=[];return t.someProp("decorations",o=>{let i=o(t.state);i&&i!=Yo&&e.push(i)}),t.cursorWrapper&&e.push(Fo.create(t.state.doc,[t.cursorWrapper.deco])),Is.from(e)}const IJ={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},wJ=Li&&zs<=11;class kJ{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class WJ{constructor(e,o){this.view=e,this.handleDOMChange=o,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new kJ,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(i=>{for(let n=0;n<i.length;n++)this.queue.push(i[n]);Li&&zs<=11&&i.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),wJ&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,IJ)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let o=0;o<e.length;o++)this.queue.push(e[o]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Fb(this.view)){if(this.suppressingSelectionUpdates)return is(this.view);if(Li&&zs<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&sl(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let o=new Set,i;for(let r=e.focusNode;r;r=Lu(r))o.add(r);for(let r=e.anchorNode;r;r=Lu(r))if(o.has(r)){i=r;break}let n=i&&this.view.docView.nearestDesc(i);if(n&&n.ignoreMutation({type:"selection",target:i.nodeType==3?i.parentNode:i}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let o=this.pendingRecords();o.length&&(this.queue=[]);let i=e.domSelectionRange(),n=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(i)&&Fb(e)&&!this.ignoreSelectionChange(i),r=-1,s=-1,a=!1,u=[];if(e.editable)for(let m=0;m<o.length;m++){let f=this.registerMutation(o[m],u);f&&(r=r<0?f.from:Math.min(f.from,r),s=s<0?f.to:Math.max(f.to,s),f.typeOver&&(a=!0))}if(yn&&u.length){let m=u.filter(f=>f.nodeName=="BR");if(m.length==2){let[f,p]=m;f.parentNode&&f.parentNode.parentNode==p.parentNode?p.remove():f.remove()}else{let{focusNode:f}=this.currentSelection;for(let p of m){let C=p.parentNode;C&&C.nodeName=="LI"&&(!f||HJ(e,f)!=C)&&p.remove()}}}let c=null;r<0&&n&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&jp(i)&&(c=VT(e))&&c.eq(Bt.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,is(e),this.currentSelection.set(i),e.scrollToSelection()):(r>-1||n)&&(r>-1&&(e.docView.markDirty(r,s),OJ(e)),this.handleDOMChange(r,s,a,u),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(i)||is(e),this.currentSelection.set(i))}registerMutation(e,o){if(o.indexOf(e.target)>-1)return null;let i=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(i==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!i||i.ignoreMutation(e))return null;if(e.type=="childList"){for(let m=0;m<e.addedNodes.length;m++){let f=e.addedNodes[m];o.push(f),f.nodeType==3&&(this.lastChangedTextNode=f)}if(i.contentDOM&&i.contentDOM!=i.dom&&!i.contentDOM.contains(e.target))return{from:i.posBefore,to:i.posAfter};let n=e.previousSibling,r=e.nextSibling;if(Li&&zs<=11&&e.addedNodes.length)for(let m=0;m<e.addedNodes.length;m++){let{previousSibling:f,nextSibling:p}=e.addedNodes[m];(!f||Array.prototype.indexOf.call(e.addedNodes,f)<0)&&(n=f),(!p||Array.prototype.indexOf.call(e.addedNodes,p)<0)&&(r=p)}let s=n&&n.parentNode==e.target?Oo(n)+1:0,a=i.localPosFromDOM(e.target,s,-1),u=r&&r.parentNode==e.target?Oo(r):e.target.childNodes.length,c=i.localPosFromDOM(e.target,u,1);return{from:a,to:c}}else return e.type=="attributes"?{from:i.posAtStart-i.border,to:i.posAtEnd+i.border}:(this.lastChangedTextNode=e.target,{from:i.posAtStart,to:i.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let bb=new WeakMap,Lb=!1;function OJ(t){if(!bb.has(t)&&(bb.set(t,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace)!==-1)){if(t.requiresGeckoHackNode=yn,Lb)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),Lb=!0}}function Eb(t,e){let o=e.startContainer,i=e.startOffset,n=e.endContainer,r=e.endOffset,s=t.domAtPos(t.state.selection.anchor);return sl(s.node,s.offset,n,r)&&([o,i,n,r]=[n,r,o,i]),{anchorNode:o,anchorOffset:i,focusNode:n,focusOffset:r}}function MJ(t,e){if(e.getComposedRanges){let n=e.getComposedRanges(t.root)[0];if(n)return Eb(t,n)}let o;function i(n){n.preventDefault(),n.stopImmediatePropagation(),o=n.getTargetRanges()[0]}return t.dom.addEventListener("beforeinput",i,!0),document.execCommand("indent"),t.dom.removeEventListener("beforeinput",i,!0),o?Eb(t,o):null}function HJ(t,e){for(let o=e.parentNode;o&&o!=t.dom;o=o.parentNode){let i=t.docView.nearestDesc(o,!0);if(i&&i.node.isBlock)return o}return null}function $J(t,e,o){let{node:i,fromOffset:n,toOffset:r,from:s,to:a}=t.docView.parseRange(e,o),u=t.domSelectionRange(),c,m=u.anchorNode;if(m&&t.dom.contains(m.nodeType==1?m:m.parentNode)&&(c=[{node:m,offset:u.anchorOffset}],jp(u)||c.push({node:u.focusNode,offset:u.focusOffset})),Qo&&t.input.lastKeyCode===8)for(let T=r;T>n;T--){let B=i.childNodes[T-1],v=B.pmViewDesc;if(B.nodeName=="BR"&&!v){r=T;break}if(!v||v.size)break}let f=t.state.doc,p=t.someProp("domParser")||$s.fromSchema(t.state.schema),C=f.resolve(s),F=null,y=p.parse(i,{topNode:C.parent,topMatch:C.parent.contentMatchAt(C.index()),topOpen:!0,from:n,to:r,preserveWhitespace:C.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:zJ,context:C});if(c&&c[0].pos!=null){let T=c[0].pos,B=c[1]&&c[1].pos;B==null&&(B=T),F={anchor:T+s,head:B+s}}return{doc:y,sel:F,from:s,to:a}}function zJ(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(Ci&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let o=document.createElement("div");return o.appendChild(document.createElement("li")),{skip:o}}else if(t.parentNode.lastChild==t||Ci&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const UJ=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function jJ(t,e,o,i,n){let r=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let P=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,U=VT(t,P);if(U&&!t.state.selection.eq(U)){if(Qo&&Xr&&t.input.lastKeyCode===13&&Date.now()-100<t.input.lastKeyCodeTime&&t.someProp("handleKeyDown",de=>de(t,_a(13,"Enter"))))return;let k=t.state.tr.setSelection(U);P=="pointer"?k.setMeta("pointer",!0):P=="key"&&k.scrollIntoView(),r&&k.setMeta("composition",r),t.dispatch(k)}return}let s=t.state.doc.resolve(e),a=s.sharedDepth(o);e=s.before(a+1),o=t.state.doc.resolve(o).after(a+1);let u=t.state.selection,c=$J(t,e,o),m=t.state.doc,f=m.slice(c.from,c.to),p,C;t.input.lastKeyCode===8&&Date.now()-100<t.input.lastKeyCodeTime?(p=t.state.selection.to,C="end"):(p=t.state.selection.from,C="start"),t.input.lastKeyCode=null;let F=qJ(f.content,c.doc.content,c.from,p,C);if(F&&t.input.domChangeCount++,(Eu&&t.input.lastIOSEnter>Date.now()-225||Xr)&&n.some(P=>P.nodeType==1&&!UJ.test(P.nodeName))&&(!F||F.endA>=F.endB)&&t.someProp("handleKeyDown",P=>P(t,_a(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!F)if(i&&u instanceof ht&&!u.empty&&u.$head.sameParent(u.$anchor)&&!t.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))F={start:u.from,endA:u.to,endB:u.to};else{if(c.sel){let P=vb(t,t.state.doc,c.sel);if(P&&!P.eq(t.state.selection)){let U=t.state.tr.setSelection(P);r&&U.setMeta("composition",r),t.dispatch(U)}}return}t.state.selection.from<t.state.selection.to&&F.start==F.endB&&t.state.selection instanceof ht&&(F.start>t.state.selection.from&&F.start<=t.state.selection.from+2&&t.state.selection.from>=c.from?F.start=t.state.selection.from:F.endA<t.state.selection.to&&F.endA>=t.state.selection.to-2&&t.state.selection.to<=c.to&&(F.endB+=t.state.selection.to-F.endA,F.endA=t.state.selection.to)),Li&&zs<=11&&F.endB==F.start+1&&F.endA==F.start&&F.start>c.from&&c.doc.textBetween(F.start-c.from-1,F.start-c.from+1)==" "&&(F.start--,F.endA--,F.endB--);let y=c.doc.resolveNoCache(F.start-c.from),T=c.doc.resolveNoCache(F.endB-c.from),B=m.resolve(F.start),v=y.sameParent(T)&&y.parent.inlineContent&&B.end()>=F.endA;if((Eu&&t.input.lastIOSEnter>Date.now()-225&&(!v||n.some(P=>P.nodeName=="DIV"||P.nodeName=="P"))||!v&&y.pos<c.doc.content.size&&(!y.sameParent(T)||!y.parent.inlineContent)&&y.pos<T.pos&&!/\S/.test(c.doc.textBetween(y.pos,T.pos,"","")))&&t.someProp("handleKeyDown",P=>P(t,_a(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>F.start&&KJ(m,F.start,F.endA,y,T)&&t.someProp("handleKeyDown",P=>P(t,_a(8,"Backspace")))){Xr&&Qo&&t.domObserver.suppressSelectionUpdates();return}Qo&&F.endB==F.start&&(t.input.lastChromeDelete=Date.now()),Xr&&!v&&y.start()!=T.start()&&T.parentOffset==0&&y.depth==T.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==F.endA&&(F.endB-=2,T=c.doc.resolveNoCache(F.endB-c.from),setTimeout(()=>{t.someProp("handleKeyDown",function(P){return P(t,_a(13,"Enter"))})},20));let D=F.start,R=F.endA,N=P=>{let U=P||t.state.tr.replace(D,R,c.doc.slice(F.start-c.from,F.endB-c.from));if(c.sel){let k=vb(t,U.doc,c.sel);k&&!(Qo&&t.composing&&k.empty&&(F.start!=F.endB||t.input.lastChromeDelete<Date.now()-100)&&(k.head==D||k.head==U.mapping.map(R)-1)||Li&&k.empty&&k.head==D)&&U.setSelection(k)}return r&&U.setMeta("composition",r),U.scrollIntoView()},_;if(v)if(y.pos==T.pos){Li&&zs<=11&&y.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>is(t),20));let P=N(t.state.tr.delete(D,R)),U=m.resolve(F.start).marksAcross(m.resolve(F.endA));U&&P.ensureMarks(U),t.dispatch(P)}else if(F.endA==F.endB&&(_=GJ(y.parent.content.cut(y.parentOffset,T.parentOffset),B.parent.content.cut(B.parentOffset,F.endA-B.start())))){let P=N(t.state.tr);_.type=="add"?P.addMark(D,R,_.mark):P.removeMark(D,R,_.mark),t.dispatch(P)}else if(y.parent.child(y.index()).isText&&y.index()==T.index()-(T.textOffset?0:1)){let P=y.parent.textBetween(y.parentOffset,T.parentOffset),U=()=>N(t.state.tr.insertText(P,D,R));t.someProp("handleTextInput",k=>k(t,D,R,P,U))||t.dispatch(U())}else t.dispatch(N());else t.dispatch(N())}function vb(t,e,o){return Math.max(o.anchor,o.head)>e.content.size?null:RT(t,e.resolve(o.anchor),e.resolve(o.head))}function GJ(t,e){let o=t.firstChild.marks,i=e.firstChild.marks,n=o,r=i,s,a,u;for(let m=0;m<i.length;m++)n=i[m].removeFromSet(n);for(let m=0;m<o.length;m++)r=o[m].removeFromSet(r);if(n.length==1&&r.length==0)a=n[0],s="add",u=m=>m.mark(a.addToSet(m.marks));else if(n.length==0&&r.length==1)a=r[0],s="remove",u=m=>m.mark(a.removeFromSet(m.marks));else return null;let c=[];for(let m=0;m<e.childCount;m++)c.push(u(e.child(m)));if(ge.from(c).eq(t))return{mark:a,type:s}}function KJ(t,e,o,i,n){if(o-e<=n.pos-i.pos||F0(i,!0,!1)<n.pos)return!1;let r=t.resolve(e);if(!i.parent.isTextblock){let a=r.nodeAfter;return a!=null&&o==e+a.nodeSize}if(r.parentOffset<r.parent.content.size||!r.parent.isTextblock)return!1;let s=t.resolve(F0(r,!0,!0));return!s.parent.isTextblock||s.pos>o||F0(s,!0,!1)<o?!1:i.parent.content.cut(i.parentOffset).eq(s.parent.content)}function F0(t,e,o){let i=t.depth,n=e?t.end():t.pos;for(;i>0&&(e||t.indexAfter(i)==t.node(i).childCount);)i--,n++,e=!1;if(o){let r=t.node(i).maybeChild(t.indexAfter(i));for(;r&&!r.isLeaf;)r=r.firstChild,n++}return n}function qJ(t,e,o,i,n){let r=t.findDiffStart(e,o);if(r==null)return null;let{a:s,b:a}=t.findDiffEnd(e,o+t.size,o+e.size);if(n=="end"){let u=Math.max(0,r-Math.min(s,a));i-=s+u-r}if(s<r&&t.size<e.size){let u=i<=r&&i>=s?r-i:0;r-=u,r&&r<e.size&&Nb(e.textBetween(r-1,r+1))&&(r+=u?1:-1),a=r+(a-s),s=r}else if(a<r){let u=i<=r&&i>=a?r-i:0;r-=u,r&&r<t.size&&Nb(t.textBetween(r-1,r+1))&&(r+=u?1:-1),s=r+(s-a),a=r}return{start:r,endA:s,endB:a}}function Nb(t){if(t.length!=2)return!1;let e=t.charCodeAt(0),o=t.charCodeAt(1);return e>=56320&&e<=57343&&o>=55296&&o<=56319}class XP{constructor(e,o){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new fJ,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=o,this.state=o.state,this.directPlugins=o.plugins||[],this.directPlugins.forEach(wb),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Ab(this),_b(this),this.nodeViews=Ib(this),this.docView=mb(this.state.doc,Pb(this),g0(this),this.dom,this),this.domObserver=new WJ(this,(i,n,r,s)=>jJ(this,i,n,r,s)),this.domObserver.start(),hJ(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let o in e)this._props[o]=e[o];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&KF(this);let o=this._props;this._props=e,e.plugins&&(e.plugins.forEach(wb),this.directPlugins=e.plugins),this.updateStateInner(e.state,o)}setProps(e){let o={};for(let i in this._props)o[i]=this._props[i];o.state=this.state;for(let i in e)o[i]=e[i];this.update(o)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,o){var i;let n=this.state,r=!1,s=!1;e.storedMarks&&this.composing&&(jP(this),s=!0),this.state=e;let a=n.plugins!=e.plugins||this._props.plugins!=o.plugins;if(a||this._props.plugins!=o.plugins||this._props.nodeViews!=o.nodeViews){let C=Ib(this);JJ(C,this.nodeViews)&&(this.nodeViews=C,r=!0)}(a||o.handleDOMEvents!=this._props.handleDOMEvents)&&KF(this),this.editable=Ab(this),_b(this);let u=g0(this),c=Pb(this),m=n.plugins!=e.plugins&&!n.doc.eq(e.doc)?"reset":e.scrollToSelection>n.scrollToSelection?"to selection":"preserve",f=r||!this.docView.matchesNode(e.doc,c,u);(f||!e.selection.eq(n.selection))&&(s=!0);let p=m=="preserve"&&s&&this.dom.style.overflowAnchor==null&&LY(this);if(s){this.domObserver.stop();let C=f&&(Li||Qo)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&YJ(n.selection,e.selection);if(f){let F=Qo?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=bJ(this)),(r||!this.docView.update(e.doc,c,u,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=mb(e.doc,c,u,this.dom,this)),F&&!this.trackWrites&&(C=!0)}C||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&XY(this))?is(this,C):(_P(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(n),!((i=this.dragging)===null||i===void 0)&&i.node&&!n.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,n),m=="reset"?this.dom.scrollTop=0:m=="to selection"?this.scrollToSelection():p&&EY(p)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",o=>o(this)))if(this.state.selection instanceof Xe){let o=this.docView.domAfterPos(this.state.selection.from);o.nodeType==1&&sb(this,o.getBoundingClientRect(),e)}else sb(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let o=0;o<this.directPlugins.length;o++){let i=this.directPlugins[o];i.spec.view&&this.pluginViews.push(i.spec.view(this))}for(let o=0;o<this.state.plugins.length;o++){let i=this.state.plugins[o];i.spec.view&&this.pluginViews.push(i.spec.view(this))}}else for(let o=0;o<this.pluginViews.length;o++){let i=this.pluginViews[o];i.update&&i.update(this,e)}}updateDraggedNode(e,o){let i=e.node,n=-1;if(this.state.doc.nodeAt(i.from)==i.node)n=i.from;else{let r=i.from+(this.state.doc.content.size-o.doc.content.size);(r>0&&this.state.doc.nodeAt(r))==i.node&&(n=r)}this.dragging=new KP(e.slice,e.move,n<0?void 0:Xe.create(this.state.doc,n))}someProp(e,o){let i=this._props&&this._props[e],n;if(i!=null&&(n=o?o(i):i))return n;for(let s=0;s<this.directPlugins.length;s++){let a=this.directPlugins[s].props[e];if(a!=null&&(n=o?o(a):a))return n}let r=this.state.plugins;if(r)for(let s=0;s<r.length;s++){let a=r[s].props[e];if(a!=null&&(n=o?o(a):a))return n}}hasFocus(){if(Li){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable=="false")return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&vY(this.dom),is(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let o=this.dom.parentNode;o;o=o.parentNode)if(o.nodeType==9||o.nodeType==11&&o.host)return o.getSelection||(Object.getPrototypeOf(o).getSelection=()=>o.ownerDocument.getSelection()),this._root=o}return e||document}updateRoot(){this._root=null}posAtCoords(e){return IY(this,e)}coordsAtPos(e,o=1){return DP(this,e,o)}domAtPos(e,o=0){return this.docView.domFromPos(e,o)}nodeDOM(e){let o=this.docView.descAt(e);return o?o.nodeDOM:null}posAtDOM(e,o,i=-1){let n=this.docView.posFromDOM(e,o,i);if(n==null)throw new RangeError("DOM position not inside the editor");return n}endOfTextblock(e,o){return MY(this,o||this.state,e)}pasteHTML(e,o){return gc(this,"",e,!1,o||new ClipboardEvent("paste"))}pasteText(e,o){return gc(this,e,null,!0,o||new ClipboardEvent("paste"))}serializeForClipboard(e){return DT(this,e)}destroy(){this.docView&&(pJ(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],g0(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,gY())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return gJ(this,e)}domSelectionRange(){let e=this.domSelection();return e?Ci&&this.root.nodeType===11&&BY(this.dom.ownerDocument)==this.dom&&MJ(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}XP.prototype.dispatch=function(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))};function Pb(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",o=>{if(typeof o=="function"&&(o=o(t.state)),o)for(let i in o)i=="class"?e.class+=" "+o[i]:i=="style"?e.style=(e.style?e.style+";":"")+o[i]:!e[i]&&i!="contenteditable"&&i!="nodeName"&&(e[i]=String(o[i]))}),e.translate||(e.translate="no"),[Cn.node(0,t.state.doc.content.size,e)]}function _b(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:Cn.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function Ab(t){return!t.someProp("editable",e=>e(t.state)===!1)}function YJ(t,e){let o=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(o)!=e.$anchor.start(o)}function Ib(t){let e=Object.create(null);function o(i){for(let n in i)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=i[n])}return t.someProp("nodeViews",o),t.someProp("markViews",o),e}function JJ(t,e){let o=0,i=0;for(let n in t){if(t[n]!=e[n])return!0;o++}for(let n in e)i++;return o!=i}function wb(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Qs={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},xh={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},ZJ=typeof navigator<"u"&&/Mac/.test(navigator.platform),XJ=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Mo=0;Mo<10;Mo++)Qs[48+Mo]=Qs[96+Mo]=String(Mo);for(var Mo=1;Mo<=24;Mo++)Qs[Mo+111]="F"+Mo;for(var Mo=65;Mo<=90;Mo++)Qs[Mo]=String.fromCharCode(Mo+32),xh[Mo]=String.fromCharCode(Mo);for(var y0 in Qs)xh.hasOwnProperty(y0)||(xh[y0]=Qs[y0]);function QJ(t){var e=ZJ&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||XJ&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",o=!e&&t.key||(t.shiftKey?xh:Qs)[t.keyCode]||t.key||"Unidentified";return o=="Esc"&&(o="Escape"),o=="Del"&&(o="Delete"),o=="Left"&&(o="ArrowLeft"),o=="Up"&&(o="ArrowUp"),o=="Right"&&(o="ArrowRight"),o=="Down"&&(o="ArrowDown"),o}const eZ=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),tZ=typeof navigator<"u"&&/Win/.test(navigator.platform);function oZ(t){let e=t.split(/-(?!$)/),o=e[e.length-1];o=="Space"&&(o=" ");let i,n,r,s;for(let a=0;a<e.length-1;a++){let u=e[a];if(/^(cmd|meta|m)$/i.test(u))s=!0;else if(/^a(lt)?$/i.test(u))i=!0;else if(/^(c|ctrl|control)$/i.test(u))n=!0;else if(/^s(hift)?$/i.test(u))r=!0;else if(/^mod$/i.test(u))eZ?s=!0:n=!0;else throw new Error("Unrecognized modifier name: "+u)}return i&&(o="Alt-"+o),n&&(o="Ctrl-"+o),s&&(o="Meta-"+o),r&&(o="Shift-"+o),o}function iZ(t){let e=Object.create(null);for(let o in t)e[oZ(o)]=t[o];return e}function T0(t,e,o=!0){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),o&&e.shiftKey&&(t="Shift-"+t),t}function nZ(t){return new zo({props:{handleKeyDown:rZ(t)}})}function rZ(t){let e=iZ(t);return function(o,i){let n=QJ(i),r,s=e[T0(n,i)];if(s&&s(o.state,o.dispatch,o))return!0;if(n.length==1&&n!=" "){if(i.shiftKey){let a=e[T0(n,i,!1)];if(a&&a(o.state,o.dispatch,o))return!0}if((i.altKey||i.metaKey||i.ctrlKey)&&!(tZ&&i.ctrlKey&&i.altKey)&&(r=Qs[i.keyCode])&&r!=n){let a=e[T0(r,i)];if(a&&a(o.state,o.dispatch,o))return!0}}return!1}}const NT=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function QP(t,e){let{$cursor:o}=t.selection;return!o||(e?!e.endOfTextblock("backward",t):o.parentOffset>0)?null:o}const e_=(t,e,o)=>{let i=QP(t,o);if(!i)return!1;let n=PT(i);if(!n){let s=i.blockRange(),a=s&&Mu(s);return a==null?!1:(e&&e(t.tr.lift(s,a).scrollIntoView()),!0)}let r=n.nodeBefore;if(u_(t,n,e,-1))return!0;if(i.parent.content.size==0&&(vu(r,"end")||Xe.isSelectable(r)))for(let s=i.depth;;s--){let a=zp(t.doc,i.before(s),i.after(s),_e.empty);if(a&&a.slice.size<a.to-a.from){if(e){let u=t.tr.step(a);u.setSelection(vu(r,"end")?Bt.findFrom(u.doc.resolve(u.mapping.map(n.pos,-1)),-1):Xe.create(u.doc,n.pos-r.nodeSize)),e(u.scrollIntoView())}return!0}if(s==1||i.node(s-1).childCount>1)break}return r.isAtom&&n.depth==i.depth-1?(e&&e(t.tr.delete(n.pos-r.nodeSize,n.pos).scrollIntoView()),!0):!1},sZ=(t,e,o)=>{let i=QP(t,o);if(!i)return!1;let n=PT(i);return n?t_(t,n,e):!1},aZ=(t,e,o)=>{let i=i_(t,o);if(!i)return!1;let n=_T(i);return n?t_(t,n,e):!1};function t_(t,e,o){let i=e.nodeBefore,n=i,r=e.pos-1;for(;!n.isTextblock;r--){if(n.type.spec.isolating)return!1;let m=n.lastChild;if(!m)return!1;n=m}let s=e.nodeAfter,a=s,u=e.pos+1;for(;!a.isTextblock;u++){if(a.type.spec.isolating)return!1;let m=a.firstChild;if(!m)return!1;a=m}let c=zp(t.doc,r,u,_e.empty);if(!c||c.from!=r||c instanceof Eo&&c.slice.size>=u-r)return!1;if(o){let m=t.tr.step(c);m.setSelection(ht.create(m.doc,r)),o(m.scrollIntoView())}return!0}function vu(t,e,o=!1){for(let i=t;i;i=e=="start"?i.firstChild:i.lastChild){if(i.isTextblock)return!0;if(o&&i.childCount!=1)return!1}return!1}const o_=(t,e,o)=>{let{$head:i,empty:n}=t.selection,r=i;if(!n)return!1;if(i.parent.isTextblock){if(o?!o.endOfTextblock("backward",t):i.parentOffset>0)return!1;r=PT(i)}let s=r&&r.nodeBefore;return!s||!Xe.isSelectable(s)?!1:(e&&e(t.tr.setSelection(Xe.create(t.doc,r.pos-s.nodeSize)).scrollIntoView()),!0)};function PT(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function i_(t,e){let{$cursor:o}=t.selection;return!o||(e?!e.endOfTextblock("forward",t):o.parentOffset<o.parent.content.size)?null:o}const n_=(t,e,o)=>{let i=i_(t,o);if(!i)return!1;let n=_T(i);if(!n)return!1;let r=n.nodeAfter;if(u_(t,n,e,1))return!0;if(i.parent.content.size==0&&(vu(r,"start")||Xe.isSelectable(r))){let s=zp(t.doc,i.before(),i.after(),_e.empty);if(s&&s.slice.size<s.to-s.from){if(e){let a=t.tr.step(s);a.setSelection(vu(r,"start")?Bt.findFrom(a.doc.resolve(a.mapping.map(n.pos)),1):Xe.create(a.doc,a.mapping.map(n.pos))),e(a.scrollIntoView())}return!0}}return r.isAtom&&n.depth==i.depth-1?(e&&e(t.tr.delete(n.pos,n.pos+r.nodeSize).scrollIntoView()),!0):!1},r_=(t,e,o)=>{let{$head:i,empty:n}=t.selection,r=i;if(!n)return!1;if(i.parent.isTextblock){if(o?!o.endOfTextblock("forward",t):i.parentOffset<i.parent.content.size)return!1;r=_T(i)}let s=r&&r.nodeAfter;return!s||!Xe.isSelectable(s)?!1:(e&&e(t.tr.setSelection(Xe.create(t.doc,r.pos)).scrollIntoView()),!0)};function _T(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){let o=t.node(e);if(t.index(e)+1<o.childCount)return t.doc.resolve(t.after(e+1));if(o.type.spec.isolating)break}return null}const lZ=(t,e)=>{let o=t.selection,i=o instanceof Xe,n;if(i){if(o.node.isTextblock||!da(t.doc,o.from))return!1;n=o.from}else if(n=$p(t.doc,o.from,-1),n==null)return!1;if(e){let r=t.tr.join(n);i&&r.setSelection(Xe.create(r.doc,n-t.doc.resolve(n).nodeBefore.nodeSize)),e(r.scrollIntoView())}return!0},uZ=(t,e)=>{let o=t.selection,i;if(o instanceof Xe){if(o.node.isTextblock||!da(t.doc,o.to))return!1;i=o.to}else if(i=$p(t.doc,o.to,1),i==null)return!1;return e&&e(t.tr.join(i).scrollIntoView()),!0},dZ=(t,e)=>{let{$from:o,$to:i}=t.selection,n=o.blockRange(i),r=n&&Mu(n);return r==null?!1:(e&&e(t.tr.lift(n,r).scrollIntoView()),!0)},s_=(t,e)=>{let{$head:o,$anchor:i}=t.selection;return!o.parent.type.spec.code||!o.sameParent(i)?!1:(e&&e(t.tr.insertText(`
|
|
95
|
-
`).scrollIntoView()),!0)};function AT(t){for(let e=0;e<t.edgeCount;e++){let{type:o}=t.edge(e);if(o.isTextblock&&!o.hasRequiredAttrs())return o}return null}const cZ=(t,e)=>{let{$head:o,$anchor:i}=t.selection;if(!o.parent.type.spec.code||!o.sameParent(i))return!1;let n=o.node(-1),r=o.indexAfter(-1),s=AT(n.contentMatchAt(r));if(!s||!n.canReplaceWith(r,r,s))return!1;if(e){let a=o.after(),u=t.tr.replaceWith(a,a,s.createAndFill());u.setSelection(Bt.near(u.doc.resolve(a),1)),e(u.scrollIntoView())}return!0},a_=(t,e)=>{let o=t.selection,{$from:i,$to:n}=o;if(o instanceof Gi||i.parent.inlineContent||n.parent.inlineContent)return!1;let r=AT(n.parent.contentMatchAt(n.indexAfter()));if(!r||!r.isTextblock)return!1;if(e){let s=(!i.parentOffset&&n.index()<n.parent.childCount?i:n).pos,a=t.tr.insert(s,r.createAndFill());a.setSelection(ht.create(a.doc,s+1)),e(a.scrollIntoView())}return!0},l_=(t,e)=>{let{$cursor:o}=t.selection;if(!o||o.parent.content.size)return!1;if(o.depth>1&&o.after()!=o.end(-1)){let r=o.before();if(ts(t.doc,r))return e&&e(t.tr.split(r).scrollIntoView()),!0}let i=o.blockRange(),n=i&&Mu(i);return n==null?!1:(e&&e(t.tr.lift(i,n).scrollIntoView()),!0)};function mZ(t){return(e,o)=>{let{$from:i,$to:n}=e.selection;if(e.selection instanceof Xe&&e.selection.node.isBlock)return!i.parentOffset||!ts(e.doc,i.pos)?!1:(o&&o(e.tr.split(i.pos).scrollIntoView()),!0);if(!i.depth)return!1;let r=[],s,a,u=!1,c=!1;for(let C=i.depth;;C--)if(i.node(C).isBlock){u=i.end(C)==i.pos+(i.depth-C),c=i.start(C)==i.pos-(i.depth-C),a=AT(i.node(C-1).contentMatchAt(i.indexAfter(C-1))),r.unshift(u&&a?{type:a}:null),s=C;break}else{if(C==1)return!1;r.unshift(null)}let m=e.tr;(e.selection instanceof ht||e.selection instanceof Gi)&&m.deleteSelection();let f=m.mapping.map(i.pos),p=ts(m.doc,f,r.length,r);if(p||(r[0]=a?{type:a}:null,p=ts(m.doc,f,r.length,r)),!p)return!1;if(m.split(f,r.length,r),!u&&c&&i.node(s).type!=a){let C=m.mapping.map(i.before(s)),F=m.doc.resolve(C);a&&i.node(s-1).canReplaceWith(F.index(),F.index()+1,a)&&m.setNodeMarkup(m.mapping.map(i.before(s)),a)}return o&&o(m.scrollIntoView()),!0}}const fZ=mZ(),hZ=(t,e)=>{let{$from:o,to:i}=t.selection,n,r=o.sharedDepth(i);return r==0?!1:(n=o.before(r),e&&e(t.tr.setSelection(Xe.create(t.doc,n))),!0)};function pZ(t,e,o){let i=e.nodeBefore,n=e.nodeAfter,r=e.index();return!i||!n||!i.type.compatibleContent(n.type)?!1:!i.content.size&&e.parent.canReplace(r-1,r)?(o&&o(t.tr.delete(e.pos-i.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(r,r+1)||!(n.isTextblock||da(t.doc,e.pos))?!1:(o&&o(t.tr.join(e.pos).scrollIntoView()),!0)}function u_(t,e,o,i){let n=e.nodeBefore,r=e.nodeAfter,s,a,u=n.type.spec.isolating||r.type.spec.isolating;if(!u&&pZ(t,e,o))return!0;let c=!u&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(s=(a=n.contentMatchAt(n.childCount)).findWrapping(r.type))&&a.matchType(s[0]||r.type).validEnd){if(o){let C=e.pos+r.nodeSize,F=ge.empty;for(let B=s.length-1;B>=0;B--)F=ge.from(s[B].create(null,F));F=ge.from(n.copy(F));let y=t.tr.step(new No(e.pos-1,C,e.pos,C,new _e(F,1,0),s.length,!0)),T=y.doc.resolve(C+2*s.length);T.nodeAfter&&T.nodeAfter.type==n.type&&da(y.doc,T.pos)&&y.join(T.pos),o(y.scrollIntoView())}return!0}let m=r.type.spec.isolating||i>0&&u?null:Bt.findFrom(e,1),f=m&&m.$from.blockRange(m.$to),p=f&&Mu(f);if(p!=null&&p>=e.depth)return o&&o(t.tr.lift(f,p).scrollIntoView()),!0;if(c&&vu(r,"start",!0)&&vu(n,"end")){let C=n,F=[];for(;F.push(C),!C.isTextblock;)C=C.lastChild;let y=r,T=1;for(;!y.isTextblock;y=y.firstChild)T++;if(C.canReplace(C.childCount,C.childCount,y.content)){if(o){let B=ge.empty;for(let D=F.length-1;D>=0;D--)B=ge.from(F[D].copy(B));let v=t.tr.step(new No(e.pos-F.length,e.pos+r.nodeSize,e.pos+T,e.pos+r.nodeSize-T,new _e(B,F.length,0),0,!0));o(v.scrollIntoView())}return!0}}return!1}function d_(t){return function(e,o){let i=e.selection,n=t<0?i.$from:i.$to,r=n.depth;for(;n.node(r).isInline;){if(!r)return!1;r--}return n.node(r).isTextblock?(o&&o(e.tr.setSelection(ht.create(e.doc,t<0?n.start(r):n.end(r)))),!0):!1}}const CZ=d_(-1),gZ=d_(1);function FZ(t,e=null){return function(o,i){let{$from:n,$to:r}=o.selection,s=n.blockRange(r),a=s&&TT(s,t,e);return a?(i&&i(o.tr.wrap(s,a).scrollIntoView()),!0):!1}}function kb(t,e=null){return function(o,i){let n=!1;for(let r=0;r<o.selection.ranges.length&&!n;r++){let{$from:{pos:s},$to:{pos:a}}=o.selection.ranges[r];o.doc.nodesBetween(s,a,(u,c)=>{if(n)return!1;if(!(!u.isTextblock||u.hasMarkup(t,e)))if(u.type==t)n=!0;else{let m=o.doc.resolve(c),f=m.index();n=m.parent.canReplaceWith(f,f+1,t)}})}if(!n)return!1;if(i){let r=o.tr;for(let s=0;s<o.selection.ranges.length;s++){let{$from:{pos:a},$to:{pos:u}}=o.selection.ranges[s];r.setBlockType(a,u,t,e)}i(r.scrollIntoView())}return!0}}function IT(...t){return function(e,o,i){for(let n=0;n<t.length;n++)if(t[n](e,o,i))return!0;return!1}}IT(NT,e_,o_);IT(NT,n_,r_);IT(s_,a_,l_,fZ);typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function yZ(t,e=null){return function(o,i){let{$from:n,$to:r}=o.selection,s=n.blockRange(r);if(!s)return!1;let a=i?o.tr:null;return TZ(a,s,t,e)?(i&&i(a.scrollIntoView()),!0):!1}}function TZ(t,e,o,i=null){let n=!1,r=e,s=e.$from.doc;if(e.depth>=2&&e.$from.node(e.depth-1).type.compatibleContent(o)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let u=s.resolve(e.start-2);r=new yh(u,u,e.depth),e.endIndex<e.parent.childCount&&(e=new yh(e.$from,s.resolve(e.$to.end(e.depth)),e.depth)),n=!0}let a=TT(r,o,i,e);return a?(t&&SZ(t,e,a,n,o),!0):!1}function SZ(t,e,o,i,n){let r=ge.empty;for(let m=o.length-1;m>=0;m--)r=ge.from(o[m].type.create(o[m].attrs,r));t.step(new No(e.start-(i?2:0),e.end,e.start,e.end,new _e(r,0,0),o.length,!0));let s=0;for(let m=0;m<o.length;m++)o[m].type==n&&(s=m+1);let a=o.length-s,u=e.start+o.length-(i?2:0),c=e.parent;for(let m=e.startIndex,f=e.endIndex,p=!0;m<f;m++,p=!1)!p&&ts(t.doc,u,a)&&(t.split(u,a),u+=2*a),u+=c.child(m).nodeSize;return t}function BZ(t){return function(e,o){let{$from:i,$to:n}=e.selection,r=i.blockRange(n,s=>s.childCount>0&&s.firstChild.type==t);return r?o?i.node(r.depth-1).type==t?VZ(e,o,t,r):RZ(e,o,r):!0:!1}}function VZ(t,e,o,i){let n=t.tr,r=i.end,s=i.$to.end(i.depth);r<s&&(n.step(new No(r-1,s,r,s,new _e(ge.from(o.create(null,i.parent.copy())),1,0),1,!0)),i=new yh(n.doc.resolve(i.$from.pos),n.doc.resolve(s),i.depth));const a=Mu(i);if(a==null)return!1;n.lift(i,a);let u=n.doc.resolve(n.mapping.map(r,-1)-1);return da(n.doc,u.pos)&&u.nodeBefore.type==u.nodeAfter.type&&n.join(u.pos),e(n.scrollIntoView()),!0}function RZ(t,e,o){let i=t.tr,n=o.parent;for(let C=o.end,F=o.endIndex-1,y=o.startIndex;F>y;F--)C-=n.child(F).nodeSize,i.delete(C-1,C+1);let r=i.doc.resolve(o.start),s=r.nodeAfter;if(i.mapping.map(o.end)!=o.start+r.nodeAfter.nodeSize)return!1;let a=o.startIndex==0,u=o.endIndex==n.childCount,c=r.node(-1),m=r.index(-1);if(!c.canReplace(m+(a?0:1),m+1,s.content.append(u?ge.empty:ge.from(n))))return!1;let f=r.pos,p=f+s.nodeSize;return i.step(new No(f-(a?1:0),p+(u?1:0),f+1,p-1,new _e((a?ge.empty:ge.from(n.copy(ge.empty))).append(u?ge.empty:ge.from(n.copy(ge.empty))),a?0:1,u?0:1),a?0:1)),e(i.scrollIntoView()),!0}function DZ(t){return function(e,o){let{$from:i,$to:n}=e.selection,r=i.blockRange(n,c=>c.childCount>0&&c.firstChild.type==t);if(!r)return!1;let s=r.startIndex;if(s==0)return!1;let a=r.parent,u=a.child(s-1);if(u.type!=t)return!1;if(o){let c=u.lastChild&&u.lastChild.type==a.type,m=ge.from(c?t.create():null),f=new _e(ge.from(t.create(null,ge.from(a.type.create(null,m)))),c?3:1,0),p=r.start,C=r.end;o(e.tr.step(new No(p-(c?3:1),C,p,C,f,1,!0)).scrollIntoView())}return!0}}function qp(t){const{state:e,transaction:o}=t;let{selection:i}=o,{doc:n}=o,{storedMarks:r}=o;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return r},get selection(){return i},get doc(){return n},get tr(){return i=o.selection,n=o.doc,r=o.storedMarks,o}}}class Yp{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:o,state:i}=this,{view:n}=o,{tr:r}=i,s=this.buildProps(r);return Object.fromEntries(Object.entries(e).map(([a,u])=>[a,(...m)=>{const f=u(...m)(s);return!r.getMeta("preventDispatch")&&!this.hasCustomState&&n.dispatch(r),f}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,o=!0){const{rawCommands:i,editor:n,state:r}=this,{view:s}=n,a=[],u=!!e,c=e||r.tr,m=()=>(!u&&o&&!c.getMeta("preventDispatch")&&!this.hasCustomState&&s.dispatch(c),a.every(p=>p===!0)),f={...Object.fromEntries(Object.entries(i).map(([p,C])=>[p,(...y)=>{const T=this.buildProps(c,o),B=C(...y)(T);return a.push(B),f}])),run:m};return f}createCan(e){const{rawCommands:o,state:i}=this,n=!1,r=e||i.tr,s=this.buildProps(r,n);return{...Object.fromEntries(Object.entries(o).map(([u,c])=>[u,(...m)=>c(...m)({...s,dispatch:void 0})])),chain:()=>this.createChain(r,n)}}buildProps(e,o=!0){const{rawCommands:i,editor:n,state:r}=this,{view:s}=n,a={tr:e,editor:n,view:s,state:qp({state:r,transaction:e}),dispatch:o?()=>{}:void 0,chain:()=>this.createChain(e,o),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(i).map(([u,c])=>[u,(...m)=>c(...m)(a)]))}};return a}}class xZ{constructor(){this.callbacks={}}on(e,o){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(o),this}emit(e,...o){const i=this.callbacks[e];return i&&i.forEach(n=>n.apply(this,o)),this}off(e,o){const i=this.callbacks[e];return i&&(o?this.callbacks[e]=i.filter(n=>n!==o):delete this.callbacks[e]),this}once(e,o){const i=(...n)=>{this.off(e,i),o.apply(this,n)};return this.on(e,i)}removeAllListeners(){this.callbacks={}}}function He(t,e,o){return t.config[e]===void 0&&t.parent?He(t.parent,e,o):typeof t.config[e]=="function"?t.config[e].bind({...o,parent:t.parent?He(t.parent,e,o):null}):t.config[e]}function Jp(t){const e=t.filter(n=>n.type==="extension"),o=t.filter(n=>n.type==="node"),i=t.filter(n=>n.type==="mark");return{baseExtensions:e,nodeExtensions:o,markExtensions:i}}function c_(t){const e=[],{nodeExtensions:o,markExtensions:i}=Jp(t),n=[...o,...i],r={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return t.forEach(s=>{const a={name:s.name,options:s.options,storage:s.storage,extensions:n},u=He(s,"addGlobalAttributes",a);if(!u)return;u().forEach(m=>{m.types.forEach(f=>{Object.entries(m.attributes).forEach(([p,C])=>{e.push({type:f,name:p,attribute:{...r,...C}})})})})}),n.forEach(s=>{const a={name:s.name,options:s.options,storage:s.storage},u=He(s,"addAttributes",a);if(!u)return;const c=u();Object.entries(c).forEach(([m,f])=>{const p={...r,...f};typeof(p==null?void 0:p.default)=="function"&&(p.default=p.default()),p!=null&&p.isRequired&&(p==null?void 0:p.default)===void 0&&delete p.default,e.push({type:s.name,name:m,attribute:p})})}),e}function _o(t,e){if(typeof t=="string"){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return e.nodes[t]}return t}function Ji(...t){return t.filter(e=>!!e).reduce((e,o)=>{const i={...e};return Object.entries(o).forEach(([n,r])=>{if(!i[n]){i[n]=r;return}if(n==="class"){const a=r?String(r).split(" "):[],u=i[n]?i[n].split(" "):[],c=a.filter(m=>!u.includes(m));i[n]=[...u,...c].join(" ")}else if(n==="style"){const a=r?r.split(";").map(m=>m.trim()).filter(Boolean):[],u=i[n]?i[n].split(";").map(m=>m.trim()).filter(Boolean):[],c=new Map;u.forEach(m=>{const[f,p]=m.split(":").map(C=>C.trim());c.set(f,p)}),a.forEach(m=>{const[f,p]=m.split(":").map(C=>C.trim());c.set(f,p)}),i[n]=Array.from(c.entries()).map(([m,f])=>`${m}: ${f}`).join("; ")}else i[n]=r}),i},{})}function qF(t,e){return e.filter(o=>o.type===t.type.name).filter(o=>o.attribute.rendered).map(o=>o.attribute.renderHTML?o.attribute.renderHTML(t.attrs)||{}:{[o.name]:t.attrs[o.name]}).reduce((o,i)=>Ji(o,i),{})}function m_(t){return typeof t=="function"}function Tt(t,e=void 0,...o){return m_(t)?e?t.bind(e)(...o):t(...o):t}function bZ(t={}){return Object.keys(t).length===0&&t.constructor===Object}function LZ(t){return typeof t!="string"?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):t==="true"?!0:t==="false"?!1:t}function Wb(t,e){return"style"in t?t:{...t,getAttrs:o=>{const i=t.getAttrs?t.getAttrs(o):t.attrs;if(i===!1)return!1;const n=e.reduce((r,s)=>{const a=s.attribute.parseHTML?s.attribute.parseHTML(o):LZ(o.getAttribute(s.name));return a==null?r:{...r,[s.name]:a}},{});return{...i,...n}}}}function Ob(t){return Object.fromEntries(Object.entries(t).filter(([e,o])=>e==="attrs"&&bZ(o)?!1:o!=null))}function EZ(t,e){var o;const i=c_(t),{nodeExtensions:n,markExtensions:r}=Jp(t),s=(o=n.find(c=>He(c,"topNode")))===null||o===void 0?void 0:o.name,a=Object.fromEntries(n.map(c=>{const m=i.filter(B=>B.type===c.name),f={name:c.name,options:c.options,storage:c.storage,editor:e},p=t.reduce((B,v)=>{const D=He(v,"extendNodeSchema",f);return{...B,...D?D(c):{}}},{}),C=Ob({...p,content:Tt(He(c,"content",f)),marks:Tt(He(c,"marks",f)),group:Tt(He(c,"group",f)),inline:Tt(He(c,"inline",f)),atom:Tt(He(c,"atom",f)),selectable:Tt(He(c,"selectable",f)),draggable:Tt(He(c,"draggable",f)),code:Tt(He(c,"code",f)),whitespace:Tt(He(c,"whitespace",f)),linebreakReplacement:Tt(He(c,"linebreakReplacement",f)),defining:Tt(He(c,"defining",f)),isolating:Tt(He(c,"isolating",f)),attrs:Object.fromEntries(m.map(B=>{var v;return[B.name,{default:(v=B==null?void 0:B.attribute)===null||v===void 0?void 0:v.default}]}))}),F=Tt(He(c,"parseHTML",f));F&&(C.parseDOM=F.map(B=>Wb(B,m)));const y=He(c,"renderHTML",f);y&&(C.toDOM=B=>y({node:B,HTMLAttributes:qF(B,m)}));const T=He(c,"renderText",f);return T&&(C.toText=T),[c.name,C]})),u=Object.fromEntries(r.map(c=>{const m=i.filter(T=>T.type===c.name),f={name:c.name,options:c.options,storage:c.storage,editor:e},p=t.reduce((T,B)=>{const v=He(B,"extendMarkSchema",f);return{...T,...v?v(c):{}}},{}),C=Ob({...p,inclusive:Tt(He(c,"inclusive",f)),excludes:Tt(He(c,"excludes",f)),group:Tt(He(c,"group",f)),spanning:Tt(He(c,"spanning",f)),code:Tt(He(c,"code",f)),attrs:Object.fromEntries(m.map(T=>{var B;return[T.name,{default:(B=T==null?void 0:T.attribute)===null||B===void 0?void 0:B.default}]}))}),F=Tt(He(c,"parseHTML",f));F&&(C.parseDOM=F.map(T=>Wb(T,m)));const y=He(c,"renderHTML",f);return y&&(C.toDOM=T=>y({mark:T,HTMLAttributes:qF(T,m)})),[c.name,C]}));return new tP({topNode:s,nodes:a,marks:u})}function S0(t,e){return e.nodes[t]||e.marks[t]||null}function Mb(t,e){return Array.isArray(e)?e.some(o=>(typeof o=="string"?o:o.name)===t.name):e}function wT(t,e){const o=hl.fromSchema(e).serializeFragment(t),n=document.implementation.createHTMLDocument().createElement("div");return n.appendChild(o),n.innerHTML}const vZ=(t,e=500)=>{let o="";const i=t.parentOffset;return t.parent.nodesBetween(Math.max(0,i-e),i,(n,r,s,a)=>{var u,c;const m=((c=(u=n.type.spec).toText)===null||c===void 0?void 0:c.call(u,{node:n,pos:r,parent:s,index:a}))||n.textContent||"%leaf%";o+=n.isAtom&&!n.isText?m:m.slice(0,Math.max(0,i-r))}),o};function kT(t){return Object.prototype.toString.call(t)==="[object RegExp]"}class f_{constructor(e){this.find=e.find,this.handler=e.handler}}const NZ=(t,e)=>{if(kT(e))return e.exec(t);const o=e(t);if(!o)return null;const i=[o.text];return i.index=o.index,i.input=t,i.data=o.data,o.replaceWith&&(o.text.includes(o.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),i.push(o.replaceWith)),i};function Cf(t){var e;const{editor:o,from:i,to:n,text:r,rules:s,plugin:a}=t,{view:u}=o;if(u.composing)return!1;const c=u.state.doc.resolve(i);if(c.parent.type.spec.code||!((e=c.nodeBefore||c.nodeAfter)===null||e===void 0)&&e.marks.find(p=>p.type.spec.code))return!1;let m=!1;const f=vZ(c)+r;return s.forEach(p=>{if(m)return;const C=NZ(f,p.find);if(!C)return;const F=u.state.tr,y=qp({state:u.state,transaction:F}),T={from:i-(C[0].length-r.length),to:n},{commands:B,chain:v,can:D}=new Yp({editor:o,state:y});p.handler({state:y,range:T,match:C,commands:B,chain:v,can:D})===null||!F.steps.length||(F.setMeta(a,{transform:F,from:i,to:n,text:r}),u.dispatch(F),m=!0)}),m}function PZ(t){const{editor:e,rules:o}=t,i=new zo({state:{init(){return null},apply(n,r,s){const a=n.getMeta(i);if(a)return a;const u=n.getMeta("applyInputRules");return!!u&&setTimeout(()=>{let{text:m}=u;typeof m=="string"?m=m:m=wT(ge.from(m),s.schema);const{from:f}=u,p=f+m.length;Cf({editor:e,from:f,to:p,text:m,rules:o,plugin:i})}),n.selectionSet||n.docChanged?null:r}},props:{handleTextInput(n,r,s,a){return Cf({editor:e,from:r,to:s,text:a,rules:o,plugin:i})},handleDOMEvents:{compositionend:n=>(setTimeout(()=>{const{$cursor:r}=n.state.selection;r&&Cf({editor:e,from:r.pos,to:r.pos,text:"",rules:o,plugin:i})}),!1)},handleKeyDown(n,r){if(r.key!=="Enter")return!1;const{$cursor:s}=n.state.selection;return s?Cf({editor:e,from:s.pos,to:s.pos,text:`
|
|
96
|
-
`,rules:o,plugin:i}):!1}},isInputRules:!0});return i}function _Z(t){return Object.prototype.toString.call(t).slice(8,-1)}function gf(t){return _Z(t)!=="Object"?!1:t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype}function Zp(t,e){const o={...t};return gf(t)&&gf(e)&&Object.keys(e).forEach(i=>{gf(e[i])&&gf(t[i])?o[i]=Zp(t[i],e[i]):o[i]=e[i]}),o}class Zi{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=Tt(He(this,"addOptions",{name:this.name}))),this.storage=Tt(He(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Zi(e)}configure(e={}){const o=this.extend({...this.config,addOptions:()=>Zp(this.options,e)});return o.name=this.name,o.parent=this.parent,o}extend(e={}){const o=new Zi(e);return o.parent=this,this.child=o,o.name=e.name?e.name:o.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${o.name}".`),o.options=Tt(He(o,"addOptions",{name:o.name})),o.storage=Tt(He(o,"addStorage",{name:o.name,options:o.options})),o}static handleExit({editor:e,mark:o}){const{tr:i}=e.state,n=e.state.selection.$from;if(n.pos===n.end()){const s=n.marks();if(!!!s.find(c=>(c==null?void 0:c.type.name)===o.name))return!1;const u=s.find(c=>(c==null?void 0:c.type.name)===o.name);return u&&i.removeStoredMark(u),i.insertText(" ",n.pos),e.view.dispatch(i),!0}return!1}}function AZ(t){return typeof t=="number"}class IZ{constructor(e){this.find=e.find,this.handler=e.handler}}const wZ=(t,e,o)=>{if(kT(e))return[...t.matchAll(e)];const i=e(t,o);return i?i.map(n=>{const r=[n.text];return r.index=n.index,r.input=t,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),r.push(n.replaceWith)),r}):[]};function kZ(t){const{editor:e,state:o,from:i,to:n,rule:r,pasteEvent:s,dropEvent:a}=t,{commands:u,chain:c,can:m}=new Yp({editor:e,state:o}),f=[];return o.doc.nodesBetween(i,n,(C,F)=>{if(!C.isTextblock||C.type.spec.code)return;const y=Math.max(i,F),T=Math.min(n,F+C.content.size),B=C.textBetween(y-F,T-F,void 0,"");wZ(B,r.find,s).forEach(D=>{if(D.index===void 0)return;const R=y+D.index+1,N=R+D[0].length,_={from:o.tr.mapping.map(R),to:o.tr.mapping.map(N)},P=r.handler({state:o,range:_,match:D,commands:u,chain:c,can:m,pasteEvent:s,dropEvent:a});f.push(P)})}),f.every(C=>C!==null)}let Ff=null;const WZ=t=>{var e;const o=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=o.clipboardData)===null||e===void 0||e.setData("text/html",t),o};function OZ(t){const{editor:e,rules:o}=t;let i=null,n=!1,r=!1,s=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,a;try{a=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{a=null}const u=({state:m,from:f,to:p,rule:C,pasteEvt:F})=>{const y=m.tr,T=qp({state:m,transaction:y});if(!(!kZ({editor:e,state:T,from:Math.max(f-1,0),to:p.b-1,rule:C,pasteEvent:F,dropEvent:a})||!y.steps.length)){try{a=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{a=null}return s=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,y}};return o.map(m=>new zo({view(f){const p=F=>{var y;i=!((y=f.dom.parentElement)===null||y===void 0)&&y.contains(F.target)?f.dom.parentElement:null,i&&(Ff=e)},C=()=>{Ff&&(Ff=null)};return window.addEventListener("dragstart",p),window.addEventListener("dragend",C),{destroy(){window.removeEventListener("dragstart",p),window.removeEventListener("dragend",C)}}},props:{handleDOMEvents:{drop:(f,p)=>{if(r=i===f.dom.parentElement,a=p,!r){const C=Ff;C!=null&&C.isEditable&&setTimeout(()=>{const F=C.state.selection;F&&C.commands.deleteRange({from:F.from,to:F.to})},10)}return!1},paste:(f,p)=>{var C;const F=(C=p.clipboardData)===null||C===void 0?void 0:C.getData("text/html");return s=p,n=!!(F!=null&&F.includes("data-pm-slice")),!1}}},appendTransaction:(f,p,C)=>{const F=f[0],y=F.getMeta("uiEvent")==="paste"&&!n,T=F.getMeta("uiEvent")==="drop"&&!r,B=F.getMeta("applyPasteRules"),v=!!B;if(!y&&!T&&!v)return;if(v){let{text:N}=B;typeof N=="string"?N=N:N=wT(ge.from(N),C.schema);const{from:_}=B,P=_+N.length,U=WZ(N);return u({rule:m,state:C,from:_,to:{b:P},pasteEvt:U})}const D=p.doc.content.findDiffStart(C.doc.content),R=p.doc.content.findDiffEnd(C.doc.content);if(!(!AZ(D)||!R||D===R.b))return u({rule:m,state:C,from:D,to:R,pasteEvt:s})}}))}function MZ(t){const e=t.filter((o,i)=>t.indexOf(o)!==i);return Array.from(new Set(e))}class Xl{constructor(e,o){this.splittableMarks=[],this.editor=o,this.extensions=Xl.resolve(e),this.schema=EZ(this.extensions,o),this.setupExtensions()}static resolve(e){const o=Xl.sort(Xl.flatten(e)),i=MZ(o.map(n=>n.name));return i.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${i.map(n=>`'${n}'`).join(", ")}]. This can lead to issues.`),o}static flatten(e){return e.map(o=>{const i={name:o.name,options:o.options,storage:o.storage},n=He(o,"addExtensions",i);return n?[o,...this.flatten(n())]:o}).flat(10)}static sort(e){return e.sort((i,n)=>{const r=He(i,"priority")||100,s=He(n,"priority")||100;return r>s?-1:r<s?1:0})}get commands(){return this.extensions.reduce((e,o)=>{const i={name:o.name,options:o.options,storage:o.storage,editor:this.editor,type:S0(o.name,this.schema)},n=He(o,"addCommands",i);return n?{...e,...n()}:e},{})}get plugins(){const{editor:e}=this,o=Xl.sort([...this.extensions].reverse()),i=[],n=[],r=o.map(s=>{const a={name:s.name,options:s.options,storage:s.storage,editor:e,type:S0(s.name,this.schema)},u=[],c=He(s,"addKeyboardShortcuts",a);let m={};if(s.type==="mark"&&He(s,"exitable",a)&&(m.ArrowRight=()=>Zi.handleExit({editor:e,mark:s})),c){const y=Object.fromEntries(Object.entries(c()).map(([T,B])=>[T,()=>B({editor:e})]));m={...m,...y}}const f=nZ(m);u.push(f);const p=He(s,"addInputRules",a);Mb(s,e.options.enableInputRules)&&p&&i.push(...p());const C=He(s,"addPasteRules",a);Mb(s,e.options.enablePasteRules)&&C&&n.push(...C());const F=He(s,"addProseMirrorPlugins",a);if(F){const y=F();u.push(...y)}return u}).flat();return[PZ({editor:e,rules:i}),...OZ({editor:e,rules:n}),...r]}get attributes(){return c_(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:o}=Jp(this.extensions);return Object.fromEntries(o.filter(i=>!!He(i,"addNodeView")).map(i=>{const n=this.attributes.filter(u=>u.type===i.name),r={name:i.name,options:i.options,storage:i.storage,editor:e,type:_o(i.name,this.schema)},s=He(i,"addNodeView",r);if(!s)return[];const a=(u,c,m,f,p)=>{const C=qF(u,n);return s()({node:u,view:c,getPos:m,decorations:f,innerDecorations:p,editor:e,extension:i,HTMLAttributes:C})};return[i.name,a]}))}setupExtensions(){this.extensions.forEach(e=>{var o;this.editor.extensionStorage[e.name]=e.storage;const i={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:S0(e.name,this.schema)};e.type==="mark"&&(!((o=Tt(He(e,"keepOnSplit",i)))!==null&&o!==void 0)||o)&&this.splittableMarks.push(e.name);const n=He(e,"onBeforeCreate",i),r=He(e,"onCreate",i),s=He(e,"onUpdate",i),a=He(e,"onSelectionUpdate",i),u=He(e,"onTransaction",i),c=He(e,"onFocus",i),m=He(e,"onBlur",i),f=He(e,"onDestroy",i);n&&this.editor.on("beforeCreate",n),r&&this.editor.on("create",r),s&&this.editor.on("update",s),a&&this.editor.on("selectionUpdate",a),u&&this.editor.on("transaction",u),c&&this.editor.on("focus",c),m&&this.editor.on("blur",m),f&&this.editor.on("destroy",f)})}}class ti{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=Tt(He(this,"addOptions",{name:this.name}))),this.storage=Tt(He(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ti(e)}configure(e={}){const o=this.extend({...this.config,addOptions:()=>Zp(this.options,e)});return o.name=this.name,o.parent=this.parent,o}extend(e={}){const o=new ti({...this.config,...e});return o.parent=this,this.child=o,o.name=e.name?e.name:o.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${o.name}".`),o.options=Tt(He(o,"addOptions",{name:o.name})),o.storage=Tt(He(o,"addStorage",{name:o.name,options:o.options})),o}}function h_(t,e,o){const{from:i,to:n}=e,{blockSeparator:r=`
|
|
97
|
-
|
|
98
|
-
`,textSerializers:s={}}=o||{};let a="";return t.nodesBetween(i,n,(u,c,m,f)=>{var p;u.isBlock&&c>i&&(a+=r);const C=s==null?void 0:s[u.type.name];if(C)return m&&(a+=C({node:u,pos:c,parent:m,index:f,range:e})),!1;u.isText&&(a+=(p=u==null?void 0:u.text)===null||p===void 0?void 0:p.slice(Math.max(i,c)-c,n-c))}),a}function p_(t){return Object.fromEntries(Object.entries(t.nodes).filter(([,e])=>e.spec.toText).map(([e,o])=>[e,o.spec.toText]))}const HZ=ti.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new zo({key:new Ni("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:o}=t,{doc:i,selection:n}=e,{ranges:r}=n,s=Math.min(...r.map(m=>m.$from.pos)),a=Math.max(...r.map(m=>m.$to.pos)),u=p_(o);return h_(i,{from:s,to:a},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:u})}}})]}}),$Z=()=>({editor:t,view:e})=>(requestAnimationFrame(()=>{var o;t.isDestroyed||(e.dom.blur(),(o=window==null?void 0:window.getSelection())===null||o===void 0||o.removeAllRanges())}),!0),zZ=(t=!1)=>({commands:e})=>e.setContent("",t),UZ=()=>({state:t,tr:e,dispatch:o})=>{const{selection:i}=e,{ranges:n}=i;return o&&n.forEach(({$from:r,$to:s})=>{t.doc.nodesBetween(r.pos,s.pos,(a,u)=>{if(a.type.isText)return;const{doc:c,mapping:m}=e,f=c.resolve(m.map(u)),p=c.resolve(m.map(u+a.nodeSize)),C=f.blockRange(p);if(!C)return;const F=Mu(C);if(a.type.isTextblock){const{defaultType:y}=f.parent.contentMatchAt(f.index());e.setNodeMarkup(C.start,y)}(F||F===0)&&e.lift(C,F)})}),!0},jZ=t=>e=>t(e),GZ=()=>({state:t,dispatch:e})=>a_(t,e),KZ=(t,e)=>({editor:o,tr:i})=>{const{state:n}=o,r=n.doc.slice(t.from,t.to);i.deleteRange(t.from,t.to);const s=i.mapping.map(e);return i.insert(s,r.content),i.setSelection(new ht(i.doc.resolve(Math.max(s-1,0)))),!0},qZ=()=>({tr:t,dispatch:e})=>{const{selection:o}=t,i=o.$anchor.node();if(i.content.size>0)return!1;const n=t.selection.$anchor;for(let r=n.depth;r>0;r-=1)if(n.node(r).type===i.type){if(e){const a=n.before(r),u=n.after(r);t.delete(a,u).scrollIntoView()}return!0}return!1},YZ=t=>({tr:e,state:o,dispatch:i})=>{const n=_o(t,o.schema),r=e.selection.$anchor;for(let s=r.depth;s>0;s-=1)if(r.node(s).type===n){if(i){const u=r.before(s),c=r.after(s);e.delete(u,c).scrollIntoView()}return!0}return!1},JZ=t=>({tr:e,dispatch:o})=>{const{from:i,to:n}=t;return o&&e.delete(i,n),!0},ZZ=()=>({state:t,dispatch:e})=>NT(t,e),XZ=()=>({commands:t})=>t.keyboardShortcut("Enter"),QZ=()=>({state:t,dispatch:e})=>cZ(t,e);function bh(t,e,o={strict:!0}){const i=Object.keys(e);return i.length?i.every(n=>o.strict?e[n]===t[n]:kT(e[n])?e[n].test(t[n]):e[n]===t[n]):!0}function C_(t,e,o={}){return t.find(i=>i.type===e&&bh(Object.fromEntries(Object.keys(o).map(n=>[n,i.attrs[n]])),o))}function Hb(t,e,o={}){return!!C_(t,e,o)}function WT(t,e,o){var i;if(!t||!e)return;let n=t.parent.childAfter(t.parentOffset);if((!n.node||!n.node.marks.some(m=>m.type===e))&&(n=t.parent.childBefore(t.parentOffset)),!n.node||!n.node.marks.some(m=>m.type===e)||(o=o||((i=n.node.marks[0])===null||i===void 0?void 0:i.attrs),!C_([...n.node.marks],e,o)))return;let s=n.index,a=t.start()+n.offset,u=s+1,c=a+n.node.nodeSize;for(;s>0&&Hb([...t.parent.child(s-1).marks],e,o);)s-=1,a-=t.parent.child(s).nodeSize;for(;u<t.parent.childCount&&Hb([...t.parent.child(u).marks],e,o);)c+=t.parent.child(u).nodeSize,u+=1;return{from:a,to:c}}function ma(t,e){if(typeof t=="string"){if(!e.marks[t])throw Error(`There is no mark type named '${t}'. Maybe you forgot to add the extension?`);return e.marks[t]}return t}const eX=(t,e={})=>({tr:o,state:i,dispatch:n})=>{const r=ma(t,i.schema),{doc:s,selection:a}=o,{$from:u,from:c,to:m}=a;if(n){const f=WT(u,r,e);if(f&&f.from<=c&&f.to>=m){const p=ht.create(s,f.from,f.to);o.setSelection(p)}}return!0},tX=t=>e=>{const o=typeof t=="function"?t(e):t;for(let i=0;i<o.length;i+=1)if(o[i](e))return!0;return!1};function g_(t){return t instanceof ht}function Ma(t=0,e=0,o=0){return Math.min(Math.max(t,e),o)}function F_(t,e=null){if(!e)return null;const o=Bt.atStart(t),i=Bt.atEnd(t);if(e==="start"||e===!0)return o;if(e==="end")return i;const n=o.from,r=i.to;return e==="all"?ht.create(t,Ma(0,n,r),Ma(t.content.size,n,r)):ht.create(t,Ma(e,n,r),Ma(e,n,r))}function oX(){return navigator.platform==="Android"||/android/i.test(navigator.userAgent)}function OT(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const iX=(t=null,e={})=>({editor:o,view:i,tr:n,dispatch:r})=>{e={scrollIntoView:!0,...e};const s=()=>{(OT()||oX())&&i.dom.focus(),requestAnimationFrame(()=>{o.isDestroyed||(i.focus(),e!=null&&e.scrollIntoView&&o.commands.scrollIntoView())})};if(i.hasFocus()&&t===null||t===!1)return!0;if(r&&t===null&&!g_(o.state.selection))return s(),!0;const a=F_(n.doc,t)||o.state.selection,u=o.state.selection.eq(a);return r&&(u||n.setSelection(a),u&&n.storedMarks&&n.setStoredMarks(n.storedMarks),s()),!0},nX=(t,e)=>o=>t.every((i,n)=>e(i,{...o,index:n})),rX=(t,e)=>({tr:o,commands:i})=>i.insertContentAt({from:o.selection.from,to:o.selection.to},t,e),y_=t=>{const e=t.childNodes;for(let o=e.length-1;o>=0;o-=1){const i=e[o];i.nodeType===3&&i.nodeValue&&/^(\n\s\s|\n)$/.test(i.nodeValue)?t.removeChild(i):i.nodeType===1&&y_(i)}return t};function yf(t){const e=`<body>${t}</body>`,o=new window.DOMParser().parseFromString(e,"text/html").body;return y_(o)}function yc(t,e,o){if(t instanceof Hs||t instanceof ge)return t;o={slice:!0,parseOptions:{},...o};const i=typeof t=="object"&&t!==null,n=typeof t=="string";if(i)try{if(Array.isArray(t)&&t.length>0)return ge.fromArray(t.map(a=>e.nodeFromJSON(a)));const s=e.nodeFromJSON(t);return o.errorOnInvalidContent&&s.check(),s}catch(r){if(o.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:r});return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",r),yc("",e,o)}if(n){if(o.errorOnInvalidContent){let s=!1,a="";const u=new tP({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:c=>(s=!0,a=typeof c=="string"?c:c.outerHTML,null)}]}})});if(o.slice?$s.fromSchema(u).parseSlice(yf(t),o.parseOptions):$s.fromSchema(u).parse(yf(t),o.parseOptions),o.errorOnInvalidContent&&s)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${a}`)})}const r=$s.fromSchema(e);return o.slice?r.parseSlice(yf(t),o.parseOptions).content:r.parse(yf(t),o.parseOptions)}return yc("",e,o)}function sX(t,e,o){const i=t.steps.length-1;if(i<e)return;const n=t.steps[i];if(!(n instanceof Eo||n instanceof No))return;const r=t.mapping.maps[i];let s=0;r.forEach((a,u,c,m)=>{s===0&&(s=m)}),t.setSelection(Bt.near(t.doc.resolve(s),o))}const aX=t=>!("type"in t),lX=(t,e,o)=>({tr:i,dispatch:n,editor:r})=>{var s;if(n){o={parseOptions:r.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...o};let a;const u=T=>{r.emit("contentError",{editor:r,error:T,disableCollaboration:()=>{r.storage.collaboration&&(r.storage.collaboration.isDisabled=!0)}})},c={preserveWhitespace:"full",...o.parseOptions};if(!o.errorOnInvalidContent&&!r.options.enableContentCheck&&r.options.emitContentError)try{yc(e,r.schema,{parseOptions:c,errorOnInvalidContent:!0})}catch(T){u(T)}try{a=yc(e,r.schema,{parseOptions:c,errorOnInvalidContent:(s=o.errorOnInvalidContent)!==null&&s!==void 0?s:r.options.enableContentCheck})}catch(T){return u(T),!1}let{from:m,to:f}=typeof t=="number"?{from:t,to:t}:{from:t.from,to:t.to},p=!0,C=!0;if((aX(a)?a:[a]).forEach(T=>{T.check(),p=p?T.isText&&T.marks.length===0:!1,C=C?T.isBlock:!1}),m===f&&C){const{parent:T}=i.doc.resolve(m);T.isTextblock&&!T.type.spec.code&&!T.childCount&&(m-=1,f+=1)}let y;if(p){if(Array.isArray(e))y=e.map(T=>T.text||"").join("");else if(e instanceof ge){let T="";e.forEach(B=>{B.text&&(T+=B.text)}),y=T}else typeof e=="object"&&e&&e.text?y=e.text:y=e;i.insertText(y,m,f)}else y=a,i.replaceWith(m,f,y);o.updateSelection&&sX(i,i.steps.length-1,-1),o.applyInputRules&&i.setMeta("applyInputRules",{from:m,text:y}),o.applyPasteRules&&i.setMeta("applyPasteRules",{from:m,text:y})}return!0},uX=()=>({state:t,dispatch:e})=>lZ(t,e),dX=()=>({state:t,dispatch:e})=>uZ(t,e),cX=()=>({state:t,dispatch:e})=>e_(t,e),mX=()=>({state:t,dispatch:e})=>n_(t,e),fX=()=>({state:t,dispatch:e,tr:o})=>{try{const i=$p(t.doc,t.selection.$from.pos,-1);return i==null?!1:(o.join(i,2),e&&e(o),!0)}catch{return!1}},hX=()=>({state:t,dispatch:e,tr:o})=>{try{const i=$p(t.doc,t.selection.$from.pos,1);return i==null?!1:(o.join(i,2),e&&e(o),!0)}catch{return!1}},pX=()=>({state:t,dispatch:e})=>sZ(t,e),CX=()=>({state:t,dispatch:e})=>aZ(t,e);function T_(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function gX(t){const e=t.split(/-(?!$)/);let o=e[e.length-1];o==="Space"&&(o=" ");let i,n,r,s;for(let a=0;a<e.length-1;a+=1){const u=e[a];if(/^(cmd|meta|m)$/i.test(u))s=!0;else if(/^a(lt)?$/i.test(u))i=!0;else if(/^(c|ctrl|control)$/i.test(u))n=!0;else if(/^s(hift)?$/i.test(u))r=!0;else if(/^mod$/i.test(u))OT()||T_()?s=!0:n=!0;else throw new Error(`Unrecognized modifier name: ${u}`)}return i&&(o=`Alt-${o}`),n&&(o=`Ctrl-${o}`),s&&(o=`Meta-${o}`),r&&(o=`Shift-${o}`),o}const FX=t=>({editor:e,view:o,tr:i,dispatch:n})=>{const r=gX(t).split(/-(?!$)/),s=r.find(c=>!["Alt","Ctrl","Meta","Shift"].includes(c)),a=new KeyboardEvent("keydown",{key:s==="Space"?" ":s,altKey:r.includes("Alt"),ctrlKey:r.includes("Ctrl"),metaKey:r.includes("Meta"),shiftKey:r.includes("Shift"),bubbles:!0,cancelable:!0}),u=e.captureTransaction(()=>{o.someProp("handleKeyDown",c=>c(o,a))});return u==null||u.steps.forEach(c=>{const m=c.map(i.mapping);m&&n&&i.maybeStep(m)}),!0};function Tc(t,e,o={}){const{from:i,to:n,empty:r}=t.selection,s=e?_o(e,t.schema):null,a=[];t.doc.nodesBetween(i,n,(f,p)=>{if(f.isText)return;const C=Math.max(i,p),F=Math.min(n,p+f.nodeSize);a.push({node:f,from:C,to:F})});const u=n-i,c=a.filter(f=>s?s.name===f.node.type.name:!0).filter(f=>bh(f.node.attrs,o,{strict:!1}));return r?!!c.length:c.reduce((f,p)=>f+p.to-p.from,0)>=u}const yX=(t,e={})=>({state:o,dispatch:i})=>{const n=_o(t,o.schema);return Tc(o,n,e)?dZ(o,i):!1},TX=()=>({state:t,dispatch:e})=>l_(t,e),SX=t=>({state:e,dispatch:o})=>{const i=_o(t,e.schema);return BZ(i)(e,o)},BX=()=>({state:t,dispatch:e})=>s_(t,e);function Xp(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function $b(t,e){const o=typeof e=="string"?[e]:e;return Object.keys(t).reduce((i,n)=>(o.includes(n)||(i[n]=t[n]),i),{})}const VX=(t,e)=>({tr:o,state:i,dispatch:n})=>{let r=null,s=null;const a=Xp(typeof t=="string"?t:t.name,i.schema);return a?(a==="node"&&(r=_o(t,i.schema)),a==="mark"&&(s=ma(t,i.schema)),n&&o.selection.ranges.forEach(u=>{i.doc.nodesBetween(u.$from.pos,u.$to.pos,(c,m)=>{r&&r===c.type&&o.setNodeMarkup(m,void 0,$b(c.attrs,e)),s&&c.marks.length&&c.marks.forEach(f=>{s===f.type&&o.addMark(m,m+c.nodeSize,s.create($b(f.attrs,e)))})})}),!0):!1},RX=()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),DX=()=>({tr:t,dispatch:e})=>{if(e){const o=new Gi(t.doc);t.setSelection(o)}return!0},xX=()=>({state:t,dispatch:e})=>o_(t,e),bX=()=>({state:t,dispatch:e})=>r_(t,e),LX=()=>({state:t,dispatch:e})=>hZ(t,e),EX=()=>({state:t,dispatch:e})=>gZ(t,e),vX=()=>({state:t,dispatch:e})=>CZ(t,e);function YF(t,e,o={},i={}){return yc(t,e,{slice:!1,parseOptions:o,errorOnInvalidContent:i.errorOnInvalidContent})}const NX=(t,e=!1,o={},i={})=>({editor:n,tr:r,dispatch:s,commands:a})=>{var u,c;const{doc:m}=r;if(o.preserveWhitespace!=="full"){const f=YF(t,n.schema,o,{errorOnInvalidContent:(u=i.errorOnInvalidContent)!==null&&u!==void 0?u:n.options.enableContentCheck});return s&&r.replaceWith(0,m.content.size,f).setMeta("preventUpdate",!e),!0}return s&&r.setMeta("preventUpdate",!e),a.insertContentAt({from:0,to:m.content.size},t,{parseOptions:o,errorOnInvalidContent:(c=i.errorOnInvalidContent)!==null&&c!==void 0?c:n.options.enableContentCheck})};function S_(t,e){const o=ma(e,t.schema),{from:i,to:n,empty:r}=t.selection,s=[];r?(t.storedMarks&&s.push(...t.storedMarks),s.push(...t.selection.$head.marks())):t.doc.nodesBetween(i,n,u=>{s.push(...u.marks)});const a=s.find(u=>u.type.name===o.name);return a?{...a.attrs}:{}}function PX(t,e){const o=new CP(t);return e.forEach(i=>{i.steps.forEach(n=>{o.step(n)})}),o}function _X(t){for(let e=0;e<t.edgeCount;e+=1){const{type:o}=t.edge(e);if(o.isTextblock&&!o.hasRequiredAttrs())return o}return null}function AX(t,e,o){const i=[];return t.nodesBetween(e.from,e.to,(n,r)=>{o(n)&&i.push({node:n,pos:r})}),i}function IX(t,e){for(let o=t.depth;o>0;o-=1){const i=t.node(o);if(e(i))return{pos:o>0?t.before(o):0,start:t.start(o),depth:o,node:i}}}function MT(t){return e=>IX(e.$from,t)}function wX(t,e){const o={from:0,to:t.content.size};return h_(t,o,e)}function kX(t,e){const o=_o(e,t.schema),{from:i,to:n}=t.selection,r=[];t.doc.nodesBetween(i,n,a=>{r.push(a)});const s=r.reverse().find(a=>a.type.name===o.name);return s?{...s.attrs}:{}}function B_(t,e){const o=Xp(typeof e=="string"?e:e.name,t.schema);return o==="node"?kX(t,e):o==="mark"?S_(t,e):{}}function WX(t,e=JSON.stringify){const o={};return t.filter(i=>{const n=e(i);return Object.prototype.hasOwnProperty.call(o,n)?!1:o[n]=!0})}function OX(t){const e=WX(t);return e.length===1?e:e.filter((o,i)=>!e.filter((r,s)=>s!==i).some(r=>o.oldRange.from>=r.oldRange.from&&o.oldRange.to<=r.oldRange.to&&o.newRange.from>=r.newRange.from&&o.newRange.to<=r.newRange.to))}function MX(t){const{mapping:e,steps:o}=t,i=[];return e.maps.forEach((n,r)=>{const s=[];if(n.ranges.length)n.forEach((a,u)=>{s.push({from:a,to:u})});else{const{from:a,to:u}=o[r];if(a===void 0||u===void 0)return;s.push({from:a,to:u})}s.forEach(({from:a,to:u})=>{const c=e.slice(r).map(a,-1),m=e.slice(r).map(u),f=e.invert().map(c,-1),p=e.invert().map(m);i.push({oldRange:{from:f,to:p},newRange:{from:c,to:m}})})}),OX(i)}function V_(t,e,o){const i=[];return t===e?o.resolve(t).marks().forEach(n=>{const r=o.resolve(t),s=WT(r,n.type);s&&i.push({mark:n,...s})}):o.nodesBetween(t,e,(n,r)=>{!n||(n==null?void 0:n.nodeSize)===void 0||i.push(...n.marks.map(s=>({from:r,to:r+n.nodeSize,mark:s})))}),i}function wf(t,e,o){return Object.fromEntries(Object.entries(o).filter(([i])=>{const n=t.find(r=>r.type===e&&r.name===i);return n?n.attribute.keepOnSplit:!1}))}function JF(t,e,o={}){const{empty:i,ranges:n}=t.selection,r=e?ma(e,t.schema):null;if(i)return!!(t.storedMarks||t.selection.$from.marks()).filter(f=>r?r.name===f.type.name:!0).find(f=>bh(f.attrs,o,{strict:!1}));let s=0;const a=[];if(n.forEach(({$from:f,$to:p})=>{const C=f.pos,F=p.pos;t.doc.nodesBetween(C,F,(y,T)=>{if(!y.isText&&!y.marks.length)return;const B=Math.max(C,T),v=Math.min(F,T+y.nodeSize),D=v-B;s+=D,a.push(...y.marks.map(R=>({mark:R,from:B,to:v})))})}),s===0)return!1;const u=a.filter(f=>r?r.name===f.mark.type.name:!0).filter(f=>bh(f.mark.attrs,o,{strict:!1})).reduce((f,p)=>f+p.to-p.from,0),c=a.filter(f=>r?f.mark.type!==r&&f.mark.type.excludes(r):!0).reduce((f,p)=>f+p.to-p.from,0);return(u>0?u+c:u)>=s}function HX(t,e,o={}){if(!e)return Tc(t,null,o)||JF(t,null,o);const i=Xp(e,t.schema);return i==="node"?Tc(t,e,o):i==="mark"?JF(t,e,o):!1}function zb(t,e){const{nodeExtensions:o}=Jp(e),i=o.find(s=>s.name===t);if(!i)return!1;const n={name:i.name,options:i.options,storage:i.storage},r=Tt(He(i,"group",n));return typeof r!="string"?!1:r.split(" ").includes("list")}function HT(t,{checkChildren:e=!0,ignoreWhitespace:o=!1}={}){var i;if(o){if(t.type.name==="hardBreak")return!0;if(t.isText)return/^\s*$/m.test((i=t.text)!==null&&i!==void 0?i:"")}if(t.isText)return!t.text;if(t.isAtom||t.isLeaf)return!1;if(t.content.childCount===0)return!0;if(e){let n=!0;return t.content.forEach(r=>{n!==!1&&(HT(r,{ignoreWhitespace:o,checkChildren:e})||(n=!1))}),n}return!1}function $X(t,e,o){var i;const{selection:n}=e;let r=null;if(g_(n)&&(r=n.$cursor),r){const a=(i=t.storedMarks)!==null&&i!==void 0?i:r.marks();return!!o.isInSet(a)||!a.some(u=>u.type.excludes(o))}const{ranges:s}=n;return s.some(({$from:a,$to:u})=>{let c=a.depth===0?t.doc.inlineContent&&t.doc.type.allowsMarkType(o):!1;return t.doc.nodesBetween(a.pos,u.pos,(m,f,p)=>{if(c)return!1;if(m.isInline){const C=!p||p.type.allowsMarkType(o),F=!!o.isInSet(m.marks)||!m.marks.some(y=>y.type.excludes(o));c=C&&F}return!c}),c})}const zX=(t,e={})=>({tr:o,state:i,dispatch:n})=>{const{selection:r}=o,{empty:s,ranges:a}=r,u=ma(t,i.schema);if(n)if(s){const c=S_(i,u);o.addStoredMark(u.create({...c,...e}))}else a.forEach(c=>{const m=c.$from.pos,f=c.$to.pos;i.doc.nodesBetween(m,f,(p,C)=>{const F=Math.max(C,m),y=Math.min(C+p.nodeSize,f);p.marks.find(B=>B.type===u)?p.marks.forEach(B=>{u===B.type&&o.addMark(F,y,u.create({...B.attrs,...e}))}):o.addMark(F,y,u.create(e))})});return $X(i,o,u)},UX=(t,e)=>({tr:o})=>(o.setMeta(t,e),!0),jX=(t,e={})=>({state:o,dispatch:i,chain:n})=>{const r=_o(t,o.schema);let s;return o.selection.$anchor.sameParent(o.selection.$head)&&(s=o.selection.$anchor.parent.attrs),r.isTextblock?n().command(({commands:a})=>kb(r,{...s,...e})(o)?!0:a.clearNodes()).command(({state:a})=>kb(r,{...s,...e})(a,i)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},GX=t=>({tr:e,dispatch:o})=>{if(o){const{doc:i}=e,n=Ma(t,0,i.content.size),r=Xe.create(i,n);e.setSelection(r)}return!0},KX=t=>({tr:e,dispatch:o})=>{if(o){const{doc:i}=e,{from:n,to:r}=typeof t=="number"?{from:t,to:t}:t,s=ht.atStart(i).from,a=ht.atEnd(i).to,u=Ma(n,s,a),c=Ma(r,s,a),m=ht.create(i,u,c);e.setSelection(m)}return!0},qX=t=>({state:e,dispatch:o})=>{const i=_o(t,e.schema);return DZ(i)(e,o)};function Ub(t,e){const o=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(o){const i=o.filter(n=>e==null?void 0:e.includes(n.type.name));t.tr.ensureMarks(i)}}const YX=({keepMarks:t=!0}={})=>({tr:e,state:o,dispatch:i,editor:n})=>{const{selection:r,doc:s}=e,{$from:a,$to:u}=r,c=n.extensionManager.attributes,m=wf(c,a.node().type.name,a.node().attrs);if(r instanceof Xe&&r.node.isBlock)return!a.parentOffset||!ts(s,a.pos)?!1:(i&&(t&&Ub(o,n.extensionManager.splittableMarks),e.split(a.pos).scrollIntoView()),!0);if(!a.parent.isBlock)return!1;const f=u.parentOffset===u.parent.content.size,p=a.depth===0?void 0:_X(a.node(-1).contentMatchAt(a.indexAfter(-1)));let C=f&&p?[{type:p,attrs:m}]:void 0,F=ts(e.doc,e.mapping.map(a.pos),1,C);if(!C&&!F&&ts(e.doc,e.mapping.map(a.pos),1,p?[{type:p}]:void 0)&&(F=!0,C=p?[{type:p,attrs:m}]:void 0),i){if(F&&(r instanceof ht&&e.deleteSelection(),e.split(e.mapping.map(a.pos),1,C),p&&!f&&!a.parentOffset&&a.parent.type!==p)){const y=e.mapping.map(a.before()),T=e.doc.resolve(y);a.node(-1).canReplaceWith(T.index(),T.index()+1,p)&&e.setNodeMarkup(e.mapping.map(a.before()),p)}t&&Ub(o,n.extensionManager.splittableMarks),e.scrollIntoView()}return F},JX=(t,e={})=>({tr:o,state:i,dispatch:n,editor:r})=>{var s;const a=_o(t,i.schema),{$from:u,$to:c}=i.selection,m=i.selection.node;if(m&&m.isBlock||u.depth<2||!u.sameParent(c))return!1;const f=u.node(-1);if(f.type!==a)return!1;const p=r.extensionManager.attributes;if(u.parent.content.size===0&&u.node(-1).childCount===u.indexAfter(-1)){if(u.depth===2||u.node(-3).type!==a||u.index(-2)!==u.node(-2).childCount-1)return!1;if(n){let B=ge.empty;const v=u.index(-1)?1:u.index(-2)?2:3;for(let U=u.depth-v;U>=u.depth-3;U-=1)B=ge.from(u.node(U).copy(B));const D=u.indexAfter(-1)<u.node(-2).childCount?1:u.indexAfter(-2)<u.node(-3).childCount?2:3,R={...wf(p,u.node().type.name,u.node().attrs),...e},N=((s=a.contentMatch.defaultType)===null||s===void 0?void 0:s.createAndFill(R))||void 0;B=B.append(ge.from(a.createAndFill(null,N)||void 0));const _=u.before(u.depth-(v-1));o.replace(_,u.after(-D),new _e(B,4-v,0));let P=-1;o.doc.nodesBetween(_,o.doc.content.size,(U,k)=>{if(P>-1)return!1;U.isTextblock&&U.content.size===0&&(P=k+1)}),P>-1&&o.setSelection(ht.near(o.doc.resolve(P))),o.scrollIntoView()}return!0}const C=c.pos===u.end()?f.contentMatchAt(0).defaultType:null,F={...wf(p,f.type.name,f.attrs),...e},y={...wf(p,u.node().type.name,u.node().attrs),...e};o.delete(u.pos,c.pos);const T=C?[{type:a,attrs:F},{type:C,attrs:y}]:[{type:a,attrs:F}];if(!ts(o.doc,u.pos,2))return!1;if(n){const{selection:B,storedMarks:v}=i,{splittableMarks:D}=r.extensionManager,R=v||B.$to.parentOffset&&B.$from.marks();if(o.split(u.pos,2,T).scrollIntoView(),!R||!n)return!0;const N=R.filter(_=>D.includes(_.type.name));o.ensureMarks(N)}return!0},B0=(t,e)=>{const o=MT(s=>s.type===e)(t.selection);if(!o)return!0;const i=t.doc.resolve(Math.max(0,o.pos-1)).before(o.depth);if(i===void 0)return!0;const n=t.doc.nodeAt(i);return o.node.type===(n==null?void 0:n.type)&&da(t.doc,o.pos)&&t.join(o.pos),!0},V0=(t,e)=>{const o=MT(s=>s.type===e)(t.selection);if(!o)return!0;const i=t.doc.resolve(o.start).after(o.depth);if(i===void 0)return!0;const n=t.doc.nodeAt(i);return o.node.type===(n==null?void 0:n.type)&&da(t.doc,i)&&t.join(i),!0},ZX=(t,e,o,i={})=>({editor:n,tr:r,state:s,dispatch:a,chain:u,commands:c,can:m})=>{const{extensions:f,splittableMarks:p}=n.extensionManager,C=_o(t,s.schema),F=_o(e,s.schema),{selection:y,storedMarks:T}=s,{$from:B,$to:v}=y,D=B.blockRange(v),R=T||y.$to.parentOffset&&y.$from.marks();if(!D)return!1;const N=MT(_=>zb(_.type.name,f))(y);if(D.depth>=1&&N&&D.depth-N.depth<=1){if(N.node.type===C)return c.liftListItem(F);if(zb(N.node.type.name,f)&&C.validContent(N.node.content)&&a)return u().command(()=>(r.setNodeMarkup(N.pos,C),!0)).command(()=>B0(r,C)).command(()=>V0(r,C)).run()}return!o||!R||!a?u().command(()=>m().wrapInList(C,i)?!0:c.clearNodes()).wrapInList(C,i).command(()=>B0(r,C)).command(()=>V0(r,C)).run():u().command(()=>{const _=m().wrapInList(C,i),P=R.filter(U=>p.includes(U.type.name));return r.ensureMarks(P),_?!0:c.clearNodes()}).wrapInList(C,i).command(()=>B0(r,C)).command(()=>V0(r,C)).run()},XX=(t,e={},o={})=>({state:i,commands:n})=>{const{extendEmptyMarkRange:r=!1}=o,s=ma(t,i.schema);return JF(i,s,e)?n.unsetMark(s,{extendEmptyMarkRange:r}):n.setMark(s,e)},QX=(t,e,o={})=>({state:i,commands:n})=>{const r=_o(t,i.schema),s=_o(e,i.schema),a=Tc(i,r,o);let u;return i.selection.$anchor.sameParent(i.selection.$head)&&(u=i.selection.$anchor.parent.attrs),a?n.setNode(s,u):n.setNode(r,{...u,...o})},eQ=(t,e={})=>({state:o,commands:i})=>{const n=_o(t,o.schema);return Tc(o,n,e)?i.lift(n):i.wrapIn(n,e)},tQ=()=>({state:t,dispatch:e})=>{const o=t.plugins;for(let i=0;i<o.length;i+=1){const n=o[i];let r;if(n.spec.isInputRules&&(r=n.getState(t))){if(e){const s=t.tr,a=r.transform;for(let u=a.steps.length-1;u>=0;u-=1)s.step(a.steps[u].invert(a.docs[u]));if(r.text){const u=s.doc.resolve(r.from).marks();s.replaceWith(r.from,r.to,t.schema.text(r.text,u))}else s.delete(r.from,r.to)}return!0}}return!1},oQ=()=>({tr:t,dispatch:e})=>{const{selection:o}=t,{empty:i,ranges:n}=o;return i||e&&n.forEach(r=>{t.removeMark(r.$from.pos,r.$to.pos)}),!0},iQ=(t,e={})=>({tr:o,state:i,dispatch:n})=>{var r;const{extendEmptyMarkRange:s=!1}=e,{selection:a}=o,u=ma(t,i.schema),{$from:c,empty:m,ranges:f}=a;if(!n)return!0;if(m&&s){let{from:p,to:C}=a;const F=(r=c.marks().find(T=>T.type===u))===null||r===void 0?void 0:r.attrs,y=WT(c,u,F);y&&(p=y.from,C=y.to),o.removeMark(p,C,u)}else f.forEach(p=>{o.removeMark(p.$from.pos,p.$to.pos,u)});return o.removeStoredMark(u),!0},nQ=(t,e={})=>({tr:o,state:i,dispatch:n})=>{let r=null,s=null;const a=Xp(typeof t=="string"?t:t.name,i.schema);return a?(a==="node"&&(r=_o(t,i.schema)),a==="mark"&&(s=ma(t,i.schema)),n&&o.selection.ranges.forEach(u=>{const c=u.$from.pos,m=u.$to.pos;let f,p,C,F;o.selection.empty?i.doc.nodesBetween(c,m,(y,T)=>{r&&r===y.type&&(C=Math.max(T,c),F=Math.min(T+y.nodeSize,m),f=T,p=y)}):i.doc.nodesBetween(c,m,(y,T)=>{T<c&&r&&r===y.type&&(C=Math.max(T,c),F=Math.min(T+y.nodeSize,m),f=T,p=y),T>=c&&T<=m&&(r&&r===y.type&&o.setNodeMarkup(T,void 0,{...y.attrs,...e}),s&&y.marks.length&&y.marks.forEach(B=>{if(s===B.type){const v=Math.max(T,c),D=Math.min(T+y.nodeSize,m);o.addMark(v,D,s.create({...B.attrs,...e}))}}))}),p&&(f!==void 0&&o.setNodeMarkup(f,void 0,{...p.attrs,...e}),s&&p.marks.length&&p.marks.forEach(y=>{s===y.type&&o.addMark(C,F,s.create({...y.attrs,...e}))}))}),!0):!1},rQ=(t,e={})=>({state:o,dispatch:i})=>{const n=_o(t,o.schema);return FZ(n,e)(o,i)},sQ=(t,e={})=>({state:o,dispatch:i})=>{const n=_o(t,o.schema);return yZ(n,e)(o,i)};var aQ=Object.freeze({__proto__:null,blur:$Z,clearContent:zZ,clearNodes:UZ,command:jZ,createParagraphNear:GZ,cut:KZ,deleteCurrentNode:qZ,deleteNode:YZ,deleteRange:JZ,deleteSelection:ZZ,enter:XZ,exitCode:QZ,extendMarkRange:eX,first:tX,focus:iX,forEach:nX,insertContent:rX,insertContentAt:lX,joinBackward:cX,joinDown:dX,joinForward:mX,joinItemBackward:fX,joinItemForward:hX,joinTextblockBackward:pX,joinTextblockForward:CX,joinUp:uX,keyboardShortcut:FX,lift:yX,liftEmptyBlock:TX,liftListItem:SX,newlineInCode:BX,resetAttributes:VX,scrollIntoView:RX,selectAll:DX,selectNodeBackward:xX,selectNodeForward:bX,selectParentNode:LX,selectTextblockEnd:EX,selectTextblockStart:vX,setContent:NX,setMark:zX,setMeta:UX,setNode:jX,setNodeSelection:GX,setTextSelection:KX,sinkListItem:qX,splitBlock:YX,splitListItem:JX,toggleList:ZX,toggleMark:XX,toggleNode:QX,toggleWrap:eQ,undoInputRule:tQ,unsetAllMarks:oQ,unsetMark:iQ,updateAttributes:nQ,wrapIn:rQ,wrapInList:sQ});const lQ=ti.create({name:"commands",addCommands(){return{...aQ}}}),uQ=ti.create({name:"drop",addProseMirrorPlugins(){return[new zo({key:new Ni("tiptapDrop"),props:{handleDrop:(t,e,o,i)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:o,moved:i})}}})]}}),dQ=ti.create({name:"editable",addProseMirrorPlugins(){return[new zo({key:new Ni("editable"),props:{editable:()=>this.editor.options.editable}})]}}),cQ=new Ni("focusEvents"),mQ=ti.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new zo({key:cQ,props:{handleDOMEvents:{focus:(e,o)=>{t.isFocused=!0;const i=t.state.tr.setMeta("focus",{event:o}).setMeta("addToHistory",!1);return e.dispatch(i),!1},blur:(e,o)=>{t.isFocused=!1;const i=t.state.tr.setMeta("blur",{event:o}).setMeta("addToHistory",!1);return e.dispatch(i),!1}}}})]}}),fQ=ti.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first(({commands:s})=>[()=>s.undoInputRule(),()=>s.command(({tr:a})=>{const{selection:u,doc:c}=a,{empty:m,$anchor:f}=u,{pos:p,parent:C}=f,F=f.parent.isTextblock&&p>0?a.doc.resolve(p-1):f,y=F.parent.type.spec.isolating,T=f.pos-f.parentOffset,B=y&&F.parent.childCount===1?T===f.pos:Bt.atStart(c).from===p;return!m||!C.type.isTextblock||C.textContent.length||!B||B&&f.parent.type.name==="paragraph"?!1:s.clearNodes()}),()=>s.deleteSelection(),()=>s.joinBackward(),()=>s.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:s})=>[()=>s.deleteSelection(),()=>s.deleteCurrentNode(),()=>s.joinForward(),()=>s.selectNodeForward()]),i={Enter:()=>this.editor.commands.first(({commands:s})=>[()=>s.newlineInCode(),()=>s.createParagraphNear(),()=>s.liftEmptyBlock(),()=>s.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},n={...i},r={...i,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return OT()||T_()?r:n},addProseMirrorPlugins(){return[new zo({key:new Ni("clearDocument"),appendTransaction:(t,e,o)=>{if(t.some(y=>y.getMeta("composition")))return;const i=t.some(y=>y.docChanged)&&!e.doc.eq(o.doc),n=t.some(y=>y.getMeta("preventClearDocument"));if(!i||n)return;const{empty:r,from:s,to:a}=e.selection,u=Bt.atStart(e.doc).from,c=Bt.atEnd(e.doc).to;if(r||!(s===u&&a===c)||!HT(o.doc))return;const p=o.tr,C=qp({state:o,transaction:p}),{commands:F}=new Yp({editor:this.editor,state:C});if(F.clearNodes(),!!p.steps.length)return p}})]}}),hQ=ti.create({name:"paste",addProseMirrorPlugins(){return[new zo({key:new Ni("tiptapPaste"),props:{handlePaste:(t,e,o)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:o})}}})]}}),pQ=ti.create({name:"tabindex",addProseMirrorPlugins(){return[new zo({key:new Ni("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class Aa{get name(){return this.node.type.name}constructor(e,o,i=!1,n=null){this.currentNode=null,this.actualDepth=null,this.isBlock=i,this.resolvedPos=e,this.editor=o,this.currentNode=n}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!==null&&e!==void 0?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let o=this.from,i=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}o=this.from+1,i=this.to-1}this.editor.commands.insertContentAt({from:o,to:i},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),o=this.resolvedPos.doc.resolve(e);return new Aa(o,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new Aa(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new Aa(e,this.editor)}get children(){const e=[];return this.node.content.forEach((o,i)=>{const n=o.isBlock&&!o.isTextblock,r=o.isAtom&&!o.isText,s=this.pos+i+(r?0:1);if(s<0||s>this.resolvedPos.doc.nodeSize-2)return;const a=this.resolvedPos.doc.resolve(s);if(!n&&a.depth<=this.depth)return;const u=new Aa(a,this.editor,n,n?o:null);n&&(u.actualDepth=this.depth+1),e.push(new Aa(a,this.editor,n,n?o:null))}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,o={}){let i=null,n=this.parent;for(;n&&!i;){if(n.node.type.name===e)if(Object.keys(o).length>0){const r=n.node.attrs,s=Object.keys(o);for(let a=0;a<s.length;a+=1){const u=s[a];if(r[u]!==o[u])break}}else i=n;n=n.parent}return i}querySelector(e,o={}){return this.querySelectorAll(e,o,!0)[0]||null}querySelectorAll(e,o={},i=!1){let n=[];if(!this.children||this.children.length===0)return n;const r=Object.keys(o);return this.children.forEach(s=>{i&&n.length>0||(s.node.type.name===e&&r.every(u=>o[u]===s.node.attrs[u])&&n.push(s),!(i&&n.length>0)&&(n=n.concat(s.querySelectorAll(e,o,i))))}),n}setAttribute(e){const{tr:o}=this.editor.state;o.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(o)}}const CQ=`.ProseMirror {
|
|
99
|
-
position: relative;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.ProseMirror {
|
|
103
|
-
word-wrap: break-word;
|
|
104
|
-
white-space: pre-wrap;
|
|
105
|
-
white-space: break-spaces;
|
|
106
|
-
-webkit-font-variant-ligatures: none;
|
|
107
|
-
font-variant-ligatures: none;
|
|
108
|
-
font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.ProseMirror [contenteditable="false"] {
|
|
112
|
-
white-space: normal;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.ProseMirror [contenteditable="false"] [contenteditable="true"] {
|
|
116
|
-
white-space: pre-wrap;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.ProseMirror pre {
|
|
120
|
-
white-space: pre-wrap;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
img.ProseMirror-separator {
|
|
124
|
-
display: inline !important;
|
|
125
|
-
border: none !important;
|
|
126
|
-
margin: 0 !important;
|
|
127
|
-
width: 0 !important;
|
|
128
|
-
height: 0 !important;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.ProseMirror-gapcursor {
|
|
132
|
-
display: none;
|
|
133
|
-
pointer-events: none;
|
|
134
|
-
position: absolute;
|
|
135
|
-
margin: 0;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.ProseMirror-gapcursor:after {
|
|
139
|
-
content: "";
|
|
140
|
-
display: block;
|
|
141
|
-
position: absolute;
|
|
142
|
-
top: -2px;
|
|
143
|
-
width: 20px;
|
|
144
|
-
border-top: 1px solid black;
|
|
145
|
-
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
@keyframes ProseMirror-cursor-blink {
|
|
149
|
-
to {
|
|
150
|
-
visibility: hidden;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.ProseMirror-hideselection *::selection {
|
|
155
|
-
background: transparent;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.ProseMirror-hideselection *::-moz-selection {
|
|
159
|
-
background: transparent;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.ProseMirror-hideselection * {
|
|
163
|
-
caret-color: transparent;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
167
|
-
display: block;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.tippy-box[data-animation=fade][data-state=hidden] {
|
|
171
|
-
opacity: 0
|
|
172
|
-
}`;function gQ(t,e,o){const i=document.querySelector("style[data-tiptap-style]");if(i!==null)return i;const n=document.createElement("style");return e&&n.setAttribute("nonce",e),n.setAttribute("data-tiptap-style",""),n.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(n),n}let FQ=class extends xZ{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:o})=>{throw o},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:o,slice:i,moved:n})=>this.options.onDrop(o,i,n)),this.on("paste",({event:o,slice:i})=>this.options.onPaste(o,i)),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=gQ(CQ,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},!(!this.view||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,o=!0){this.setOptions({editable:e}),o&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,o){const i=m_(o)?o(e,[...this.state.plugins]):[...this.state.plugins,e],n=this.state.reconfigure({plugins:i});return this.view.updateState(n),n}unregisterPlugin(e){if(this.isDestroyed)return;const o=this.state.plugins;let i=o;if([].concat(e).forEach(r=>{const s=typeof r=="string"?`${r}$`:r.key;i=i.filter(a=>!a.key.startsWith(s))}),o.length===i.length)return;const n=this.state.reconfigure({plugins:i});return this.view.updateState(n),n}createExtensionManager(){var e,o;const n=[...this.options.enableCoreExtensions?[dQ,HZ.configure({blockSeparator:(o=(e=this.options.coreExtensionOptions)===null||e===void 0?void 0:e.clipboardTextSerializer)===null||o===void 0?void 0:o.blockSeparator}),lQ,mQ,fQ,pQ,uQ,hQ].filter(r=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[r.name]!==!1:!0):[],...this.options.extensions].filter(r=>["extension","node","mark"].includes(r==null?void 0:r.type));this.extensionManager=new Xl(n,this)}createCommandManager(){this.commandManager=new Yp({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var e;let o;try{o=YF(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(s){if(!(s instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(s.message))throw s;this.emit("contentError",{editor:this,error:s,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(a=>a.name!=="collaboration"),this.createExtensionManager()}}),o=YF(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const i=F_(o,this.options.autofocus);this.view=new XP(this.options.element,{...this.options.editorProps,attributes:{role:"textbox",...(e=this.options.editorProps)===null||e===void 0?void 0:e.attributes},dispatchTransaction:this.dispatchTransaction.bind(this),state:Zl.create({doc:o,selection:i||void 0})});const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews(),this.prependClass();const r=this.view.dom;r.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const o=this.capturedTransaction;return this.capturedTransaction=null,o}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(s=>{var a;return(a=this.capturedTransaction)===null||a===void 0?void 0:a.step(s)});return}const o=this.state.apply(e),i=!this.state.selection.eq(o.selection);this.emit("beforeTransaction",{editor:this,transaction:e,nextState:o}),this.view.updateState(o),this.emit("transaction",{editor:this,transaction:e}),i&&this.emit("selectionUpdate",{editor:this,transaction:e});const n=e.getMeta("focus"),r=e.getMeta("blur");n&&this.emit("focus",{editor:this,event:n.event,transaction:e}),r&&this.emit("blur",{editor:this,event:r.event,transaction:e}),!(!e.docChanged||e.getMeta("preventUpdate"))&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return B_(this.state,e)}isActive(e,o){const i=typeof e=="string"?e:null,n=typeof e=="string"?o:e;return HX(this.state,i,n)}getJSON(){return this.state.doc.toJSON()}getHTML(){return wT(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:o=`
|
|
173
|
-
|
|
174
|
-
`,textSerializers:i={}}=e||{};return wX(this.state.doc,{blockSeparator:o,textSerializers:{...p_(this.schema),...i}})}get isEmpty(){return HT(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(!((e=this.view)===null||e===void 0)&&e.docView)}$node(e,o){var i;return((i=this.$doc)===null||i===void 0?void 0:i.querySelector(e,o))||null}$nodes(e,o){var i;return((i=this.$doc)===null||i===void 0?void 0:i.querySelectorAll(e,o))||null}$pos(e){const o=this.state.doc.resolve(e);return new Aa(o,this)}get $doc(){return this.$pos(0)}};function yQ(t){return new f_({find:t.find,handler:({state:e,range:o,match:i})=>{const n=Tt(t.getAttributes,void 0,i)||{},{tr:r}=e,s=o.from;let a=o.to;const u=t.type.create(n);if(i[1]){const c=i[0].lastIndexOf(i[1]);let m=s+c;m>a?m=a:a=m+i[1].length;const f=i[0][i[0].length-1];r.insertText(f,s+i[0].length-1),r.replaceWith(m,a,u)}else if(i[0]){const c=t.type.isInline?s:s-1;r.insert(c,t.type.create(n)).delete(r.mapping.map(s),r.mapping.map(a))}r.scrollIntoView()}})}function Lh(t){return new f_({find:t.find,handler:({state:e,range:o,match:i,chain:n})=>{const r=Tt(t.getAttributes,void 0,i)||{},s=e.tr.delete(o.from,o.to),u=s.doc.resolve(o.from).blockRange(),c=u&&TT(u,t.type,r);if(!c)return null;if(s.wrap(u,c),t.keepMarks&&t.editor){const{selection:f,storedMarks:p}=e,{splittableMarks:C}=t.editor.extensionManager,F=p||f.$to.parentOffset&&f.$from.marks();if(F){const y=F.filter(T=>C.includes(T.type.name));s.ensureMarks(y)}}if(t.keepAttributes){const f=t.type.name==="bulletList"||t.type.name==="orderedList"?"listItem":"taskList";n().updateAttributes(f,r).run()}const m=s.doc.resolve(o.from-1).nodeBefore;m&&m.type===t.type&&da(s.doc,o.from-1)&&(!t.joinPredicate||t.joinPredicate(i,m))&&s.join(o.from-1)}})}let fs=class ZF{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=Tt(He(this,"addOptions",{name:this.name}))),this.storage=Tt(He(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ZF(e)}configure(e={}){const o=this.extend({...this.config,addOptions:()=>Zp(this.options,e)});return o.name=this.name,o.parent=this.parent,o}extend(e={}){const o=new ZF(e);return o.parent=this,this.child=o,o.name=e.name?e.name:o.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${o.name}".`),o.options=Tt(He(o,"addOptions",{name:o.name})),o.storage=Tt(He(o,"addStorage",{name:o.name,options:o.options})),o}};function TQ(t){return new IZ({find:t.find,handler:({state:e,range:o,match:i,pasteEvent:n})=>{const r=Tt(t.getAttributes,void 0,i,n);if(r===!1||r===null)return null;const{tr:s}=e,a=i[i.length-1],u=i[0];let c=o.to;if(a){const m=u.search(/\S/),f=o.from+u.indexOf(a),p=f+a.length;if(V_(o.from,o.to,e.doc).filter(F=>F.mark.type.excluded.find(T=>T===t.type&&T!==F.mark.type)).filter(F=>F.to>f).length)return null;p<o.to&&s.delete(p,o.to),f>o.from&&s.delete(o.from+m,f),c=o.from+m+a.length,s.addMark(o.from+m,c,t.type.create(r||{})),s.removeStoredMark(t.type)}}})}function jb(t){return y3((e,o)=>({get(){return e(),t},set(i){t=i,requestAnimationFrame(()=>{requestAnimationFrame(()=>{o()})})}}))}class SQ extends FQ{constructor(e={}){return super(e),this.contentComponent=null,this.appContext=null,this.reactiveState=jb(this.view.state),this.reactiveExtensionStorage=jb(this.extensionStorage),this.on("beforeTransaction",({nextState:o})=>{this.reactiveState.value=o,this.reactiveExtensionStorage.value=this.extensionStorage}),iL(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(e,o){const i=super.registerPlugin(e,o);return this.reactiveState&&(this.reactiveState.value=i),i}unregisterPlugin(e){const o=super.unregisterPlugin(e);return this.reactiveState&&o&&(this.reactiveState.value=o),o}}const BQ=Me({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(t){const e=Vt(),o=Sn();return Pu(()=>{const i=t.editor;i&&i.options.element&&e.value&&ul(()=>{if(!e.value||!i.options.element.firstChild)return;const n=j(e.value);e.value.append(...i.options.element.childNodes),i.contentComponent=o.ctx._,o&&(i.appContext={...o.appContext,provides:o.provides}),i.setOptions({element:n}),i.createNodeViews()})}),ea(()=>{const i=t.editor;i&&(i.contentComponent=null,i.appContext=null)}),{rootEl:e}},render(){return Gn("div",{ref:t=>{this.rootEl=t}})}}),VQ=(t={})=>{const e=lo();return ds(()=>{e.value=new SQ(t)}),ea(()=>{var o,i,n;const r=(o=e.value)===null||o===void 0?void 0:o.options.element,s=r==null?void 0:r.cloneNode(!0);(i=r==null?void 0:r.parentNode)===null||i===void 0||i.replaceChild(s,r),(n=e.value)===null||n===void 0||n.destroy()}),e},Gb=t=>({type:"doc",content:t.Content.map(RQ)}),RQ=t=>"ParagraphNode"in t?x_(t):"BulletListNode"in t?DQ(t):"OrderedListNode"in t?xQ(t):"DataFieldNode"in t?D_(t):vi(t),R_=t=>({type:"listItem",content:t.Content.map(e=>"ParagraphNode"in e?x_(e):"ImageNode"in e?b_(e):vi(e))}),D_=t=>({type:"dataField",marks:$T({textStyle:t.DataFieldNode.TextStyle,commonLinkMark:t.DataFieldNode.CommonLinkMark}),attrs:{stringExpression:t.DataFieldNode.StringExpression}}),DQ=t=>({type:"bulletList",content:t.BulletListNode.Content.map(R_),attrs:{themeName:t.BulletListNode.ListStyle}}),xQ=t=>({type:"orderedList",content:t.OrderedListNode.Content.map(R_),attrs:{themeName:t.OrderedListNode.ListStyle}}),x_=t=>({type:"paragraph",attrs:{themeName:t.ParagraphNode.ThemeName},content:t.ParagraphNode.Content.map(bQ)}),bQ=t=>"TextNode"in t?LQ(t):"HardBreakNode"in t?IQ():"ImageNode"in t?b_(t):"DataFieldNode"in t?D_(t):vi(t),$T=t=>{const e=[];return t.textStyle&&e.push(_Q(t.textStyle)),t.commonLinkMark&&e.push(AQ(t.commonLinkMark)),e.filter(o=>o!==void 0)},LQ=t=>({type:"text",text:t.TextNode.Text,marks:$T({textStyle:t.TextNode.TextStyle,commonLinkMark:t.TextNode.CommonLinkMark})}),EQ=t=>{switch(t){case"Normal":return"normal";case"Bold":return"bold";default:return"normal"}},vQ=t=>{switch(t){case"Normal":return"normal";case"Italic":return"italic";default:return"normal"}},NQ=t=>{switch(t){case"None":return"none";case"Uppercase":return"uppercase";default:return"none"}},PQ=t=>{switch(t){case"None":return"none";case"Underline":return"underline";case"LineThrough":return"line-through";default:return"none"}},_Q=t=>({type:"textStyle",attrs:{themeName:t.ThemeName,color:t.Style.Color,fontWeight:t.Style.FontWeight?EQ(t.Style.FontWeight):void 0,fontStyle:t.Style.FontStyle?vQ(t.Style.FontStyle):void 0,fontSize:t.Style.FontSize?t.Style.FontSize+"px":void 0,lineHeight:t.Style.LineHeight?t.Style.LineHeight+"px":void 0,fontFamily:t.Style.FontFamily,textTransform:t.Style.TextTransform?NQ(t.Style.TextTransform):void 0,textDecoration:t.Style.TextDecoration?PQ(t.Style.TextDecoration):void 0}}),AQ=t=>Ao(t).Match({LinkMark:e=>wQ({LinkMark:e}),UnsubscribeLinkMark:()=>kQ()}),IQ=()=>({type:"hardBreak"}),b_=t=>({type:"image",attrs:{src:t.ImageNode.Src,alt:t.ImageNode.Alt,isRetina:t.ImageNode.IsRetina,width:t.ImageNode.Width,height:t.ImageNode.Height},marks:$T({commonLinkMark:t.ImageNode.CommonLinkMark})}),wQ=t=>({type:"link",attrs:{href:t.LinkMark.Href}}),kQ=()=>({type:"unsubscribeLink"}),WQ=t=>{if(!t.children.length)return;const e=t.querySelectorAll("span");e&&e.forEach(o=>{var i,n;const r=o.getAttribute("style"),s=(n=(i=o.parentElement)===null||i===void 0?void 0:i.closest("span"))===null||n===void 0?void 0:n.getAttribute("style");o.setAttribute("style",`${s};${r}`)})},zT=Zi.create({name:"textStyle",priority:101,addOptions(){return{HTMLAttributes:{},mergeNestedSpanStyles:!1}},parseHTML(){return[{tag:"span",getAttrs:t=>t.hasAttribute("style")?(this.options.mergeNestedSpanStyles&&WQ(t),{}):!1}]},renderHTML({HTMLAttributes:t}){return["span",Ji(this.options.HTMLAttributes,t),0]},addCommands(){return{removeEmptyTextStyle:()=>({tr:t})=>{const{selection:e}=t;return t.doc.nodesBetween(e.from,e.to,(o,i)=>{if(o.isTextblock)return!0;o.marks.filter(n=>n.type===this.type).some(n=>Object.values(n.attrs).some(r=>!!r))||t.removeMark(i,i+o.nodeSize,this.type)}),!0}}}}),OQ=ti.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new zo({key:new Ni("focus"),props:{decorations:({doc:t,selection:e})=>{const{isEditable:o,isFocused:i}=this.editor,{anchor:n}=e,r=[];if(!o||!i)return Fo.create(t,[]);let s=0;this.options.mode==="deepest"&&t.descendants((u,c)=>{if(u.isText)return;if(!(n>=c&&n<=c+u.nodeSize-1))return!1;s+=1});let a=0;return t.descendants((u,c)=>{if(u.isText||!(n>=c&&n<=c+u.nodeSize-1))return!1;if(a+=1,this.options.mode==="deepest"&&s-a>0||this.options.mode==="shallowest"&&a>1)return this.options.mode==="deepest";r.push(Cn.node(c,c+u.nodeSize,{class:this.options.className}))}),Fo.create(t,r)}}})]}}),MQ=fs.create({name:"text",group:"inline"}),HQ=fs.create({name:"doc",topNode:!0,content:"block+"}),L_=Zi.create({name:"textTransform",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textTransform:{default:"none",parseHTML:t=>t.style.textTransform,renderHTML:t=>t.textTransform?{style:`text-transform: ${t.textTransform}`}:{}}}}]},addCommands(){return{setTextTransform:t=>({chain:e})=>e().setMark("textStyle",{textTransform:t}).run(),unsetTextTransform:()=>({chain:t,state:e})=>{const{from:o,to:i,$from:n}=e.selection;return e.doc.textBetween(o,i," ").length?t().setMark("textStyle",{textTransform:"none"}).run():t().setTextSelection({from:n.pos-n.nodeBefore.nodeSize,to:n.pos+n.nodeAfter.nodeSize}).setMark("textStyle",{textTransform:"none"}).focus().run()}}},addKeyboardShortcuts(){const t=e=>e.isUppercase?this.editor.commands.unsetTextTransform():this.editor.commands.setTextTransform("uppercase");return{"Mod-Shift-u":()=>{const e=this.editor.isActive("textStyle",{textTransform:"uppercase"});return t({isUppercase:e})},"Mod-Shift-U":()=>{const e=this.editor.isActive("textStyle",{textTransform:"uppercase"});return t({isUppercase:e})}}}}),$Q=Zi.create({name:"fontSize",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:t=>t.style.fontSize.replace(/['"]+/g,""),renderHTML:t=>t.fontSize?{style:`font-size: ${t.fontSize}`}:{}}}}]},addCommands(){return{setFontSize:t=>({chain:e})=>e().setMark("textStyle",{fontSize:t+"px"}).run(),resetFontSize:()=>({chain:t})=>t().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()}}}),zQ=Zi.create({name:"lineHeight",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:null,parseHTML:t=>t.style.lineHeight.replace(/['"]+/g,""),renderHTML:t=>t.lineHeight?{style:`line-height: ${t.lineHeight}`}:{}}}}]},addCommands(){return{setLineHeight:t=>({chain:e})=>e().setMark("textStyle",{lineHeight:t+"px"}).run(),resetLineHeight:()=>({chain:t})=>t().setMark("textStyle",{lineHeight:null}).run()}}}),UQ=t=>ti.create({name:"themeFontStyles",priority:1e3,addOptions(){return{types:["textStyle","bulletList","orderedList","paragraph"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{themeName:{default:t,parseHTML:e=>e.getAttribute("data-theme"),renderHTML:e=>e.themeName?{"data-theme":e.themeName,class:e.themeName}:{"data-theme":t,class:e.themeName}}}}]},addCommands(){return{setThemeSettings:e=>({chain:o,state:i})=>{const{$from:n}=i.selection,r=n.parent,s=n.index();return r.child(s).type.name==="image"?!1:o().setMark("textStyle",{themeName:e}).run()},applySiblingNodeThemeSettings:()=>({chain:e,state:o})=>{var F,y;const{from:i,to:n,$from:r}=o.selection,s=r.parent,a=r.index(),u=((F=r.node(r.depth))==null?void 0:F.type.name)==="dataField"||((y=s.maybeChild(a))==null?void 0:y.type.name)==="dataField",c=s.child(a).type.name==="image",m=T=>{const B="NormalText",v=T.index>0?s.child(T.index-1):void 0,D=T.index+1<s.childCount?s.child(T.index+1):void 0,R=v??D;if(R){const N=R.marks.find(_=>_.type.name==="textStyle");if(N)return N.attrs.themeName}return B};if(u){const T=m({index:a});return e().unsetMark("textStyle",{extendEmptyMarkRange:!0}).setThemeSettings(T).run()}if(c)return!1;const f=m({index:a}),p=r.nodeBefore?r.pos-r.nodeBefore.nodeSize:i,C=r.nodeAfter?r.pos+r.nodeAfter.nodeSize:n;return e().setTextSelection({from:p,to:C}).setThemeSettings(f).run()}}},addProseMirrorPlugins(){return[new zo({key:new Ni("syncBlockTheme"),appendTransaction:(e,o,i)=>{const n=i.tr;let r=!1;return i.doc.descendants((s,a)=>{var u,c;if(s.type.name==="bulletList"||s.type.name==="orderedList"){const m=s.firstChild,f=m==null?void 0:m.firstChild,p=f==null?void 0:f.firstChild;if(p){const C=(u=p.marks.find(F=>F.type.name==="textStyle"))==null?void 0:u.attrs.themeName;C&&s.attrs.themeName!==C&&(n.setNodeMarkup(a,void 0,{...s.attrs,themeName:C}),r=!0)}}if(s.type.name==="paragraph"){const m=s.firstChild;if(m){const f=(c=m.marks.find(p=>p.type.name==="textStyle"))==null?void 0:c.attrs.themeName;f&&s.attrs.themeName!==f&&(n.setNodeMarkup(a,void 0,{...s.attrs,themeName:f}),r=!0)}}}),r?n:null}})]}}),jQ=Zi.create({name:"fontWeight",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontWeight:{default:null,parseHTML:t=>t.style.fontWeight,renderHTML:t=>t.fontWeight?{style:`font-weight: ${t.fontWeight}`}:{}}}}]},addCommands(){return{setFontWeight:t=>({chain:e})=>e().setMark("textStyle",{fontWeight:t}).run(),unsetFontWeight:()=>({chain:t,state:e})=>{const{from:o,to:i,$from:n}=e.selection;return e.doc.textBetween(o,i," ").length?t().setMark("textStyle",{fontWeight:"normal"}).run():t().setTextSelection({from:n.pos-n.nodeBefore.nodeSize,to:n.pos+n.nodeAfter.nodeSize}).setMark("textStyle",{fontWeight:"normal"}).focus().run()},resetFontWeight:()=>({chain:t})=>t().setMark("textStyle",{fontWeight:null}).removeEmptyTextStyle().run()}},addKeyboardShortcuts(){const t=e=>e.isBold?this.editor.commands.unsetFontWeight():this.editor.commands.setFontWeight("bold");return{"Mod-b":()=>{const e=this.editor.isActive("textStyle",{fontWeight:"bold"});return t({isBold:e})},"Mod-B":()=>{const e=this.editor.isActive("textStyle",{fontWeight:"bold"});return t({isBold:e})}}}}),GQ=Zi.create({name:"fontStyle",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontStyle:{default:null,parseHTML:t=>t.style.fontStyle,renderHTML:t=>t.fontStyle?{style:`font-style: ${t.fontStyle}`}:{}}}}]},addCommands(){return{setFontStyle:t=>({chain:e})=>e().setMark("textStyle",{fontStyle:t}).run(),unsetFontStyle:()=>({chain:t,state:e})=>{const{from:o,to:i,$from:n}=e.selection;return e.doc.textBetween(o,i," ").length?t().setMark("textStyle",{fontStyle:"normal"}).run():t().setTextSelection({from:n.pos-n.nodeBefore.nodeSize,to:n.pos+n.nodeAfter.nodeSize}).setMark("textStyle",{fontStyle:"normal"}).focus().run()},resetFontStyle:()=>({chain:t})=>t().setMark("textStyle",{fontStyle:null}).removeEmptyTextStyle().run()}},addKeyboardShortcuts(){const t=e=>e.isItalic?this.editor.commands.unsetFontStyle():this.editor.commands.setFontStyle("italic");return{"Mod-i":()=>{const e=this.editor.isActive("textStyle",{fontStyle:"italic"});return t({isItalic:e})},"Mod-I":()=>{const e=this.editor.isActive("textStyle",{fontStyle:"italic"});return t({isItalic:e})}}}}),UT=Zi.create({name:"unsubscribeLink",priority:1e3,addOptions(){return{HTMLAttributes:{"data-type":"unsubscribe-link",class:"rich-text__unsubscribe-link"}}},parseHTML(){return[{tag:'span[data-type="unsubscribe-link"]'}]},renderHTML({HTMLAttributes:t}){return["span",Ji(this.options.HTMLAttributes,t),0]},addCommands(){return{setUnsubscribeLink:()=>({chain:t})=>t().setMark("unsubscribeLink").focus().run(),unsetUnsubscribeLink:()=>({chain:t,state:e})=>{const{from:o,to:i}=e.selection,n=e.doc.textBetween(o,i," "),r=e.doc.nodeAt(o);return(r==null?void 0:r.type.name)==="image"?t().unsetMark("unsubscribeLink").focus().run():n.length?t().setTextSelection({from:o,to:o+n.length}).unsetMark("unsubscribeLink").focus().run():t().unsetMark("unsubscribeLink",{extendEmptyMarkRange:!0}).focus().run()}}}}),KQ="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",qQ="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",XF="numeric",QF="ascii",ey="alpha",Md="asciinumeric",xd="alphanumeric",ty="domain",E_="emoji",YQ="scheme",JQ="slashscheme",R0="whitespace";function ZQ(t,e){return t in e||(e[t]=[]),e[t]}function Ha(t,e,o){e[XF]&&(e[Md]=!0,e[xd]=!0),e[QF]&&(e[Md]=!0,e[ey]=!0),e[Md]&&(e[xd]=!0),e[ey]&&(e[xd]=!0),e[xd]&&(e[ty]=!0),e[E_]&&(e[ty]=!0);for(const i in e){const n=ZQ(i,o);n.indexOf(t)<0&&n.push(t)}}function XQ(t,e){const o={};for(const i in e)e[i].indexOf(t)>=0&&(o[i]=!0);return o}function Di(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}Di.groups={};Di.prototype={accepts(){return!!this.t},go(t){const e=this,o=e.j[t];if(o)return o;for(let i=0;i<e.jr.length;i++){const n=e.jr[i][0],r=e.jr[i][1];if(r&&n.test(t))return r}return e.jd},has(t,e=!1){return e?t in this.j:!!this.go(t)},ta(t,e,o,i){for(let n=0;n<t.length;n++)this.tt(t[n],e,o,i)},tr(t,e,o,i){i=i||Di.groups;let n;return e&&e.j?n=e:(n=new Di(e),o&&i&&Ha(e,o,i)),this.jr.push([t,n]),n},ts(t,e,o,i){let n=this;const r=t.length;if(!r)return n;for(let s=0;s<r-1;s++)n=n.tt(t[s]);return n.tt(t[r-1],e,o,i)},tt(t,e,o,i){i=i||Di.groups;const n=this;if(e&&e.j)return n.j[t]=e,e;const r=e;let s,a=n.go(t);if(a?(s=new Di,Object.assign(s.j,a.j),s.jr.push.apply(s.jr,a.jr),s.jd=a.jd,s.t=a.t):s=new Di,r){if(i)if(s.t&&typeof s.t=="string"){const u=Object.assign(XQ(s.t,i),o);Ha(r,u,i)}else o&&Ha(r,o,i);s.t=r}return n.j[t]=s,s}};const dt=(t,e,o,i,n)=>t.ta(e,o,i,n),so=(t,e,o,i,n)=>t.tr(e,o,i,n),Kb=(t,e,o,i,n)=>t.ts(e,o,i,n),Fe=(t,e,o,i,n)=>t.tt(e,o,i,n),$r="WORD",oy="UWORD",v_="ASCIINUMERICAL",N_="ALPHANUMERICAL",Sc="LOCALHOST",iy="TLD",ny="UTLD",kf="SCHEME",ql="SLASH_SCHEME",jT="NUM",ry="WS",GT="NL",Hd="OPENBRACE",$d="CLOSEBRACE",Eh="OPENBRACKET",vh="CLOSEBRACKET",Nh="OPENPAREN",Ph="CLOSEPAREN",_h="OPENANGLEBRACKET",Ah="CLOSEANGLEBRACKET",Ih="FULLWIDTHLEFTPAREN",wh="FULLWIDTHRIGHTPAREN",kh="LEFTCORNERBRACKET",Wh="RIGHTCORNERBRACKET",Oh="LEFTWHITECORNERBRACKET",Mh="RIGHTWHITECORNERBRACKET",Hh="FULLWIDTHLESSTHAN",$h="FULLWIDTHGREATERTHAN",zh="AMPERSAND",Uh="APOSTROPHE",jh="ASTERISK",_s="AT",Gh="BACKSLASH",Kh="BACKTICK",qh="CARET",ws="COLON",KT="COMMA",Yh="DOLLAR",or="DOT",Jh="EQUALS",qT="EXCLAMATION",mn="HYPHEN",zd="PERCENT",Zh="PIPE",Xh="PLUS",Qh="POUND",Ud="QUERY",YT="QUOTE",P_="FULLWIDTHMIDDLEDOT",JT="SEMI",ir="SLASH",jd="TILDE",ep="UNDERSCORE",__="EMOJI",tp="SYM";var A_=Object.freeze({__proto__:null,ALPHANUMERICAL:N_,AMPERSAND:zh,APOSTROPHE:Uh,ASCIINUMERICAL:v_,ASTERISK:jh,AT:_s,BACKSLASH:Gh,BACKTICK:Kh,CARET:qh,CLOSEANGLEBRACKET:Ah,CLOSEBRACE:$d,CLOSEBRACKET:vh,CLOSEPAREN:Ph,COLON:ws,COMMA:KT,DOLLAR:Yh,DOT:or,EMOJI:__,EQUALS:Jh,EXCLAMATION:qT,FULLWIDTHGREATERTHAN:$h,FULLWIDTHLEFTPAREN:Ih,FULLWIDTHLESSTHAN:Hh,FULLWIDTHMIDDLEDOT:P_,FULLWIDTHRIGHTPAREN:wh,HYPHEN:mn,LEFTCORNERBRACKET:kh,LEFTWHITECORNERBRACKET:Oh,LOCALHOST:Sc,NL:GT,NUM:jT,OPENANGLEBRACKET:_h,OPENBRACE:Hd,OPENBRACKET:Eh,OPENPAREN:Nh,PERCENT:zd,PIPE:Zh,PLUS:Xh,POUND:Qh,QUERY:Ud,QUOTE:YT,RIGHTCORNERBRACKET:Wh,RIGHTWHITECORNERBRACKET:Mh,SCHEME:kf,SEMI:JT,SLASH:ir,SLASH_SCHEME:ql,SYM:tp,TILDE:jd,TLD:iy,UNDERSCORE:ep,UTLD:ny,UWORD:oy,WORD:$r,WS:ry});const Or=/[a-z]/,yd=new RegExp("\\p{L}","u"),D0=new RegExp("\\p{Emoji}","u"),Mr=/\d/,x0=/\s/,qb="\r",b0=`
|
|
175
|
-
`,QQ="️",eee="",L0="";let Tf=null,Sf=null;function tee(t=[]){const e={};Di.groups=e;const o=new Di;Tf==null&&(Tf=Yb(KQ)),Sf==null&&(Sf=Yb(qQ)),Fe(o,"'",Uh),Fe(o,"{",Hd),Fe(o,"}",$d),Fe(o,"[",Eh),Fe(o,"]",vh),Fe(o,"(",Nh),Fe(o,")",Ph),Fe(o,"<",_h),Fe(o,">",Ah),Fe(o,"(",Ih),Fe(o,")",wh),Fe(o,"「",kh),Fe(o,"」",Wh),Fe(o,"『",Oh),Fe(o,"』",Mh),Fe(o,"<",Hh),Fe(o,">",$h),Fe(o,"&",zh),Fe(o,"*",jh),Fe(o,"@",_s),Fe(o,"`",Kh),Fe(o,"^",qh),Fe(o,":",ws),Fe(o,",",KT),Fe(o,"$",Yh),Fe(o,".",or),Fe(o,"=",Jh),Fe(o,"!",qT),Fe(o,"-",mn),Fe(o,"%",zd),Fe(o,"|",Zh),Fe(o,"+",Xh),Fe(o,"#",Qh),Fe(o,"?",Ud),Fe(o,'"',YT),Fe(o,"/",ir),Fe(o,";",JT),Fe(o,"~",jd),Fe(o,"_",ep),Fe(o,"\\",Gh),Fe(o,"・",P_);const i=so(o,Mr,jT,{[XF]:!0});so(i,Mr,i);const n=so(i,Or,v_,{[Md]:!0}),r=so(i,yd,N_,{[xd]:!0}),s=so(o,Or,$r,{[QF]:!0});so(s,Mr,n),so(s,Or,s),so(n,Mr,n),so(n,Or,n);const a=so(o,yd,oy,{[ey]:!0});so(a,Or),so(a,Mr,r),so(a,yd,a),so(r,Mr,r),so(r,Or),so(r,yd,r);const u=Fe(o,b0,GT,{[R0]:!0}),c=Fe(o,qb,ry,{[R0]:!0}),m=so(o,x0,ry,{[R0]:!0});Fe(o,L0,m),Fe(c,b0,u),Fe(c,L0,m),so(c,x0,m),Fe(m,qb),Fe(m,b0),so(m,x0,m),Fe(m,L0,m);const f=so(o,D0,__,{[E_]:!0});Fe(f,"#"),so(f,D0,f),Fe(f,QQ,f);const p=Fe(f,eee);Fe(p,"#"),so(p,D0,f);const C=[[Or,s],[Mr,n]],F=[[Or,null],[yd,a],[Mr,r]];for(let y=0;y<Tf.length;y++)bs(o,Tf[y],iy,$r,C);for(let y=0;y<Sf.length;y++)bs(o,Sf[y],ny,oy,F);Ha(iy,{tld:!0,ascii:!0},e),Ha(ny,{utld:!0,alpha:!0},e),bs(o,"file",kf,$r,C),bs(o,"mailto",kf,$r,C),bs(o,"http",ql,$r,C),bs(o,"https",ql,$r,C),bs(o,"ftp",ql,$r,C),bs(o,"ftps",ql,$r,C),Ha(kf,{scheme:!0,ascii:!0},e),Ha(ql,{slashscheme:!0,ascii:!0},e),t=t.sort((y,T)=>y[0]>T[0]?1:-1);for(let y=0;y<t.length;y++){const T=t[y][0],v=t[y][1]?{[YQ]:!0}:{[JQ]:!0};T.indexOf("-")>=0?v[ty]=!0:Or.test(T)?Mr.test(T)?v[Md]=!0:v[QF]=!0:v[XF]=!0,Kb(o,T,T,v)}return Kb(o,"localhost",Sc,{ascii:!0}),o.jd=new Di(tp),{start:o,tokens:Object.assign({groups:e},A_)}}function I_(t,e){const o=oee(e.replace(/[A-Z]/g,a=>a.toLowerCase())),i=o.length,n=[];let r=0,s=0;for(;s<i;){let a=t,u=null,c=0,m=null,f=-1,p=-1;for(;s<i&&(u=a.go(o[s]));)a=u,a.accepts()?(f=0,p=0,m=a):f>=0&&(f+=o[s].length,p++),c+=o[s].length,r+=o[s].length,s++;r-=f,s-=p,c-=f,n.push({t:m.t,v:e.slice(r-c,r),s:r-c,e:r})}return n}function oee(t){const e=[],o=t.length;let i=0;for(;i<o;){let n=t.charCodeAt(i),r,s=n<55296||n>56319||i+1===o||(r=t.charCodeAt(i+1))<56320||r>57343?t[i]:t.slice(i,i+2);e.push(s),i+=s.length}return e}function bs(t,e,o,i,n){let r;const s=e.length;for(let a=0;a<s-1;a++){const u=e[a];t.j[u]?r=t.j[u]:(r=new Di(i),r.jr=n.slice(),t.j[u]=r),t=r}return r=new Di(o),r.jr=n.slice(),t.j[e[s-1]]=r,r}function Yb(t){const e=[],o=[];let i=0,n="0123456789";for(;i<t.length;){let r=0;for(;n.indexOf(t[i+r])>=0;)r++;if(r>0){e.push(o.join(""));for(let s=parseInt(t.substring(i,i+r),10);s>0;s--)o.pop();i+=r}else o.push(t[i]),i++}return e}const Bc={defaultProtocol:"http",events:null,format:Jb,formatHref:Jb,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ZT(t,e=null){let o=Object.assign({},Bc);t&&(o=Object.assign(o,t instanceof ZT?t.o:t));const i=o.ignoreTags,n=[];for(let r=0;r<i.length;r++)n.push(i[r].toUpperCase());this.o=o,e&&(this.defaultRender=e),this.ignoreTags=n}ZT.prototype={o:Bc,ignoreTags:[],defaultRender(t){return t},check(t){return this.get("validate",t.toString(),t)},get(t,e,o){const i=e!=null;let n=this.o[t];return n&&(typeof n=="object"?(n=o.t in n?n[o.t]:Bc[t],typeof n=="function"&&i&&(n=n(e,o))):typeof n=="function"&&i&&(n=n(e,o.t,o)),n)},getObj(t,e,o){let i=this.o[t];return typeof i=="function"&&e!=null&&(i=i(e,o.t,o)),i},render(t){const e=t.render(this);return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}};function Jb(t){return t}function w_(t,e){this.t="token",this.v=t,this.tk=e}w_.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const e=this.toString(),o=t.get("truncate",e,this),i=t.get("format",e,this);return o&&i.length>o?i.substring(0,o)+"…":i},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=Bc.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,o=this.toHref(t.get("defaultProtocol")),i=t.get("formatHref",o,this),n=t.get("tagName",o,e),r=this.toFormattedString(t),s={},a=t.get("className",o,e),u=t.get("target",o,e),c=t.get("rel",o,e),m=t.getObj("attributes",o,e),f=t.getObj("events",o,e);return s.href=i,a&&(s.class=a),u&&(s.target=u),c&&(s.rel=c),m&&Object.assign(s,m),{tagName:n,attributes:s,content:r,eventListeners:f}}};function Qp(t,e){class o extends w_{constructor(n,r){super(n,r),this.t=t}}for(const i in e)o.prototype[i]=e[i];return o.t=t,o}const Zb=Qp("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Xb=Qp("text"),iee=Qp("nl"),Bf=Qp("url",{isLink:!0,toHref(t=Bc.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==Sc&&t[1].t===ws}}),cn=t=>new Di(t);function nee({groups:t}){const e=t.domain.concat([zh,jh,_s,Gh,Kh,qh,Yh,Jh,mn,jT,zd,Zh,Xh,Qh,ir,tp,jd,ep]),o=[Uh,ws,KT,or,qT,zd,Ud,YT,JT,_h,Ah,Hd,$d,vh,Eh,Nh,Ph,Ih,wh,kh,Wh,Oh,Mh,Hh,$h],i=[zh,Uh,jh,Gh,Kh,qh,Yh,Jh,mn,Hd,$d,zd,Zh,Xh,Qh,Ud,ir,tp,jd,ep],n=cn(),r=Fe(n,jd);dt(r,i,r),dt(r,t.domain,r);const s=cn(),a=cn(),u=cn();dt(n,t.domain,s),dt(n,t.scheme,a),dt(n,t.slashscheme,u),dt(s,i,r),dt(s,t.domain,s);const c=Fe(s,_s);Fe(r,_s,c),Fe(a,_s,c),Fe(u,_s,c);const m=Fe(r,or);dt(m,i,r),dt(m,t.domain,r);const f=cn();dt(c,t.domain,f),dt(f,t.domain,f);const p=Fe(f,or);dt(p,t.domain,f);const C=cn(Zb);dt(p,t.tld,C),dt(p,t.utld,C),Fe(c,Sc,C);const F=Fe(f,mn);Fe(F,mn,F),dt(F,t.domain,f),dt(C,t.domain,f),Fe(C,or,p),Fe(C,mn,F);const y=Fe(C,ws);dt(y,t.numeric,Zb);const T=Fe(s,mn),B=Fe(s,or);Fe(T,mn,T),dt(T,t.domain,s),dt(B,i,r),dt(B,t.domain,s);const v=cn(Bf);dt(B,t.tld,v),dt(B,t.utld,v),dt(v,t.domain,s),dt(v,i,r),Fe(v,or,B),Fe(v,mn,T),Fe(v,_s,c);const D=Fe(v,ws),R=cn(Bf);dt(D,t.numeric,R);const N=cn(Bf),_=cn();dt(N,e,N),dt(N,o,_),dt(_,e,N),dt(_,o,_),Fe(v,ir,N),Fe(R,ir,N);const P=Fe(a,ws),U=Fe(u,ws),k=Fe(U,ir),de=Fe(k,ir);dt(a,t.domain,s),Fe(a,or,B),Fe(a,mn,T),dt(u,t.domain,s),Fe(u,or,B),Fe(u,mn,T),dt(P,t.domain,N),Fe(P,ir,N),Fe(P,Ud,N),dt(de,t.domain,N),dt(de,e,N),Fe(de,ir,N);const z=[[Hd,$d],[Eh,vh],[Nh,Ph],[_h,Ah],[Ih,wh],[kh,Wh],[Oh,Mh],[Hh,$h]];for(let M=0;M<z.length;M++){const[X,Ce]=z[M],pe=Fe(N,X);Fe(_,X,pe),Fe(pe,Ce,N);const ie=cn(Bf);dt(pe,e,ie);const Re=cn();dt(pe,o),dt(ie,e,ie),dt(ie,o,Re),dt(Re,e,ie),dt(Re,o,Re),Fe(ie,Ce,N),Fe(Re,Ce,N)}return Fe(n,Sc,v),Fe(n,GT,iee),{start:n,tokens:A_}}function ree(t,e,o){let i=o.length,n=0,r=[],s=[];for(;n<i;){let a=t,u=null,c=null,m=0,f=null,p=-1;for(;n<i&&!(u=a.go(o[n].t));)s.push(o[n++]);for(;n<i&&(c=u||a.go(o[n].t));)u=null,a=c,a.accepts()?(p=0,f=a):p>=0&&p++,n++,m++;if(p<0)n-=m,n<i&&(s.push(o[n]),n++);else{s.length>0&&(r.push(E0(Xb,e,s)),s=[]),n-=p,m-=p;const C=f.t,F=o.slice(n-m,n);r.push(E0(C,e,F))}}return s.length>0&&r.push(E0(Xb,e,s)),r}function E0(t,e,o){const i=o[0].s,n=o[o.length-1].e,r=e.slice(i,n);return new t(r,o)}const see=typeof console<"u"&&console&&console.warn||(()=>{}),aee="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",qt={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function lee(){return Di.groups={},qt.scanner=null,qt.parser=null,qt.tokenQueue=[],qt.pluginQueue=[],qt.customSchemes=[],qt.initialized=!1,qt}function Qb(t,e=!1){if(qt.initialized&&see(`linkifyjs: already initialized - will not register custom scheme "${t}" ${aee}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format.
|
|
176
|
-
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
177
|
-
2. Cannot start or end with "-"
|
|
178
|
-
3. "-" cannot repeat`);qt.customSchemes.push([t,e])}function uee(){qt.scanner=tee(qt.customSchemes);for(let t=0;t<qt.tokenQueue.length;t++)qt.tokenQueue[t][1]({scanner:qt.scanner});qt.parser=nee(qt.scanner.tokens);for(let t=0;t<qt.pluginQueue.length;t++)qt.pluginQueue[t][1]({scanner:qt.scanner,parser:qt.parser});return qt.initialized=!0,qt}function XT(t){return qt.initialized||uee(),ree(qt.parser.start,t,I_(qt.scanner.start,t))}XT.scan=I_;function k_(t,e=null,o=null){if(e&&typeof e=="object"){if(o)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);o=e,e=null}const i=new ZT(o),n=XT(t),r=[];for(let s=0;s<n.length;s++){const a=n[s];a.isLink&&(!e||a.t===e)&&i.check(a)&&r.push(a.toFormattedObject(i))}return r}const QT="[\0- -\u2029 ]",dee=new RegExp(QT),cee=new RegExp(`${QT}$`),mee=new RegExp(QT,"g");function fee(t){return t.length===1?t[0].isLink:t.length===3&&t[1].isLink?["()","[]"].includes(t[0].value+t[2].value):!1}function hee(t){return new zo({key:new Ni("autolink"),appendTransaction:(e,o,i)=>{const n=e.some(c=>c.docChanged)&&!o.doc.eq(i.doc),r=e.some(c=>c.getMeta("preventAutolink"));if(!n||r)return;const{tr:s}=i,a=PX(o.doc,[...e]);if(MX(a).forEach(({newRange:c})=>{const m=AX(i.doc,c,C=>C.isTextblock);let f,p;if(m.length>1)f=m[0],p=i.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ");else if(m.length){const C=i.doc.textBetween(c.from,c.to," "," ");if(!cee.test(C))return;f=m[0],p=i.doc.textBetween(f.pos,c.to,void 0," ")}if(f&&p){const C=p.split(dee).filter(Boolean);if(C.length<=0)return!1;const F=C[C.length-1],y=f.pos+p.lastIndexOf(F);if(!F)return!1;const T=XT(F).map(B=>B.toObject(t.defaultProtocol));if(!fee(T))return!1;T.filter(B=>B.isLink).map(B=>({...B,from:y+B.start+1,to:y+B.end+1})).filter(B=>i.schema.marks.code?!i.doc.rangeHasMark(B.from,B.to,i.schema.marks.code):!0).filter(B=>t.validate(B.value)).filter(B=>t.shouldAutoLink(B.value)).forEach(B=>{V_(B.from,B.to,i.doc).some(v=>v.mark.type===t.type)||s.addMark(B.from,B.to,t.type.create({href:B.href}))})}}),!!s.steps.length)return s}})}function pee(t){return new zo({key:new Ni("handleClickLink"),props:{handleClick:(e,o,i)=>{var n,r;if(i.button!==0||!e.editable)return!1;let s=i.target;const a=[];for(;s.nodeName!=="DIV";)a.push(s),s=s.parentNode;if(!a.find(p=>p.nodeName==="A"))return!1;const u=B_(e.state,t.type.name),c=i.target,m=(n=c==null?void 0:c.href)!==null&&n!==void 0?n:u.href,f=(r=c==null?void 0:c.target)!==null&&r!==void 0?r:u.target;return c&&m?(window.open(m,f),!0):!1}}})}function Cee(t){return new zo({key:new Ni("handlePasteLink"),props:{handlePaste:(e,o,i)=>{const{state:n}=e,{selection:r}=n,{empty:s}=r;if(s)return!1;let a="";i.content.forEach(c=>{a+=c.textContent});const u=k_(a,{defaultProtocol:t.defaultProtocol}).find(c=>c.isLink&&c.value===a);return!a||!u?!1:t.editor.commands.setMark(t.type,{href:u.href})}}})}function va(t,e){const o=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(i=>{const n=typeof i=="string"?i:i.scheme;n&&o.push(n)}),!t||t.replace(mee,"").match(new RegExp(`^(?:(?:${o.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const eS=Zi.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(t=>{if(typeof t=="string"){Qb(t);return}Qb(t.scheme,t.optionalSlashes)})},onDestroy(){lee()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(t,e)=>!!va(t,e.protocols),validate:t=>!!t,shouldAutoLink:t=>!!t}},addAttributes(){return{href:{default:null,parseHTML(t){return t.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{const e=t.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:o=>!!va(o,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:e=>!!va(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",Ji(this.options.HTMLAttributes,t),0]:["a",Ji(this.options.HTMLAttributes,{...t,href:""}),0]},addCommands(){return{setLink:t=>({chain:e})=>{const{href:o}=t;return this.options.isAllowedUri(o,{defaultValidate:i=>!!va(i,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,t).setMeta("preventAutolink",!0).run():!1},toggleLink:t=>({chain:e})=>{const{href:o}=t;return this.options.isAllowedUri(o,{defaultValidate:i=>!!va(i,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run():!1},unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[TQ({find:t=>{const e=[];if(t){const{protocols:o,defaultProtocol:i}=this.options,n=k_(t).filter(r=>r.isLink&&this.options.isAllowedUri(r.value,{defaultValidate:s=>!!va(s,o),protocols:o,defaultProtocol:i}));n.length&&n.forEach(r=>e.push({text:r.value,data:{href:r.href},index:r.start}))}return e},type:this.type,getAttributes:t=>{var e;return{href:(e=t.data)===null||e===void 0?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:o}=this.options;return this.options.autolink&&t.push(hee({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:i=>this.options.isAllowedUri(i,{defaultValidate:n=>!!va(n,e),protocols:e,defaultProtocol:o}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&t.push(pee({type:this.type})),this.options.linkOnPaste&&t.push(Cee({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),t}}),gee=Zi.create({name:"textDecoration",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textDecoration:{parseHTML:t=>t.style.textDecoration,renderHTML:t=>t.textDecoration?{style:`text-decoration: ${t.textDecoration}`}:{}}}}]},addCommands(){return{setTextDecoration:t=>({chain:e})=>e().setMark("textStyle",{textDecoration:t}).run(),unsetTextDecoration:()=>({chain:t,state:e})=>{const{from:o,to:i,$from:n}=e.selection;return e.doc.textBetween(o,i," ").length?t().setMark("textStyle",{textDecoration:"none"}).run():t().setTextSelection({from:n.pos-n.nodeBefore.nodeSize,to:n.pos+n.nodeAfter.nodeSize}).setMark("textStyle",{textDecoration:"none"}).focus().run()}}},addKeyboardShortcuts(){const t=o=>o.isUnderline?this.editor.commands.unsetTextDecoration():this.editor.commands.setTextDecoration("underline"),e=o=>o.isLineThrough?this.editor.commands.unsetTextDecoration():this.editor.commands.setTextDecoration("line-through");return{"Mod-Shift-s":()=>{const o=this.editor.isActive("textStyle",{textDecoration:"line-through"});return e({isLineThrough:o})},"Mod-u":()=>{const o=this.editor.isActive("textStyle",{textDecoration:"underline"});return t({isUnderline:o})},"Mod-U":()=>{const o=this.editor.isActive("textStyle",{textDecoration:"underline"});return t({isUnderline:o})}}}}),Fee=fs.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:t}){return["p",Ji(this.options.HTMLAttributes,t),0]},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),yee="listItem",e1="textStyle",t1=/^\s*([-+*])\s$/,W_=fs.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:t}){return["ul",Ji(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(yee,this.editor.getAttributes(e1)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=Lh({find:t1,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Lh({find:t1,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(e1),editor:this.editor})),[t]}}),Tee=fs.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",Ji(this.options.HTMLAttributes,t),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),See="listItem",o1="textStyle",i1=/^(\d+)\.\s$/,O_=fs.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:null,parseHTML:t=>t.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:e,...o}=t;return e===1?["ol",Ji(this.options.HTMLAttributes,o),0]:["ol",Ji(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(See,this.editor.getAttributes(o1)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=Lh({find:i1,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,o)=>o.childCount+o.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Lh({find:i1,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(o1)}),joinPredicate:(e,o)=>o.childCount+o.attrs.start===+e[1],editor:this.editor})),[t]}}),Bee=fs.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:t}){return["br",Ji(this.options.HTMLAttributes,t)]},renderText(){return`
|
|
179
|
-
`},addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:o,editor:i})=>t.first([()=>t.exitCode(),()=>t.command(()=>{const{selection:n,storedMarks:r}=o;if(n.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:a}=i.extensionManager,u=r||n.$to.parentOffset&&n.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:m})=>{if(m&&u&&s){const f=u.filter(p=>a.includes(p.type.name));c.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}});var op=200,Po=function(){};Po.prototype.append=function(e){return e.length?(e=Po.from(e),!this.length&&e||e.length<op&&this.leafAppend(e)||this.length<op&&e.leafPrepend(this)||this.appendInner(e)):this};Po.prototype.prepend=function(e){return e.length?Po.from(e).append(this):this};Po.prototype.appendInner=function(e){return new Vee(this,e)};Po.prototype.slice=function(e,o){return e===void 0&&(e=0),o===void 0&&(o=this.length),e>=o?Po.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,o))};Po.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};Po.prototype.forEach=function(e,o,i){o===void 0&&(o=0),i===void 0&&(i=this.length),o<=i?this.forEachInner(e,o,i,0):this.forEachInvertedInner(e,o,i,0)};Po.prototype.map=function(e,o,i){o===void 0&&(o=0),i===void 0&&(i=this.length);var n=[];return this.forEach(function(r,s){return n.push(e(r,s))},o,i),n};Po.from=function(e){return e instanceof Po?e:e&&e.length?new M_(e):Po.empty};var M_=(function(t){function e(i){t.call(this),this.values=i}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(n,r){return n==0&&r==this.length?this:new e(this.values.slice(n,r))},e.prototype.getInner=function(n){return this.values[n]},e.prototype.forEachInner=function(n,r,s,a){for(var u=r;u<s;u++)if(n(this.values[u],a+u)===!1)return!1},e.prototype.forEachInvertedInner=function(n,r,s,a){for(var u=r-1;u>=s;u--)if(n(this.values[u],a+u)===!1)return!1},e.prototype.leafAppend=function(n){if(this.length+n.length<=op)return new e(this.values.concat(n.flatten()))},e.prototype.leafPrepend=function(n){if(this.length+n.length<=op)return new e(n.flatten().concat(this.values))},o.length.get=function(){return this.values.length},o.depth.get=function(){return 0},Object.defineProperties(e.prototype,o),e})(Po);Po.empty=new M_([]);var Vee=(function(t){function e(o,i){t.call(this),this.left=o,this.right=i,this.length=o.length+i.length,this.depth=Math.max(o.depth,i.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(i){return i<this.left.length?this.left.get(i):this.right.get(i-this.left.length)},e.prototype.forEachInner=function(i,n,r,s){var a=this.left.length;if(n<a&&this.left.forEachInner(i,n,Math.min(r,a),s)===!1||r>a&&this.right.forEachInner(i,Math.max(n-a,0),Math.min(this.length,r)-a,s+a)===!1)return!1},e.prototype.forEachInvertedInner=function(i,n,r,s){var a=this.left.length;if(n>a&&this.right.forEachInvertedInner(i,n-a,Math.max(r,a)-a,s+a)===!1||r<a&&this.left.forEachInvertedInner(i,Math.min(n,a),r,s)===!1)return!1},e.prototype.sliceInner=function(i,n){if(i==0&&n==this.length)return this;var r=this.left.length;return n<=r?this.left.slice(i,n):i>=r?this.right.slice(i-r,n-r):this.left.slice(i,r).append(this.right.slice(0,n-r))},e.prototype.leafAppend=function(i){var n=this.right.leafAppend(i);if(n)return new e(this.left,n)},e.prototype.leafPrepend=function(i){var n=this.left.leafPrepend(i);if(n)return new e(n,this.right)},e.prototype.appendInner=function(i){return this.left.depth>=Math.max(this.right.depth,i.depth)+1?new e(this.left,new e(this.right,i)):new e(this,i)},e})(Po);const Ree=500;class In{constructor(e,o){this.items=e,this.eventCount=o}popEvent(e,o){if(this.eventCount==0)return null;let i=this.items.length;for(;;i--)if(this.items.get(i-1).selection){--i;break}let n,r;o&&(n=this.remapping(i,this.items.length),r=n.maps.length);let s=e.tr,a,u,c=[],m=[];return this.items.forEach((f,p)=>{if(!f.step){n||(n=this.remapping(i,p+1),r=n.maps.length),r--,m.push(f);return}if(n){m.push(new nr(f.map));let C=f.step.map(n.slice(r)),F;C&&s.maybeStep(C).doc&&(F=s.mapping.maps[s.mapping.maps.length-1],c.push(new nr(F,void 0,void 0,c.length+m.length))),r--,F&&n.appendMap(F,r)}else s.maybeStep(f.step);if(f.selection)return a=n?f.selection.map(n.slice(r)):f.selection,u=new In(this.items.slice(0,i).append(m.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:u,transform:s,selection:a}}addTransform(e,o,i,n){let r=[],s=this.eventCount,a=this.items,u=!n&&a.length?a.get(a.length-1):null;for(let m=0;m<e.steps.length;m++){let f=e.steps[m].invert(e.docs[m]),p=new nr(e.mapping.maps[m],f,o),C;(C=u&&u.merge(p))&&(p=C,m?r.pop():a=a.slice(0,a.length-1)),r.push(p),o&&(s++,o=void 0),n||(u=p)}let c=s-i.depth;return c>xee&&(a=Dee(a,c),s-=c),new In(a.append(r),s)}remapping(e,o){let i=new hc;return this.items.forEach((n,r)=>{let s=n.mirrorOffset!=null&&r-n.mirrorOffset>=e?i.maps.length-n.mirrorOffset:void 0;i.appendMap(n.map,s)},e,o),i}addMaps(e){return this.eventCount==0?this:new In(this.items.append(e.map(o=>new nr(o))),this.eventCount)}rebased(e,o){if(!this.eventCount)return this;let i=[],n=Math.max(0,this.items.length-o),r=e.mapping,s=e.steps.length,a=this.eventCount;this.items.forEach(p=>{p.selection&&a--},n);let u=o;this.items.forEach(p=>{let C=r.getMirror(--u);if(C==null)return;s=Math.min(s,C);let F=r.maps[C];if(p.step){let y=e.steps[C].invert(e.docs[C]),T=p.selection&&p.selection.map(r.slice(u+1,C));T&&a++,i.push(new nr(F,y,T))}else i.push(new nr(F))},n);let c=[];for(let p=o;p<s;p++)c.push(new nr(r.maps[p]));let m=this.items.slice(0,n).append(c).append(i),f=new In(m,a);return f.emptyItemCount()>Ree&&(f=f.compress(this.items.length-i.length)),f}emptyItemCount(){let e=0;return this.items.forEach(o=>{o.step||e++}),e}compress(e=this.items.length){let o=this.remapping(0,e),i=o.maps.length,n=[],r=0;return this.items.forEach((s,a)=>{if(a>=e)n.push(s),s.selection&&r++;else if(s.step){let u=s.step.map(o.slice(i)),c=u&&u.getMap();if(i--,c&&o.appendMap(c,i),u){let m=s.selection&&s.selection.map(o.slice(i));m&&r++;let f=new nr(c.invert(),u,m),p,C=n.length-1;(p=n.length&&n[C].merge(f))?n[C]=p:n.push(f)}}else s.map&&i--},this.items.length,0),new In(Po.from(n.reverse()),r)}}In.empty=new In(Po.empty,0);function Dee(t,e){let o;return t.forEach((i,n)=>{if(i.selection&&e--==0)return o=n,!1}),t.slice(o)}class nr{constructor(e,o,i,n){this.map=e,this.step=o,this.selection=i,this.mirrorOffset=n}merge(e){if(this.step&&e.step&&!e.selection){let o=e.step.merge(this.step);if(o)return new nr(o.getMap().invert(),o,this.selection)}}}class As{constructor(e,o,i,n,r){this.done=e,this.undone=o,this.prevRanges=i,this.prevTime=n,this.prevComposition=r}}const xee=20;function bee(t,e,o,i){let n=o.getMeta(Ja),r;if(n)return n.historyState;o.getMeta(vee)&&(t=new As(t.done,t.undone,null,0,-1));let s=o.getMeta("appendedTransaction");if(o.steps.length==0)return t;if(s&&s.getMeta(Ja))return s.getMeta(Ja).redo?new As(t.done.addTransform(o,void 0,i,Wf(e)),t.undone,n1(o.mapping.maps),t.prevTime,t.prevComposition):new As(t.done,t.undone.addTransform(o,void 0,i,Wf(e)),null,t.prevTime,t.prevComposition);if(o.getMeta("addToHistory")!==!1&&!(s&&s.getMeta("addToHistory")===!1)){let a=o.getMeta("composition"),u=t.prevTime==0||!s&&t.prevComposition!=a&&(t.prevTime<(o.time||0)-i.newGroupDelay||!Lee(o,t.prevRanges)),c=s?v0(t.prevRanges,o.mapping):n1(o.mapping.maps);return new As(t.done.addTransform(o,u?e.selection.getBookmark():void 0,i,Wf(e)),In.empty,c,o.time,a??t.prevComposition)}else return(r=o.getMeta("rebased"))?new As(t.done.rebased(o,r),t.undone.rebased(o,r),v0(t.prevRanges,o.mapping),t.prevTime,t.prevComposition):new As(t.done.addMaps(o.mapping.maps),t.undone.addMaps(o.mapping.maps),v0(t.prevRanges,o.mapping),t.prevTime,t.prevComposition)}function Lee(t,e){if(!e)return!1;if(!t.docChanged)return!0;let o=!1;return t.mapping.maps[0].forEach((i,n)=>{for(let r=0;r<e.length;r+=2)i<=e[r+1]&&n>=e[r]&&(o=!0)}),o}function n1(t){let e=[];for(let o=t.length-1;o>=0&&e.length==0;o--)t[o].forEach((i,n,r,s)=>e.push(r,s));return e}function v0(t,e){if(!t)return null;let o=[];for(let i=0;i<t.length;i+=2){let n=e.map(t[i],1),r=e.map(t[i+1],-1);n<=r&&o.push(n,r)}return o}function Eee(t,e,o){let i=Wf(e),n=Ja.get(e).spec.config,r=(o?t.undone:t.done).popEvent(e,i);if(!r)return null;let s=r.selection.resolve(r.transform.doc),a=(o?t.done:t.undone).addTransform(r.transform,e.selection.getBookmark(),n,i),u=new As(o?a:r.remaining,o?r.remaining:a,null,0,-1);return r.transform.setSelection(s).setMeta(Ja,{redo:o,historyState:u})}let N0=!1,r1=null;function Wf(t){let e=t.plugins;if(r1!=e){N0=!1,r1=e;for(let o=0;o<e.length;o++)if(e[o].spec.historyPreserveItems){N0=!0;break}}return N0}const Ja=new Ni("history"),vee=new Ni("closeHistory");function Nee(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new zo({key:Ja,state:{init(){return new As(In.empty,In.empty,null,0,-1)},apply(e,o,i){return bee(o,i,e,t)}},config:t,props:{handleDOMEvents:{beforeinput(e,o){let i=o.inputType,n=i=="historyUndo"?$_:i=="historyRedo"?z_:null;return n?(o.preventDefault(),n(e.state,e.dispatch)):!1}}}})}function H_(t,e){return(o,i)=>{let n=Ja.getState(o);if(!n||(t?n.undone:n.done).eventCount==0)return!1;if(i){let r=Eee(n,o,t);r&&i(e?r.scrollIntoView():r)}return!0}}const $_=H_(!1,!0),z_=H_(!0,!0),Pee=ti.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:e})=>$_(t,e),redo:()=>({state:t,dispatch:e})=>z_(t,e)}},addProseMirrorPlugins(){return[Nee(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),_ee=t=>{if(!t.content)throw new Error("Invalid document: content is missing");return{Content:t.content.map(e=>{switch(e.type){case"paragraph":return U_(e);case"bulletList":return wee(e);case"orderedList":return kee(e);default:throw new Error(`Unknown node type: ${e.type}`)}})}},U_=t=>t.content?{ParagraphNode:{ThemeName:t.attrs?t.attrs.themeName:void 0,Content:t.content.map(e=>{switch(e.type){case"text":return Aee(e);case"image":return G_(e);case"hardBreak":return s1();case"dataField":return Iee(e);default:throw new Error(`Unknown node type: ${e.type}`)}})}}:{ParagraphNode:{ThemeName:t.attrs?t.attrs.themeName:void 0,Content:[s1()]}},tS=t=>{const e=t?t.find(i=>i.type==="textStyle"):void 0,o=t?t.find(i=>i.type==="link"||i.type==="unsubscribeLink"):void 0;return{TextStyle:e?zee(e):void 0,CommonLinkMark:o?Uee(o):void 0}},Aee=t=>{if(typeof t.text!="string")throw new Error("Invalid text node: text is missing or not a string");const{TextStyle:e,CommonLinkMark:o}=tS(t.marks);return{TextNode:{Text:t.text,TextStyle:e,CommonLinkMark:o}}},s1=()=>({HardBreakNode:{}}),Iee=t=>{if(!t.attrs)throw new Error("Invalid variable node: attrs is missing");const{TextStyle:e,CommonLinkMark:o}=tS(t.marks);return{DataFieldNode:{StringExpression:t.attrs.stringExpression,TextStyle:e,CommonLinkMark:o}}},wee=t=>{if(!t.content)throw new Error("Invalid bulletList: content is missing");return{BulletListNode:{ListStyle:t.attrs?t.attrs.themeName:void 0,Content:t.content.map(j_)}}},kee=t=>{if(!t.content)throw new Error("Invalid orderedList: content is missing");return{OrderedListNode:{ListStyle:t.attrs?t.attrs.themeName:void 0,Content:t.content.map(j_)}}},j_=t=>{if(!t.content)throw new Error("Invalid listItem: content is missing");return{Content:t.content.map(e=>{switch(e.type){case"paragraph":return U_(e);case"image":return G_(e);default:throw new Error(`Unknown node type: ${e.type}`)}})}},G_=t=>{if(!t.attrs)throw new Error("Invalid image node: attrs is missing");const{CommonLinkMark:e}=tS(t.marks);return{ImageNode:{Src:t.attrs.src,Alt:t.attrs.alt,Width:t.attrs.width,Height:t.attrs.height,IsRetina:t.attrs.isRetina,CommonLinkMark:e}}},Wee=t=>t==="bold"?"Bold":"Normal",Oee=t=>t==="italic"?"Italic":"Normal",Mee=t=>t,Hee=t=>{switch(t){case"uppercase":return"Uppercase";default:return"None"}},$ee=t=>{switch(t){case"underline":return"Underline";case"line-through":return"LineThrough";default:return"None"}},a1=t=>{const o=t.replace(/px$/,"");return parseInt(o,10)},zee=t=>{if(!t.attrs)throw new Error("Invalid textStyle mark: attrs is missing");return{ThemeName:t.attrs.themeName,Style:{Color:t.attrs.color?t.attrs.color:void 0,FontWeight:t.attrs.fontWeight?Wee(t.attrs.fontWeight):void 0,FontStyle:t.attrs.fontStyle?Oee(t.attrs.fontStyle):void 0,FontSize:t.attrs.fontSize?a1(t.attrs.fontSize):void 0,LineHeight:t.attrs.lineHeight?a1(t.attrs.lineHeight):void 0,FontFamily:t.attrs.fontFamily?Mee(t.attrs.fontFamily):void 0,TextTransform:t.attrs.textTransform?Hee(t.attrs.textTransform):void 0,TextDecoration:t.attrs.textDecoration?$ee(t.attrs.textDecoration):void 0}}},Uee=t=>{switch(t.type){case"link":{if(!t.attrs)throw new Error("Invalid link mark: attrs.href is missing");return{LinkMark:{Href:t.attrs.href}}}case"unsubscribeLink":return{UnsubscribeLinkMark:{}};default:return}},K_=t=>{if(!t)return null;if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(t))return t;if(t.startsWith("rgb")){const o=t.replace(/[^\d,.]/g,"").split(","),i=parseInt(o[0]),n=parseInt(o[1]),r=parseInt(o[2]);return`#${(1<<24|i<<16|n<<8|r).toString(16).slice(1)}`}if(t.startsWith("hsl")){const o=document.createElement("div");o.style.color=t,document.body.appendChild(o);const i=getComputedStyle(o).color;return document.body.removeChild(o),K_(i)}const e=document.createElement("canvas").getContext("2d");return e?(e.fillStyle=t,e.fillStyle):null},jee=t=>ti.create({name:"color",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{color:{default:null,parseHTML:e=>{const o=e.getAttribute("data-theme-color")??"Custom",i=K_(e.style.color)??"#000000";return{Discriminator:o,CustomValue:i}},renderHTML:e=>{if(!e.color)return{};const o=wp({fontColor:e.color,themeColors:t.themeColors});return e.color.Discriminator==="Custom"?{"data-theme-color":e.color.Discriminator,style:`color: ${o}`}:{"data-theme-color":e.color.Discriminator}}}}}]},addCommands(){return{setColor:e=>({chain:o})=>o().setMark("textStyle",{color:e}).run(),unsetColor:()=>({chain:e})=>e().setMark("textStyle",{color:null}).removeEmptyTextStyle().run()}}}),Gee=ti.create({name:"fontFamily",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontFamily:{default:null,parseHTML:t=>{const e=t.style.fontFamily.split(",").map(o=>o.trim()).map(o=>o.replace(/^['"]|['"]$/g,"")).map(o=>o.replace(/ /g,""));return xN.find(o=>e.includes(o))||null},renderHTML:t=>t.fontFamily?{style:`font-family: ${t.fontFamily}`}:{}}}}]},addCommands(){return{setFontFamily:t=>({chain:e})=>e().setMark("textStyle",{fontFamily:t}).run(),unsetFontFamily:()=>({chain:t})=>t().setMark("textStyle",{fontFamily:null}).removeEmptyTextStyle().run()}}}),q_=t=>Ao(t),Kee=t=>Ao(t).Match({StringFromContactCustomData:e=>e.FieldName,StringFromContactCustomDataWithFallback:e=>e.FallbackValue,ProductImageUrlBuilderExpression:()=>"ImageResizer",NextCouponFromBatch:()=>"Coupon"}),qee=()=>fs.create({name:"dataField",group:"inline",marks:"_",inline:!0,atom:!0,selectable:!0,addAttributes(){return{stringExpression:{default:null,parseHTML:t=>JSON.parse(t.getAttribute("data-field")),renderHTML:t=>({"data-field":JSON.stringify(t.stringExpression)})}}},parseHTML(){return[{tag:"data-field[data-field]"}]},renderHTML({node:t,HTMLAttributes:e}){const o=t.attrs.stringExpression,i=q_(o).Match({RecipientEmailAddressExpression:()=>"recipientEmailAddress",UnsubscribeUrlExpression:()=>"unsubscribeUrl",ConstValueExpression:n=>n.Value,TruncateValueExpression:()=>"truncate",ConcatStringExpressions:()=>"concat",DataSource:n=>Kee(n),NumberToStringExpression:()=>"numberToString",ContextValueExpression:()=>"contextValue",ContextValueExpressionWithFallback:()=>"contextValueWithFallback"});return["data-field",Ji(e,{class:"rich-text__variable","data-field":JSON.stringify(t.attrs.stringExpression),contenteditable:"false"}),i]},addCommands(){return{setVariable:t=>({chain:e,state:o})=>{const i=o.selection.$from.marks(),n=i.map(r=>({type:r.type.name,attrs:r.attrs}));return e().insertContent({type:this.name,attrs:{stringExpression:t,selectedMarks:i},marks:n}).focus().run()}}}}),Y_=t=>new Promise((e,o)=>{const i=new Image;i.onload=()=>{e({width:i.naturalWidth,height:i.naturalHeight})},i.onerror=o,i.src=t}),J_=fs.create({name:"image",addOptions(){return{inline:!0,allowBase64:!1,HTMLAttributes:{}}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},width:{default:null},height:{default:null},isRetina:{default:!1}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){return["img",Ji(this.options.HTMLAttributes,{src:t.src,alt:t.alt,title:t.title,width:t.isRetina?t.width/2:t.width,height:t.isRetina?t.height/2:t.height,isRetina:t.isRetina})]},addCommands(){return{setImage:t=>({commands:e})=>e.insertContent({type:this.name,attrs:t})}},addInputRules(){return[yQ({find:/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,type:this.type,getAttributes:t=>{const[,,e,o,i]=t;return{src:o,alt:e,title:i}}})]},addProseMirrorPlugins(){return[new zo({view:t=>((async()=>{const{state:e,dispatch:o}=t;e.doc.descendants((i,n)=>{if(i.type.name===this.name){const{src:r,width:s,height:a}=i.attrs;r&&(!s||!a)&&Y_(r).then(u=>{const c=e.tr.setNodeMarkup(n,void 0,{...i.attrs,width:u.width,height:u.height});o(c)})}})})(),{})})]}}),Yee=t=>[HQ,Pee,MQ,zT.configure({mergeNestedSpanStyles:!0}),Fee,qee(),OQ.configure({className:"has-focus",mode:"all"}),W_.configure({keepMarks:!0,keepAttributes:!0}),O_.configure({keepMarks:!0,keepAttributes:!0}),Tee,Bee.configure({HTMLAttributes:{class:"hard-break"}}),eS.configure({HTMLAttributes:{class:"rich-text__link"},openOnClick:!1}),J_.configure({inline:!0,HTMLAttributes:{class:"rich-text__image"}}),jee({themeColors:t.themeColors}),UQ(t.initialThemeName),jQ,GQ,$Q,zQ,L_,gee,UT,Gee],Jee=t=>_ee(t.editor.getJSON()),Zee=st({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...yi()},"VColorPickerCanvas"),Xee=Tr({name:"VColorPickerCanvas",props:Zee(),emits:{"update:color":t=>!0,"update:position":t=>!0},setup(t,e){let{emit:o}=e;const i=lo(!1),n=Vt(),r=lo(parseFloat(t.width)),s=lo(parseFloat(t.height)),a=Vt({x:0,y:0}),u=Z({get:()=>a.value,set(T){var D,R;if(!n.value)return;const{x:B,y:v}=T;a.value=T,o("update:color",{h:((D=t.color)==null?void 0:D.h)??0,s:Jr(B,0,r.value)/r.value,v:1-Jr(v,0,s.value)/s.value,a:((R=t.color)==null?void 0:R.a)??1})}}),c=Z(()=>{const{x:T,y:B}=u.value,v=parseInt(t.dotSize,10)/2;return{width:Qt(t.dotSize),height:Qt(t.dotSize),transform:`translate(${Qt(T-v)}, ${Qt(B-v)})`}}),{resizeRef:m}=bE(T=>{var D;if(!((D=m.el)!=null&&D.offsetParent))return;const{width:B,height:v}=T[0].contentRect;r.value=B,s.value=v});function f(T,B,v){const{left:D,top:R,width:N,height:_}=v;u.value={x:Jr(T-D,0,N),y:Jr(B-R,0,_)}}function p(T){T.type==="mousedown"&&T.preventDefault(),!t.disabled&&(C(T),window.addEventListener("mousemove",C),window.addEventListener("mouseup",F),window.addEventListener("touchmove",C),window.addEventListener("touchend",F))}function C(T){if(t.disabled||!n.value)return;i.value=!0;const B=m4(T);f(B.clientX,B.clientY,n.value.getBoundingClientRect())}function F(){window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",F),window.removeEventListener("touchmove",C),window.removeEventListener("touchend",F)}function y(){var R;if(!n.value)return;const T=n.value,B=T.getContext("2d");if(!B)return;const v=B.createLinearGradient(0,0,T.width,0);v.addColorStop(0,"hsla(0, 0%, 100%, 1)"),v.addColorStop(1,`hsla(${((R=t.color)==null?void 0:R.h)??0}, 100%, 50%, 1)`),B.fillStyle=v,B.fillRect(0,0,T.width,T.height);const D=B.createLinearGradient(0,0,0,T.height);D.addColorStop(0,"hsla(0, 0%, 0%, 0)"),D.addColorStop(1,"hsla(0, 0%, 0%, 1)"),B.fillStyle=D,B.fillRect(0,0,T.width,T.height)}return Rt(()=>{var T;return(T=t.color)==null?void 0:T.h},y,{immediate:!0}),Rt(()=>[r.value,s.value],(T,B)=>{y(),a.value={x:u.value.x*T[0]/B[0],y:u.value.y*T[1]/B[1]}},{flush:"post"}),Rt(()=>t.color,()=>{if(i.value){i.value=!1;return}a.value=t.color?{x:t.color.s*r.value,y:(1-t.color.v)*s.value}:{x:0,y:0}},{deep:!0,immediate:!0}),ds(()=>y()),xo(()=>V("div",{ref:m,class:Ve(["v-color-picker-canvas",t.class]),style:fe(t.style),onMousedown:p,onTouchstartPassive:p},[V("canvas",{ref:n,width:r.value,height:s.value},null),t.color&&V("div",{class:Ve(["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":t.disabled}]),style:fe(c.value)},null)])),{}}}),oS=st({border:[Boolean,Number,String]},"border");function iS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cs();return{borderClasses:Z(()=>{const i=t.border;return i===!0||i===""?`${e}--border`:typeof i=="string"||i===0?String(i).split(" ").map(n=>`border-${n}`):[]})}}const Qee=[null,"default","comfortable","compact"],nS=st({density:{type:String,default:"default",validator:t=>Qee.includes(t)}},"density");function rS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cs();return{densityClasses:Ue(()=>`${e}--density-${t.density}`)}}const eC=st({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function tC(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cs();return{roundedClasses:Z(()=>{const i=ao(t)?t.value:t.rounded,n=ao(t)?!1:t.tile,r=[];if(n||i===!1)r.push("rounded-0");else if(i===!0||i==="")r.push(`${e}--rounded`);else if(typeof i=="string"||i===0)for(const s of String(i).split(" "))r.push(`rounded-${s}`);return r})}}const Uc=st({tag:{type:[String,Object,Function],default:"div"}},"tag"),ete=["elevated","flat","tonal","outlined","text","plain"];function tte(t,e){return V(Ge,null,[V("span",{key:"overlay",class:Ve(`${e}__overlay`)},null),V("span",{key:"underlay",class:Ve(`${e}__underlay`)},null)])}const Z_=st({color:String,variant:{type:String,default:"elevated",validator:t=>ete.includes(t)}},"variant");function ote(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cs();const o=Ue(()=>{const{variant:r}=cu(t);return`${e}--variant-${r}`}),{colorClasses:i,colorStyles:n}=zy(()=>{const{variant:r,color:s}=cu(t);return{[["elevated","flat"].includes(r)?"background":"text"]:s}});return{colorClasses:i,colorStyles:n,variantClasses:o}}const X_=st({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...oS(),...yi(),...nS(),...Nc(),...eC(),...Uc(),...ia(),...Z_()},"VBtnGroup"),l1=Do()({name:"VBtnGroup",props:X_(),setup(t,e){let{slots:o}=e;const{themeClasses:i}=Iu(t),{densityClasses:n}=rS(t),{borderClasses:r}=iS(t),{elevationClasses:s}=Pc(t),{roundedClasses:a}=tC(t);_y({VBtn:{height:Ue(()=>t.direction==="horizontal"?"auto":null),baseColor:Ue(()=>t.baseColor),color:Ue(()=>t.color),density:Ue(()=>t.density),flat:!0,variant:Ue(()=>t.variant)}}),xo(()=>ue(t.tag,{class:Ve(["v-btn-group",`v-btn-group--${t.direction}`,{"v-btn-group--divided":t.divided},i.value,r.value,n.value,s.value,a.value,t.class]),style:fe(t.style)},o))}}),ite=st({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),nte=st({value:null,disabled:Boolean,selectedClass:String},"group-item");function rte(t,e){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const i=Kn("useGroupItem");if(!i)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const n=mp();dl(Symbol.for(`${e.description}:id`),n);const r=ei(e,null);if(!r){if(!o)return r;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const s=Ue(()=>t.value),a=Z(()=>!!(r.disabled.value||t.disabled));function u(){r==null||r.register({id:n,value:s,disabled:a},i)}function c(){r==null||r.unregister(n)}u(),ea(()=>c());const m=Z(()=>r.isSelected(n)),f=Z(()=>r.items.value[0].id===n),p=Z(()=>r.items.value[r.items.value.length-1].id===n),C=Z(()=>m.value&&[r.selectedClass.value,t.selectedClass]);return Rt(m,F=>{i.emit("group:selected",{value:F})},{flush:"sync"}),{id:n,isSelected:m,isFirst:f,isLast:p,toggle:()=>r.select(n,!m.value),select:F=>r.select(n,F),selectedClass:C,value:s,disabled:a,group:r,register:u,unregister:c}}function ste(t,e){let o=!1;const i=xt([]),n=Qa(t,"modelValue",[],p=>p===void 0?[]:Q_(i,p===null?[null]:su(p)),p=>{const C=lte(i,p);return t.multiple?C:C[0]}),r=Kn("useGroup");function s(p,C){const F=p,y=Symbol.for(`${e.description}:id`),B=Sd(y,r==null?void 0:r.vnode).indexOf(C);j(F.value)===void 0&&(F.value=B,F.useIndexAsValue=!0),B>-1?i.splice(B,0,F):i.push(F)}function a(p){if(o)return;u();const C=i.findIndex(F=>F.id===p);i.splice(C,1)}function u(){const p=i.find(C=>!C.disabled);p&&t.mandatory==="force"&&!n.value.length&&(n.value=[p.id])}ds(()=>{u()}),ea(()=>{o=!0}),Ty(()=>{for(let p=0;p<i.length;p++)i[p].useIndexAsValue&&(i[p].value=p)});function c(p,C){const F=i.find(y=>y.id===p);if(!(C&&(F!=null&&F.disabled)))if(t.multiple){const y=n.value.slice(),T=y.findIndex(v=>v===p),B=~T;if(C=C??!B,B&&t.mandatory&&y.length<=1||!B&&t.max!=null&&y.length+1>t.max)return;T<0&&C?y.push(p):T>=0&&!C&&y.splice(T,1),n.value=y}else{const y=n.value.includes(p);if(t.mandatory&&y||!y&&!C)return;n.value=C??!y?[p]:[]}}function m(p){if(t.multiple,n.value.length){const C=n.value[0],F=i.findIndex(B=>B.id===C);let y=(F+p)%i.length,T=i[y];for(;T.disabled&&y!==F;)y=(y+p)%i.length,T=i[y];if(T.disabled)return;n.value=[i[y].id]}else{const C=i.find(F=>!F.disabled);C&&(n.value=[C.id])}}const f={register:s,unregister:a,selected:n,select:c,disabled:Ue(()=>t.disabled),prev:()=>m(i.length-1),next:()=>m(1),isSelected:p=>n.value.includes(p),selectedClass:Ue(()=>t.selectedClass),items:Ue(()=>i),getItemIndex:p=>ate(i,p)};return dl(e,f),f}function ate(t,e){const o=Q_(t,[e]);return o.length?t.findIndex(i=>i.id===o[0]):-1}function Q_(t,e){const o=[];return e.forEach(i=>{const n=t.find(s=>gp(i,s.value)),r=t[i];(n==null?void 0:n.value)!==void 0?o.push(n.id):r!=null&&r.useIndexAsValue&&o.push(r.id)}),o}function lte(t,e){const o=[];return e.forEach(i=>{const n=t.findIndex(r=>r.id===i);if(~n){const r=t[n];o.push(r.value!==void 0?r.value:n)}}),o}const eA=Symbol.for("vuetify:v-btn-toggle"),ute=st({...X_(),...ite()},"VBtnToggle");Do()({name:"VBtnToggle",props:ute(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:o}=e;const{isSelected:i,next:n,prev:r,select:s,selected:a}=ste(t,eA);return xo(()=>{const u=l1.filterProps(t);return ue(l1,$n({class:["v-btn-toggle",t.class]},u,{style:t.style}),{default:()=>{var c;return[(c=o.default)==null?void 0:c.call(o,{isSelected:i,next:n,prev:r,select:s,selected:a})]}})}),{next:n,prev:r,select:s}}});const dte=st({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Of=Do(!1)({name:"VDefaultsProvider",props:dte(),setup(t,e){let{slots:o}=e;const{defaults:i,disabled:n,reset:r,root:s,scoped:a}=sL(t);return _y(i,{reset:r,root:s,scoped:a,disabled:n}),()=>{var u;return(u=o.default)==null?void 0:u.call(o)}}}),cte=["x-small","small","default","large","x-large"],sS=st({size:{type:[String,Number],default:"default"}},"size");function aS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cs();return lE(()=>{const o=t.size;let i,n;return tF(cte,o)?i=`${e}--size-${o}`:o&&(n={width:Qt(o),height:Qt(o)}),{sizeClasses:i,sizeStyles:n}})}const mte=st({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:el,opacity:[String,Number],...yi(),...sS(),...Uc({tag:"i"}),...ia()},"VIcon"),Gd=Do()({name:"VIcon",props:mte(),setup(t,e){let{attrs:o,slots:i}=e;const n=lo(),{themeClasses:r}=o5(),{iconData:s}=KH(()=>n.value||t.icon),{sizeClasses:a}=aS(t),{textColorClasses:u,textColorStyles:c}=lc(()=>t.color);return xo(()=>{var p,C;const m=(p=i.default)==null?void 0:p.call(i);m&&(n.value=(C=aE(m).filter(F=>F.type===_u&&F.children&&typeof F.children=="string")[0])==null?void 0:C.children);const f=!!(o.onClick||o.onClickOnce);return ue(s.value.component,{tag:t.tag,icon:s.value.icon,class:Ve(["v-icon","notranslate",r.value,a.value,u.value,{"v-icon--clickable":f,"v-icon--disabled":t.disabled,"v-icon--start":t.start,"v-icon--end":t.end},t.class]),style:fe([{"--v-icon-opacity":t.opacity},a.value?void 0:{fontSize:Qt(t.size),height:Qt(t.size),width:Qt(t.size)},c.value,t.style]),role:f?"button":void 0,"aria-hidden":!f,tabindex:f?t.disabled?-1:0:void 0},{default:()=>[m]})}),{}}});function fte(t,e){const o=Vt(),i=lo(!1);if(s4){const n=new IntersectionObserver(r=>{i.value=!!r.find(s=>s.isIntersecting)},e);Rc(()=>{n.disconnect()}),Rt(o,(r,s)=>{s&&(n.unobserve(s),i.value=!1),r&&n.observe(r)},{flush:"post"})}return{intersectionRef:o,isIntersecting:i}}const hte=st({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...yi(),...sS(),...Uc({tag:"div"}),...ia()},"VProgressCircular"),pte=Do()({name:"VProgressCircular",props:hte(),setup(t,e){let{slots:o}=e;const i=20,n=2*Math.PI*i,r=Vt(),{themeClasses:s}=Iu(t),{sizeClasses:a,sizeStyles:u}=aS(t),{textColorClasses:c,textColorStyles:m}=lc(()=>t.color),{textColorClasses:f,textColorStyles:p}=lc(()=>t.bgColor),{intersectionRef:C,isIntersecting:F}=fte(),{resizeRef:y,contentRect:T}=bE(),B=Ue(()=>Jr(parseFloat(t.modelValue),0,100)),v=Ue(()=>Number(t.width)),D=Ue(()=>u.value?Number(t.size):T.value?T.value.width:Math.max(v.value,32)),R=Ue(()=>i/(1-v.value/D.value)*2),N=Ue(()=>v.value/D.value*R.value),_=Ue(()=>Qt((100-B.value)/100*n));return Pu(()=>{C.value=r.value,y.value=r.value}),xo(()=>ue(t.tag,{ref:r,class:Ve(["v-progress-circular",{"v-progress-circular--indeterminate":!!t.indeterminate,"v-progress-circular--visible":F.value,"v-progress-circular--disable-shrink":t.indeterminate&&(t.indeterminate==="disable-shrink"||sE())},s.value,a.value,c.value,t.class]),style:fe([u.value,m.value,t.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":t.indeterminate?void 0:B.value},{default:()=>[V("svg",{style:{transform:`rotate(calc(-90deg + ${Number(t.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${R.value} ${R.value}`},[V("circle",{class:Ve(["v-progress-circular__underlay",f.value]),style:fe(p.value),fill:"transparent",cx:"50%",cy:"50%",r:i,"stroke-width":N.value,"stroke-dasharray":n,"stroke-dashoffset":0},null),V("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:i,"stroke-width":N.value,"stroke-dasharray":n,"stroke-dashoffset":_.value},null)]),o.default&&V("div",{class:"v-progress-circular__content"},[o.default({value:B.value})])]})),{}}}),u1={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},tA=st({location:String},"location");function oA(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=arguments.length>2?arguments[2]:void 0;const{isRtl:i}=Au();return{locationStyles:Z(()=>{if(!t.location)return{};const{side:r,align:s}=F4(t.location.split(" ").length>1?t.location:`${t.location} center`,i.value);function a(c){return o?o(c):0}const u={};return r!=="center"&&(e?u[u1[r]]=`calc(100% - ${a(r)}px)`:u[r]=0),s!=="center"?e?u[u1[s]]=`calc(100% - ${a(s)}px)`:u[s]=0:(r==="center"?u.top=u.left="50%":u[{top:"left",bottom:"left",left:"top",right:"top"}[r]]="50%",u.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[r]),u})}}const Cte=st({loading:[Boolean,String]},"loader");function gte(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cs();return{loaderClasses:Ue(()=>({[`${e}--loading`]:t.loading}))}}const Fte=["static","relative","fixed","absolute","sticky"],iA=st({position:{type:String,validator:t=>Fte.includes(t)}},"position");function nA(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cs();return{positionClasses:Ue(()=>t.position?`${e}--${t.position}`:void 0)}}function yte(t,e){Rt(()=>{var o;return(o=t.isActive)==null?void 0:o.value},o=>{t.isLink.value&&o!=null&&e&&ul(()=>{e(o)})},{immediate:!0})}const Tte=st({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:eA},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:el,appendIcon:el,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,spaced:String,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...oS(),...yi(),...nS(),...Dp(),...Nc(),...nte(),...Cte(),...tA(),...iA(),...eC(),...X7(),...sS(),...Uc({tag:"button"}),...ia(),...Z_({variant:"elevated"})},"VBtn"),rA=Do()({name:"VBtn",props:Tte(),emits:{"group:selected":t=>!0},setup(t,e){let{attrs:o,slots:i}=e;const{themeClasses:n}=Iu(t),{borderClasses:r}=iS(t),{densityClasses:s}=rS(t),{dimensionStyles:a}=xp(t),{elevationClasses:u}=Pc(t),{loaderClasses:c}=gte(t),{locationStyles:m}=oA(t),{positionClasses:f}=nA(t),{roundedClasses:p}=tC(t),{sizeClasses:C,sizeStyles:F}=aS(t),y=rte(t,t.symbol,!1),T=Z7(t,o),B=Z(()=>{var z;return t.active!==void 0?t.active:T.isRouterLink.value?(z=T.isActive)==null?void 0:z.value:y==null?void 0:y.isSelected.value}),v=Ue(()=>B.value?t.activeColor??t.color:t.color),D=Z(()=>{var M,X;return{color:(y==null?void 0:y.isSelected.value)&&(!T.isLink.value||((M=T.isActive)==null?void 0:M.value))||!y||((X=T.isActive)==null?void 0:X.value)?v.value??t.baseColor:t.baseColor,variant:t.variant}}),{colorClasses:R,colorStyles:N,variantClasses:_}=ote(D),P=Z(()=>(y==null?void 0:y.disabled.value)||t.disabled),U=Ue(()=>t.variant==="elevated"&&!(t.disabled||t.flat||t.border)),k=Z(()=>{if(!(t.value===void 0||typeof t.value=="symbol"))return Object(t.value)===t.value?JSON.stringify(t.value,null,0):t.value});function de(z){var M;P.value||T.isLink.value&&(z.metaKey||z.ctrlKey||z.shiftKey||z.button!==0||o.target==="_blank")||(T.isRouterLink.value?(M=T.navigate)==null||M.call(T,z):y==null||y.toggle())}return yte(T,y==null?void 0:y.select),xo(()=>{const z=T.isLink.value?"a":t.tag,M=!!(t.prependIcon||i.prepend),X=!!(t.appendIcon||i.append),Ce=!!(t.icon&&t.icon!==!0);return ct(ue(z,$n(T.linkProps,{type:z==="a"?void 0:"button",class:["v-btn",y==null?void 0:y.selectedClass.value,{"v-btn--active":B.value,"v-btn--block":t.block,"v-btn--disabled":P.value,"v-btn--elevated":U.value,"v-btn--flat":t.flat,"v-btn--icon":!!t.icon,"v-btn--loading":t.loading,"v-btn--readonly":t.readonly,"v-btn--slim":t.slim,"v-btn--stacked":t.stacked},t.spaced?["v-btn--spaced",`v-btn--spaced-${t.spaced}`]:[],n.value,r.value,R.value,s.value,u.value,c.value,f.value,p.value,C.value,_.value,t.class],style:[N.value,a.value,m.value,F.value,t.style],"aria-busy":t.loading?!0:void 0,disabled:P.value&&z!=="a"||void 0,tabindex:t.loading||t.readonly?-1:void 0,onClick:de,value:k.value}),{default:()=>{var pe;return[tte(!0,"v-btn"),!t.icon&&M&&V("span",{key:"prepend",class:"v-btn__prepend"},[i.prepend?ue(Of,{key:"prepend-defaults",disabled:!t.prependIcon,defaults:{VIcon:{icon:t.prependIcon}}},i.prepend):ue(Gd,{key:"prepend-icon",icon:t.prependIcon},null)]),V("span",{class:"v-btn__content","data-no-activator":""},[!i.default&&Ce?ue(Gd,{key:"content-icon",icon:t.icon},null):ue(Of,{key:"content-defaults",disabled:!Ce,defaults:{VIcon:{icon:t.icon}}},{default:()=>{var ie;return[((ie=i.default)==null?void 0:ie.call(i))??Lt(t.text)]}})]),!t.icon&&X&&V("span",{key:"append",class:"v-btn__append"},[i.append?ue(Of,{key:"append-defaults",disabled:!t.appendIcon,defaults:{VIcon:{icon:t.appendIcon}}},i.append):ue(Gd,{key:"append-icon",icon:t.appendIcon},null)]),!!t.loading&&V("span",{key:"loader",class:"v-btn__loader"},[((pe=i.loader)==null?void 0:pe.call(i))??ue(pte,{color:typeof t.loading=="boolean"?void 0:t.loading,indeterminate:!0,width:"2"},null)])]}}),[[gF,!P.value&&t.ripple,"",{center:!!t.icon}]])}),{group:y}}});function Ste(t,e){if(e){const{a:o,...i}=t;return i}return t}function Bte(t,e){if(e==null||typeof e=="string"){const o=t.a!==1;if(e!=null&&e.startsWith("rgb(")){const{r:n,g:r,b:s,a}=hr(t);return`rgb(${n} ${r} ${s}`+(o?` / ${a})`:")")}else if(e!=null&&e.startsWith("hsl(")){const{h:n,s:r,l:s,a}=iF(t);return`hsl(${n} ${Math.round(r*100)} ${Math.round(s*100)}`+(o?` / ${a})`:")")}const i=CE(t);return t.a===1?i.slice(0,7):i}if(typeof e=="object"){let o;return Ia(e,["r","g","b"])?o=hr(t):Ia(e,["h","s","l"])?o=iF(t):Ia(e,["h","s","v"])&&(o=t),Ste(o,!Ia(e,["a"])&&t.a===1)}return t}const Ql={h:0,s:0,v:0,a:1},sy={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:t=>Math.round(t.r),getColor:(t,e)=>({...t,r:Number(e)}),localeKey:"redInput"},{label:"G",max:255,step:1,getValue:t=>Math.round(t.g),getColor:(t,e)=>({...t,g:Number(e)}),localeKey:"greenInput"},{label:"B",max:255,step:1,getValue:t=>Math.round(t.b),getColor:(t,e)=>({...t,b:Number(e)}),localeKey:"blueInput"},{label:"A",max:1,step:.01,getValue:t=>{let{a:e}=t;return e!=null?Math.round(e*100)/100:1},getColor:(t,e)=>({...t,a:Number(e)}),localeKey:"alphaInput"}],to:hr,from:Ec};var v1;const Vte={...sy,inputs:(v1=sy.inputs)==null?void 0:v1.slice(0,3)},ay={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:t=>Math.round(t.h),getColor:(t,e)=>({...t,h:Number(e)}),localeKey:"hueInput"},{label:"S",max:1,step:.01,getValue:t=>Math.round(t.s*100)/100,getColor:(t,e)=>({...t,s:Number(e)}),localeKey:"saturationInput"},{label:"L",max:1,step:.01,getValue:t=>Math.round(t.l*100)/100,getColor:(t,e)=>({...t,l:Number(e)}),localeKey:"lightnessInput"},{label:"A",max:1,step:.01,getValue:t=>{let{a:e}=t;return e!=null?Math.round(e*100)/100:1},getColor:(t,e)=>({...t,a:Number(e)}),localeKey:"alphaInput"}],to:iF,from:Ny},Rte={...ay,inputs:ay.inputs.slice(0,3)},sA={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:t=>t,getColor:(t,e)=>e,localeKey:"hexaInput"}],to:CE,from:A4},Dte={...sA,inputs:[{label:"HEX",getValue:t=>t.slice(0,7),getColor:(t,e)=>e,localeKey:"hexInput"}]},Za={rgb:Vte,rgba:sy,hsl:Rte,hsla:ay,hex:Dte,hexa:sA},xte=t=>{let{label:e,...o}=t;return V("div",{class:"v-color-picker-edit__input"},[V("input",GM(KL(o)),null),V("span",null,[e])])},bte=st({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:t=>Object.keys(Za).includes(t)},modes:{type:Array,default:()=>Object.keys(Za),validator:t=>Array.isArray(t)&&t.every(e=>Object.keys(Za).includes(e))},...yi()},"VColorPickerEdit"),Lte=Tr({name:"VColorPickerEdit",props:bte(),emits:{"update:color":t=>!0,"update:mode":t=>!0},setup(t,e){let{emit:o}=e;const{t:i}=Fp(),n=Z(()=>t.modes.map(s=>({...Za[s],name:s}))),r=Z(()=>{var u;const s=n.value.find(c=>c.name===t.mode);if(!s)return[];const a=t.color?s.to(t.color):null;return(u=s.inputs)==null?void 0:u.map(c=>{let{getValue:m,getColor:f,localeKey:p,...C}=c;return{...s.inputProps,...C,ariaLabel:i(`$vuetify.colorPicker.ariaLabel.${p}`),disabled:t.disabled,value:a&&m(a),onChange:F=>{const y=F.target;y&&o("update:color",s.from(f(a??s.to(Ql),y.value)))}}})});return xo(()=>{var s;return V("div",{class:Ve(["v-color-picker-edit",t.class]),style:fe(t.style)},[(s=r.value)==null?void 0:s.map(a=>ue(xte,a,null)),n.value.length>1&&ue(rA,{icon:"$unfold",size:"x-small",variant:"plain","aria-label":i("$vuetify.colorPicker.ariaLabel.changeFormat"),onClick:()=>{const a=n.value.findIndex(u=>u.name===t.mode);o("update:mode",n.value[(a+1)%n.value.length].name)}},null)])}),{}}}),Ete=Symbol.for("vuetify:form");function aA(t){const e=ei(Ete,null);return{...e,isReadonly:Z(()=>!!((t==null?void 0:t.readonly)??(e==null?void 0:e.isReadonly.value))),isDisabled:Z(()=>!!((t==null?void 0:t.disabled)??(e==null?void 0:e.isDisabled.value)))}}const lS=Symbol.for("vuetify:v-slider");function vte(t,e,o){const i=o==="vertical",n=e.getBoundingClientRect(),r="touches"in t?t.touches[0]:t;return i?r.clientY-(n.top+n.height/2):r.clientX-(n.left+n.width/2)}function Nte(t,e){return"touches"in t&&t.touches.length?t.touches[0][e]:"changedTouches"in t&&t.changedTouches.length?t.changedTouches[0][e]:t[e]}const Pte=st({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:t=>typeof t=="boolean"||t==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:t=>typeof t=="boolean"||t==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:t=>["vertical","horizontal"].includes(t)},reverse:Boolean,noKeyboard:Boolean,...eC(),...Nc({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),_te=t=>{const e=Z(()=>parseFloat(t.min)),o=Z(()=>parseFloat(t.max)),i=Z(()=>Number(t.step)>0?parseFloat(t.step):0),n=Z(()=>Math.max(TR(i.value),TR(e.value)));function r(s){if(s=parseFloat(s),i.value<=0)return s;const a=Jr(s,e.value,o.value),u=e.value%i.value;let c=Math.round((a-u)/i.value)*i.value+u;return a>c&&c+i.value>o.value&&(c=o.value),parseFloat(Math.min(c,o.value).toFixed(n.value))}return{min:e,max:o,step:i,decimals:n,roundValue:r}},Ate=t=>{let{props:e,steps:o,onSliderStart:i,onSliderMove:n,onSliderEnd:r,getActiveThumb:s}=t;const a=aA(e),{isRtl:u}=Au(),c=Ue(()=>e.reverse),m=Z(()=>e.direction==="vertical"),f=Z(()=>m.value!==c.value),{min:p,max:C,step:F,decimals:y,roundValue:T}=o,B=Z(()=>parseInt(e.thumbSize,10)),v=Z(()=>parseInt(e.tickSize,10)),D=Z(()=>parseInt(e.trackSize,10)),R=Z(()=>(C.value-p.value)/F.value),N=Z(()=>e.error||a.isDisabled.value?void 0:e.thumbColor??e.color),_=Z(()=>e.error||a.isDisabled.value?void 0:e.thumbColor),P=Z(()=>e.error||a.isDisabled.value?void 0:e.trackColor??e.color),U=Z(()=>e.error||a.isDisabled.value?void 0:e.trackFillColor??e.color),k=lo(!1),de=lo(0),z=Vt(),M=Vt();function X(We){var ne;const Oe=(ne=z.value)==null?void 0:ne.$el;if(!Oe)return;const bt=e.direction==="vertical",Gt=bt?"top":"left",to=bt?"height":"width",I=bt?"clientY":"clientX",{[Gt]:H,[to]:w}=Oe.getBoundingClientRect(),Q=Nte(We,I);let se=Jr((Q-H-de.value)/w)||0;return(bt?f.value:f.value!==u.value)&&(se=1-se),T(p.value+se*(C.value-p.value))}const Ce=We=>{const Oe=X(We);Oe!=null&&r({value:Oe}),k.value=!1,de.value=0},pe=We=>{const Oe=X(We);M.value=s(We),M.value&&(k.value=!0,M.value.contains(We.target)?de.value=vte(We,M.value,e.direction):(de.value=0,Oe!=null&&n({value:Oe})),Oe!=null&&i({value:Oe}),ul(()=>{var bt;return(bt=M.value)==null?void 0:bt.focus()}))},ie={passive:!0,capture:!0};function Re(We){const Oe=X(We);Oe!=null&&n({value:Oe})}function Ie(We){We.stopPropagation(),We.preventDefault(),Ce(We),window.removeEventListener("mousemove",Re,ie),window.removeEventListener("mouseup",Ie)}function mt(We){var Oe;Ce(We),window.removeEventListener("touchmove",Re,ie),(Oe=We.target)==null||Oe.removeEventListener("touchend",mt)}function ke(We){var Oe;pe(We),window.addEventListener("touchmove",Re,ie),(Oe=We.target)==null||Oe.addEventListener("touchend",mt,{passive:!1})}function ve(We){We.button===0&&(We.preventDefault(),pe(We),window.addEventListener("mousemove",Re,ie),window.addEventListener("mouseup",Ie,{passive:!1}))}const lt=We=>{const Oe=(We-p.value)/(C.value-p.value)*100;return Jr(isNaN(Oe)?0:Oe,0,100)},pt=Ue(()=>e.showTicks),jt=Z(()=>pt.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(We=>({value:We,position:lt(We),label:We.toString()})):Object.keys(e.ticks).map(We=>({value:parseFloat(We),position:lt(parseFloat(We)),label:e.ticks[We]})):R.value!==1/0?Ly(R.value+1).map(We=>{const Oe=p.value+We*F.value;return{value:Oe,position:lt(Oe)}}):[]:[]),$e=Z(()=>jt.value.some(We=>{let{label:Oe}=We;return!!Oe})),Qe={activeThumbRef:M,color:Ue(()=>e.color),decimals:y,disabled:a.isDisabled,direction:Ue(()=>e.direction),elevation:Ue(()=>e.elevation),hasLabels:$e,isReversed:c,indexFromEnd:f,min:p,max:C,mousePressed:k,noKeyboard:Ue(()=>e.noKeyboard),numTicks:R,onSliderMousedown:ve,onSliderTouchstart:ke,parsedTicks:jt,parseMouseMove:X,position:lt,readonly:a.isReadonly,rounded:Ue(()=>e.rounded),roundValue:T,showTicks:pt,startOffset:de,step:F,thumbSize:B,thumbColor:N,thumbLabelColor:_,thumbLabel:Ue(()=>e.thumbLabel),ticks:Ue(()=>e.ticks),tickSize:v,trackColor:P,trackContainerRef:z,trackFillColor:U,trackSize:D,vertical:m};return dl(lS,Qe),Qe},Ite=st({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Xi(t,e,o){return Do()({name:t,props:Ite({mode:o,origin:e}),setup(i,n){let{slots:r}=n;const s={onBeforeEnter(a){i.origin&&(a.style.transformOrigin=i.origin)},onLeave(a){if(i.leaveAbsolute){const{offsetTop:u,offsetLeft:c,offsetWidth:m,offsetHeight:f}=a;a._transitionInitialStyles={position:a.style.position,top:a.style.top,left:a.style.left,width:a.style.width,height:a.style.height},a.style.position="absolute",a.style.top=`${u}px`,a.style.left=`${c}px`,a.style.width=`${m}px`,a.style.height=`${f}px`}i.hideOnLeave&&a.style.setProperty("display","none","important")},onAfterLeave(a){if(i.leaveAbsolute&&(a!=null&&a._transitionInitialStyles)){const{position:u,top:c,left:m,width:f,height:p}=a._transitionInitialStyles;delete a._transitionInitialStyles,a.style.position=u||"",a.style.top=c||"",a.style.left=m||"",a.style.width=f||"",a.style.height=p||""}}};return()=>{const a=i.group?by:xy;return Gn(a,{name:i.disabled?"":t,css:!i.disabled,...i.group?void 0:{mode:i.mode},...i.disabled?{}:s},r.default)}}})}function lA(t,e){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Do()({name:t,props:{mode:{type:String,default:o},disabled:{type:Boolean,default:sE()},group:Boolean},setup(i,n){let{slots:r}=n;const s=i.group?by:xy;return()=>Gn(s,{name:i.disabled?"":t,css:!i.disabled,...i.disabled?{}:e},r.default)}})}function uA(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const o=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",i=Ei(`offset-${o}`);return{onBeforeEnter(s){s._parent=s.parentNode,s._initialStyle={transition:s.style.transition,overflow:s.style.overflow,[o]:s.style[o]}},onEnter(s){const a=s._initialStyle;if(!a)return;s.style.setProperty("transition","none","important"),s.style.overflow="hidden";const u=`${s[i]}px`;s.style[o]="0",s.offsetHeight,s.style.transition=a.transition,t&&s._parent&&s._parent.classList.add(t),requestAnimationFrame(()=>{s.style[o]=u})},onAfterEnter:r,onEnterCancelled:r,onLeave(s){s._initialStyle={transition:"",overflow:s.style.overflow,[o]:s.style[o]},s.style.overflow="hidden",s.style[o]=`${s[i]}px`,s.offsetHeight,requestAnimationFrame(()=>s.style[o]="0")},onAfterLeave:n,onLeaveCancelled:n};function n(s){t&&s._parent&&s._parent.classList.remove(t),r(s)}function r(s){if(!s._initialStyle)return;const a=s._initialStyle[o];s.style.overflow=s._initialStyle.overflow,a!=null&&(s.style[o]=a),delete s._initialStyle}}Xi("fab-transition","center center","out-in");Xi("dialog-bottom-transition");Xi("dialog-top-transition");Xi("fade-transition");const wte=Xi("scale-transition");Xi("scroll-x-transition");Xi("scroll-x-reverse-transition");Xi("scroll-y-transition");Xi("scroll-y-reverse-transition");Xi("slide-x-transition");Xi("slide-x-reverse-transition");const kte=Xi("slide-y-transition");Xi("slide-y-reverse-transition");lA("expand-transition",uA());lA("expand-x-transition",uA("",!0));const Wte=st({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},name:String,noKeyboard:Boolean,...yi()},"VSliderThumb"),Ote=Do()({name:"VSliderThumb",directives:{vRipple:gF},props:Wte(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:o,emit:i}=e;const n=ei(lS),{isRtl:r,rtlClasses:s}=Au();if(!n)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{min:a,max:u,thumbColor:c,thumbLabelColor:m,step:f,disabled:p,thumbSize:C,thumbLabel:F,direction:y,isReversed:T,vertical:B,readonly:v,elevation:D,mousePressed:R,decimals:N,indexFromEnd:_}=n,P=Z(()=>p.value?void 0:D.value),{elevationClasses:U}=Pc(P),{textColorClasses:k,textColorStyles:de}=lc(c),{backgroundColorClasses:z,backgroundColorStyles:M}=gu(m),{pageup:X,pagedown:Ce,end:pe,home:ie,left:Re,right:Ie,down:mt,up:ke}=d4,ve=[X,Ce,pe,ie,Re,Ie,mt,ke],lt=Z(()=>f.value?[1,2,3]:[1,5,10]);function pt($e,Qe){if(t.noKeyboard||p.value||!ve.includes($e.key))return;$e.preventDefault();const We=f.value||.1,Oe=(u.value-a.value)/We;if([Re,Ie,mt,ke].includes($e.key)){const Gt=(B.value?[r.value?Re:Ie,T.value?mt:ke]:_.value!==r.value?[Re,ke]:[Ie,ke]).includes($e.key)?1:-1,to=$e.shiftKey?2:$e.ctrlKey?1:0;Gt===-1&&Qe===u.value&&!to&&!Number.isInteger(Oe)?Qe=Qe-Oe%1*We:Qe=Qe+Gt*We*lt.value[to]}else if($e.key===ie)Qe=a.value;else if($e.key===pe)Qe=u.value;else{const bt=$e.key===Ce?1:-1;Qe=Qe-bt*We*(Oe>100?Oe/10:10)}return Math.max(t.min,Math.min(t.max,Qe))}function jt($e){const Qe=pt($e,t.modelValue);Qe!=null&&i("update:modelValue",Qe)}return xo(()=>{const $e=Qt(_.value?100-t.position:t.position,"%");return V("div",{class:Ve(["v-slider-thumb",{"v-slider-thumb--focused":t.focused,"v-slider-thumb--pressed":t.focused&&R.value},t.class,s.value]),style:fe([{"--v-slider-thumb-position":$e,"--v-slider-thumb-size":Qt(C.value)},t.style]),role:"slider",tabindex:p.value?-1:0,"aria-label":t.name,"aria-valuemin":a.value,"aria-valuemax":u.value,"aria-valuenow":t.modelValue,"aria-readonly":!!v.value,"aria-orientation":y.value,onKeydown:v.value?void 0:jt},[V("div",{class:Ve(["v-slider-thumb__surface",k.value,U.value]),style:fe(de.value)},null),ct(V("div",{class:Ve(["v-slider-thumb__ripple",k.value]),style:fe(de.value)},null),[[gF,t.ripple,null,{circle:!0,center:!0}]]),ue(wte,{origin:"bottom center"},{default:()=>{var Qe;return[ct(V("div",{class:"v-slider-thumb__label-container"},[V("div",{class:Ve(["v-slider-thumb__label",z.value]),style:fe(M.value)},[V("div",null,[((Qe=o["thumb-label"])==null?void 0:Qe.call(o,{modelValue:t.modelValue}))??t.modelValue.toFixed(f.value?N.value:1)]),V("div",{class:"v-slider-thumb__label-wedge"},null)])]),[[Z0,F.value&&t.focused||F.value==="always"]])]}})])}),{}}}),Mte=st({start:{type:Number,required:!0},stop:{type:Number,required:!0},...yi()},"VSliderTrack"),Hte=Do()({name:"VSliderTrack",props:Mte(),emits:{},setup(t,e){let{slots:o}=e;const i=ei(lS);if(!i)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:n,parsedTicks:r,rounded:s,showTicks:a,tickSize:u,trackColor:c,trackFillColor:m,trackSize:f,vertical:p,min:C,max:F,indexFromEnd:y}=i,{roundedClasses:T}=tC(s),{backgroundColorClasses:B,backgroundColorStyles:v}=gu(m),{backgroundColorClasses:D,backgroundColorStyles:R}=gu(c),N=Z(()=>`inset-${p.value?"block":"inline"}-${y.value?"end":"start"}`),_=Z(()=>p.value?"height":"width"),P=Z(()=>({[N.value]:"0%",[_.value]:"100%"})),U=Z(()=>t.stop-t.start),k=Z(()=>({[N.value]:Qt(t.start,"%"),[_.value]:Qt(U.value,"%")})),de=Z(()=>a.value?(p.value?r.value.slice().reverse():r.value).map((M,X)=>{var pe;const Ce=M.value!==C.value&&M.value!==F.value?Qt(M.position,"%"):void 0;return V("div",{key:M.value,class:Ve(["v-slider-track__tick",{"v-slider-track__tick--filled":M.position>=t.start&&M.position<=t.stop,"v-slider-track__tick--first":M.value===C.value,"v-slider-track__tick--last":M.value===F.value}]),style:{[N.value]:Ce}},[(M.label||o["tick-label"])&&V("div",{class:"v-slider-track__tick-label"},[((pe=o["tick-label"])==null?void 0:pe.call(o,{tick:M,index:X}))??M.label])])}):[]);return xo(()=>V("div",{class:Ve(["v-slider-track",T.value,t.class]),style:fe([{"--v-slider-track-size":Qt(f.value),"--v-slider-tick-size":Qt(u.value)},t.style])},[V("div",{class:Ve(["v-slider-track__background",D.value,{"v-slider-track__background--opacity":!!n.value||!m.value}]),style:{...P.value,...R.value}},null),V("div",{class:Ve(["v-slider-track__fill",B.value]),style:{...k.value,...v.value}},null),a.value&&V("div",{class:Ve(["v-slider-track__ticks",{"v-slider-track__ticks--always-show":a.value==="always"}])},[de.value])])),{}}});function $te(t){const{t:e}=Fp();function o(i){let{name:n,color:r,...s}=i;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[n],u=t[`onClick:${n}`];function c(f){f.key!=="Enter"&&f.key!==" "||(f.preventDefault(),f.stopPropagation(),f4(u,new PointerEvent("click",f)))}const m=u&&a?e(`$vuetify.input.${a}`,t.label??""):void 0;return ue(Gd,$n({icon:t[`${n}Icon`],"aria-label":m,onClick:u,onKeydown:c,color:r},s),null)}return{InputIcon:o}}const zte=st({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...yi(),...Q7({transition:{component:kte,leaveAbsolute:!0,group:!0}})},"VMessages"),Ute=Do()({name:"VMessages",props:zte(),setup(t,e){let{slots:o}=e;const i=Z(()=>su(t.messages)),{textColorClasses:n,textColorStyles:r}=lc(()=>t.color);return xo(()=>ue(e8,{transition:t.transition,tag:"div",class:Ve(["v-messages",n.value,t.class]),style:fe([r.value,t.style])},{default:()=>[t.active&&i.value.map((s,a)=>V("div",{class:"v-messages__message",key:`${a}-${i.value}`},[o.message?o.message({message:s}):s]))]})),{}}}),dA=st({focused:Boolean,"onUpdate:focused":th()},"focus");function jte(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cs();const o=Qa(t,"focused"),i=Ue(()=>({[`${e}--focused`]:o.value}));function n(){o.value=!0}function r(){o.value=!1}return{focusClasses:i,isFocused:o,focus:n,blur:r}}const Gte=Symbol.for("vuetify:rules");function Kte(t){const e=ei(Gte,null);if(!t){if(!e)throw new Error("Could not find Vuetify rules injection");return e.aliases}return(e==null?void 0:e.resolve(t))??Ue(t)}const qte=st({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...dA()},"validation");function Yte(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cs(),o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:mp();const i=Qa(t,"modelValue"),n=Z(()=>t.validationValue===void 0?i.value:t.validationValue),r=aA(t),s=Kte(()=>t.rules),a=Vt([]),u=lo(!0),c=Z(()=>!!(su(i.value===""?null:i.value).length||su(n.value===""?null:n.value).length)),m=Z(()=>{var R;return(R=t.errorMessages)!=null&&R.length?su(t.errorMessages).concat(a.value).slice(0,Math.max(0,Number(t.maxErrors))):a.value}),f=Z(()=>{var _;let R=(t.validateOn??((_=r.validateOn)==null?void 0:_.value))||"input";R==="lazy"&&(R="input lazy"),R==="eager"&&(R="input eager");const N=new Set((R==null?void 0:R.split(" "))??[]);return{input:N.has("input"),blur:N.has("blur")||N.has("input")||N.has("invalid-input"),invalidInput:N.has("invalid-input"),lazy:N.has("lazy"),eager:N.has("eager")}}),p=Z(()=>{var R;return t.error||(R=t.errorMessages)!=null&&R.length?!1:t.rules.length?u.value?a.value.length||f.value.lazy?null:!0:!a.value.length:!0}),C=lo(!1),F=Z(()=>({[`${e}--error`]:p.value===!1,[`${e}--dirty`]:c.value,[`${e}--disabled`]:r.isDisabled.value,[`${e}--readonly`]:r.isReadonly.value})),y=Kn("validation"),T=Z(()=>t.name??j(o));xc(()=>{var R;(R=r.register)==null||R.call(r,{id:T.value,vm:y,validate:D,reset:B,resetValidation:v})}),ea(()=>{var R;(R=r.unregister)==null||R.call(r,T.value)}),ds(async()=>{var R;f.value.lazy||await D(!f.value.eager),(R=r.update)==null||R.call(r,T.value,p.value,m.value)}),Q0(()=>f.value.input||f.value.invalidInput&&p.value===!1,()=>{Rt(n,()=>{if(n.value!=null)D();else if(t.focused){const R=Rt(()=>t.focused,N=>{N||D(),R()})}})}),Q0(()=>f.value.blur,()=>{Rt(()=>t.focused,R=>{R||D()})}),Rt([p,m],()=>{var R;(R=r.update)==null||R.call(r,T.value,p.value,m.value)});async function B(){i.value=null,await ul(),await v()}async function v(){u.value=!0,f.value.lazy?a.value=[]:await D(!f.value.eager)}async function D(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const N=[];C.value=!0;for(const _ of s.value){if(N.length>=Number(t.maxErrors??1))break;const U=await(typeof _=="function"?_:()=>_)(n.value);if(U!==!0){if(U!==!1&&typeof U!="string"){console.warn(`${U} is not a valid value. Rule functions must return boolean true or a string.`);continue}N.push(U||"")}}return a.value=N,C.value=!1,u.value=R,a.value}return{errorMessages:m,isDirty:c,isDisabled:r.isDisabled,isReadonly:r.isReadonly,isPristine:u,isValid:p,isValidating:C,reset:B,resetValidation:v,validate:D,validationClasses:F}}const cA=st({id:String,appendIcon:el,baseColor:String,centerAffix:{type:Boolean,default:!0},color:String,glow:Boolean,iconColor:[Boolean,String],prependIcon:el,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:t=>["horizontal","vertical"].includes(t)},"onClick:prepend":th(),"onClick:append":th(),...yi(),...nS(),...Ey(Dp(),["maxWidth","minWidth","width"]),...ia(),...qte()},"VInput"),d1=Do()({name:"VInput",props:{...cA()},emits:{"update:modelValue":t=>!0},setup(t,e){let{attrs:o,slots:i,emit:n}=e;const{densityClasses:r}=rS(t),{dimensionStyles:s}=xp(t),{themeClasses:a}=Iu(t),{rtlClasses:u}=Au(),{InputIcon:c}=$te(t),m=mp(),f=Z(()=>t.id||`input-${m}`),{errorMessages:p,isDirty:C,isDisabled:F,isReadonly:y,isPristine:T,isValid:B,isValidating:v,reset:D,resetValidation:R,validate:N,validationClasses:_}=Yte(t,"v-input",f),P=Z(()=>{var Ce;return(Ce=t.errorMessages)!=null&&Ce.length||!T.value&&p.value.length?p.value:t.hint&&(t.persistentHint||t.focused)?t.hint:t.messages}),U=Ue(()=>P.value.length>0),k=Ue(()=>!t.hideDetails||t.hideDetails==="auto"&&(U.value||!!i.details)),de=Z(()=>k.value?`${f.value}-messages`:void 0),z=Z(()=>({id:f,messagesId:de,isDirty:C,isDisabled:F,isReadonly:y,isPristine:T,isValid:B,isValidating:v,hasDetails:k,reset:D,resetValidation:R,validate:N})),M=Ue(()=>t.error||t.disabled?void 0:t.focused?t.color:t.baseColor),X=Ue(()=>{if(t.iconColor)return t.iconColor===!0?M.value:t.iconColor});return xo(()=>{var ie,Re,Ie,mt;const Ce=!!(i.prepend||t.prependIcon),pe=!!(i.append||t.appendIcon);return V("div",{class:Ve(["v-input",`v-input--${t.direction}`,{"v-input--center-affix":t.centerAffix,"v-input--focused":t.focused,"v-input--glow":t.glow,"v-input--hide-spin-buttons":t.hideSpinButtons},r.value,a.value,u.value,_.value,t.class]),style:fe([s.value,t.style])},[Ce&&V("div",{key:"prepend",class:"v-input__prepend"},[(ie=i.prepend)==null?void 0:ie.call(i,z.value),t.prependIcon&&ue(c,{key:"prepend-icon",name:"prepend",color:X.value},null)]),i.default&&V("div",{class:"v-input__control"},[(Re=i.default)==null?void 0:Re.call(i,z.value)]),pe&&V("div",{key:"append",class:"v-input__append"},[t.appendIcon&&ue(c,{key:"append-icon",name:"append",color:X.value},null),(Ie=i.append)==null?void 0:Ie.call(i,z.value)]),k.value&&V("div",{id:de.value,class:"v-input__details",role:"alert","aria-live":"polite"},[ue(Ute,{active:U.value,messages:P.value},{message:i.message}),(mt=i.details)==null?void 0:mt.call(i,z.value)])])}),{reset:D,resetValidation:R,validate:N,isValid:B,errorMessages:p}}}),Jte=st({text:String,onClick:th(),...yi(),...ia()},"VLabel"),Zte=Do()({name:"VLabel",props:Jte(),setup(t,e){let{slots:o}=e;return xo(()=>{var i;return V("label",{class:Ve(["v-label",{"v-label--clickable":!!t.onClick},t.class]),style:fe(t.style),onClick:t.onClick},[t.text,(i=o.default)==null?void 0:i.call(o)])}),{}}}),Xte=st({...dA(),...Pte(),...cA(),modelValue:{type:[Number,String],default:0}},"VSlider"),c1=Do()({name:"VSlider",props:Xte(),emits:{"update:focused":t=>!0,"update:modelValue":t=>!0,start:t=>!0,end:t=>!0},setup(t,e){let{slots:o,emit:i}=e;const n=Vt(),r=Vt(),{rtlClasses:s}=Au(),a=_te(t),u=Qa(t,"modelValue",void 0,k=>a.roundValue(k??a.min.value)),{min:c,max:m,mousePressed:f,roundValue:p,onSliderMousedown:C,onSliderTouchstart:F,trackContainerRef:y,position:T,hasLabels:B,disabled:v,readonly:D,noKeyboard:R}=Ate({props:t,steps:a,onSliderStart:()=>{!v.value&&!D.value&&i("start",u.value)},onSliderEnd:k=>{let{value:de}=k;const z=p(de);!v.value&&!D.value&&(u.value=z),i("end",z)},onSliderMove:k=>{let{value:de}=k;!v.value&&!D.value&&(u.value=p(de))},getActiveThumb:()=>{var k;return(k=n.value)==null?void 0:k.$el}}),{isFocused:N,focus:_,blur:P}=jte(t),U=Z(()=>T(u.value));return xo(()=>{const k=d1.filterProps(t),de=!!(t.label||o.label||o.prepend);return ue(d1,$n({ref:r,class:["v-slider",{"v-slider--has-labels":!!o["tick-label"]||B.value,"v-slider--focused":N.value,"v-slider--pressed":f.value,"v-slider--disabled":v.value},s.value,t.class],style:t.style},k,{focused:N.value}),{...o,prepend:de?z=>{var M,X;return V(Ge,null,[((M=o.label)==null?void 0:M.call(o,z))??(t.label?ue(Zte,{id:z.id.value,class:"v-slider__label",text:t.label},null):void 0),(X=o.prepend)==null?void 0:X.call(o,z)])}:void 0,default:z=>{let{id:M,messagesId:X}=z;return V("div",{class:"v-slider__container",onMousedown:D.value?void 0:C,onTouchstartPassive:D.value?void 0:F},[V("input",{id:M.value,name:t.name||M.value,disabled:v.value,readonly:D.value,tabindex:"-1",value:u.value},null),ue(Hte,{ref:y,start:0,stop:U.value},{"tick-label":o["tick-label"]}),ue(Ote,{ref:n,"aria-describedby":X.value,focused:N.value,noKeyboard:R.value,min:c.value,max:m.value,modelValue:u.value,"onUpdate:modelValue":Ce=>u.value=Ce,position:U.value,elevation:t.elevation,onFocus:_,onBlur:P,ripple:t.ripple,name:t.name},{"thumb-label":o["thumb-label"]})])}})}),t8({focus:()=>{var k;return(k=n.value)==null?void 0:k.$el.focus()}},r)}}),mA=st({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,hideEyeDropper:Boolean,eyeDropperIcon:{type:el,default:"$eyeDropper"},...yi()},"VColorPickerPreview"),Qte=Tr({name:"VColorPickerPreview",props:mA(),emits:{"update:color":t=>!0},setup(t,e){let{emit:o}=e;const{t:i}=Fp(),n=new AbortController;bc(()=>n.abort());async function r(){if(!gR||t.disabled)return;const s=new window.EyeDropper;try{const a=await s.open({signal:n.signal}),u=Ec(Ui(a.sRGBHex));o("update:color",{...t.color??Ql,...u})}catch{}}return xo(()=>{var s,a;return V("div",{class:Ve(["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":t.hideAlpha},t.class]),style:fe(t.style)},[gR&&!t.hideEyeDropper&&V("div",{class:"v-color-picker-preview__eye-dropper",key:"eyeDropper"},[ue(rA,{"aria-label":i("$vuetify.colorPicker.ariaLabel.eyedropper"),density:"comfortable",disabled:t.disabled,icon:t.eyeDropperIcon,variant:"plain",onClick:r},null)]),V("div",{class:"v-color-picker-preview__dot"},[V("div",{style:{background:fE(t.color??Ql)}},null)]),V("div",{class:"v-color-picker-preview__sliders"},[ue(c1,{class:"v-color-picker-preview__track v-color-picker-preview__hue",name:i("$vuetify.colorPicker.ariaLabel.hueSlider"),modelValue:(s=t.color)==null?void 0:s.h,"onUpdate:modelValue":u=>o("update:color",{...t.color??Ql,h:u}),step:1,min:0,max:360,disabled:t.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!t.hideAlpha&&ue(c1,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",name:i("$vuetify.colorPicker.ariaLabel.alphaSlider"),modelValue:((a=t.color)==null?void 0:a.a)??1,"onUpdate:modelValue":u=>o("update:color",{...t.color??Ql,a:u}),step:.01,min:0,max:1,disabled:t.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}}),eoe={base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"},toe={base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"},ooe={base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"},ioe={base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"},noe={base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"},roe={base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"},soe={base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"},aoe={base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"},loe={base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"},uoe={base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"},doe={base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"},coe={base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"},moe={base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"},foe={base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"},hoe={base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"},poe={base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"},Coe={base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"},goe={base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"},Foe={base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"},yoe={black:"#000000",white:"#ffffff",transparent:"#ffffff00"},Toe={red:eoe,pink:toe,purple:ooe,deepPurple:ioe,indigo:noe,blue:roe,lightBlue:soe,cyan:aoe,teal:loe,green:uoe,lightGreen:doe,lime:coe,yellow:moe,amber:foe,orange:hoe,deepOrange:poe,brown:Coe,blueGrey:goe,grey:Foe,shades:yoe},Soe=st({swatches:{type:Array,default:()=>Boe(Toe)},disabled:Boolean,color:Object,maxHeight:[Number,String],...yi()},"VColorPickerSwatches");function Boe(t){return Object.keys(t).map(e=>{const o=t[e];return o.base?[o.base,o.darken4,o.darken3,o.darken2,o.darken1,o.lighten1,o.lighten2,o.lighten3,o.lighten4,o.lighten5]:[o.black,o.white,o.transparent]})}const Voe=Tr({name:"VColorPickerSwatches",props:Soe(),emits:{"update:color":t=>!0},setup(t,e){let{emit:o}=e;return xo(()=>V("div",{class:Ve(["v-color-picker-swatches",t.class]),style:fe([{maxHeight:Qt(t.maxHeight)},t.style])},[V("div",null,[t.swatches.map(i=>V("div",{class:"v-color-picker-swatches__swatch"},[i.map(n=>{const r=Ui(n),s=Ec(r),a=mE(r);return V("div",{class:"v-color-picker-swatches__color",onClick:()=>s&&o("update:color",s)},[V("div",{style:{background:a}},[t.color&&gp(t.color,s)?ue(Gd,{size:"x-small",icon:"$success",color:W4(n,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}}),Roe=z4("v-picker-title"),fA=st({color:String,...oS(),...yi(),...Dp(),...Nc(),...tA(),...iA(),...eC(),...Uc(),...ia()},"VSheet"),m1=Do()({name:"VSheet",props:fA(),setup(t,e){let{slots:o}=e;const{themeClasses:i}=Iu(t),{backgroundColorClasses:n,backgroundColorStyles:r}=gu(()=>t.color),{borderClasses:s}=iS(t),{dimensionStyles:a}=xp(t),{elevationClasses:u}=Pc(t),{locationStyles:c}=oA(t),{positionClasses:m}=nA(t),{roundedClasses:f}=tC(t);return xo(()=>ue(t.tag,{class:Ve(["v-sheet",i.value,n.value,s.value,u.value,m.value,f.value,t.class]),style:fe([r.value,a.value,c.value,t.style])},o)),{}}}),hA=st({bgColor:String,divided:Boolean,landscape:Boolean,title:String,hideHeader:Boolean,hideTitle:Boolean,...fA()},"VPicker"),f1=Do()({name:"VPicker",props:hA(),setup(t,e){let{slots:o}=e;const{backgroundColorClasses:i,backgroundColorStyles:n}=gu(()=>t.color);return xo(()=>{const r=m1.filterProps(t),s=!t.hideTitle&&!!(t.title||o.title);return ue(m1,$n(r,{color:t.bgColor,class:["v-picker",{"v-picker--divided":t.divided,"v-picker--landscape":t.landscape,"v-picker--with-actions":!!o.actions},t.class],style:t.style}),{default:()=>{var a;return[!t.hideHeader&&V("div",{key:"header",class:Ve([i.value]),style:fe([n.value])},[s&&ue(Roe,{key:"picker-title"},{default:()=>{var u;return[((u=o.title)==null?void 0:u.call(o))??t.title]}}),o.header&&V("div",{class:"v-picker__header"},[o.header()])]),V("div",{class:"v-picker__body"},[(a=o.default)==null?void 0:a.call(o)]),o.actions&&ue(Of,{defaults:{VBtn:{slim:!0,variant:"text"}}},{default:()=>[V("div",{class:"v-picker__actions"},[o.actions()])]})]}})}),{}}}),Doe=st({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:t=>Object.keys(Za).includes(t)},modes:{type:Array,default:()=>Object.keys(Za),validator:t=>Array.isArray(t)&&t.every(e=>Object.keys(Za).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...hA({hideHeader:!0}),...Ey(mA(),["hideEyeDropper","eyeDropperIcon"])},"VColorPicker"),xoe=Tr({name:"VColorPicker",props:Doe(),emits:{"update:modelValue":t=>!0,"update:mode":t=>!0},setup(t,e){let{slots:o}=e;const i=Qa(t,"mode"),n=Vt(null),r=Qa(t,"modelValue",void 0,m=>{if(m==null||m==="")return null;let f;try{f=Ec(Ui(m))}catch{return null}return f},m=>m?Bte(m,t.modelValue):null),s=Z(()=>r.value?{...r.value,h:n.value??r.value.h}:null),{rtlClasses:a}=Au();let u=!0;Rt(r,m=>{if(!u){u=!0;return}m&&(n.value=m.h)},{immediate:!0});const c=m=>{u=!1,n.value=m.h,r.value=m};return xc(()=>{t.modes.includes(i.value)||(i.value=t.modes[0])}),_y({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),xo(()=>{const m=f1.filterProps(t);return ue(f1,$n(m,{class:["v-color-picker",a.value,t.class],style:[{"--v-color-picker-color-hsv":fE({...s.value??Ql,a:1})},t.style]}),{...o,default:()=>V(Ge,null,[!t.hideCanvas&&ue(Xee,{key:"canvas",color:s.value,"onUpdate:color":c,disabled:t.disabled,dotSize:t.dotSize,width:t.width,height:t.canvasHeight},null),(!t.hideSliders||!t.hideInputs)&&V("div",{key:"controls",class:"v-color-picker__controls"},[!t.hideSliders&&ue(Qte,{key:"preview",color:s.value,"onUpdate:color":c,hideAlpha:!i.value.endsWith("a"),disabled:t.disabled,hideEyeDropper:t.hideEyeDropper,eyeDropperIcon:t.eyeDropperIcon},null),!t.hideInputs&&ue(Lte,{key:"edit",modes:t.modes,mode:i.value,"onUpdate:mode":f=>i.value=f,color:s.value,"onUpdate:color":c,disabled:t.disabled},null)]),t.showSwatches&&ue(Voe,{key:"swatches",color:s.value,"onUpdate:color":c,maxHeight:t.swatchesMaxHeight,swatches:t.swatches,disabled:t.disabled},null)])})}),{}}}),boe=Me({__name:"SelectItemColor",props:{isActive:{type:Boolean},color:{},label:{}},emits:["click"],setup(t,{emit:e}){const o=t,i=e;return(n,r)=>(W(),J("li",{class:Ve(["bootstrap-styles dropdown-item p-0 user-select-none",{active:o.isActive}])},[V("span",{class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer d-flex align-items-center justify-content-start",onClick:r[0]||(r[0]=s=>i("click"))},[V("i",{class:"bootstrap-styles input__color_selection d-block overflow-hidden me-2",style:fe([{border:"1px solid rgba(0, 0, 0, 0.10)"},[{background:o.color}]])},null,4),mu(" "+Lt(o.label),1)])],2))}}),pA=t=>({Match:e=>{switch(t){case"Heading":return e.whenHeading();case"Title":return e.whenTitle();case"SubHeading":return e.whenSubHeading();case"LargeText":return e.whenLargeText();case"NormalText":return e.whenNormalText();case"DescriptionText":return e.whenDescriptionText();case"Link":return e.whenLink();case"Button":return e.whenButton();default:return vi(t)}}}),oC=t=>pA(t.themeName).Match({whenHeading:()=>t.themeFontColors.HeadingColor,whenTitle:()=>t.themeFontColors.TitleColor,whenSubHeading:()=>t.themeFontColors.SubHeadingColor,whenLargeText:()=>t.themeFontColors.LargeTextColor,whenNormalText:()=>t.themeFontColors.NormalTextColor,whenDescriptionText:()=>t.themeFontColors.DescriptionTextColor,whenLink:()=>t.themeFontColors.LinkColor,whenButton:()=>t.themeFontColors.ButtonTextColor}),jc=t=>{const{FontFamily:e,FontSettingsPresets:o,Colors:i}=t.theme,n=!!t.editor.getAttributes("textStyle")[t.styleName],s=t.editor.getAttributes("paragraph").themeName||"NormalText",a=t.editor.getAttributes("textStyle").themeName||s;if(n)return t.editor.getAttributes("textStyle")[t.styleName];const u=Oi({fontFamily:e,themeFontSettings:o[a],themeColor:oC({themeName:a,themeFontColors:i})});return String(u[t.styleName])},CA=t=>{const{FontFamily:e,FontSettingsPresets:o,Colors:i}=t.theme,n=!!t.editor.getAttributes("textStyle").color,s=t.editor.getAttributes("paragraph").themeName||"NormalText",a=t.editor.getAttributes("textStyle").themeName||s;if(n)return t.editor.getAttributes("textStyle").color;const u=Oi({fontFamily:e,themeFontSettings:o[a],themeColor:oC({themeName:a,themeFontColors:i})});return{Discriminator:pA(a).Match({whenHeading:()=>"HeadingColor",whenTitle:()=>"TitleColor",whenSubHeading:()=>"SubHeadingColor",whenLargeText:()=>"LargeTextColor",whenNormalText:()=>"NormalTextColor",whenDescriptionText:()=>"DescriptionTextColor",whenLink:()=>"LinkColor",whenButton:()=>"ButtonTextColor"}),CustomValue:u.color}},Loe={class:"color-picker bootstrap-styles border rounded bg-white"},Eoe={class:"bootstrap-styles p-1 mb-5 bg-white"},voe=["value"],Noe=["value"],Poe=Me({__name:"ColorPickerModalWindow",props:{editor:{},theme:{}},emits:["onColorChanged","onColorPickerClosed"],setup(t,{emit:e}){const o=t,i=Z(()=>wp({fontColor:CA({editor:o.editor,theme:o.theme}),themeColors:o.theme.Colors})),n=xt({color:i.value,isValidHexColor:!0}),r={StyleLinkedColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.styleLinkedColor"),EmailBackgroundColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.emailBackgroundColor"),BodyColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.bodyColor"),PrimaryColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.primaryColor"),SecondaryColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.secondaryColor"),PrimaryTextColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.primaryTextColor"),SecondaryTextColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.secondaryTextColor"),CardBackgroundColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.cardBackgroundColor"),ButtonTextColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.buttonTextColor"),TitleColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.titleColor"),HeadingColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.headingColor"),SubHeadingColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.subHeadingColor"),LargeTextColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.largeTextColor"),NormalTextColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.normalTextColor"),DescriptionTextColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.descriptionTextColor"),LinkColor:Le("emailTemplateEditors.commonEditors.color.colorLabels.linkColor"),Custom:Le("emailTemplateEditors.commonEditors.color.colorLabels.custom")},s=["EmailBackgroundColor","BodyColor","PrimaryColor","SecondaryColor","PrimaryTextColor","SecondaryTextColor","ButtonTextColor","TitleColor","HeadingColor","SubHeadingColor","LargeTextColor","NormalTextColor","DescriptionTextColor","LinkColor"],a=Ur.throttle(f=>{m("onColorChanged",{Discriminator:"Custom",CustomValue:f})},100,{leading:!1,trailing:!0}),u=f=>/^#([0-9A-Fa-f]{6})$/.test(f.trim()),c=f=>{n.isValidHexColor=u(f),n.color=f,u(f)&&m("onColorChanged",{Discriminator:"Custom",CustomValue:f})};Rt(()=>i.value,f=>{n.color=f,n.isValidHexColor=u(f)});const m=e;return(f,p)=>{const C=ta("click-outside");return ct((W(),J("div",null,[V("ul",Loe,[V("li",Eoe,[ue(j(xoe),{modelValue:i.value,width:220,canvasHeight:220,hideInputs:!0,hideSliders:!1,mode:"hex","onUpdate:modelValue":p[0]||(p[0]=F=>j(a)(F))},null,8,["modelValue"]),V("div",{class:Ve(["bootstrap-styles border bg-color-input rounded-2 d-flex justify-content-between p-14",{"is-not-valid":!n.isValidHexColor}])},[V("input",{type:"color",class:"bootstrap-styles pe-none",style:{border:"1px solid rgba(0, 0, 0, 0.1)",cursor:"default"},value:i.value},null,8,voe),V("input",{type:"text",class:"bootstrap-styles w-100 text-uppercase ps-1",value:n.color,placeholder:"#000000",onInput:p[1]||(p[1]=F=>c(F.target.value))},null,40,Noe)],2)]),(W(),J(Ge,null,Yt(s,F=>ue(boe,{key:F,isActive:i.value===o.theme.Colors[F],color:o.theme.Colors[F],label:r[F],onClick:()=>{m("onColorChanged",{Discriminator:F,CustomValue:o.theme.Colors[F]}),m("onColorPickerClosed")}},null,8,["isActive","color","label","onClick"])),64))])])),[[C,()=>m("onColorPickerClosed")]])}}}),_oe=Ne(Poe,[["__scopeId","data-v-60ea3415"]]),Aoe=["value"],Ioe=Me({__name:"ColorPicker",props:{editor:{},theme:{},isAllowToEdit:{type:Boolean}},setup(t){const e=t,o=xt({isColorPickerDropdownShown:!1}),i=Vt(),n=Vt(),{floatingStyles:r}=ON(n,i,{whileElementsMounted:wN,placement:"bottom",middleware:[kN(({rects:a})=>({alignmentAxis:-a.floating.width/2-a.floating.width/2,mainAxis:15}))]}),s=Z(()=>wp({fontColor:CA({editor:e.editor,theme:e.theme}),themeColors:e.theme.Colors}));return(a,u)=>(W(),J(Ge,null,[ct((W(),J("button",{ref_key:"richTextColorPickerBtn",ref:n,class:Ve(["bootstrap-styles border rich-text-color__input rich-text__handler",{disabled:!t.isAllowToEdit}]),value:s.value,onClick:u[0]||(u[0]=()=>o.isColorPickerDropdownShown=!o.isColorPickerDropdownShown)},[V("i",{style:fe([{display:"block",width:"100%",height:"100%"},{backgroundColor:s.value}])},null,4)],10,Aoe)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.colorEditorTooltip"),placement:"top"}]]),o.isColorPickerDropdownShown?(W(),Pe(_oe,{key:0,ref_key:"richTextColorPicker",ref:i,theme:e.theme,editor:e.editor,style:fe(j(r)),onOnColorChanged:u[1]||(u[1]=c=>{e.editor.commands.setColor(c)}),onOnColorPickerClosed:u[2]||(u[2]=()=>{o.isColorPickerDropdownShown=!1,e.editor.commands.focus()})},null,8,["theme","editor","style"])):xe("",!0)],64))}}),woe=Ne(Ioe,[["__scopeId","data-v-0faf382b"]]),koe={},Woe={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function Ooe(t,e){return W(),J("svg",Woe,[...e[0]||(e[0]=[V("path",{d:"M8.00033 10.0002L5.17188 7.17184L6.11469 6.229L8.00033 8.11464L9.88593 6.229L10.8287 7.17184L8.00033 10.0002Z",fill:"var(--gray-500)"},null,-1)])])}const uS=Ne(koe,[["render",Ooe]]),Moe={class:"bootstrap-styles dropdown"},Hoe={class:"bootstrap-styles me-14 overflow-hidden rich-text-toolbar__font-family-btn__text"},$oe={class:"bootstrap-styles d-flex justify-content-center align-items-center"},zoe=["onClick"],Uoe=Me({__name:"FontFamilySelector",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=zT.name,i=xt({isOpened:!1}),n=Z(()=>jc({editor:e.editor,theme:e.theme,styleName:"fontFamily"})),r=s=>{e.editor.commands.setFontFamily(s),i.isOpened=!1,e.editor.commands.focus()};return(s,a)=>{const u=ta("click-outside");return ct((W(),J("div",Moe,[V("button",{id:"richTextDropdownFontFamily",class:Ve(["bootstrap-styles d-flex justify-content-between align-items-center py-1 px-3 text-nowrap rich-text-toolbar__font-family-btn border rounded-2 overflow-hidden",{disabled:!e.isAllowToEdit,show:i.isOpened}]),type:"button",onClick:a[0]||(a[0]=c=>i.isOpened=!i.isOpened)},[V("span",Hoe,Lt(j(EF)[n.value]),1),V("i",$oe,[ue(uS)])],2),V("ul",{class:Ve([{show:i.isOpened},"bootstrap-styles dropdown-menu rounded-2 bg-white"]),"aria-labelledby":"richTextDropdownFontFamily"},[(W(!0),J(Ge,null,Yt(j(xN),c=>(W(),J("li",{key:c,class:Ve(["bootstrap-styles dropdown-item p-0",{active:e.editor.getAttributes(j(o)).fontFamily===c}]),onClick:()=>r(c)},[V("span",{class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer",style:fe({fontFamily:c})},Lt(j(EF)[c]),5)],10,zoe))),128))],2)])),[[u,()=>i.isOpened=!1],[j(po),{title:j(Le)("emailTemplate.elements.richText.fontFamilyEditorTooltip"),placement:"top"}]])}}}),joe=Ne(Uoe,[["__scopeId","data-v-30bdb1a6"]]),Goe={},Koe={xmlns:"http://www.w3.org/2000/svg",width:"8",height:"8",viewBox:"0 0 8 8",fill:"none"};function qoe(t,e){return W(),J("svg",Koe,[...e[0]||(e[0]=[V("path",{d:"M4.00003 2.38419e-07L1 2.99997L2.00001 4L4.00003 1.99998L6.00001 4L7 2.99997L4.00003 2.38419e-07Z",fill:"var(--gray-500)"},null,-1)])])}const gA=Ne(Goe,[["render",qoe],["__scopeId","data-v-f785d5aa"]]),Yoe={},Joe={xmlns:"http://www.w3.org/2000/svg",width:"8",height:"8",viewBox:"0 0 8 8",fill:"none"};function Zoe(t,e){return W(),J("svg",Joe,[...e[0]||(e[0]=[V("path",{d:"M4.00003 8L1 5.00003L2.00001 4L4.00003 6.00002L6.00001 4L7 5.00003L4.00003 8Z",fill:"var(--gray-500)"},null,-1)])])}const FA=Ne(Yoe,[["render",Zoe],["__scopeId","data-v-526bb3b0"]]),Xoe={},Qoe={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function eie(t,e){return W(),J("svg",Qoe,[...e[0]||(e[0]=[V("path",{d:"M6.66634 4.00033V14.0003H5.33301V4.00033H1.33301V2.66699H10.6663V4.00033H6.66634ZM11.9997 9.33366V14.0003H10.6663V9.33366H8.66634V8.00033H13.9997V9.33366H11.9997Z",fill:"#999999"},null,-1)])])}const tie=Ne(Xoe,[["render",eie]]),oie=t=>{const{FontFamily:e,FontSettingsPresets:o,Colors:i}=t.theme,n=!!t.editor.getAttributes("textStyle").fontSize,s=t.editor.getAttributes("paragraph").themeName||"NormalText",a=t.editor.getAttributes("textStyle").themeName||s;return n?parseInt(t.editor.getAttributes("textStyle").fontSize,10):Oi({fontFamily:e,themeFontSettings:o[a],themeColor:oC({themeName:a,themeFontColors:i})}).fontSize},iie={class:"bootstrap-styles rich-text-toolbar__font-size-editor position-relative rounded-2 py-1 px-3 d-flex"},nie={class:"bootstrap-styles d-flex justify-content-center rich-text-icon me-14"},rie=["value"],sie={class:"bootstrap-styles rich-text-toolbar__input-button top-0 d-flex position-absolute align-items-end justify-content-center"},aie={class:"bootstrap-styles rich-text-toolbar__input-button bottom-0 d-flex position-absolute align-items-start justify-content-center"},lie=Me({__name:"FontSizeEditor",props:{editor:{},theme:{}},setup(t){const e=t,o=Z(()=>oie({editor:e.editor,theme:e.theme})),i=()=>{o.value&&e.editor.commands.setFontSize(o.value+1)},n=()=>{o.value&&o.value!==1&&e.editor.commands.setFontSize(o.value-1)},r=s=>{const a=s.target;let u=parseInt(a.value);const c=100;isNaN(u)||a.value===""?(u=0,a.value="0"):u>c&&(u=c,a.value=String(c)),e.editor.commands.setFontSize(u)};return(s,a)=>ct((W(),J("div",iie,[V("i",nie,[ue(tie)]),V("input",{type:"number",class:"bootstrap-styles rich-text-toolbar__input-number rich-text__handler",value:o.value,onInput:r},null,40,rie),V("div",sie,[V("input",{type:"button",class:"bootstrap-styles position-absolute rich-text__handler",onClick:i}),ue(gA)]),V("div",aie,[V("input",{type:"button",class:"bootstrap-styles position-absolute rich-text__handler",onClick:n}),ue(FA)])])),[[j(po),{title:j(Le)("emailTemplate.elements.richText.fontSizeEditorTooltip"),placement:"top"}]])}}),uie=Ne(lie,[["__scopeId","data-v-d9e6efac"]]),die=Me({__name:"SelectItemTextStyle",props:{isActive:{type:Boolean},label:{},themeFontStyle:{},themeFontColor:{}},emits:["click"],setup(t,{emit:e}){const o=t,i=e;return(n,r)=>(W(),J("li",{class:Ve(["bootstrap-styles dropdown-item p-0 d-flex align-items-center px-3 cursor-pointer",{active:o.isActive}]),onClick:r[0]||(r[0]=s=>i("click"))},[V("i",{class:"bootstrap-styles input__color_selection d-block overflow-hidden me-2",style:fe([{background:o.themeFontColor??"linear-gradient(135deg, rgb(51, 132, 255) 0%, rgb(202, 101, 250) 34.37%, rgb(250, 101, 101) 61.98%, rgb(250, 235, 101) 100%)"},{"min-width":"24px"}])},null,4),V("span",{class:"bootstrap-styles d-block py-1 text-decoration-none overflow-hidden",style:fe([o.themeFontStyle&&{fontSize:o.themeFontStyle.FontSize+"px",fontWeight:o.themeFontStyle.IsBold?"bold":"normal",fontStyle:o.themeFontStyle.IsItalic?"italic":"normal",textDecoration:o.themeFontStyle.Decoration},{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}])},Lt(o.label),5)],2))}}),cie=Ne(die,[["__scopeId","data-v-5e3a08dd"]]),mie={class:"bootstrap-styles dropdown"},fie={class:"bootstrap-styles rich-text-toolbar__font-style-selector__text"},hie={class:"bootstrap-styles d-flex justify-content-center align-items-center rich-text-toolbar__icon"},pie=Me({__name:"ThemeSettingsSelector",props:{editor:{},theme:{},isAllowToEdit:{type:Boolean},initialThemeName:{}},setup(t){const e=t,o=zT.name,i=xt({isOpened:!1}),n={Title:Le("emailTemplateEditors.commonEditors.fontStyle.settingLabels.title"),Heading:Le("emailTemplateEditors.commonEditors.fontStyle.settingLabels.heading"),SubHeading:Le("emailTemplateEditors.commonEditors.fontStyle.settingLabels.subHeading"),LargeText:Le("emailTemplateEditors.commonEditors.fontStyle.settingLabels.largeText"),NormalText:Le("emailTemplateEditors.commonEditors.fontStyle.settingLabels.normalText"),DescriptionText:Le("emailTemplateEditors.commonEditors.fontStyle.settingLabels.descriptionText"),Link:Le("emailTemplateEditors.commonEditors.fontStyle.settingLabels.link"),Button:Le("emailTemplateEditors.commonEditors.fontStyle.settingLabels.button"),Custom:Le("emailTemplateEditors.commonEditors.fontStyle.settingLabels.custom")},r=["Title","Heading","SubHeading","LargeText","NormalText","DescriptionText","Link","Button"],s=["TitleColor","HeadingColor","SubHeadingColor","LargeTextColor","NormalTextColor","DescriptionTextColor","LinkColor","ButtonTextColor"],a=Z(()=>{const c=e.initialThemeName,m=e.editor.getAttributes("paragraph").themeName||c;let f=r.find(D=>e.editor.getAttributes(o).themeName===D)||m;const{fontWeight:p,fontStyle:C,textDecoration:F,fontSize:y,fontFamily:T,lineHeight:B}=e.editor.getAttributes(o);return p||C||F||y||T||B?n.Custom:n[f]}),u=c=>{e.editor.commands.unsetMark(o),e.editor.chain().focus().setThemeSettings(c).run(),i.isOpened=!1};return(c,m)=>{const f=ta("click-outside");return ct((W(),J("div",mie,[V("button",{id:"dropdownMenuButtonFontStyleList",class:Ve(["bootstrap-styles rich-text-toolbar__font-style-selector d-flex justify-content-between align-items-center py-1 px-3 text-nowrap border rounded-2",{disabled:!e.isAllowToEdit,show:i.isOpened}]),type:"button",onClick:m[0]||(m[0]=()=>i.isOpened=!i.isOpened)},[V("span",fie,Lt(a.value),1),V("i",hie,[ue(uS)])],2),V("ul",{class:Ve([{show:i.isOpened},"bootstrap-styles rich-text-toolbar__font-style-dropdown dropdown-menu rounded-2"]),"aria-labelledby":"dropdownMenuButtonFontStyleList"},[(W(),J(Ge,null,Yt(r,(p,C)=>ue(cie,{key:p,isActive:e.editor.getAttributes(j(o)).themeName===p,label:n[p],themeFontStyle:e.theme.FontSettingsPresets[p],themeFontColor:e.theme.Colors[s[C]],onClick:()=>u(p)},null,8,["isActive","label","themeFontStyle","themeFontColor","onClick"])),64))],2)])),[[f,()=>i.isOpened=!1],[j(po),{title:j(Le)("emailTemplate.elements.richText.themeSettingsEditorTooltip"),placement:"top"}]])}}}),Cie=Ne(pie,[["__scopeId","data-v-32464714"]]),gie={},Fie={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function yie(t,e){return W(),J("svg",Fie,[...e[0]||(e[0]=[V("path",{d:"M7.33317 2.66667H13.9998V4H7.33317V2.66667ZM3.99984 4.66667V7.33333H2.6665V4.66667H0.666504L3.33317 2L5.99984 4.66667H3.99984ZM3.99984 11.3333H5.99984L3.33317 14L0.666504 11.3333H2.6665V8.66667H3.99984V11.3333ZM7.33317 12H13.9998V13.3333H7.33317V12ZM5.99984 7.33333H13.9998V8.66667H5.99984V7.33333Z",fill:"var(--gray-500)"},null,-1)])])}const Tie=Ne(gie,[["render",yie]]),Sie=t=>{const{FontFamily:e,FontSettingsPresets:o,Colors:i}=t.theme,n=!!t.editor.getAttributes("textStyle").lineHeight,s=t.editor.getAttributes("paragraph").themeName||"NormalText",a=t.editor.getAttributes("textStyle").themeName||s;return n?parseInt(t.editor.getAttributes("textStyle").lineHeight,10):Oi({fontFamily:e,themeFontSettings:o[a],themeColor:oC({themeName:a,themeFontColors:i})}).lineHeight},Bie={class:"bootstrap-styles rich-text-toolbar__line-height-editor position-relative rounded-2 py-1 px-3 d-flex"},Vie={class:"bootstrap-styles d-flex justify-content-center rich-text-icon me-14"},Rie=["value"],Die={class:"bootstrap-styles rich-text-toolbar__input-button d-flex position-absolute align-items-end justify-content-center",style:{right:"10px",top:"0",width:"16px",height:"16px"}},xie={class:"bootstrap-styles rich-text-toolbar__input-button d-flex position-absolute align-items-start justify-content-center",style:{right:"10px",bottom:"0",width:"16px",height:"16px"}},bie=Me({__name:"LineHeightEditor",props:{editor:{},theme:{}},setup(t){const e=t,o=Z(()=>Sie({editor:e.editor,theme:e.theme})),i=()=>{o.value&&e.editor.commands.setLineHeight(o.value+1)},n=()=>{o.value&&o.value!==1&&e.editor.commands.setLineHeight(o.value-1)},r=s=>{const a=s.target;let u=parseInt(a.value);const c=100;isNaN(u)||a.value===""?(u=0,a.value="0"):u>c&&(u=c,a.value=String(c)),e.editor.commands.setLineHeight(u)};return(s,a)=>ct((W(),J("div",Bie,[V("i",Vie,[ue(Tie)]),V("input",{type:"number",class:"bootstrap-styles rich-text-toolbar__input-number rich-text__handler",value:o.value,onInput:r},null,40,Rie),V("div",Die,[V("input",{type:"button",class:"bootstrap-styles position-absolute rich-text__handler",onClick:i}),ue(gA)]),V("div",xie,[V("input",{type:"button",class:"bootstrap-styles position-absolute rich-text__handler",onClick:n}),ue(FA)])])),[[j(po),{title:j(Le)("emailTemplate.elements.richText.lineHeightEditorTooltip"),placement:"top"}]])}}),Lie=Ne(bie,[["__scopeId","data-v-95432508"]]),Eie=["http:","https:","mailto:","tel:"],vie={mounted(t,e){t.addEventListener("input",()=>{const o=t.value;let i=!1;try{const n=new URL(o);i=Eie.includes(n.protocol)}catch{i=!1}typeof e.value=="function"&&e.value(i)})}},yA={mounted(t,e){h1(t,e)},updated(t,e){e.value&&h1(t,e)}},h1=(t,e)=>{document.activeElement!==t&&requestAnimationFrame(()=>{if(t.focus(),e.modifiers.selectAll&&t.select(),e.modifiers.end){const o=t.value.length;t.setSelectionRange(o,o)}})},Nie={},Pie={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"};function _ie(t,e){return W(),J("svg",Pie,[...e[0]||(e[0]=[V("path",{d:"M11.2432 9.35654L10.3003 8.41374L11.2432 7.47094C12.5449 6.16921 12.5449 4.05865 11.2432 2.75691C9.94139 1.45516 7.83086 1.45516 6.52912 2.75691L5.58631 3.69972L4.6435 2.75691L5.58631 1.8141C7.40879 -0.00834608 10.3635 -0.00834608 12.186 1.8141C14.0084 3.63655 14.0084 6.59134 12.186 8.41374L11.2432 9.35654ZM9.35752 11.2422L8.41472 12.185C6.59232 14.0075 3.63752 14.0075 1.81508 12.185C-0.00736952 10.3625 -0.00736952 7.40781 1.81508 5.58533L2.75788 4.64253L3.70069 5.58533L2.75788 6.52814C1.45614 7.82987 1.45614 9.94047 2.75788 11.2422C4.05963 12.5439 6.17019 12.5439 7.47192 11.2422L8.41472 10.2994L9.35752 11.2422ZM8.88612 4.17112L9.82893 5.11393L5.1149 9.82801L4.1721 8.88514L8.88612 4.17112Z",fill:"var(--black)"},null,-1)])])}const TA=Ne(Nie,[["render",_ie]]),Aie={},Iie={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function wie(t,e){return W(),J("svg",Iie,[...e[0]||(e[0]=[V("path",{d:"M11.333 3.99967H14.6663V5.33301H13.333V13.9997C13.333 14.3679 13.0345 14.6663 12.6663 14.6663H3.33301C2.96482 14.6663 2.66634 14.3679 2.66634 13.9997V5.33301H1.33301V3.99967H4.66634V1.99967C4.66634 1.63149 4.96482 1.33301 5.33301 1.33301H10.6663C11.0345 1.33301 11.333 1.63149 11.333 1.99967V3.99967ZM11.9997 5.33301H3.99967V13.333H11.9997V5.33301ZM5.99967 7.33301H7.33301V11.333H5.99967V7.33301ZM8.66634 7.33301H9.99967V11.333H8.66634V7.33301ZM5.99967 2.66634V3.99967H9.99967V2.66634H5.99967Z",fill:"white"},null,-1)])])}const SA=Ne(Aie,[["render",wie]]),kie={class:"bootstrap-styles bg-white border rounded-2 add-text-link-modal-window"},Wie={class:"bootstrap-styles fw-bold mb-5 px-11 mt-10 d-block text-start"},Oie={class:"bootstrap-styles px-11 mb-2"},Mie={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1"},Hie=["placeholder","value"],$ie={class:"bootstrap-styles px-11 py-5 d-flex align-items-center justify-content-end border-top"},zie=["disabled"],Uie=Me({__name:"AddLinkModalWindow",props:{isActive:{type:Boolean},currentHref:{}},emits:["onClosed","onHrefChanged","onRemoved"],setup(t,{emit:e}){const o=t,i=xt({href:o.currentHref,isValid:!0}),n=a=>{i.href=a,i.isValid=a.length>0},r={label:Le("emailTemplate.elements.richText.addLinkModalWindow.label"),inputPlaceholder:Le("emailTemplate.elements.richText.addLinkModalWindow.inputPlaceholder"),errorNotification:Le("emailTemplate.elements.richText.addLinkModalWindow.errorNotification"),applyButton:Le("emailTemplate.elements.richText.addLinkModalWindow.applyButton"),cancelButton:Le("emailTemplate.elements.richText.addLinkModalWindow.cancelButton")},s=e;return(a,u)=>{const c=ta("click-outside");return ct((W(),J("div",kie,[V("label",Wie,Lt(r.label),1),V("div",Oie,[V("div",{class:Ve(["bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex mb-14",{"border-danger":!i.isValid}])},[V("i",Mie,[ue(TA)]),ct(V("input",{type:"text",class:"bootstrap-styles w-100",placeholder:r.inputPlaceholder,value:i.href,onInput:u[0]||(u[0]=m=>n(m.target.value))},null,40,Hie),[[j(vie),m=>i.isValid=m],[j(yA),void 0,void 0,{selectAll:!0}]])],2),V("div",{class:Ve(["bootstrap-styles text-start add-link-modal-window-notification",{invisible:i.isValid}])},Lt(r.errorNotification),3)]),V("div",$ie,[o.isActive?(W(),J("button",{key:0,class:"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-auto rounded-2 add-text-link-modal-window__remove-button",onClick:u[1]||(u[1]=ci(()=>s("onRemoved"),["stop"]))},[V("i",null,[ue(SA)])])):xe("",!0),V("button",{class:"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 border border-blue-selected rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:u[2]||(u[2]=()=>s("onClosed"))},Lt(r.cancelButton),1),V("button",{class:"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 border rounded-2 bg-color-selected text-white cursor-pointer",disabled:!i.href.length||!i.isValid,onClick:u[3]||(u[3]=()=>s("onHrefChanged",i.href))},Lt(r.applyButton),9,zie)])])),[[c,()=>s("onClosed")]])}}}),jie=Ne(Uie,[["__scopeId","data-v-ad8d20e3"]]),Gie={};function Kie(t,e){return W(),J(Ge,null,[e[0]||(e[0]=V("svg",{class:"unlinked",xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},[V("path",{d:"M12.7432 10.3565L11.8003 9.41374L12.7432 8.47094C14.0449 7.16921 14.0449 5.05865 12.7432 3.75691C11.4414 2.45516 9.33086 2.45516 8.02912 3.75691L7.08631 4.69972L6.1435 3.75691L7.08631 2.8141C8.90879 0.991654 11.8635 0.991654 13.686 2.8141C15.5084 4.63655 15.5084 7.59134 13.686 9.41374L12.7432 10.3565ZM10.8575 12.2422L9.91472 13.185C8.09232 15.0075 5.13752 15.0075 3.31508 13.185C1.49263 11.3625 1.49263 8.40781 3.31508 6.58533L4.25788 5.64253L5.20069 6.58533L4.25788 7.52814C2.95614 8.82987 2.95614 10.9405 4.25788 12.2422C5.55963 13.5439 7.67019 13.5439 8.97192 12.2422L9.91472 11.2994L10.8575 12.2422ZM10.3861 5.17112L11.3289 6.11393L6.6149 10.828L5.6721 9.88514L10.3861 5.17112Z",fill:"black"})],-1)),e[1]||(e[1]=V("svg",{class:"linked",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[V("path",{d:"M11.7713 9.88573L10.8285 8.94287L11.7713 8.00007C12.8127 6.95867 12.8127 5.27025 11.7713 4.22885C10.7299 3.18745 9.04147 3.18745 8.00007 4.22885L7.05727 5.17166L6.11447 4.22885L7.05727 3.28605C8.6194 1.72395 11.1521 1.72395 12.7141 3.28605C14.2762 4.84814 14.2762 7.3808 12.7141 8.94287L11.7713 9.88573ZM9.88573 11.7713L8.94287 12.7141C7.3808 14.2762 4.84814 14.2762 3.28605 12.7141C1.72395 11.1521 1.72395 8.6194 3.28605 7.05727L4.22885 6.11447L5.17166 7.05727L4.22885 8.00007C3.18745 9.04147 3.18745 10.7299 4.22885 11.7713C5.27025 12.8127 6.95867 12.8127 8.00007 11.7713L8.94287 10.8285L9.88573 11.7713ZM9.88573 5.17166L10.8285 6.11447L6.11447 10.8285L5.17166 9.88573L9.88573 5.17166ZM3.85026 1.52869L5.13816 1.18359L5.82835 3.75939L4.54045 4.10449L3.85026 1.52869ZM10.1719 12.2408L11.4597 11.8957L12.1499 14.4715L10.862 14.8166L10.1719 12.2408ZM1.52869 3.85026L4.10449 4.54045L3.75939 5.82835L1.18359 5.13816L1.52869 3.85026ZM12.2408 10.1719L14.8166 10.862L14.4715 12.1499L11.8957 11.4597L12.2408 10.1719Z",fill:"black"})],-1))],64)}const qie=Ne(Gie,[["render",Kie],["__scopeId","data-v-23cb1950"]]),Yie={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},Jie=Me({__name:"LinkEditor",props:{editor:{},isAllowToEdit:{type:Boolean}},setup(t){const e=t,o=eS.name,i=UT.name,n=xt({isAddTextLinkModalWindowShown:!1}),r=Z(()=>e.editor.isActive(i)),s=u=>{r.value&&e.editor.commands.unsetUnsubscribeLink(),e.editor.chain().focus().setLink({href:u}).setThemeSettings("Link").run(),n.isAddTextLinkModalWindowShown=!1},a=()=>{e.editor.chain().focus().unsetLink().applySiblingNodeThemeSettings().run(),n.isAddTextLinkModalWindowShown=!1};return(u,c)=>(W(),J(Ge,null,[ct((W(),J("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{active:e.editor.isActive(j(o)),disabled:!e.editor.isActive(j(o))&&!e.isAllowToEdit}]),onClick:c[0]||(c[0]=m=>{n.isAddTextLinkModalWindowShown=!n.isAddTextLinkModalWindowShown})},[V("i",Yie,[e.editor.isActive(j(o))?(W(),Pe(qie,{key:1})):(W(),Pe(TA,{key:0}))])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.linkEditorTooltip"),placement:"top"}]]),n.isAddTextLinkModalWindowShown?(W(),Pe(jie,{key:0,isActive:e.editor.isActive(j(o)),currentHref:e.editor.isActive(j(o))?e.editor.getAttributes(j(o)).href:"",onOnRemoved:c[1]||(c[1]=()=>a()),onOnClosed:c[2]||(c[2]=m=>n.isAddTextLinkModalWindowShown=!1),onOnHrefChanged:c[3]||(c[3]=m=>s(m))},null,8,["isActive","currentHref"])):xe("",!0)],64))}}),Zie=Ne(Jie,[["__scopeId","data-v-643efa44"]]),Xie={class:"bootstrap-styles bg-white border rounded-2 add-image-src-modal-window"},Qie={class:"bootstrap-styles fw-bold mb-5 px-11 mt-10 d-block text-start"},ene={class:"bootstrap-styles px-11 mb-11"},tne=["placeholder","value"],one={class:"bootstrap-styles px-11 py-5 d-flex align-items-center justify-content-end border-top"},ine=["disabled"],nne=Me({__name:"AddImageSrcModalWindow",props:{isActive:{type:Boolean},src:{},width:{},height:{},isRetina:{type:Boolean}},emits:["onClosed","onRemoved","onImageSrcChanged"],setup(t,{emit:e}){const o=t,i=xt({src:o.src,width:o.width,height:o.height,isBroken:!1}),n={label:Le("emailTemplate.elements.richText.addImageLabel"),placeholder:Le("emailTemplate.elements.richText.addImageInputPlaceholder"),cancel:Le("emailTemplate.elements.richText.addImageCancelButton"),apply:Le("emailTemplate.elements.richText.addImageApplyButton"),removeTooltip:Le("emailTemplate.elements.richText.imageEditorRemoveTooltip")},r=Ur.debounce(u=>{Y_(u).then(c=>{i.width=c.width,i.height=c.height,i.isBroken=!1,i.src=u}).catch(()=>{i.src=u,i.isBroken=!0})},500),s=()=>{a("onImageSrcChanged",{src:i.src,width:i.width,height:i.height,isRetina:!1})},a=e;return(u,c)=>{const m=ta("click-outside");return ct((W(),J("div",Xie,[V("label",Qie,Lt(n.label),1),V("div",ene,[V("div",{class:Ve(["bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex",{"border-danger":i.isBroken}])},[ct(V("input",{type:"text",class:"bootstrap-styles w-100",placeholder:n.placeholder,value:i.src,onInput:c[0]||(c[0]=f=>j(r)(f.target.value))},null,40,tne),[[j(yA),void 0,void 0,{selectAll:!0}]])],2)]),V("div",one,[o.isActive?ct((W(),J("button",{key:0,class:"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-auto rounded-2 add-image-src-modal-window__remove-button",onClick:c[1]||(c[1]=ci(()=>a("onRemoved"),["stop"]))},[V("i",null,[ue(SA)])])),[[j(po),{placement:"top",title:n.removeTooltip}]]):xe("",!0),V("button",{class:"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 border border-blue-selected rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:c[2]||(c[2]=ci(()=>a("onClosed"),["stop"]))},Lt(n.cancel),1),V("button",{class:"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 border rounded-2 bg-color-selected text-white cursor-pointer",disabled:!i.src.length||i.isBroken,onClick:c[3]||(c[3]=ci(()=>s(),["stop"]))},Lt(n.apply),9,ine)])])),[[m,()=>a("onClosed")]])}}}),rne=Ne(nne,[["__scopeId","data-v-3aeaa5e0"]]),sne={},ane={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function lne(t,e){return W(),J("svg",ane,[...e[0]||(e[0]=[V("path",{d:"M1.99453 14C1.62936 14 1.33333 13.7034 1.33333 13.3377V2.66227C1.33333 2.29651 1.63687 2 1.99453 2H14.0055C14.3707 2 14.6667 2.29663 14.6667 2.66227V13.3377C14.6667 13.7035 14.3631 14 14.0055 14H1.99453ZM13.3333 10V3.33333H2.66666V12.6667L9.33333 6L13.3333 10ZM13.3333 11.8856L9.33333 7.8856L4.55228 12.6667H13.3333V11.8856ZM5.33333 7.33333C4.59695 7.33333 3.99999 6.7364 3.99999 6C3.99999 5.26362 4.59695 4.66667 5.33333 4.66667C6.06971 4.66667 6.66666 5.26362 6.66666 6C6.66666 6.7364 6.06971 7.33333 5.33333 7.33333Z",fill:"#2F2F2F"},null,-1)])])}const une=Ne(sne,[["render",lne]]),dne={},cne={class:"bootstrap-styles me-1 cursor-pointer",type:"checkbox","aria-label":"Checkbox for following text input"};function mne(t,e){return W(),J("input",cne)}const fne=Ne(dne,[["render",mne],["__scopeId","data-v-4b14b7c1"]]),hne={class:"bootstrap-styles rich-text-icon icon-hover d-flex"},pne={key:0,class:"bootstrap-styles d-flex align-items-center ms-14 me-1"},Cne={for:"rich-text__retina-checkbox",class:"bootstrap-styles label__checkbox-input text-nowrap"},gne=Me({__name:"ImageEditor",props:{editor:{}},setup(t){const e=t,o=J_.name,i=xt({isAddImageSrcModalWindowShown:!1}),n=async()=>{const a=e.editor.view.state.selection.anchor,{src:u,width:c,height:m,isRetina:f}=e.editor.getAttributes(o);e.editor.chain().focus().updateAttributes("image",{src:u,width:c,height:m,isRetina:!f}).setNodeSelection(a).run()},r=a=>{const u=e.editor.view.state.selection.anchor;e.editor.isActive(o)?e.editor.chain().focus().updateAttributes("image",{src:a.src,width:a.width,height:a.height,alt:"img",isRetina:!1}).setNodeSelection(u).run():e.editor.chain().focus().setImage({src:a.src,width:a.width,height:a.height,alt:"img",isRetina:!1}).setNodeSelection(u).run(),i.isAddImageSrcModalWindowShown=!1},s=()=>{e.editor.commands.deleteSelection(),i.isAddImageSrcModalWindowShown=!1};return(a,u)=>(W(),J(Ge,null,[ct((W(),J("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button__image",{active:e.editor.isActive(j(o))}]),onClick:u[0]||(u[0]=c=>i.isAddImageSrcModalWindowShown=!i.isAddImageSrcModalWindowShown)},[V("i",hne,[ue(une)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.imageEditorTooltip"),placement:"top"}]]),e.editor.isActive(j(o))?(W(),J("div",pne,[ue(fne,{id:"rich-text__retina-checkbox",type:"checkbox",checked:e.editor.isActive(j(o),{isRetina:!0}),onChange:u[1]||(u[1]=()=>n())},null,8,["checked"]),V("label",Cne,Lt(j(Le)("emailTemplateEditors.imageEditor.retinaLabel")),1)])):xe("",!0),i.isAddImageSrcModalWindowShown?(W(),Pe(rne,{key:1,isActive:e.editor.isActive(j(o)),src:e.editor.getAttributes(j(o)).src?e.editor.getAttributes(j(o)).src:"",width:e.editor.getAttributes(j(o)).width?e.editor.getAttributes(j(o)).width:0,height:e.editor.getAttributes(j(o)).height?e.editor.getAttributes(j(o)).height:0,isRetina:e.editor.getAttributes(j(o)).isRetina?e.editor.getAttributes(j(o)).isRetina:!1,onOnRemoved:u[2]||(u[2]=()=>s()),onOnClosed:u[3]||(u[3]=c=>i.isAddImageSrcModalWindowShown=!1),onOnImageSrcChanged:u[4]||(u[4]=c=>r({src:c.src,width:c.width,height:c.height}))},null,8,["isActive","src","width","height","isRetina"])):xe("",!0)],64))}}),Fne=Ne(gne,[["__scopeId","data-v-0d8c3506"]]),yne={},Tne={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function Sne(t,e){return W(),J("svg",Tne,[...e[0]||(e[0]=[V("path",{d:"M5.83333 7.33317H8.83333C9.7538 7.33317 10.5 6.58698 10.5 5.6665C10.5 4.74603 9.7538 3.99984 8.83333 3.99984H5.83333V7.33317ZM12.5 10.3332C12.5 11.99 11.1569 13.3332 9.5 13.3332H4.5V2.6665H8.83333C10.4902 2.6665 11.8333 4.00965 11.8333 5.6665C11.8333 6.46938 11.5179 7.19857 11.0043 7.73704C11.8986 8.2563 12.5 9.2245 12.5 10.3332ZM5.83333 8.6665V11.9998H9.5C10.4205 11.9998 11.1667 11.2536 11.1667 10.3332C11.1667 9.4127 10.4205 8.6665 9.5 8.6665H5.83333Z",fill:"var(--black)"},null,-1)])])}const Bne=Ne(yne,[["render",Sne]]),Vne={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},Rne=Me({__name:"FontWeightEditor",props:{editor:{},theme:{},isAllowToEdit:{type:Boolean}},setup(t){const e=t,o=Z(()=>jc({editor:e.editor,theme:e.theme,styleName:"fontWeight"})==="bold"),i=()=>{o.value?e.editor.chain().focus().unsetFontWeight().run():e.editor.chain().focus().setFontWeight("bold").run(),e.editor.commands.focus()};return(n,r)=>ct((W(),J("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{active:o.value,disabled:!e.isAllowToEdit&&!o.value}]),onClick:r[0]||(r[0]=()=>i())},[V("i",Vne,[ue(Bne)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.fontWeightEditorTooltip"),placement:"top"}]])}}),Dne=Ne(Rne,[["__scopeId","data-v-0977d11b"]]),xne={},bne={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function Lne(t,e){return W(),J("svg",bne,[...e[0]||(e[0]=[V("path",{d:"M11.9359 9.33317C12.0897 9.67724 12.1667 10.0594 12.1667 10.4796C12.1667 11.3748 11.8175 12.0742 11.1191 12.5778C10.4206 13.0814 9.45567 13.3332 8.22413 13.3332C7.13116 13.3332 6.0489 13.0788 4.97728 12.5702V11.0671C5.99025 11.652 7.0272 11.9445 8.08813 11.9445C9.78887 11.9445 10.6419 11.4562 10.6472 10.4796C10.6472 10.0624 10.5033 9.70637 10.2154 9.41137C10.1893 9.38464 10.1626 9.35857 10.1354 9.33317H2.5V7.99984H14.5V9.33317H11.9359ZM9.21733 7.33317H5.58605C5.47107 7.2287 5.36411 7.11264 5.26517 6.98504C4.97728 6.61373 4.83333 6.16356 4.83333 5.63455C4.83333 4.81052 5.14389 4.10984 5.76499 3.5325C6.38611 2.95516 7.34707 2.6665 8.64793 2.6665C9.62893 2.6665 10.5673 2.88522 11.4629 3.32268V4.75711C10.6632 4.29931 9.7862 4.07042 8.83187 4.07042C7.17913 4.07042 6.35278 4.59179 6.35278 5.63455C6.35278 5.91432 6.49806 6.15848 6.78862 6.36703C7.07919 6.57558 7.43773 6.74217 7.8642 6.86677C8.27767 6.98757 8.72873 7.14304 9.21733 7.33317Z",fill:"black"},null,-1)])])}const Ene=Ne(xne,[["render",Lne]]),vne={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},Nne=Me({__name:"LineThroughEditor",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=Z(()=>jc({editor:e.editor,theme:e.theme,styleName:"textDecoration"})==="line-through"),i=()=>{o.value?e.editor.chain().focus().unsetTextDecoration().run():e.editor.chain().focus().setTextDecoration("line-through").run(),e.editor.commands.focus()};return(n,r)=>ct((W(),J("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{active:o.value,disabled:!t.isAllowToEdit&&!o.value}]),onClick:r[0]||(r[0]=s=>i())},[V("i",vne,[ue(Ene)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.lineThroughEditorTooltip"),placement:"top"}]])}}),Pne=Ne(Nne,[["__scopeId","data-v-e05ecae9"]]),_ne={},Ane={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function Ine(t,e){return W(),J("svg",Ane,[...e[0]||(e[0]=[V("path",{d:"M5.83366 2V8C5.83366 9.47273 7.02757 10.6667 8.50033 10.6667C9.97306 10.6667 11.167 9.47273 11.167 8V2H12.5003V8C12.5003 10.2091 10.7095 12 8.50033 12C6.29119 12 4.50033 10.2091 4.50033 8V2H5.83366ZM3.16699 13.3333H13.8337V14.6667H3.16699V13.3333Z",fill:"black"},null,-1)])])}const wne=Ne(_ne,[["render",Ine]]),kne={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},Wne=Me({__name:"UnderlineEditor",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=Z(()=>jc({editor:e.editor,theme:e.theme,styleName:"textDecoration"})==="underline"),i=()=>{o.value?e.editor.chain().focus().unsetTextDecoration().run():e.editor.chain().focus().setTextDecoration("underline").run()};return(n,r)=>ct((W(),J("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{active:o.value,disabled:!t.isAllowToEdit&&!o.value}]),onClick:r[0]||(r[0]=()=>i())},[V("i",kne,[ue(wne)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.underlineEditorTooltip"),placement:"top"}]])}}),One=Ne(Wne,[["__scopeId","data-v-07d5abe0"]]),Mne={},Hne={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function $ne(t,e){return W(),J("svg",Hne,[...e[0]||(e[0]=[V("path",{d:"M10.4998 13.3332H5.1665V11.9998H7.11758L8.52817 3.99984H6.49984V2.6665H11.8332V3.99984H9.8821L8.4715 11.9998H10.4998V13.3332Z",fill:"black"},null,-1)])])}const zne=Ne(Mne,[["render",$ne]]),Une={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},jne=Me({__name:"FontStyleEditor",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=Z(()=>jc({editor:e.editor,theme:e.theme,styleName:"fontStyle"})==="italic"),i=()=>{o.value?e.editor.chain().focus().unsetFontStyle().run():e.editor.chain().focus().setFontStyle("italic").run(),e.editor.commands.focus()};return(n,r)=>ct((W(),J("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{active:o.value,disabled:!t.isAllowToEdit&&!o.value}]),onClick:r[0]||(r[0]=()=>i())},[V("i",Une,[ue(zne)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.fontStyleEditorTooltip"),placement:"top"}]])}}),Gne=Ne(jne,[["__scopeId","data-v-edd911e3"]]),Kne={},qne={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Yne(t,e){return W(),J("svg",qne,[...e[0]||(e[0]=[V("path",{d:"M7.49699 9.99999H3.16912L1.83578 13.3333H0.399734L4.6664 2.66666H5.99973L10.2664 13.3333H8.83033L7.49699 9.99999ZM6.96366 8.66666L5.33307 4.5901L3.70245 8.66666H6.96366ZM13.9997 8.35672V7.99999H15.3331V13.3333H13.9997V12.9766C13.6075 13.2035 13.1521 13.3333 12.6664 13.3333C11.1937 13.3333 9.99973 12.1394 9.99973 10.6667C9.99973 9.19392 11.1937 7.99999 12.6664 7.99999C13.1521 7.99999 13.6075 8.12986 13.9997 8.35672ZM12.6664 12C13.4028 12 13.9997 11.4031 13.9997 10.6667C13.9997 9.93026 13.4028 9.33332 12.6664 9.33332C11.93 9.33332 11.3331 9.93026 11.3331 10.6667C11.3331 11.4031 11.93 12 12.6664 12Z",fill:"black"},null,-1)])])}const Jne=Ne(Kne,[["render",Yne]]),Zne={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},Xne=Me({__name:"TextTransformEditor",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=L_.name,i=Z(()=>e.editor.isActive({[o]:"uppercase"})),n=()=>{i.value?e.editor.commands.unsetTextTransform():e.editor.commands.setTextTransform("uppercase"),e.editor.commands.focus()};return(r,s)=>ct((W(),J("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{active:e.editor.isActive({[j(o)]:"uppercase"}),disabled:!t.isAllowToEdit&&!e.editor.isActive({[j(o)]:"uppercase"})}]),onClick:s[0]||(s[0]=a=>n())},[V("i",Zne,[ue(Jne)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.textTransformEditorTooltip"),placement:"top"}]])}}),Qne=Ne(Xne,[["__scopeId","data-v-1006ef23"]]),ere={},tre={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ore(t,e){return W(),J("svg",tre,[...e[0]||(e[0]=[V("path",{d:"M12.2432 8.47094C13.5449 7.16921 13.5449 5.05865 12.2432 3.75691C10.9414 2.45516 8.83086 2.45516 7.52912 3.75691L6.58631 4.69972L5.6435 3.75691L6.58631 2.8141C8.40879 0.991654 11.3635 0.991654 13.186 2.8141C15.0084 4.63655 15.0084 7.59134 13.186 9.41374L12.2432 8.47094ZM9.41472 13.185C7.59232 15.0075 4.63752 15.0075 2.81508 13.185C0.99263 11.3625 0.99263 8.40781 2.81508 6.58533L3.75788 5.64253L4.70069 6.58533L3.75788 7.52814C2.45614 8.82987 2.45614 10.9405 3.75788 12.2422C5.05963 13.5439 7.17019 13.5439 8.47192 12.2422L9.41472 13.185ZM9.88612 5.17112L10.8289 6.11393L6.1149 10.828L5.1721 9.88514L9.88612 5.17112Z",fill:"#2F2F2F"},null,-1),V("path",{d:"M14.714 13.7712L13.2998 12.357L14.714 10.9428L13.7712 10L12.357 11.4142L10.9428 10L10 10.9428L11.4142 12.357L10 13.7712L10.9428 14.714L12.357 13.2998L13.7712 14.714L14.714 13.7712Z",fill:"#2F2F2F"},null,-1)])])}const ire=Ne(ere,[["render",ore]]),nre={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},rre=Me({__name:"UnsubscribeLinkEditor",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=UT.name,i=eS.name,n=Z(()=>e.editor.isActive(i)),r=()=>{n.value&&e.editor.commands.unsetLink(),e.editor.isActive(o)?e.editor.chain().unsetUnsubscribeLink().applySiblingNodeThemeSettings().run():e.editor.chain().setUnsubscribeLink().setThemeSettings("Link").run()};return(s,a)=>ct((W(),J("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{active:e.editor.isActive(j(o)),disabled:!e.editor.isActive(j(o))&&!e.isAllowToEdit}]),onClick:a[0]||(a[0]=()=>r())},[V("i",nre,[ue(ire)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.unsubscribeLinkEditorTooltip"),placement:"top"}]])}}),sre=Ne(rre,[["__scopeId","data-v-a35c2049"]]),are={},lre={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function ure(t,e){return W(),J("svg",lre,[...e[0]||(e[0]=[V("path",{d:"M6.16699 4.66667C6.16699 3.93029 5.57004 3.33333 4.83366 3.33333C4.09728 3.33333 3.50033 3.93029 3.50033 4.66667C3.50033 5.40305 4.09728 6 4.83366 6C5.57004 6 6.16699 5.40305 6.16699 4.66667ZM7.50033 4.66667C7.50033 6.13943 6.30642 7.33333 4.83366 7.33333C3.3609 7.33333 2.16699 6.13943 2.16699 4.66667C2.16699 3.19391 3.3609 2 4.83366 2C6.30642 2 7.50033 3.19391 7.50033 4.66667ZM14.5003 2.66667H9.16699V4H14.5003V2.66667ZM14.5003 7.33333H9.16699V8.66667H14.5003V7.33333ZM14.5003 12H9.16699V13.3333H14.5003V12ZM4.83366 12.6667C4.09728 12.6667 3.50033 12.0697 3.50033 11.3333C3.50033 10.5969 4.09728 10 4.83366 10C5.57004 10 6.16699 10.5969 6.16699 11.3333C6.16699 12.0697 5.57004 12.6667 4.83366 12.6667ZM4.83366 14C6.30642 14 7.50033 12.8061 7.50033 11.3333C7.50033 9.8606 6.30642 8.66667 4.83366 8.66667C3.3609 8.66667 2.16699 9.8606 2.16699 11.3333C2.16699 12.8061 3.3609 14 4.83366 14Z",fill:"black"},null,-1)])])}const dre=Ne(are,[["render",ure]]),cre={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},mre=Me({__name:"BulletListEditor",props:{editor:{}},setup(t){const e=t,o=W_.name,i=()=>{e.editor.chain().focus().toggleBulletList().run()};return(n,r)=>ct((W(),J("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{active:e.editor.isActive(j(o))}]),onClick:r[0]||(r[0]=()=>i())},[V("i",cre,[ue(dre)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.bulletListEditorTooltip"),placement:"top"}]])}}),fre=Ne(mre,[["__scopeId","data-v-a263b64d"]]),hre={},pre={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function Cre(t,e){return W(),J("svg",pre,[...e[0]||(e[0]=[V("path",{d:"M4.33382 2.33301H3.64521L2.66699 2.59512V3.63022L3.33367 3.45155L3.33378 5.66634H2.50033V6.66634H5.16699V5.66634H4.33382V2.33301ZM7.16699 2.66634H14.5003V3.99967H7.16699V2.66634ZM7.16699 7.33301H14.5003V8.66634H7.16699V7.33301ZM7.16699 11.9997H14.5003V13.333H7.16699V11.9997ZM2.41699 10.4163C2.41699 9.63394 3.05125 8.99967 3.83366 8.99967C4.61607 8.99967 5.25033 9.63394 5.25033 10.4163C5.25033 10.7401 5.14155 11.0388 4.95864 11.2775L4.95547 11.2816L4.04424 12.333H5.16699V13.333H2.50041L2.50005 12.5854L4.14813 10.6897C4.21186 10.6165 4.25033 10.5211 4.25033 10.4163C4.25033 10.1862 4.06378 9.99967 3.83366 9.99967C3.61618 9.99967 3.43748 10.1664 3.41864 10.3789L3.41039 10.583H2.41699V10.4163Z",fill:"black"},null,-1)])])}const gre=Ne(hre,[["render",Cre]]),Fre={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},yre=Me({__name:"OrderedListEditor",props:{editor:{}},setup(t){const e=t,o=O_.name,i=()=>{e.editor.chain().focus().toggleOrderedList().run()};return(n,r)=>ct((W(),J("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{active:e.editor.isActive(j(o))}]),onClick:r[0]||(r[0]=()=>i())},[V("i",Fre,[ue(gre)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.orderedListEditorTooltip"),placement:"top"}]])}}),Tre=Ne(yre,[["__scopeId","data-v-e0cfe504"]]),Sre={},Bre={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Vre(t,e){return W(),J("svg",Bre,[...e[0]||(e[0]=[V("path",{d:"M14 13.9995H2V12.6665H14V13.9995ZM14 10.6665H2V9.3335H14V10.6665ZM4.29102 7.3335H2.00684V5.99951H4.29102V7.3335ZM10.4434 7.3335H5.55664V2.68896H10.4434V7.3335ZM14 7.3335H11.7158V5.99951H14V7.3335ZM4.29102 3.99951H2.00684V2.6665H4.29102V3.99951ZM14 3.99951H11.7158V2.6665H14V3.99951Z",fill:"var(--black)"},null,-1)])])}const p1=Ne(Sre,[["render",Vre]]),Rre={},Dre={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xre(t,e){return W(),J("svg",Dre,[...e[0]||(e[0]=[V("path",{d:"M14 13.9995H2V12.6665H14V13.9995ZM10.4434 10.6548H5.55664V6.01123H10.4434V10.6548ZM4.29102 10.6245H2.00684V9.29053H4.29102V10.6245ZM14 10.6245H11.7158V9.29053H14V10.6245ZM4.29102 7.29053H2.00684V5.95752H4.29102V7.29053ZM14 7.29053H11.7158V5.95752H14V7.29053Z",fill:"var(--black)"},null,-1),V("path",{d:"M14 2.6665H2V3.99984H14V2.6665Z",fill:"var(--black)"},null,-1)])])}const C1=Ne(Rre,[["render",xre]]),bre={},Lre={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Ere(t,e){return W(),J("svg",Lre,[...e[0]||(e[0]=[V("path",{d:"M14 2.6665H2V3.99951H14V2.6665ZM14 5.99951H2V7.33252H14V5.99951ZM4.29102 9.33252H2.00684V10.6665H4.29102V9.33252ZM10.4434 9.33252H5.55664V13.9771H10.4434V9.33252ZM14 9.33252H11.7158V10.6665H14V9.33252ZM4.29102 12.6665H2.00684V13.9995H4.29102V12.6665ZM14 12.6665H11.7158V13.9995H14V12.6665Z",fill:"var(--black)"},null,-1)])])}const g1=Ne(bre,[["render",Ere]]),vre={},Nre={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Pre(t,e){return W(),J("svg",Nre,[...e[0]||(e[0]=[V("path",{d:"M14 11.9775H2V10.6445H14V11.9775ZM4.29102 8.64453H2.00684V7.31055H4.29102V8.64453ZM10.4434 8.64453H5.55664V4H10.4434V8.64453ZM14 8.64453H11.7158V7.31055H14V8.64453Z",fill:"var(--black)"},null,-1)])])}const F1=Ne(vre,[["render",Pre]]),_re={class:"bootstrap-styles vertical-align-editor dropdown rounded"},Are={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},Ire={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},wre={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},kre={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},Wre={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},Ore=Me({__name:"VerticalAlignEditor",props:{editor:{},currentVerticalAlign:{}},emits:["onVerticalAlignVariantChanged"],setup(t,{emit:e}){const o=t,i=xt({isOpened:!1}),n=s=>{r("onVerticalAlignVariantChanged",s),i.isOpened=!1},r=e;return(s,a)=>{const u=ta("click-outside");return ct((W(),J("div",_re,[V("button",{id:"richTextDropdownVerticalAlign",class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{show:i.isOpened}]),type:"button",onClick:a[0]||(a[0]=c=>i.isOpened=!i.isOpened)},[V("i",Are,[o.currentVerticalAlign==="Baseline"?(W(),Pe(F1,{key:0})):xe("",!0),o.currentVerticalAlign==="Top"?(W(),Pe(p1,{key:1})):xe("",!0),o.currentVerticalAlign==="Middle"?(W(),Pe(C1,{key:2})):xe("",!0),o.currentVerticalAlign==="Bottom"?(W(),Pe(g1,{key:3})):xe("",!0)])],2),V("div",{class:Ve([{show:i.isOpened},"bootstrap-styles vertical-align-dropdown bg-white p-1"]),"aria-labelledby":"richTextDropdownVerticalAlign"},[V("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button me-14",{active:o.currentVerticalAlign==="Baseline"}]),onClick:a[1]||(a[1]=()=>n("Baseline"))},[V("i",Ire,[ue(F1)])],2),V("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button me-14",{active:o.currentVerticalAlign==="Top"}]),onClick:a[2]||(a[2]=()=>n("Top"))},[V("i",wre,[ue(p1)])],2),V("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button me-14",{active:o.currentVerticalAlign==="Middle"}]),onClick:a[3]||(a[3]=()=>n("Middle"))},[V("i",kre,[ue(C1)])],2),V("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{active:o.currentVerticalAlign==="Bottom"}]),onClick:a[4]||(a[4]=()=>n("Bottom"))},[V("i",Wre,[ue(g1)])],2)],2)])),[[u,()=>i.isOpened=!1],[j(po),{title:j(Le)("emailTemplate.elements.richText.verticalAlignEditorTooltip"),placement:"top"}]])}}}),Mre=Ne(Ore,[["__scopeId","data-v-76afd096"]]),Hre={},$re={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function zre(t,e){return W(),J("svg",$re,[...e[0]||(e[0]=[V("path",{d:"M2 2.6665H14V3.99984H2V2.6665ZM2 12.6665H11.3333V13.9998H2V12.6665ZM2 9.33317H14V10.6665H2V9.33317ZM2 5.99984H11.3333V7.33317H2V5.99984Z",fill:"var(--black)"},null,-1)])])}const y1=Ne(Hre,[["render",zre]]),Ure={},jre={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function Gre(t,e){return W(),J("svg",jre,[...e[0]||(e[0]=[V("path",{d:"M2 2.6665H14V3.99984H2V2.6665ZM3.33333 12.6665H12.6667V13.9998H3.33333V12.6665ZM2 9.33317H14V10.6665H2V9.33317ZM3.33333 5.99984H12.6667V7.33317H3.33333V5.99984Z",fill:"var(--black)"},null,-1)])])}const T1=Ne(Ure,[["render",Gre]]),Kre={},qre={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function Yre(t,e){return W(),J("svg",qre,[...e[0]||(e[0]=[V("path",{d:"M2 2.6665H14V3.99984H2V2.6665ZM4.66667 12.6665H14V13.9998H4.66667V12.6665ZM2 9.33317H14V10.6665H2V9.33317ZM4.66667 5.99984H14V7.33317H4.66667V5.99984Z",fill:"var(--black)"},null,-1)])])}const S1=Ne(Kre,[["render",Yre]]),Jre={class:"bootstrap-styles content-align-editor dropdown rounded"},Zre={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},Xre={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},Qre={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},ese={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},tse=Me({__name:"ContentAlignEditor",props:{editor:{},currentContentAlign:{}},emits:["onContentAlignVariantChanged"],setup(t,{emit:e}){const o=t,i=xt({isOpened:!1}),n=s=>{r("onContentAlignVariantChanged",s),i.isOpened=!1},r=e;return(s,a)=>{const u=ta("click-outside");return ct((W(),J("div",Jre,[V("button",{id:"richTextDropdownContentAlign",class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{show:i.isOpened}]),type:"button",onClick:a[0]||(a[0]=c=>i.isOpened=!i.isOpened)},[V("i",Zre,[o.currentContentAlign==="Left"?(W(),Pe(y1,{key:0})):xe("",!0),o.currentContentAlign==="Center"?(W(),Pe(T1,{key:1})):xe("",!0),o.currentContentAlign==="Right"?(W(),Pe(S1,{key:2})):xe("",!0)])],2),V("div",{class:Ve([{show:i.isOpened},"bootstrap-styles content-align-dropdown bg-white p-1"]),"aria-labelledby":"richTextDropdownContentAlign"},[V("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button me-14",{active:o.currentContentAlign==="Left"}]),onClick:a[1]||(a[1]=()=>n("Left"))},[V("i",Xre,[ue(y1)])],2),V("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button me-14",{active:o.currentContentAlign==="Center"}]),onClick:a[2]||(a[2]=()=>n("Center"))},[V("i",Qre,[ue(T1)])],2),V("button",{class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{active:o.currentContentAlign==="Right"}]),onClick:a[3]||(a[3]=()=>n("Right"))},[V("i",ese,[ue(S1)])],2)],2)])),[[u,()=>i.isOpened=!1],[j(po),{title:j(Le)("emailTemplate.elements.richText.contentAlignEditorTooltip"),placement:"top"}]])}}}),ose=Ne(tse,[["__scopeId","data-v-478edcf6"]]),ise={},nse={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function rse(t,e){return W(),J("svg",nse,[...e[0]||(e[0]=[V("path",{d:"M14.0611 6.62245C14.0611 6.95113 14.1402 7.17669 14.2985 7.29914C14.464 7.42159 14.6978 7.48281 15 7.48281V8.50752C14.6978 8.50752 14.464 8.57519 14.2985 8.71053C14.1402 8.83942 14.0611 9.04565 14.0611 9.32922V11.282C14.0611 11.63 13.9532 11.92 13.7373 12.152C13.5287 12.384 13.2085 12.5 12.7768 12.5H11.417V11.369H11.9998C12.2084 11.369 12.3631 11.3206 12.4638 11.224C12.5646 11.1337 12.6149 10.9855 12.6149 10.7793V8.97154C12.6149 8.68797 12.6977 8.4753 12.8631 8.33351C13.0286 8.18529 13.2193 8.09506 13.4351 8.06284V7.96617C13.2265 7.94039 13.0358 7.84372 12.8631 7.67615C12.6977 7.50859 12.6149 7.28947 12.6149 7.0188V5.22073C12.6149 5.02095 12.5646 4.87272 12.4638 4.77605C12.3703 4.67938 12.212 4.63104 11.989 4.63104H11.417V3.5H12.8092C13.2193 3.5 13.5287 3.60634 13.7373 3.81901C13.9532 4.03169 14.0611 4.32814 14.0611 4.70838V6.62245Z",fill:"#2F2F2F"},null,-1),V("path",{d:"M6.90679 7.67615L5.05053 5.2014H6.8852L7.65145 6.18743L7.64065 6.17777L8.08313 7.0768L8.51482 6.17777L8.50403 6.18743L9.32423 5.2014H10.9862L9.11918 7.63749L11.1049 10.2766H9.31344L8.39611 9.13588L8.4069 9.14554L7.95363 8.25618L7.47877 9.14554L7.48956 9.13588L6.56143 10.2766H4.89944L6.90679 7.67615Z",fill:"#2F2F2F"},null,-1),V("path",{d:"M1.93892 9.37755C1.93892 9.04887 1.85618 8.82331 1.6907 8.70086C1.53241 8.57841 1.30218 8.51719 1 8.51719V7.49248C1.30218 7.49248 1.53241 7.42803 1.6907 7.29914C1.85618 7.1638 1.93892 6.95435 1.93892 6.67078V4.70838C1.93892 4.36037 2.03605 4.07358 2.23031 3.84801C2.43176 3.616 2.74833 3.5 3.18002 3.5H4.58301V4.63104H3.98944C3.78079 4.63104 3.6261 4.67938 3.52537 4.77605C3.43184 4.86627 3.38507 5.0145 3.38507 5.22073V7.02846C3.38507 7.31203 3.29874 7.52793 3.12606 7.67615C2.96058 7.81794 2.77352 7.90494 2.56487 7.93716V8.03383C2.77352 8.05961 2.96058 8.15628 3.12606 8.32385C3.29874 8.49141 3.38507 8.71053 3.38507 8.9812V10.7793C3.38507 10.9791 3.43184 11.1273 3.52537 11.224C3.6261 11.3206 3.78438 11.369 4.00023 11.369H4.58301V12.5H3.18002C2.77711 12.5 2.46774 12.3937 2.25189 12.181C2.04324 11.9748 1.93892 11.6815 1.93892 11.3013V9.37755Z",fill:"#2F2F2F"},null,-1)])])}const sse=Ne(ise,[["render",rse]]),ase={class:"bootstrap-styles dropdown rounded"},lse={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},use=Me({__name:"VariableSelector",props:{editor:{},deps:{}},setup(t){const e=t,o=e.deps.stringExpressionBuilderPlugin,i=xt({isStringExpressionBuilderShown:!1}),n=r=>{e.editor.chain().focus().setVariable(r).run(),i.isStringExpressionBuilderShown=!1};return(r,s)=>ct((W(),J("div",ase,[V("button",{id:"richTextDropdownVariables",class:Ve(["bootstrap-styles p-1 rounded rich-text-button",{show:i.isStringExpressionBuilderShown,active:e.editor.isActive("dataField")}]),type:"button",onClick:s[0]||(s[0]=a=>i.isStringExpressionBuilderShown=!i.isStringExpressionBuilderShown)},[V("i",lse,[ue(sse)])],2),(W(),Pe(Fy,{to:"#app"},[i.isStringExpressionBuilderShown?(W(),Pe(j(o),{key:0,onOnStringExpressionUpdated:s[1]||(s[1]=a=>n(a)),onCancel:s[2]||(s[2]=a=>i.isStringExpressionBuilderShown=!1)})):xe("",!0)]))])),[[j(po),{title:j(Le)("emailTemplate.elements.richText.variableEditorTooltip"),placement:"top"}]])}}),dse=Ne(use,[["__scopeId","data-v-47e5bf51"]]),cse={class:"bootstrap-styles rich-text-toolbar d-flex align-items-center border gap-1 p-1"},mse={key:2,class:"bootstrap-styles position-relative h-100"},fse={key:3,class:"bootstrap-styles position-relative h-100"},hse={key:4,class:"bootstrap-styles d-flex justify-content-center align-items-center"},pse={key:7,class:"vl"},Cse={key:13,class:"vl"},gse={key:16,class:"vl"},Fse=Me({__name:"RichTextToolbar",props:{editor:{},deps:{},element:{},theme:{},initialThemeName:{}},emits:["onVerticalAlignVariantChanged","onContentAlignVariantChanged"],setup(t,{emit:e}){const o=t,i=Z(()=>{const{from:s,to:a}=o.editor.state.selection;return s!==a}),n=Z(()=>o.editor.isActive("image")),r=e;return(s,a)=>(W(),J("div",cse,[n.value?xe("",!0):(W(),Pe(Cie,{key:0,editor:o.editor,theme:o.theme,isAllowToEdit:i.value,initialThemeName:o.initialThemeName},null,8,["editor","theme","isAllowToEdit","initialThemeName"])),n.value?xe("",!0):(W(),Pe(joe,{key:1,theme:o.theme,editor:o.editor,isAllowToEdit:i.value},null,8,["theme","editor","isAllowToEdit"])),n.value?xe("",!0):(W(),J("div",mse,[ue(uie,{editor:o.editor,theme:o.theme,class:Ve({disabled:!i.value})},null,8,["editor","theme","class"])])),n.value?xe("",!0):(W(),J("div",fse,[ue(Lie,{editor:o.editor,theme:o.theme,class:Ve({disabled:!i.value})},null,8,["editor","theme","class"])])),n.value?xe("",!0):(W(),J("div",hse,[ue(woe,{editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])])),n.value?(W(),Pe(Mre,{key:5,currentVerticalAlign:o.element.ImageVerticalAlign,editor:o.editor,onOnVerticalAlignVariantChanged:a[0]||(a[0]=u=>r("onVerticalAlignVariantChanged",u))},null,8,["currentVerticalAlign","editor"])):xe("",!0),n.value?xe("",!0):(W(),Pe(ose,{key:6,editor:o.editor,currentContentAlign:o.element.ContentAlign,class:Ve({"bootstrap-styles me-14":n.value}),onOnContentAlignVariantChanged:a[1]||(a[1]=u=>r("onContentAlignVariantChanged",u))},null,8,["editor","currentContentAlign","class"])),n.value?xe("",!0):(W(),J("div",pse)),n.value?xe("",!0):(W(),Pe(Dne,{key:8,editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])),n.value?xe("",!0):(W(),Pe(Gne,{key:9,editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])),n.value?xe("",!0):(W(),Pe(Pne,{key:10,editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])),n.value?xe("",!0):(W(),Pe(One,{key:11,editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])),n.value?xe("",!0):(W(),Pe(Qne,{key:12,editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])),n.value?xe("",!0):(W(),J("div",Cse)),n.value?xe("",!0):(W(),Pe(fre,{key:14,editor:o.editor},null,8,["editor"])),n.value?xe("",!0):(W(),Pe(Tre,{key:15,editor:o.editor},null,8,["editor"])),n.value?xe("",!0):(W(),J("div",gse)),ue(Zie,{editor:o.editor,isAllowToEdit:i.value},null,8,["editor","isAllowToEdit"]),ue(sre,{editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"]),ue(Fne,{editor:o.editor},null,8,["editor"]),n.value?xe("",!0):(W(),Pe(dse,{key:17,editor:o.editor,deps:o.deps.variableSelectorDeps,class:"bootstrap-styles d-none"},null,8,["editor","deps"]))]))}}),yse=Ne(Fse,[["__scopeId","data-v-c3a2dc93"]]),Tse=t=>({Match:e=>{switch(t){case"Baseline":return e.whenBaseline();case"Top":return e.whenTop();case"Middle":return e.whenMiddle();case"Bottom":return e.whenBottom();default:return vi(t)}}}),Sse=t=>Tse(t.verticalAlign).Match({whenBaseline:()=>"baseline",whenTop:()=>"top",whenMiddle:()=>"middle",whenBottom:()=>"bottom"}),B1="NormalText",Bse=Me({__name:"RichText",props:{deps:{},theme:{},element:{},isSelected:{type:Boolean}},emits:["onRichTextUpdated","onRichTextRemoved"],setup(t,{emit:e}){oa(T=>({v09b6cf4c:o.theme.Colors.PrimaryColor,v4fc5bc5a:o.theme.Colors.SecondaryColor,v1ad29cc2:o.theme.Colors.PrimaryTextColor,e3a730a6:o.theme.Colors.SecondaryTextColor,d1e6cb0c:o.theme.Colors.CardBackgroundColor,v3a8eba79:o.theme.Colors.ButtonTextColor,ee509114:o.theme.Colors.TitleColor,v9edb4168:o.theme.Colors.HeadingColor,c352ff94:o.theme.Colors.SubHeadingColor,v2e722b46:o.theme.Colors.LargeTextColor,v05aec064:o.theme.Colors.NormalTextColor,v44a89136:o.theme.Colors.DescriptionTextColor,v72eb0ac4:o.theme.Colors.LinkColor,v66316964:o.theme.Colors.EmailBackgroundColor,v720ab9f6:o.theme.Colors.BodyColor,v7e9f65ed:C.value}));const o=t,i=xt({isRemoveComponentWindowShown:!1,isEditing:!1}),n=Vt(null),r=Vt(null),{floatingStyles:s}=ON(r,n,{placement:"top",whileElementsMounted:wN,middleware:[kN(10)]}),a=Z(()=>{const T=s.value.transform??"translate(0px, 0px)",v=new DOMMatrix(T).m42;return{...s.value,left:"50%",transform:`translate(-50%, ${v}px)`}}),u=mp(),c=Z(()=>Oi({fontFamily:o.theme.FontFamily,themeFontSettings:o.theme.FontSettingsPresets.NormalText,themeColor:o.theme.Colors.NormalTextColor})),m=Z(()=>{const T={...uT(c.value)};return{fontSize:T.fontSize,lineHeight:T.lineHeight,fontFamily:T.fontFamily,fontWeight:T.fontWeight,fontStyle:T.fontStyle,color:T.color}}),f=VQ({content:Gb(o.element.Text),extensions:[...Yee({initialThemeName:B1,themeColors:o.theme.Colors})],editable:i.isEditing,autofocus:"all",onUpdate:({editor:T})=>{if(!i.isEditing)return;const B=Jee({editor:T});y("onRichTextUpdated",{...o.element,Text:B})}}),p=()=>{f.value&&(f.value.chain().focus().undo().run(),i.isRemoveComponentWindowShown=!1)},C=Z(()=>Sse({verticalAlign:o.element.ImageVerticalAlign})),F=()=>[document.querySelector(".rich-text-toolbar"),document.querySelector(".string-expression-builder-modal-window"),document.querySelector(`.rich-text-editor__content-${u}`)];Rt(()=>o.element.Text,()=>{f.value&&!i.isEditing&&f.value.commands.setContent(Gb(o.element.Text))});const y=e;return(T,B)=>{const v=ta("click-outside");return W(),J("span",{ref_key:"richTextElementRef",ref:r,class:Ve(["RichText cursor-pointer user-select-none",{selected:o.isSelected}]),style:fe([j(Du)({contentAlign:o.element.ContentAlign}),{...m.value,minHeight:o.element.MinHeight+"px"}])},[ct(ue(j(BQ),{class:Ve(["rich-text-editor__content",`rich-text-editor__content-${j(u)}`]),editor:j(f),onClick:B[0]||(B[0]=()=>{i.isEditing=!0,j(f)&&j(f).setEditable(!0)})},null,8,["class","editor"]),[[v,{handler:()=>{i.isEditing=!1,j(f)&&j(f).setEditable(!1)},include:F}]]),j(f)&&i.isEditing?(W(),Pe(yse,{key:0,ref_key:"richTextToolbarRef",ref:n,editor:j(f),deps:o.deps.richTextToolbarDeps,element:o.element,theme:o.theme,initialThemeName:B1,style:fe(a.value),onOnVerticalAlignVariantChanged:B[1]||(B[1]=D=>y("onRichTextUpdated",{...o.element,ImageVerticalAlign:D})),onOnContentAlignVariantChanged:B[2]||(B[2]=D=>y("onRichTextUpdated",{...o.element,ContentAlign:D}))},null,8,["editor","deps","element","theme","style"])):xe("",!0),(W(),Pe(Fy,{to:"#app"},[i.isRemoveComponentWindowShown?(W(),Pe(Tq,{key:0,headerText:j(Le)("emailTemplate.elements.richText.removeWindowTitle"),onCancel:B[3]||(B[3]=()=>p()),onConfirmed:B[4]||(B[4]=()=>{i.isRemoveComponentWindowShown=!1,y("onRichTextRemoved")})},{"body-content":ur(()=>[mu(Lt(j(Le)("emailTemplate.elements.richText.removeWindowDescription")),1)]),_:1},8,["headerText"])):xe("",!0)]))],6)}}}),Vse=Ne(Bse,[["__scopeId","data-v-64dddc74"]]),Rse=Me({__name:"UnsubscribeLink",props:{theme:{},element:{}},setup(t){const e=t,o=Z(()=>{const i=dT({fontFamily:e.theme.FontFamily,fontStyle:e.element.Style,themeDefinedFontSettings:e.theme.FontSettingsPresets,themeColors:e.theme.Colors});return{...uT(i)}});return(i,n)=>(W(),J("a",{href:"#",class:"cursor-pointer user-select-none",style:fe([{margin:"0"},[o.value,j(Du)({contentAlign:e.element.ContentAlign})]]),onClick:n[0]||(n[0]=ci(()=>{},["prevent"]))},Lt(e.element.Text),5))}}),Dse=Ne(Rse,[["__scopeId","data-v-5377f699"]]),xse=["src","alt"],bse={class:"bootstrap-styles position-absolute top-0 left-0",width:"100%",style:{"border-spacing":"0","border-collapse":"collapse",width:"100%",height:"100%"}},Lse={key:0},Ese=["align"],vse={style:{width:"auto","border-spacing":"0","border-collapse":"separate"}},Nse={align:"center",style:{width:"auto"}},Pse={key:0},_se={key:1},Ase=["align"],Ise={style:{width:"auto","border-spacing":"0","border-collapse":"separate"}},wse={align:"center",style:{width:"auto"}},kse={key:2},Wse=["align"],Ose={style:{width:"auto","border-spacing":"0","border-collapse":"separate"}},Mse={align:"center",style:{width:"auto"}},Hse={key:3},$se=["align"],zse={style:{width:"auto","border-spacing":"0","border-collapse":"separate"}},Use={align:"center",style:{width:"auto"}},jse=Me({__name:"BackgroundImage",props:{deps:{},theme:{},element:{},context:{type:[String,Number,Boolean,Array,Object]},path:{},selectedElementPath:{}},emits:["onImageOriginalSizeAdjusted","onImageSizeAdjusted","onElementClicked","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){const o=t,i=xt({src:"",href:"",isLoaded:!1}),n=async a=>o.deps.stringExpressionEvaluator({stringExpression:a,context:o.context});(async()=>{i.src=await n(o.element.Src),i.href=await n(o.element.HRef),i.isLoaded=!0})();const s=e;return(a,u)=>i.isLoaded?(W(),J("table",{key:0,class:"bootstrap-styles position-relative",style:fe([{"border-spacing":"0","border-collapse":"separate"},{width:"100%"}])},[V("tbody",null,[V("tr",null,[V("td",{align:"center",style:fe([{height:o.element.AdjustedHeight+"px",verticalAlign:"top"}])},[ct(V("img",{src:i.src,alt:i.src,style:{"max-width":"100%"}},null,8,xse),[[j(dc),({width:c,height:m})=>{s("onImageSizeAdjusted",{Path:o.path,AdjustedHeight:m,AdjustedWidth:c}),i.isLoaded=!0}]]),V("table",bse,[V("tbody",null,[o.element.TopElementList.List.length>0&&o.element.TopElementList.Direction==="Vertical"?(W(),J("tr",Lse,[V("td",{valign:"top",align:j(Zr)({containerAlign:o.element.TopElementList.ContentAlign})},[V("table",vse,[V("tbody",null,[V("tr",null,[V("td",{style:fe({height:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)]),(W(!0),J(Ge,null,Yt(o.element.TopElementList.List,(c,m)=>(W(),J(Ge,{key:m},[V("tr",null,[o.element.TopElementList.ContentAlign==="Left"?(W(),J("td",{key:0,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0),V("td",Nse,[ue(Wn,{deps:o.deps,theme:o.theme,element:c,path:[...o.path,"TopElementList","List",m],selectedElementPath:o.selectedElementPath,context:o.context,onOnImageSizeAdjusted:u[0]||(u[0]=f=>s("onImageSizeAdjusted",f)),onOnImageOriginalSizeAdjusted:u[1]||(u[1]=f=>s("onImageOriginalSizeAdjusted",f)),onOnElementClicked:u[2]||(u[2]=f=>s("onElementClicked",f)),onOnElementUpdatedEvent:u[3]||(u[3]=f=>s("onElementUpdatedEvent",f)),onOnElementRemoved:u[4]||(u[4]=f=>s("onElementRemoved",f))},null,8,["deps","theme","element","path","selectedElementPath","context"])]),o.element.TopElementList.ContentAlign==="Right"?(W(),J("td",{key:1,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0)]),o.element.TopElementList.List.length-1!==m?(W(),J("tr",Pse,[V("td",{style:fe({height:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)])):xe("",!0)],64))),128))])])],8,Ese)])):xe("",!0),o.element.TopElementList.List.length>0&&o.element.TopElementList.Direction==="Horizontal"?(W(),J("tr",_se,[V("td",{valign:"top",align:j(Zr)({containerAlign:o.element.TopElementList.ContentAlign})},[V("table",Ise,[V("tbody",null,[V("tr",null,[V("td",{style:fe({height:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)]),V("tr",null,[(W(!0),J(Ge,null,Yt(o.element.TopElementList.List,(c,m)=>(W(),J(Ge,{key:m},[o.element.TopElementList.ContentAlign==="Left"&&m===0?(W(),J("td",{key:0,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0),V("td",wse,[ue(Wn,{deps:o.deps,theme:o.theme,element:c,path:[...o.path,"TopElementList","List",m],selectedElementPath:o.selectedElementPath,context:o.context,onOnImageSizeAdjusted:u[5]||(u[5]=f=>s("onImageSizeAdjusted",f)),onOnImageOriginalSizeAdjusted:u[6]||(u[6]=f=>s("onImageOriginalSizeAdjusted",f)),onOnElementClicked:u[7]||(u[7]=f=>s("onElementClicked",f)),onOnElementUpdatedEvent:u[8]||(u[8]=f=>s("onElementUpdatedEvent",f)),onOnElementRemoved:u[9]||(u[9]=f=>s("onElementRemoved",f))},null,8,["deps","theme","element","path","selectedElementPath","context"])]),o.element.TopElementList.ContentAlign==="Center"&&o.element.TopElementList.List.length-1!==m?(W(),J("td",{key:1,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0),o.element.TopElementList.ContentAlign==="Right"?(W(),J("td",{key:2,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0),o.element.TopElementList.ContentAlign==="Left"&&o.element.TopElementList.List.length-1!==m?(W(),J("td",{key:3,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0)],64))),128))])])])],8,Ase)])):xe("",!0),o.element.BottomElementList.List.length>0&&o.element.BottomElementList.Direction==="Vertical"?(W(),J("tr",kse,[V("td",{valign:"bottom",align:j(Zr)({containerAlign:o.element.BottomElementList.ContentAlign})},[V("table",Ose,[V("tbody",null,[(W(!0),J(Ge,null,Yt(o.element.BottomElementList.List,(c,m)=>(W(),J(Ge,{key:m},[V("tr",null,[o.element.BottomElementList.ContentAlign==="Left"?(W(),J("td",{key:0,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0),V("td",Mse,[ue(Wn,{deps:o.deps,theme:o.theme,element:c,path:[...o.path,"BottomElementList","List",m],selectedElementPath:o.selectedElementPath,context:o.context,onOnImageSizeAdjusted:u[10]||(u[10]=f=>s("onImageSizeAdjusted",f)),onOnImageOriginalSizeAdjusted:u[11]||(u[11]=f=>s("onImageOriginalSizeAdjusted",f)),onOnElementClicked:u[12]||(u[12]=f=>s("onElementClicked",f)),onOnElementUpdatedEvent:u[13]||(u[13]=f=>s("onElementUpdatedEvent",f)),onOnElementRemoved:u[14]||(u[14]=f=>s("onElementRemoved",f))},null,8,["deps","theme","element","path","selectedElementPath","context"])]),o.element.BottomElementList.ContentAlign==="Right"?(W(),J("td",{key:1,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0)]),V("tr",null,[V("td",{style:fe({height:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)])],64))),128))])])],8,Wse)])):xe("",!0),o.element.BottomElementList.List.length>0&&o.element.BottomElementList.Direction==="Horizontal"?(W(),J("tr",Hse,[V("td",{valign:"bottom",align:j(Zr)({containerAlign:o.element.BottomElementList.ContentAlign})},[V("table",zse,[V("tbody",null,[V("tr",null,[(W(!0),J(Ge,null,Yt(o.element.BottomElementList.List,(c,m)=>(W(),J(Ge,{key:m},[o.element.BottomElementList.ContentAlign==="Left"&&m===0?(W(),J("td",{key:0,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0),V("td",Use,[ue(Wn,{deps:o.deps,theme:o.theme,element:c,path:[...o.path,"BottomElementList","List",m],selectedElementPath:o.selectedElementPath,context:o.context,onOnImageSizeAdjusted:u[15]||(u[15]=f=>s("onImageSizeAdjusted",f)),onOnImageOriginalSizeAdjusted:u[16]||(u[16]=f=>s("onImageOriginalSizeAdjusted",f)),onOnElementClicked:u[17]||(u[17]=f=>s("onElementClicked",f)),onOnElementUpdatedEvent:u[18]||(u[18]=f=>s("onElementUpdatedEvent",f)),onOnElementRemoved:u[19]||(u[19]=f=>s("onElementRemoved",f))},null,8,["deps","theme","element","path","selectedElementPath","context"])]),o.element.BottomElementList.ContentAlign==="Center"&&o.element.BottomElementList.List.length-1!==m?(W(),J("td",{key:1,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0),o.element.BottomElementList.ContentAlign==="Right"?(W(),J("td",{key:2,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0),o.element.BottomElementList.ContentAlign==="Left"&&o.element.BottomElementList.List.length-1!==m?(W(),J("td",{key:3,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})}," ",4)):xe("",!0)],64))),128))])])])],8,$se)])):xe("",!0)])])],4)])])])):xe("",!0)}}),Wn=Me({__name:"Elements",props:{deps:{},theme:{},element:{},path:{},context:{type:[String,Number,Boolean,Array,Object]},selectedElementPath:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){const o=t,i=e,n=(r,s)=>{i("onElementClicked",{element:r,path:[...o.path,s]})};return(r,s)=>(W(),J("span",{onClick:s[31]||(s[31]=ci(()=>{},["stop"]))},[o.element.Button!==void 0?(W(),Pe(TK,{key:0,deps:o.deps,theme:o.theme,element:o.element.Button,context:o.context,class:Ve({"element-selected":j(Ur.isEqual)(o.selectedElementPath,[...o.path,"Button"])}),onClick:s[0]||(s[0]=a=>n(o.element,"Button"))},null,8,["deps","theme","element","context","class"])):xe("",!0),o.element.HeightContainer!==void 0?(W(),Pe(LG,{key:1,deps:o.deps,theme:o.theme,element:o.element.HeightContainer,path:[...o.path,"HeightContainer"],selectedElementPath:o.selectedElementPath,context:o.context,onOnImageOriginalSizeAdjusted:s[1]||(s[1]=a=>i("onImageOriginalSizeAdjusted",a)),onOnImageSizeAdjusted:s[2]||(s[2]=a=>i("onImageSizeAdjusted",a)),onOnElementClicked:s[3]||(s[3]=a=>i("onElementClicked",a)),onOnElementRemoved:s[4]||(s[4]=a=>i("onElementRemoved",a)),onOnElementUpdatedEvent:s[5]||(s[5]=a=>i("onElementUpdatedEvent",a))},null,8,["deps","theme","element","path","selectedElementPath","context"])):xe("",!0),o.element.Image!==void 0?(W(),Pe(AG,{key:2,deps:o.deps,theme:o.theme,element:o.element.Image,context:o.context,path:[...o.path,"Image"],class:Ve({"element-selected":j(Ur.isEqual)(o.selectedElementPath,[...o.path,"Image"])}),onOnImageOriginalSizeAdjusted:s[6]||(s[6]=a=>i("onImageOriginalSizeAdjusted",a)),onOnImageSizeAdjusted:s[7]||(s[7]=a=>i("onImageSizeAdjusted",a)),onClick:s[8]||(s[8]=a=>n(o.element,"Image"))},null,8,["deps","theme","element","context","path","class"])):xe("",!0),o.element.Spacer!==void 0?(W(),Pe(HG,{key:3,element:o.element.Spacer,theme:o.theme,class:Ve({"element-selected":j(Ur.isEqual)(o.selectedElementPath,[...o.path,"Spacer"])}),onClick:s[9]||(s[9]=a=>n(o.element,"Spacer"))},null,8,["element","theme","class"])):xe("",!0),o.element.SpanText!==void 0?(W(),Pe(VK,{key:4,deps:o.deps,theme:o.theme,element:o.element.SpanText,context:o.context,class:Ve({"element-selected":j(Ur.isEqual)(o.selectedElementPath,[...o.path,"SpanText"])}),onClick:s[10]||(s[10]=a=>n(o.element,"SpanText"))},null,8,["deps","theme","element","context","class"])):xe("",!0),o.element.RichText!==void 0?(W(),Pe(Vse,{key:5,deps:o.deps.richTextDeps,theme:o.theme,element:o.element.RichText,isSelected:j(Ur.isEqual)(o.selectedElementPath,[...o.path,"RichText"]),onClick:s[11]||(s[11]=ci(a=>n(o.element,"RichText"),["stop"])),onOnRichTextUpdated:s[12]||(s[12]=a=>{i("onElementUpdatedEvent",{path:o.path,element:{RichText:a}})}),onOnRichTextRemoved:s[13]||(s[13]=()=>{i("onElementRemoved",o.path)})},null,8,["deps","theme","element","isSelected"])):xe("",!0),o.element.OneLineList!==void 0?(W(),Pe(WG,{key:6,deps:o.deps,theme:o.theme,element:o.element.OneLineList,path:[...o.path,"OneLineList"],selectedElementPath:o.selectedElementPath,context:o.context,onOnImageOriginalSizeAdjusted:s[14]||(s[14]=a=>i("onImageOriginalSizeAdjusted",a)),onOnImageSizeAdjusted:s[15]||(s[15]=a=>i("onImageSizeAdjusted",a)),onOnElementClicked:s[16]||(s[16]=a=>i("onElementClicked",a)),onOnElementRemoved:s[17]||(s[17]=a=>i("onElementRemoved",a)),onOnElementUpdatedEvent:s[18]||(s[18]=a=>i("onElementUpdatedEvent",a))},null,8,["deps","theme","element","path","selectedElementPath","context"])):xe("",!0),o.element.If!==void 0?(W(),Pe(RG,{key:7,deps:o.deps,theme:o.theme,element:o.element.If,context:o.context,path:[...o.path,"If"],selectedElementPath:o.selectedElementPath,onOnImageOriginalSizeAdjusted:s[19]||(s[19]=a=>i("onImageOriginalSizeAdjusted",a)),onOnImageSizeAdjusted:s[20]||(s[20]=a=>i("onImageSizeAdjusted",a)),onOnElementClicked:s[21]||(s[21]=a=>i("onElementClicked",a)),onOnElementRemoved:s[22]||(s[22]=a=>i("onElementRemoved",a)),onOnElementUpdatedEvent:s[23]||(s[23]=a=>i("onElementUpdatedEvent",a))},null,8,["deps","theme","element","context","path","selectedElementPath"])):xe("",!0),o.element.UnsubscribeLink!==void 0?(W(),Pe(Dse,{key:8,theme:o.theme,element:o.element.UnsubscribeLink,class:Ve({"element-selected":j(Ur.isEqual)(o.selectedElementPath,[...o.path,"UnsubscribeLink"])}),onClick:s[24]||(s[24]=a=>n(o.element,"UnsubscribeLink"))},null,8,["theme","element","class"])):xe("",!0),o.element.BackgroundImage!==void 0?(W(),Pe(jse,{key:9,deps:o.deps,theme:o.theme,element:o.element.BackgroundImage,context:o.context,path:[...o.path,"BackgroundImage"],selectedElementPath:o.selectedElementPath,class:Ve({"element-selected":j(Ur.isEqual)(o.selectedElementPath,[...o.path,"BackgroundImage"])}),onOnImageOriginalSizeAdjusted:s[25]||(s[25]=a=>i("onImageOriginalSizeAdjusted",a)),onOnImageSizeAdjusted:s[26]||(s[26]=a=>i("onImageSizeAdjusted",a)),onOnElementClicked:s[27]||(s[27]=a=>i("onElementClicked",a)),onOnElementRemoved:s[28]||(s[28]=a=>i("onElementRemoved",a)),onOnElementUpdatedEvent:s[29]||(s[29]=a=>i("onElementUpdatedEvent",a)),onClick:s[30]||(s[30]=a=>n(o.element,"BackgroundImage"))},null,8,["deps","theme","element","context","path","selectedElementPath","class"])):xe("",!0)]))}}),Gse=["align"],Kse=Me({__name:"IteratedColumn",props:{deps:{},theme:{},iteratedColumn:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]},containerWidth:{}},emits:["onImageSizeAdjusted","onImageOriginalSizeAdjusted","onElementClicked","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){oa(r=>({de2d6d1c:n.value}));const o=t,i=e,n=Z(()=>o.iteratedColumn.WidthInPercents*o.containerWidth+"px");return(r,s)=>(W(),J("div",{class:"iterated-column",style:fe({display:"inline-block",verticalAlign:o.iteratedColumn.VerticalAlign})},[V("table",{style:fe([[j(Wc)({borderCollapse:o.iteratedColumn.BorderCollapse})],{width:"100%","border-spacing":"0"}]),width:"100%"},[V("tbody",null,[V("tr",null,[V("td",{align:j(Zr)({containerAlign:o.iteratedColumn.ContainerAlign}),style:fe([[j(as)({border:o.iteratedColumn.Border,themeColors:o.theme.Colors}),{backgroundColor:j(zn)({color:o.iteratedColumn.BgColor,themeColors:o.theme.Colors})},j(Cr)({borderRadius:o.iteratedColumn.BorderRadius,borderRadiusCard:o.theme.BorderRadiusCard,bodyBorderRadius:o.theme.BorderRadius,borderButtonRadius:o.theme.BorderRadiusButton,borderBannerRadius:o.theme.BorderRadiusBanner})],{"line-height":"normal"}])},[(W(!0),J(Ge,null,Yt(o.iteratedColumn.Elements,(a,u)=>(W(),Pe(Wn,{key:u,deps:o.deps.elementsDeps,theme:o.theme,element:a,context:o.context,path:[...o.path,"Elements",u],selectedElementPath:o.selectedElementPath,onOnElementClicked:s[0]||(s[0]=c=>i("onElementClicked",c)),onOnImageSizeAdjusted:s[1]||(s[1]=c=>i("onImageSizeAdjusted",c)),onOnImageOriginalSizeAdjusted:s[2]||(s[2]=c=>i("onImageOriginalSizeAdjusted",c)),onOnElementUpdatedEvent:s[3]||(s[3]=c=>i("onElementUpdatedEvent",c)),onOnElementRemoved:s[4]||(s[4]=c=>i("onElementRemoved",c))},null,8,["deps","theme","element","context","path","selectedElementPath"]))),128))],12,Gse)])])],4)],4))}}),qse=Ne(Kse,[["__scopeId","data-v-074a56c4"]]),Yse=["align"],Jse=Me({__name:"IteratedColumnN21",props:{deps:{},theme:{},iteratedColumnN21:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]},containerWidth:{}},emits:["onImageSizeAdjusted","onImageOriginalSizeAdjusted","onElementClicked","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){oa(r=>({b40df8fc:n.value}));const o=t,i=e,n=Z(()=>o.iteratedColumnN21.WidthInPercents*o.containerWidth+"px");return(r,s)=>(W(),J("div",{class:"iterated-column__N-2-1",style:fe({display:"inline-block",verticalAlign:o.iteratedColumnN21.VerticalAlign})},[V("table",{style:fe([[j(Wc)({borderCollapse:o.iteratedColumnN21.BorderCollapse})],{width:"100%","border-spacing":"0"}]),width:"100%"},[V("tbody",null,[V("tr",null,[V("td",{align:j(Zr)({containerAlign:o.iteratedColumnN21.ContainerAlign}),style:fe([[j(as)({border:o.iteratedColumnN21.Border,themeColors:o.theme.Colors}),{backgroundColor:j(zn)({color:o.iteratedColumnN21.BgColor,themeColors:o.theme.Colors})},j(Cr)({borderRadius:o.iteratedColumnN21.BorderRadius,borderRadiusCard:o.theme.BorderRadiusCard,bodyBorderRadius:o.theme.BorderRadius,borderButtonRadius:o.theme.BorderRadiusButton,borderBannerRadius:o.theme.BorderRadiusBanner})],{"line-height":"normal"}])},[(W(!0),J(Ge,null,Yt(o.iteratedColumnN21.Elements,(a,u)=>(W(),Pe(Wn,{key:u,deps:o.deps.elementsDeps,theme:o.theme,element:a,context:o.context,path:[...o.path,"Elements",u],selectedElementPath:o.selectedElementPath,onOnElementClicked:s[0]||(s[0]=c=>i("onElementClicked",c)),onOnImageSizeAdjusted:s[1]||(s[1]=c=>i("onImageSizeAdjusted",c)),onOnImageOriginalSizeAdjusted:s[2]||(s[2]=c=>i("onImageOriginalSizeAdjusted",c)),onOnElementUpdatedEvent:s[3]||(s[3]=c=>i("onElementUpdatedEvent",c)),onOnElementRemoved:s[4]||(s[4]=c=>i("onElementRemoved",c))},null,8,["deps","theme","element","context","path","selectedElementPath"]))),128))],12,Yse)])])],4)],4))}}),Zse=Ne(Jse,[["__scopeId","data-v-f4136804"]]),Xse=["align"],Qse=Me({__name:"IteratedColumnN22",props:{deps:{},theme:{},iteratedColumnN22:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]},containerWidth:{}},emits:["onImageSizeAdjusted","onImageOriginalSizeAdjusted","onElementClicked","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){oa(r=>({v1d32a774:n.value}));const o=t,i=e,n=Z(()=>o.iteratedColumnN22.WidthInPercents*o.containerWidth+"px");return(r,s)=>(W(),J("div",{class:"iterated-column__N-2-2",style:fe({display:"inline-block",verticalAlign:o.iteratedColumnN22.VerticalAlign})},[V("table",{style:fe([[j(Wc)({borderCollapse:o.iteratedColumnN22.BorderCollapse})],{width:"100%","border-spacing":"0"}]),width:"100%"},[V("tbody",null,[V("tr",null,[V("td",{align:j(Zr)({containerAlign:o.iteratedColumnN22.ContainerAlign}),style:fe([[j(as)({border:o.iteratedColumnN22.Border,themeColors:o.theme.Colors}),{backgroundColor:j(zn)({color:o.iteratedColumnN22.BgColor,themeColors:o.theme.Colors})},j(Cr)({borderRadius:o.iteratedColumnN22.BorderRadius,borderRadiusCard:o.theme.BorderRadiusCard,bodyBorderRadius:o.theme.BorderRadius,borderButtonRadius:o.theme.BorderRadiusButton,borderBannerRadius:o.theme.BorderRadiusBanner})],{"line-height":"normal"}])},[(W(!0),J(Ge,null,Yt(o.iteratedColumnN22.Elements,(a,u)=>(W(),Pe(Wn,{key:u,deps:o.deps.elementsDeps,theme:o.theme,element:a,context:o.context,path:[...o.path,"Elements",u],selectedElementPath:o.selectedElementPath,onOnElementClicked:s[0]||(s[0]=c=>i("onElementClicked",c)),onOnImageSizeAdjusted:s[1]||(s[1]=c=>i("onImageSizeAdjusted",c)),onOnImageOriginalSizeAdjusted:s[2]||(s[2]=c=>i("onImageOriginalSizeAdjusted",c)),onOnElementUpdatedEvent:s[3]||(s[3]=c=>i("onElementUpdatedEvent",c)),onOnElementRemoved:s[4]||(s[4]=c=>i("onElementRemoved",c))},null,8,["deps","theme","element","context","path","selectedElementPath"]))),128))],12,Xse)])])],4)],4))}}),eae=Ne(Qse,[["__scopeId","data-v-27b3eab4"]]),tae={class:"iterated-column-container",style:{"border-spacing":"0","border-collapse":"collapse",width:"100%",margin:"0 auto"},width:"100%"},oae={align:"center",style:{"font-size":"0"}},iae=Me({__name:"IteratedColumnBodyRow",props:{deps:{},theme:{},iteratedColumnBodyRow:{},path:{},selectedElementPath:{},context:{},rowWidth:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){oa(u=>({v1d9c27e6:r.value}));const o=t,i=xt({dataList:[],isLoaded:!1}),n=()=>o.deps.listExpressionEvaluator({listExpression:o.iteratedColumnBodyRow.DataSource,context:o.context}).then(u=>{i.dataList=u,i.isLoaded=!0});n(),Rt(()=>o.context,()=>n());const r=Z(()=>Bo({paddingExpression:o.iteratedColumnBodyRow.ColumnSpacerSize,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings})+"px"),s={iteratedColumn:u=>u!==void 0,iteratedColumnVariant:u=>u!==void 0,iteratedColumnN21:u=>u!==void 0,iteratedColumnN22:u=>u!==void 0},a=e;return(u,c)=>(W(),J("table",tae,[V("tbody",null,[V("tr",null,[V("td",oae,[(W(!0),J(Ge,null,Yt(i.dataList,(m,f)=>(W(),J(Ge,{key:f},[s.iteratedColumn(o.iteratedColumnBodyRow.IteratedColumn)?(W(),Pe(qse,{key:f,class:Ve(["iterated-column-bottom-spacer",{"iterated-column__tablet-padding-right":(f+1)%2===1,"iterated-column__tablet-padding-left":(f+1)%2===0,"is-last-desktop-line":f>=i.dataList.length-o.iteratedColumnBodyRow.NumberColumnsInLine,"is-last-tablet-line":f>=i.dataList.length-2,"is-last-mobile-line":f==i.dataList.length-1}]),deps:o.deps.iteratedColumnDeps,theme:o.theme,style:fe(j(Nf)({numberColumnsInLine:o.iteratedColumnBodyRow.NumberColumnsInLine,index:f,paddingSize:j(Bo)({paddingExpression:o.iteratedColumnBodyRow.ColumnSpacerSize,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings}),directionRtl:!1})),iteratedColumn:o.iteratedColumnBodyRow.IteratedColumn,path:[...o.path,"IteratedColumn"],selectedElementPath:o.selectedElementPath,context:{...o.context,[o.iteratedColumnBodyRow.IndexName]:m},containerWidth:o.rowWidth,onOnElementClicked:c[0]||(c[0]=p=>a("onElementClicked",p)),onOnImageOriginalSizeAdjusted:c[1]||(c[1]=p=>a("onImageOriginalSizeAdjusted",p)),onOnImageSizeAdjusted:c[2]||(c[2]=p=>a("onImageSizeAdjusted",p)),onOnElementUpdatedEvent:c[3]||(c[3]=p=>a("onElementUpdatedEvent",p)),onOnElementRemoved:c[4]||(c[4]=p=>a("onElementRemoved",p))},null,8,["deps","theme","class","style","iteratedColumn","path","selectedElementPath","context","containerWidth"])):xe("",!0),s.iteratedColumnVariant(o.iteratedColumnBodyRow.IteratedColumnVariant)?(W(),J(Ge,{key:1},[s.iteratedColumnN21(o.iteratedColumnBodyRow.IteratedColumnVariant.IteratedColumnN21)?(W(),Pe(Zse,{key:f,deps:o.deps.iteratedColumnVariantDeps.iteratedColumnN21Deps,theme:o.theme,class:Ve(["iterated-column-bottom-spacer",{"iterated-column__tablet-padding-right":(f+1)%2===1,"iterated-column__tablet-padding-left":(f+1)%2===0,"is-last-desktop-line":f>=i.dataList.length-o.iteratedColumnBodyRow.NumberColumnsInLine,"is-last-tablet-line":f>=i.dataList.length-2,"is-last-mobile-line":f==i.dataList.length-1}]),style:fe(j(Nf)({numberColumnsInLine:o.iteratedColumnBodyRow.NumberColumnsInLine,index:f,paddingSize:j(Bo)({paddingExpression:o.iteratedColumnBodyRow.ColumnSpacerSize,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings}),directionRtl:!1})),iteratedColumnN21:o.iteratedColumnBodyRow.IteratedColumnVariant.IteratedColumnN21,path:[...o.path,"IteratedColumnVariant","IteratedColumnN21"],selectedElementPath:o.selectedElementPath,context:{...o.context,[o.iteratedColumnBodyRow.IndexName]:m},containerWidth:o.rowWidth,onOnElementClicked:c[5]||(c[5]=p=>a("onElementClicked",p)),onOnImageOriginalSizeAdjusted:c[6]||(c[6]=p=>a("onImageOriginalSizeAdjusted",p)),onOnImageSizeAdjusted:c[7]||(c[7]=p=>a("onImageSizeAdjusted",p)),onOnElementUpdatedEvent:c[8]||(c[8]=p=>a("onElementUpdatedEvent",p)),onOnElementRemoved:c[9]||(c[9]=p=>a("onElementRemoved",p))},null,8,["deps","theme","class","style","iteratedColumnN21","path","selectedElementPath","context","containerWidth"])):xe("",!0),s.iteratedColumnN22(o.iteratedColumnBodyRow.IteratedColumnVariant.IteratedColumnN22)?(W(),Pe(eae,{key:f,deps:o.deps.iteratedColumnVariantDeps.iteratedColumnN22Deps,theme:o.theme,class:Ve(["iterated-column-bottom-spacer",{"iterated-column__tablet-padding-right iterated-column__N-2-2_mobile-padding-right":(f+1)%2===1,"iterated-column__tablet-padding-left iterated-column__N-2-2_mobile-padding-left":(f+1)%2===0,"is-last-desktop-line":f>=i.dataList.length-o.iteratedColumnBodyRow.NumberColumnsInLine,"is-last-tablet-line is-last-mobile-line":f>=i.dataList.length-2}]),style:fe(j(Nf)({numberColumnsInLine:o.iteratedColumnBodyRow.NumberColumnsInLine,index:f,paddingSize:j(Bo)({paddingExpression:o.iteratedColumnBodyRow.ColumnSpacerSize,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings}),directionRtl:!1})),iteratedColumnN22:o.iteratedColumnBodyRow.IteratedColumnVariant.IteratedColumnN22,path:[...o.path,"IteratedColumnVariant","IteratedColumnN22"],selectedElementPath:o.selectedElementPath,context:{...o.context,[o.iteratedColumnBodyRow.IndexName]:m},containerWidth:o.rowWidth,onOnElementClicked:c[10]||(c[10]=p=>a("onElementClicked",p)),onOnImageOriginalSizeAdjusted:c[11]||(c[11]=p=>a("onImageOriginalSizeAdjusted",p)),onOnImageSizeAdjusted:c[12]||(c[12]=p=>a("onImageSizeAdjusted",p)),onOnElementUpdatedEvent:c[13]||(c[13]=p=>a("onElementUpdatedEvent",p)),onOnElementRemoved:c[14]||(c[14]=p=>a("onElementRemoved",p))},null,8,["deps","theme","class","style","iteratedColumnN22","path","selectedElementPath","context","containerWidth"])):xe("",!0)],64)):xe("",!0)],64))),128))])])])]))}}),nae=Ne(iae,[["__scopeId","data-v-fc3ec530"]]),rae={style:{"border-spacing":"0","border-collapse":"collapse",width:"100%",margin:"0 auto"}},sae=Me({__name:"IteratedBodyRow",props:{theme:{},deps:{},iteratedBodyRow:{},path:{},selectedElementPath:{},context:{},containerWidth:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onColumnWidthAdjusted","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){const o=t,i=xt({dataList:[]});o.deps.listExpressionEvaluator({listExpression:o.iteratedBodyRow.DataSource,context:o.context}).then(r=>i.dataList=r);const n=e;return(r,s)=>(W(),J("table",rae,[(W(!0),J(Ge,null,Yt(i.dataList,(a,u)=>(W(),J("tr",{key:u},[V("td",{style:fe([j(Oc)({paddings:o.iteratedBodyRow.Paddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings})])},[ue(BA,{emailComponentBodyRow:o.iteratedBodyRow.BodyRow,deps:{iteratedColumnBodyRowDeps:o.deps.iteratedColumnBodyRowDeps,multipleColumnBodyRowDeps:o.deps.multipleColumnBodyRowDeps,listExpressionEvaluator:o.deps.listExpressionEvaluator},theme:o.theme,context:{...o.context,[o.iteratedBodyRow.IndexName]:a},rowWidth:o.containerWidth,path:[...o.path,"BodyRow"],selectedElementPath:o.selectedElementPath,onOnElementClicked:s[0]||(s[0]=c=>n("onElementClicked",c)),onOnImageOriginalSizeAdjusted:s[1]||(s[1]=c=>n("onImageOriginalSizeAdjusted",c)),onOnImageSizeAdjusted:s[2]||(s[2]=c=>n("onImageSizeAdjusted",c)),onOnColumnWidthAdjusted:s[3]||(s[3]=c=>n("onColumnWidthAdjusted",c)),onOnElementUpdatedEvent:s[4]||(s[4]=c=>n("onElementUpdatedEvent",c)),onOnElementRemoved:s[5]||(s[5]=c=>n("onElementRemoved",c))},null,8,["emailComponentBodyRow","deps","theme","context","rowWidth","path","selectedElementPath"])],4)]))),128))]))}});var P0={},_0={},A0={},V1;function dS(){return V1||(V1=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isNone=t.isSome=t.None=t.Some=t.OptionType=void 0,t.OptionType={Some:Symbol(":some"),None:Symbol(":none")};function e(s){return typeof s>"u"?i():o(s)}t.Some=e,t.None=i();function o(s){return{type:t.OptionType.Some,isSome(){return!0},isNone(){return!1},match(a){return a.some(s)},map(a){return o(a(s))},andThen(a){return a(s)},or(a){return this},and(a){return a},unwrapOr(a){return s},unwrap(){return s}}}function i(){return{type:t.OptionType.None,isSome(){return!1},isNone(){return!0},match(s){const{none:a}=s;return typeof a=="function"?a():a},map(s){return i()},andThen(s){return i()},or(s){return s},and(s){return i()},unwrapOr(s){if(s==null)throw new Error("Cannot call unwrapOr with a missing value.");return s},unwrap(){throw new ReferenceError("Trying to unwrap None.")}}}function n(s){return s.isSome()}t.isSome=n;function r(s){return s.isNone()}t.isNone=r})(A0)),A0}var R1;function aae(){return R1||(R1=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isRight=t.isLeft=t.Right=t.Left=t.EitherType=void 0;const e=dS();t.EitherType={Left:Symbol(":left"),Right:Symbol(":right")};function o(s){return{type:t.EitherType.Left,isLeft(){return!0},isRight(){return!1},left(){return(0,e.Some)(s)},leftAndThen(a){return a(s)},right(){return e.None},rightAndThen(a){return o(s)},unwrap(){return s},unwrapLeft(){return s},unwrapLeftOr(a){return s},unwrapLeftOrElse(a){return s},unwrapRight(){throw new ReferenceError("Cannot unwrap Right value of Either.Left")},unwrapRightOr(a){return a},unwrapRightOrElse(a){return a(s)},match(a){return a.left(s)},map(a){return o(a(s))},mapLeft(a){return o(a(s))},mapRight(a){return o(s)}}}t.Left=o;function i(s){return{type:t.EitherType.Right,isLeft(){return!1},isRight(){return!0},left(){return e.None},leftAndThen(a){return i(s)},right(){return(0,e.Some)(s)},rightAndThen(a){return a(s)},unwrap(){return s},unwrapLeft(){throw new ReferenceError("Cannot unwrap Left value of Either.Right")},unwrapLeftOr(a){return a},unwrapLeftOrElse(a){return a(s)},unwrapRight(){return s},unwrapRightOr(a){return s},unwrapRightOrElse(a){return s},match(a){return a.right(s)},map(a){return i(a(s))},mapLeft(a){return i(s)},mapRight(a){return i(a(s))}}}t.Right=i;function n(s){return s.isLeft()}t.isLeft=n;function r(s){return s.isRight()}t.isRight=r})(_0)),_0}var I0={},D1;function lae(){return D1||(D1=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isErr=t.isOk=t.Err=t.Ok=t.ResultType=void 0;const e=dS();t.ResultType={Ok:Symbol(":ok"),Err:Symbol(":err")};function o(s){return{type:t.ResultType.Ok,isOk(){return!0},isErr(){return!1},ok(){return(0,e.Some)(s)},err(){return e.None},unwrap(){return s},unwrapOr(a){return s},unwrapOrElse(a){return s},unwrapErr(){throw new ReferenceError("Cannot unwrap Err value of Result.Ok")},match(a){return a.ok(s)},map(a){return o(a(s))},mapErr(a){return o(s)},andThen(a){return a(s)},orElse(a){return o(s)}}}t.Ok=o;function i(s){return{type:t.ResultType.Err,isOk(){return!1},isErr(){return!0},ok(){return e.None},err(){return(0,e.Some)(s)},unwrap(){throw new ReferenceError("Cannot unwrap Ok value of Result.Err")},unwrapOr(a){return a},unwrapOrElse(a){return a(s)},unwrapErr(){return s},match(a){return a.err(s)},map(a){return i(s)},mapErr(a){return i(a(s))},andThen(a){return i(s)},orElse(a){return a(s)}}}t.Err=i;function n(s){return s.isOk()}t.isOk=n;function r(s){return s.isErr()}t.isErr=r})(I0)),I0}var x1;function uae(){return x1||(x1=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Ok=t.isOk=t.isErr=t.Err=t.Some=t.None=t.isSome=t.isNone=t.Right=t.Left=t.isRight=t.isLeft=void 0;var e=aae();Object.defineProperty(t,"isLeft",{enumerable:!0,get:function(){return e.isLeft}}),Object.defineProperty(t,"isRight",{enumerable:!0,get:function(){return e.isRight}}),Object.defineProperty(t,"Left",{enumerable:!0,get:function(){return e.Left}}),Object.defineProperty(t,"Right",{enumerable:!0,get:function(){return e.Right}});var o=dS();Object.defineProperty(t,"isNone",{enumerable:!0,get:function(){return o.isNone}}),Object.defineProperty(t,"isSome",{enumerable:!0,get:function(){return o.isSome}}),Object.defineProperty(t,"None",{enumerable:!0,get:function(){return o.None}}),Object.defineProperty(t,"Some",{enumerable:!0,get:function(){return o.Some}});var i=lae();Object.defineProperty(t,"Err",{enumerable:!0,get:function(){return i.Err}}),Object.defineProperty(t,"isErr",{enumerable:!0,get:function(){return i.isErr}}),Object.defineProperty(t,"isOk",{enumerable:!0,get:function(){return i.isOk}}),Object.defineProperty(t,"Ok",{enumerable:!0,get:function(){return i.Ok}})})(P0)),P0}var w0=uae();const dae=t=>({Match:e=>{switch(t){case"Top":return e.Top();case"Middle":return e.Middle();case"Bottom":return e.Bottom();case"Baseline":return e.Baseline()}}}),cae=t=>dae(t).Match({Top:()=>"start",Middle:()=>"center",Bottom:()=>"end",Baseline:()=>"baseline"}),mae=Ao,fae=t=>({JustifyWidth:{WidthInPixels:t}}),hae=t=>({ShrinkToContentWidth:{WidthInPixels:t}}),pae=mG,Cae=["align"],gae=Me({__name:"MultipleColumn",props:{deps:{},theme:{},multipleColumn:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]},containerWidth:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onColumnWidthAdjusted","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){oa(u=>({a4b5d602:a.value,c89e587e:s.value,v6e55963e:r.value}));const o=t,i=e,n=u=>{mae(o.multipleColumn.Width).Match({JustifyWidth:()=>w0.Some(fae(u)),ShrinkToContentWidth:()=>w0.Some(hae(u)),WidthInPercents:()=>w0.None}).map(c=>i("onColumnWidthAdjusted",{Path:o.path,Width:c}))},r=Z(()=>pae(o.multipleColumn.Width).Match({default:()=>"",WidthInPercents:u=>u.Value*o.containerWidth+"px"})),s=Z(()=>cae(o.multipleColumn.VerticalAlign)),a=Z(()=>o.multipleColumn.VerticalAlign);return(u,c)=>ct((W(),J("div",{class:Ve(["multiple-column",{"multiple-column--justifyWidth":o.multipleColumn.Width.JustifyWidth!==void 0,"multiple-column--shrinkToContentWidth":o.multipleColumn.Width.ShrinkToContentWidth!==void 0,"multiple-column--widthInPercents":o.multipleColumn.Width.WidthInPercents!==void 0}]),style:{direction:"ltr"}},[V("table",{style:fe([{width:"100%","border-spacing":"0"},[j(Wc)({borderCollapse:o.multipleColumn.BorderCollapse})]]),width:"100%"},[V("tbody",null,[V("tr",null,[V("td",{align:j(Zr)({containerAlign:o.multipleColumn.ContainerAlign}),style:fe([[j(as)({border:o.multipleColumn.Border,themeColors:o.theme.Colors}),j(Cr)({borderRadius:o.multipleColumn.BorderRadius,borderRadiusCard:o.theme.BorderRadiusCard,bodyBorderRadius:o.theme.BorderRadius,borderButtonRadius:o.theme.BorderRadiusButton,borderBannerRadius:o.theme.BorderRadiusBanner}),{backgroundColor:j(zn)({color:o.multipleColumn.BgColor,themeColors:o.theme.Colors})},j(Oc)({paddings:o.multipleColumn.Paddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings})],{"line-height":"normal"}])},[(W(!0),J(Ge,null,Yt(o.multipleColumn.Elements,(m,f)=>(W(),Pe(Wn,{key:f,deps:o.deps.elementsDeps,theme:o.theme,element:m,context:o.context,path:[...o.path,"Elements",f],selectedElementPath:o.selectedElementPath,onOnElementClicked:c[0]||(c[0]=p=>i("onElementClicked",p)),onOnImageSizeAdjusted:c[1]||(c[1]=p=>i("onImageSizeAdjusted",p)),onOnImageOriginalSizeAdjusted:c[2]||(c[2]=p=>i("onImageOriginalSizeAdjusted",p)),onOnElementUpdatedEvent:c[3]||(c[3]=p=>i("onElementUpdatedEvent",p)),onOnElementRemoved:c[4]||(c[4]=p=>i("onElementRemoved",p))},null,8,["deps","theme","element","context","path","selectedElementPath"]))),128))],12,Cae)])])],4)],2)),[[j(dc),m=>n(m.width)]])}}),Fae=Ne(gae,[["__scopeId","data-v-6a95f7ac"]]),yae=Me({__name:"MultipleColumnBodyRow",props:{deps:{},theme:{},multipleColumnBodyRow:{},path:{},selectedElementPath:{},context:{type:[String,Number,Boolean,Array,Object]},rowWidth:{}},emits:["onElementClicked","onImageSizeAdjusted","onImageOriginalSizeAdjusted","onColumnWidthAdjusted","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){oa(r=>({v312c7b2e:n.value}));const o=t,i=e,n=Z(()=>Bo({paddingExpression:o.multipleColumnBodyRow.ColumnSpacerSize,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings})+"px");return(r,s)=>(W(),J("table",{class:"multiple-column-container",style:fe([[j(Wc)({borderCollapse:o.multipleColumnBodyRow.BorderCollapse}),j(as)({border:o.multipleColumnBodyRow.Border,themeColors:o.theme.Colors}),j(Cr)({borderRadius:o.multipleColumnBodyRow.BorderRadius,borderRadiusCard:o.theme.BorderRadiusCard,bodyBorderRadius:o.theme.BorderRadius,borderButtonRadius:o.theme.BorderRadiusButton,borderBannerRadius:o.theme.BorderRadiusBanner}),{backgroundColor:j(zn)({color:o.multipleColumnBodyRow.BgColor,themeColors:o.theme.Colors})}],{"border-spacing":"0",width:"100%",margin:"0 auto"}]),width:"100%"},[V("tbody",null,[V("tr",null,[V("td",{class:"multiple-column-container__inner",style:fe([{"font-size":"0"},[j(SG)({containerAlign:o.multipleColumnBodyRow.ContainerAlign}),j(Oc)({paddings:o.multipleColumnBodyRow.Paddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings}),o.multipleColumnBodyRow.DirectionRtl?{direction:"rtl"}:{direction:"ltr"}]])},[(W(!0),J(Ge,null,Yt(o.multipleColumnBodyRow.Columns,(a,u)=>(W(),Pe(Fae,{key:u,deps:o.deps.multipleColumnDeps,theme:o.theme,multipleColumn:a,path:[...o.path,"Columns",u],selectedElementPath:o.selectedElementPath,context:o.context,containerWidth:o.rowWidth-j(Bo)({paddingExpression:o.multipleColumnBodyRow.Paddings.Left,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings})-j(Bo)({paddingExpression:o.multipleColumnBodyRow.Paddings.Right,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings})-o.multipleColumnBodyRow.Border.Left.Width-o.multipleColumnBodyRow.Border.Right.Width,style:fe(j(Nf)({numberColumnsInLine:o.multipleColumnBodyRow.Columns.length,index:u,paddingSize:j(Bo)({paddingExpression:o.multipleColumnBodyRow.ColumnSpacerSize,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings}),directionRtl:o.multipleColumnBodyRow.DirectionRtl})),class:Ve({"is-last-tablet-line":u==o.multipleColumnBodyRow.Columns.length-1,"is-last-mobile-line":u==o.multipleColumnBodyRow.Columns.length-1}),onOnElementClicked:s[0]||(s[0]=c=>i("onElementClicked",c)),onOnColumnWidthAdjusted:s[1]||(s[1]=c=>i("onColumnWidthAdjusted",c)),onOnImageSizeAdjusted:s[2]||(s[2]=c=>i("onImageSizeAdjusted",c)),onOnImageOriginalSizeAdjusted:s[3]||(s[3]=c=>i("onImageOriginalSizeAdjusted",c)),onOnElementUpdatedEvent:s[4]||(s[4]=c=>i("onElementUpdatedEvent",c)),onOnElementRemoved:s[5]||(s[5]=c=>i("onElementRemoved",c))},null,8,["deps","theme","multipleColumn","path","selectedElementPath","context","containerWidth","style","class"]))),128))],4)])])],4))}}),Tae=Ne(yae,[["__scopeId","data-v-b8b45d97"]]),BA=Me({__name:"EmailComponentBodyRow",props:{deps:{},theme:{},emailComponentBodyRow:{},path:{},selectedElementPath:{},context:{},rowWidth:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onColumnWidthAdjusted","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){const o=t,i={multipleColumns:r=>r!==void 0,iteratedColumns:r=>r!==void 0,iteratedBodyRow:r=>r!==void 0},n=e;return(r,s)=>(W(),J("div",null,[i.multipleColumns(o.emailComponentBodyRow.MultipleColumnBodyRow)?(W(),Pe(Tae,{key:0,deps:o.deps.multipleColumnBodyRowDeps,theme:o.theme,multipleColumnBodyRow:o.emailComponentBodyRow.MultipleColumnBodyRow,path:[...o.path,"MultipleColumnBodyRow"],selectedElementPath:o.selectedElementPath,context:t.context,rowWidth:o.rowWidth,onOnColumnWidthAdjusted:s[0]||(s[0]=a=>n("onColumnWidthAdjusted",a)),onOnImageOriginalSizeAdjusted:s[1]||(s[1]=a=>n("onImageOriginalSizeAdjusted",a)),onOnImageSizeAdjusted:s[2]||(s[2]=a=>n("onImageSizeAdjusted",a)),onOnElementClicked:s[3]||(s[3]=a=>n("onElementClicked",a)),onOnElementUpdatedEvent:s[4]||(s[4]=a=>n("onElementUpdatedEvent",a)),onOnElementRemoved:s[5]||(s[5]=a=>n("onElementRemoved",a))},null,8,["deps","theme","multipleColumnBodyRow","path","selectedElementPath","context","rowWidth"])):xe("",!0),i.iteratedColumns(o.emailComponentBodyRow.IteratedColumnBodyRow)?(W(),Pe(nae,{key:1,deps:o.deps.iteratedColumnBodyRowDeps,theme:o.theme,iteratedColumnBodyRow:o.emailComponentBodyRow.IteratedColumnBodyRow,path:[...o.path,"IteratedColumnBodyRow"],selectedElementPath:o.selectedElementPath,context:t.context,rowWidth:o.rowWidth,onOnElementClicked:s[6]||(s[6]=a=>n("onElementClicked",a)),onOnImageOriginalSizeAdjusted:s[7]||(s[7]=a=>n("onImageOriginalSizeAdjusted",a)),onOnImageSizeAdjusted:s[8]||(s[8]=a=>n("onImageSizeAdjusted",a)),onOnElementUpdatedEvent:s[9]||(s[9]=a=>n("onElementUpdatedEvent",a)),onOnElementRemoved:s[10]||(s[10]=a=>n("onElementRemoved",a))},null,8,["deps","theme","iteratedColumnBodyRow","path","selectedElementPath","context","rowWidth"])):xe("",!0),i.iteratedBodyRow(o.emailComponentBodyRow.IteratedBodyRow)?(W(),Pe(sae,{key:2,deps:{iteratedColumnBodyRowDeps:o.deps.iteratedColumnBodyRowDeps,multipleColumnBodyRowDeps:o.deps.multipleColumnBodyRowDeps,listExpressionEvaluator:o.deps.listExpressionEvaluator},theme:o.theme,iteratedBodyRow:o.emailComponentBodyRow.IteratedBodyRow,path:[...o.path,"IteratedBodyRow"],selectedElementPath:o.selectedElementPath,context:t.context,containerWidth:o.rowWidth,onOnElementClicked:s[11]||(s[11]=a=>n("onElementClicked",a)),onOnImageOriginalSizeAdjusted:s[12]||(s[12]=a=>n("onImageOriginalSizeAdjusted",a)),onOnImageSizeAdjusted:s[13]||(s[13]=a=>n("onImageSizeAdjusted",a)),onOnElementUpdatedEvent:s[14]||(s[14]=a=>n("onElementUpdatedEvent",a)),onOnElementRemoved:s[15]||(s[15]=a=>n("onElementRemoved",a))},null,8,["deps","theme","iteratedBodyRow","path","selectedElementPath","context","containerWidth"])):xe("",!0)]))}}),Sae={},Bae={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Vae(t,e){return W(),J("svg",Bae,[...e[0]||(e[0]=[V("path",{d:"M6.99967 13.6663C3.31777 13.6663 0.333008 10.6815 0.333008 6.99967C0.333008 3.31777 3.31777 0.333008 6.99967 0.333008C10.6815 0.333008 13.6663 3.31777 13.6663 6.99967C13.6663 10.6815 10.6815 13.6663 6.99967 13.6663ZM6.99967 12.333C9.94521 12.333 12.333 9.94521 12.333 6.99967C12.333 4.05415 9.94521 1.66634 6.99967 1.66634C4.05415 1.66634 1.66634 4.05415 1.66634 6.99967C1.66634 9.94521 4.05415 12.333 6.99967 12.333ZM6.33301 3.66634H7.66634V4.99967H6.33301V3.66634ZM6.33301 6.33301H7.66634V10.333H6.33301V6.33301Z",fill:"var(--gray-500)"},null,-1)])])}const Rae=Ne(Sae,[["render",Vae]]),Dae={key:0},xae={key:0,class:"is-required-notification"},bae={class:"bootstrap-styles w-100 d-flex justify-content-center gap-5"},Lae=Me({__name:"EmailComponent",props:{deps:{},theme:{},emailComponent:{},path:{},selectedElementPath:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onColumnWidthAdjusted","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){const o=t,i=xt({context:{},ifResult:!o.emailComponent.ContextBuilderExpression,isLoaded:!1}),n={emptyEmailComponentText:Le("emailTemplate.emailComponent.emptyEmailComponentText"),emptyEmailComponentTooltip:Le("emailTemplate.emailComponent.emptyEmailComponentTooltip"),requiredComponentNotification:Le("emailTemplate.emailComponent.requiredComponentNotification")},r=a=>{i.isLoaded=!1,o.deps.dataStructExpressionEvaluator({dataStructBuilderExpression:a,context:{}}).then(u=>{(o.emailComponent.IfExpression?o.deps.boolExpressionEvaluatorDelegate({boolExpression:o.emailComponent.IfExpression,context:u}):Promise.resolve(!0)).then(c=>{i.context=u,i.ifResult=c,i.isLoaded=!0})})};Rt(()=>o.emailComponent.ContextBuilderExpression,a=>{a&&r(a)});const s=e;return o.emailComponent.ContextBuilderExpression?r(o.emailComponent.ContextBuilderExpression):i.isLoaded=!0,(a,u)=>i.isLoaded?(W(),J("div",Dae,[o.emailComponent.IsRequired?(W(),J("div",xae,[V("i",null,[ue(Rae)]),V("span",null," "+Lt(n.requiredComponentNotification),1)])):xe("",!0),i.ifResult?(W(),J("table",{key:1,style:fe([[{backgroundColor:j(zn)({color:o.emailComponent.InnerBgColor,themeColors:o.theme.Colors})},j(Cr)({borderRadius:o.emailComponent.BorderRadius,borderRadiusCard:o.theme.BorderRadiusCard,bodyBorderRadius:o.theme.BorderRadius,borderButtonRadius:o.theme.BorderRadiusButton,borderBannerRadius:o.theme.BorderRadiusBanner}),{maxWidth:o.theme.BodyWidth+"px"}],{"border-spacing":"0","border-collapse":"collapse",width:"100%",margin:"0 auto"}])},[V("tbody",null,[V("tr",null,[V("td",{class:"row__inner",style:fe([j(Sx)({paddings:o.emailComponent.Paddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings,fullWidth:o.emailComponent.FullWidth})])},[(W(!0),J(Ge,null,Yt(o.emailComponent.BodyRowList,(c,m)=>(W(),Pe(BA,{key:m,deps:o.deps.emailComponentBodyRowDeps,theme:o.theme,emailComponentBodyRow:c,context:i.context,rowWidth:o.emailComponent.FullWidth?o.theme.BodyWidth:o.theme.BodyWidth-o.theme.BodyPaddings.Left-o.theme.BodyPaddings.Right,path:[...o.path,"BodyRowList",m],selectedElementPath:o.selectedElementPath,onOnElementClicked:u[0]||(u[0]=f=>s("onElementClicked",f)),onOnImageSizeAdjusted:u[1]||(u[1]=f=>s("onImageSizeAdjusted",f)),onOnImageOriginalSizeAdjusted:u[2]||(u[2]=f=>s("onImageOriginalSizeAdjusted",f)),onOnColumnWidthAdjusted:u[3]||(u[3]=f=>s("onColumnWidthAdjusted",f)),onOnElementUpdatedEvent:u[4]||(u[4]=f=>s("onElementUpdatedEvent",f)),onOnElementRemoved:u[5]||(u[5]=f=>s("onElementRemoved",f))},null,8,["deps","theme","emailComponentBodyRow","context","rowWidth","path","selectedElementPath"]))),128))],4)])])],4)):(W(),J("div",{key:2,class:Ve(["empty-email-component",{"is-required-component__paddings":o.emailComponent.IsRequired}])},[mu(Lt(n.emptyEmailComponentText)+" ",1),ct((W(),J("i",null,[...u[6]||(u[6]=[V("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[V("path",{d:"M6.99967 13.6663C3.31777 13.6663 0.333008 10.6815 0.333008 6.99967C0.333008 3.31777 3.31777 0.333008 6.99967 0.333008C10.6815 0.333008 13.6663 3.31777 13.6663 6.99967C13.6663 10.6815 10.6815 13.6663 6.99967 13.6663ZM6.99967 12.333C9.94521 12.333 12.333 9.94521 12.333 6.99967C12.333 4.05415 9.94521 1.66634 6.99967 1.66634C4.05415 1.66634 1.66634 4.05415 1.66634 6.99967C1.66634 9.94521 4.05415 12.333 6.99967 12.333ZM6.33301 3.66634H7.66634V4.99967H6.33301V3.66634ZM6.33301 6.33301H7.66634V10.333H6.33301V6.33301Z",fill:"var(--gray-500)"})],-1)])])),[[j(po),{placement:"top",title:n.emptyEmailComponentTooltip}]])],2))])):(W(),J("div",{key:1,class:"bootstrap-styles w-100",style:fe([j(Sx)({paddings:o.emailComponent.Paddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings,fullWidth:o.emailComponent.FullWidth}),{backgroundColor:j(zn)({color:o.emailComponent.InnerBgColor,themeColors:o.theme.Colors})||"transparent"}])},[ue(j(kD),{type:"text"}),V("div",bae,[(W(),J(Ge,null,Yt(3,c=>ue(j(kD),{key:c,type:"image, text, text, text, button",style:{width:"100%"}})),64))])],4))}}),VA=Ne(Lae,[["__scopeId","data-v-2533c843"]]),Eae={class:"scale-to-width-fit-component",style:{display:"inline-block","transform-origin":"left top"}},RA=Me({__name:"ScaleToWidthFit",emits:["scaledElement"],setup(t,{emit:e}){const o=e;return(i,n)=>ct((W(),J("div",Eae,[qf(i.$slots,"default")])),[[j(dc),({width:r})=>{i.$el.style.transform=`scale(${i.$el.parentElement.clientWidth/r}`,o("scaledElement",i.$el)}]])}}),vae={class:"email-template-preview__inner-padding scrollable"},Nae={class:"emailTemplate-border-top"},Pae={class:"emailTemplate-border-bottom"},_ae=Me({__name:"EmailTemplatePreviewModalWindow",props:{template:{},deps:{}},emits:["favoriteTemplateSelected","close"],setup(t,{emit:e}){const o=t,i=r=>{const s=r.parentElement;s&&(s.style.height=r.getBoundingClientRect().height+"px")},n=e;return(r,s)=>(W(),Pe(gT,{headerText:j(Le)("favoritesTemplateList.emailTemplatePreview.title"),class:"email-component__preview-modal-window",onClose:s[3]||(s[3]=()=>n("close"))},{body:ur(()=>[V("div",{style:fe({backgroundColor:t.template.Theme.Colors.EmailBackgroundColor})},[ue(RA,{onScaledElement:s[0]||(s[0]=a=>i(a))},{default:ur(()=>[V("div",vae,[V("div",{class:"bootstrap-styles pe-none email-template-preview",style:fe({fontFamily:o.template.Theme.FontFamily,width:t.template.Theme.BodyWidth+"px"})},[V("div",{class:"webkit emailTemplate--desktop",style:fe({borderTopLeftRadius:o.template.Theme.BorderRadius.TopLeft+"px",borderTopRightRadius:o.template.Theme.BorderRadius.TopRight+"px",borderBottomLeftRadius:o.template.Theme.BorderRadius.BottomLeft+"px",borderBottomRightRadius:o.template.Theme.BorderRadius.BottomRight+"px"})},[V("div",Nae,[V("table",{style:fe([[{maxWidth:o.template.Theme.BodyWidth+"px",width:"100%"}],{"border-spacing":"0"}])},[V("tbody",null,[V("tr",null,[V("td",{style:fe([{paddingTop:o.template.Theme.BodyPaddings.Top+"px"},{"font-size":"0","line-height":"0"}])}," ",4)])])],4)]),(W(!0),J(Ge,null,Yt(o.template.Components,(a,u)=>(W(),J("div",{key:u},[ue(VA,{deps:t.deps.emailComponentDeps,theme:o.template.Theme,emailComponent:a,path:[],selectedElementPath:[]},null,8,["deps","theme","emailComponent"])]))),128)),V("div",Pae,[V("table",{style:fe([[{maxWidth:o.template.Theme.BodyWidth+"px",width:"100%"}],{"border-spacing":"0"}])},[V("tbody",null,[V("tr",null,[V("td",{style:fe([{paddingBottom:o.template.Theme.BodyPaddings.Bottom+"px"},{"font-size":"0","line-height":"0"}])}," ",4)])])],4)])],4)],4)])]),_:1})],4)]),"footer-actions":ur(()=>[V("button",{type:"button",class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:s[1]||(s[1]=ci(()=>n("close"),["stop"]))},Lt(j(Le)("favoritesTemplateList.emailTemplatePreview.cancelButton")),1),V("button",{type:"submit",class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-color-selected text-white cursor-pointer button__hover-blue-400",onClick:s[2]||(s[2]=()=>{n("favoriteTemplateSelected")})},Lt(j(Le)("favoritesTemplateList.emailTemplatePreview.applyButton")),1)]),_:1},8,["headerText"]))}}),Aae=Ne(_ae,[["__scopeId","data-v-3736862d"]]),Iae={class:"favorite-template-select__item-wrapper"},wae={class:"favorite-template-select__item bootstrap-styles border rounded-3"},kae={class:"email-template-preview__inner-padding scrollable"},Wae={class:"emailTemplate-border-top"},Oae={class:"emailTemplate-border-bottom"},Mae=Me({__name:"EmailTemplatePreviewTile",props:{deps:{},template:{},templateName:{}},emits:["favoriteTemplateSelected"],setup(t,{emit:e}){oa(P=>({v68d22db6:s.value,v551c7530:a.value,v8797657a:r.value.Title.fontWeight,c20933a2:r.value.Title.fontFamily,v11f85772:r.value.Title.color,v3f9ba159:r.value.Title.textDecoration,caf3e4f4:r.value.Title.fontStyle,v5a517f8f:u.value,v1f8b191a:c.value,b7742c4e:r.value.Heading.fontWeight,f1e5fa76:r.value.Heading.fontFamily,v12879c1e:r.value.Heading.color,v55c102ef:r.value.Heading.textDecoration,v26238630:r.value.Heading.fontStyle,v7d63f1d6:m.value,v8cf851c0:f.value,ce3cbe26:r.value.SubHeading.fontWeight,v7ba8b9d9:r.value.SubHeading.fontFamily,v12f14346:r.value.SubHeading.color,ce79dffa:r.value.SubHeading.textDecoration,v8b2ac6c8:r.value.SubHeading.fontStyle,v40374f55:p.value,v233c0f60:C.value,v0108a0da:r.value.LargeText.fontWeight,v3b7a6f02:r.value.LargeText.fontFamily,v54c78012:r.value.LargeText.color,v1e6d48ae:r.value.LargeText.textDecoration,v5aa12136:r.value.LargeText.fontStyle,v1822b027:F.value,a45af89c:y.value,v2e68869b:r.value.NormalText.fontWeight,v112f9f87:r.value.NormalText.fontFamily,v7a3723ef:r.value.NormalText.color,c039229e:r.value.NormalText.textDecoration,a28d6da4:r.value.NormalText.fontStyle,cfba4654:T.value,v2e7a40a1:B.value,v7f0ca032:r.value.DescriptionText.fontWeight,v61d3b91e:r.value.DescriptionText.fontFamily,v749127f8:r.value.DescriptionText.color,v6722e4c8:r.value.DescriptionText.textDecoration,v24f020b7:r.value.DescriptionText.fontStyle,v3d2ad5ad:v.value,v9d314090:D.value,v7b3d3d15:r.value.Link.fontWeight,v5e045601:r.value.Link.fontFamily,v6694c935:r.value.Link.color,v6e24582b:r.value.Link.textDecoration,v3d96db74:r.value.Link.fontStyle,v4c310fb6:R.value,v11854430:N.value,v3fea8746:r.value.Button.fontWeight,v7a5c556e:r.value.Button.fontFamily,v2dd24626:r.value.Button.color,b3de191a:r.value.Button.textDecoration,v760f59a8:r.value.Button.fontStyle}));const o=t,i=xt({isPreviewComponentModalWindowShown:!1}),n=P=>{const U=P.parentElement;U&&(U.style.height=P.getBoundingClientRect().height+"px")},r=Z(()=>{const{FontFamily:P,FontSettingsPresets:U,Colors:k}=o.template.Theme;return{Title:Oi({fontFamily:P,themeFontSettings:U.Title,themeColor:k.TitleColor}),Heading:Oi({fontFamily:P,themeFontSettings:U.Heading,themeColor:k.HeadingColor}),SubHeading:Oi({fontFamily:P,themeFontSettings:U.SubHeading,themeColor:k.SubHeadingColor}),LargeText:Oi({fontFamily:P,themeFontSettings:U.LargeText,themeColor:k.LargeTextColor}),NormalText:Oi({fontFamily:P,themeFontSettings:U.NormalText,themeColor:k.NormalTextColor}),DescriptionText:Oi({fontFamily:P,themeFontSettings:U.DescriptionText,themeColor:k.DescriptionTextColor}),Link:Oi({fontFamily:P,themeFontSettings:U.Link,themeColor:k.LinkColor}),Button:Oi({fontFamily:P,themeFontSettings:U.Button,themeColor:k.ButtonTextColor})}}),s=Z(()=>r.value.Title.fontSize+"px"),a=Z(()=>r.value.Title.lineHeight+"px"),u=Z(()=>r.value.Heading.fontSize+"px"),c=Z(()=>r.value.Heading.lineHeight+"px"),m=Z(()=>r.value.SubHeading.fontSize+"px"),f=Z(()=>r.value.SubHeading.lineHeight+"px"),p=Z(()=>r.value.LargeText.fontSize+"px"),C=Z(()=>r.value.LargeText.lineHeight+"px"),F=Z(()=>r.value.NormalText.fontSize+"px"),y=Z(()=>r.value.NormalText.lineHeight+"px"),T=Z(()=>r.value.DescriptionText.fontSize+"px"),B=Z(()=>r.value.DescriptionText.lineHeight+"px"),v=Z(()=>r.value.Link.fontSize+"px"),D=Z(()=>r.value.Link.lineHeight+"px"),R=Z(()=>r.value.Button.fontSize+"px"),N=Z(()=>r.value.Button.lineHeight+"px"),_=e;return(P,U)=>(W(),J("div",Iae,[V("div",wae,[V("div",{class:"bootstrap-styles h-100",style:fe({backgroundColor:o.template.Theme.Colors.EmailBackgroundColor}),onClick:U[1]||(U[1]=()=>{i.isPreviewComponentModalWindowShown=!0})},[ue(RA,{onScaledElement:U[0]||(U[0]=k=>n(k))},{default:ur(()=>[V("div",kae,[V("div",{class:"bootstrap-styles pe-none email-template-preview",style:fe({fontFamily:o.template.Theme.FontFamily,width:t.template.Theme.BodyWidth+"px"})},[V("div",{class:"webkit emailTemplate--desktop",style:fe({backgroundColor:o.template.Theme.Colors.BodyColor,borderTopLeftRadius:o.template.Theme.BorderRadius.TopLeft+"px",borderTopRightRadius:o.template.Theme.BorderRadius.TopRight+"px",borderBottomLeftRadius:o.template.Theme.BorderRadius.BottomLeft+"px",borderBottomRightRadius:o.template.Theme.BorderRadius.BottomRight+"px"})},[V("div",Wae,[V("table",{style:fe([[{maxWidth:o.template.Theme.BodyWidth+"px",width:"100%"}],{"border-spacing":"0"}])},[V("tbody",null,[V("tr",null,[V("td",{style:fe([{paddingTop:o.template.Theme.BodyPaddings.Top+"px"},{"font-size":"0","line-height":"0"}])}," ",4)])])],4)]),(W(!0),J(Ge,null,Yt(o.template.Components,(k,de)=>(W(),J("div",{key:de},[ue(VA,{deps:o.deps.emailComponentDeps,theme:o.template.Theme,emailComponent:k,path:[],selectedElementPath:[]},null,8,["deps","theme","emailComponent"])]))),128)),V("div",Oae,[V("table",{style:fe([[{maxWidth:o.template.Theme.BodyWidth+"px",width:"100%"}],{"border-spacing":"0"}])},[V("tbody",null,[V("tr",null,[V("td",{style:fe([{paddingBottom:o.template.Theme.BodyPaddings.Bottom+"px"},{"font-size":"0","line-height":"0"}])}," ",4)])])],4)])],4)],4)])]),_:1})],4),(W(),Pe(Fy,{to:"#app"},[i.isPreviewComponentModalWindowShown?(W(),Pe(Aae,{key:0,template:o.template,deps:o.deps.emailTemplatePreviewModalWindowDeps,onClose:U[2]||(U[2]=()=>i.isPreviewComponentModalWindowShown=!1),onFavoriteTemplateSelected:U[3]||(U[3]=()=>_("favoriteTemplateSelected"))},null,8,["template","deps"])):xe("",!0)]))]),V("div",{class:"bootstrap-styles favorite-template__name mt-2",onClick:U[4]||(U[4]=()=>{i.isPreviewComponentModalWindowShown=!0})},Lt(o.templateName),1)]))}}),Hae=Ne(Mae,[["__scopeId","data-v-605f0f6b"]]),$ae=t=>Me((e,o)=>()=>Gn(Hae,{template:t.template,templateName:t.templateName,deps:t.emailTemplatePreviewTileDeps,onFavoriteTemplateSelected:t.onFavoriteTemplateSelected})),zae=t=>({elementsDeps:t.elementsDeps}),Uae=t=>({elementsDeps:t.elementsDeps}),jae=t=>({elementsDeps:t.elementsDeps}),Gae=t=>({iteratedColumnN21Deps:Uae({elementsDeps:t.elementsDeps}),iteratedColumnN22Deps:jae({elementsDeps:t.elementsDeps})}),Kae=t=>({iteratedColumnDeps:zae({elementsDeps:t.elementsDeps}),iteratedColumnVariantDeps:Gae({elementsDeps:t.elementsDeps}),listExpressionEvaluator:t.listExpressionEvaluator}),qae=t=>({elementsDeps:t.elementsDeps}),Yae=t=>({multipleColumnDeps:qae({elementsDeps:t.elementsDeps})}),Jae=t=>({iteratedColumnBodyRowDeps:Kae({elementsDeps:t.elementsDeps,listExpressionEvaluator:t.listExpressionEvaluator}),multipleColumnBodyRowDeps:Yae({elementsDeps:t.elementsDeps}),listExpressionEvaluator:t.listExpressionEvaluator}),DA=t=>({emailComponentBodyRowDeps:Jae({elementsDeps:t.elementsDeps,listExpressionEvaluator:t.listExpressionEvaluator}),boolExpressionEvaluatorDelegate:t.boolExpressionEvaluator,dataStructExpressionEvaluator:t.dataStructExpressionEvaluator}),Zae=t=>({expressionEvaluator:t.expressionEvaluator}),Xae=t=>({stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin}),Qae=t=>({variableSelectorDeps:Xae({stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin})}),ele=t=>({richTextToolbarDeps:Qae({stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin})}),xA=t=>({richTextDeps:ele({stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin}),listExpressionEvaluator:t.listExpressionEvaluator,numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator,expressionVueDeps:Zae({expressionEvaluator:t.expressionEvaluator}),boolExpressionEvaluator:t.boolExpressionEvaluator}),tle=t=>Ao(t),ole=t=>Ao(t),ile=t=>({predicate:e,context:o})=>Promise.all([t.numberExpressionEvaluator({numberExpression:e.Left,context:o}),t.numberExpressionEvaluator({numberExpression:e.Right,context:o})]).then(([i,n])=>i===n),nle=t=>Ao(t),rle=t=>({predicate:e,context:o})=>Promise.all([t.numberExpressionEvaluator({numberExpression:e.Left,context:o}),t.numberExpressionEvaluator({numberExpression:e.Right,context:o})]).then(([i,n])=>i<n),sle=t=>({predicate:e,context:o})=>Promise.all([t.numberExpressionEvaluator({numberExpression:e.Left,context:o}),t.numberExpressionEvaluator({numberExpression:e.Right,context:o})]).then(([i,n])=>i>n),ale=t=>{const e=ile({numberExpressionEvaluator:t.numberExpressionEvaluator}),o=sle({numberExpressionEvaluator:t.numberExpressionEvaluator}),i=rle({numberExpressionEvaluator:t.numberExpressionEvaluator});return({numberPredicate:n,context:r})=>nle(n).Match({Equal:s=>e({predicate:s,context:r}),GreaterThan:s=>o({predicate:s,context:r}),LessThan:s=>i({predicate:s,context:r})})},lle=t=>({predicate:e,context:o})=>Promise.all([t.stringExpressionEvaluator({stringExpression:e.Left,context:o}),t.stringExpressionEvaluator({stringExpression:e.Right,context:o})]).then(([i,n])=>i===n),ule=t=>Ao(t),dle=t=>({predicate:e,context:o})=>Promise.all([t.stringExpressionEvaluator({stringExpression:e.Left,context:o}),t.stringExpressionEvaluator({stringExpression:e.Contains,context:o})]).then(([i,n])=>i.includes(n)),cle=t=>{const e=lle({stringExpressionEvaluator:t.stringExpressionEvaluator}),o=dle({stringExpressionEvaluator:t.stringExpressionEvaluator});return({stringPredicate:i,context:n})=>ule(i).Match({Contains:r=>o({predicate:r,context:n}),Equal:r=>e({predicate:r,context:n})})},mle=t=>{const e=ale({numberExpressionEvaluator:t.numberExpressionEvaluator}),o=cle({stringExpressionEvaluator:t.stringExpressionEvaluator});return({predicate:i,context:n})=>ole(i).Match({NumberPredicate:r=>e({numberPredicate:r,context:n}),StringPredicate:r=>o({stringPredicate:r,context:n})})},bA=t=>{const e=mle({numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator}),o=({boolExpression:i,context:n})=>tle(i).Match({AndExpression:r=>Promise.all(r.Expressions.map(s=>o({boolExpression:s,context:n}))).then(s=>s.every(a=>a)),OrExpression:r=>Promise.all(r.Expressions.map(s=>o({boolExpression:s,context:n}))).then(s=>s.some(a=>a)),NotExpression:async r=>!await o({boolExpression:r.Expression,context:n}),Predicate:r=>e({predicate:r,context:n})});return o},fle=t=>{const e=bA({numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator});return{emailComponentDeps:DA({elementsDeps:xA({listExpressionEvaluator:t.listExpressionEvaluator,numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator,expressionEvaluator:t.expressionEvaluator,boolExpressionEvaluator:e,stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin}),listExpressionEvaluator:t.listExpressionEvaluator,boolExpressionEvaluator:e,dataStructExpressionEvaluator:t.dataStructExpressionEvaluator})}},hle=t=>{const e=bA({numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator});return{emailComponentDeps:DA({elementsDeps:xA({listExpressionEvaluator:t.listExpressionEvaluator,numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator,expressionEvaluator:t.expressionEvaluator,boolExpressionEvaluator:e,stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin}),listExpressionEvaluator:t.listExpressionEvaluator,boolExpressionEvaluator:e,dataStructExpressionEvaluator:t.dataStructExpressionEvaluator}),emailTemplatePreviewModalWindowDeps:fle({listExpressionEvaluator:t.listExpressionEvaluator,dataStructExpressionEvaluator:t.dataStructExpressionEvaluator,numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator,expressionEvaluator:t.expressionEvaluator,stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin})}},ple=t=>{const e=document.createElement("form");e.method=t.method,e.action=t.action;for(const[o,i]of t.formData.entries()){if(i instanceof File)continue;const n=document.createElement("input");n.setAttribute("type","text"),n.setAttribute("name",o),n.setAttribute("value",i),e.appendChild(n)}return e},Cle=t=>Ao(t),Vc=t=>({Match:e=>{switch(typeof t){case"string":return(e.String??e.defaultValue)(t);case"number":return(e.Number??e.defaultValue)(t);case"boolean":return(e.Boolean??e.defaultValue)(t);case"object":return gle(t)?(e.Array??e.defaultValue)(t):(e.Struct??e.defaultValue)(t);default:return vi(t)}}}),gle=t=>Array.isArray(t),Fle=Ao,Gc=(t,e)=>{let o=e;for(const i of t)o=Fle(i).Match({PropertyName:n=>Vc(o).Match({defaultValue:()=>{throw console.error("Property not found: "+n),new Error("Property not found: "+n)},Struct:r=>r[n]}),ArrayIndex:n=>Vc(o).Match({defaultValue:()=>{throw console.error("Array index out of bounds: "+n),new Error("Array index out of bounds: "+n)},Array:r=>r[n]})});return o},yle=(t,e)=>Vc(Gc(t,e)).Match({defaultValue:()=>{throw console.error("Value is not a list"),new Error("Value is not a list")},Array:o=>o}),Tle=t=>{const e=o=>Cle(o.listExpression).Match({ContextValueExpression:i=>Promise.resolve(yle(i.Path,o.context)),ChunkExpression:async i=>{const n=await e({listExpression:i.ListExpression,context:o.context});return n.slice(0,Math.floor(n.length/i.ChunkSize)*i.ChunkSize)},LimitExpression:async i=>(await e({listExpression:i.ListExpression,context:o.context})).slice(0,i.Limit),DataSource:i=>t.listExpressionDataSourceEvaluator(i),ConcatListExpressions:async i=>Promise.all(i.ListExpressions.map(n=>e({listExpression:n,context:o.context}))).then(n=>n.flat())});return e},Sle=t=>Ao(t),Ble=(t,e)=>Vc(Gc(t,e)).Match({defaultValue:()=>{throw console.error("Value is not a number"),new Error("Value is not a number")},Number:o=>o}),LA=t=>({Match:e=>{switch(typeof t){case"string":return(e.String??e.defaultValue)(t);case"number":return(e.Number??e.defaultValue)(t);case"boolean":return(e.Boolean??e.defaultValue)(t);case"object":return Vle(t)?(e.Array??e.defaultValue)(t):(e.Struct??e.defaultValue)(t);default:return e.defaultValue()}}}),Vle=t=>Array.isArray(t),Rle=t=>LA(Gc(t.path,t.context)).Match({defaultValue:()=>t.fallbackValue,Number:e=>e}),Dle=t=>{const e=o=>{const i=t.numberExpressionDataSourceEvaluator;return Sle(o.numberExpression).Match({ContextValueExpressionWithFallback:n=>Promise.resolve(Rle({fallbackValue:n.FallbackValue,path:n.Path,context:o.context})),ContextValueExpression:n=>Promise.resolve(Ble(n.Path,o.context)),ConstValueExpression:n=>Promise.resolve(n.Value),ListLengthExpression:async n=>t.listExpressionEvaluator({listExpression:n.ListExpression,context:o.context}).then(r=>r.length),DataSource:n=>i({numberExpressionDataSource:n,context:o.context}),RoundExpression:async n=>e({numberExpression:n.NumberExpression,context:o.context}).then(r=>{const s=Math.pow(10,n.Digits);return Math.round(r*s)/s}),TruncateExpression:async n=>e({numberExpression:n.NumberExpression,context:o.context}).then(r=>{const s=Math.pow(10,n.Precision);return Math.trunc(r*s)/s})})};return e},xle=(t,e)=>Vc(Gc(t,e)).Match({defaultValue:()=>{throw console.error("Value is not a string "+e+t),new Error("Value is not a string")},String:o=>o}),ble=t=>LA(Gc(t.path,t.context)).Match({defaultValue:()=>t.fallbackValue,String:e=>e}),Lle=t=>{const e=o=>{const i=t.stringExpressionDataSourceEvaluatorFactory(e);return q_(o.stringExpression).Match({ConcatStringExpressions:n=>Ale({concatStringExpressions:n,stringExpressionEvaluator:e,context:o.context}),ContextValueExpression:n=>Ele({contextValueExpression:n,context:o.context}),ContextValueExpressionWithFallback:n=>vle({contextValueExpressionWithFallback:n,context:o.context}),ConstValueExpression:n=>Ile({stringConstValueExpression:n}),TruncateValueExpression:n=>Nle({truncateValueExpression:n,context:o.context,stringExpressionEvaluator:e}),DataSource:n=>i({stringExpressionDataSource:n,context:o.context}),NumberToStringExpression:n=>_le({numberToStringExpression:n,context:o.context,numberExpressionEvaluator:t.numberExpressionEvaluator}),UnsubscribeUrlExpression:()=>Promise.resolve("#"),RecipientEmailAddressExpression:()=>Promise.resolve("RecipientEmailAddress")})};return e},Ele=t=>Promise.resolve(xle(t.contextValueExpression.Path,t.context)),vle=t=>Promise.resolve(ble({path:t.contextValueExpressionWithFallback.Path,context:t.context,fallbackValue:t.contextValueExpressionWithFallback.FallbackValue})),Nle=async t=>{const e=t.truncateValueExpression.MaxLength,o=await t.stringExpressionEvaluator({stringExpression:t.truncateValueExpression.StringExpression,context:t.context});return e<o.length?o.slice(0,t.truncateValueExpression.MaxLength)+t.truncateValueExpression.Tail:o},Ple=t=>{const e=t.value<0,o=Math.abs(t.value).toString();let[i,n]=o.split(".");if(!t.groupSizes||t.groupSizes.length===0)return(e?"-":"")+i+(n?t.decimalSeparator+n:"");let r="",s=i.length,a=0;for(;s>0;){const c=t.groupSizes[a]||t.groupSizes[t.groupSizes.length-1],m=i.slice(Math.max(0,s-c),s);r?r=m+t.groupSeparator+r:r=m,s-=c,a<t.groupSizes.length-1&&a++}let u=(e?"-":"")+r;return n&&(u+=t.decimalSeparator+n),u},_le=async t=>{const e=await t.numberExpressionEvaluator({numberExpression:t.numberToStringExpression.NumberExpression,context:t.context});if(t.numberToStringExpression.Format){const o=t.numberToStringExpression.Format;return Ple({value:e,decimalSeparator:o.DecimalSeparator,groupSeparator:o.GroupSeparator,groupSizes:o.GroupSizes})}return e.toString()},Ale=t=>Promise.all(t.concatStringExpressions.StringExpressions.map(e=>t.stringExpressionEvaluator({stringExpression:e,context:t.context}))).then(e=>e.join("")),Ile=t=>Promise.resolve(t.stringConstValueExpression.Value),wle=t=>async({context:e,expression:o})=>t.numberExpressionEvaluator({numberExpression:o.ProductId,context:e}).then(i=>"https://cdn.retailrocket.net/api/1.0/partner/"+t.partnerId+"/item/"+i+"/picture/?format=png&width="+o.ImageSize.Width+"&height="+o.ImageSize.Height+"&scale=both"),b1=t=>({dataStructBuilderExpression:e,context:o})=>Promise.all(Object.entries(e).map(async([i,n])=>({key:i,value:await t.expressionEvaluator({expression:n,context:o})}))).then(i=>Object.fromEntries(i.map(n=>[n.key,n.value]))),kle=t=>Ao(t),Wle=t=>{const e=({expression:o,context:i})=>{const n=t.dataStructBuilderExpressionEvaluatorFactory(e);return kle(o).Match({NumberExpression:r=>t.numberExpressionEvaluator({numberExpression:r,context:i}),StringExpression:r=>t.stringExpressionEvaluator({stringExpression:r,context:i}),ListExpression:r=>t.listExpressionEvaluator({listExpression:r,context:i}),RecordBuilderExpression:r=>n({dataStructBuilderExpression:r,context:i})})};return e},EA=t=>t.reduce((e,o)=>(e[o.name]=o.value,e),{}),vA=t=>Object.fromEntries(Object.entries(t).filter(([e,o])=>o!==void 0)),pl=t=>vA({InternalProductId:t.internalProductId,Name:t.name,Description:t.description,Price:t.price,OldPrice:t.oldPrice,PictureUrl:t.pictureUrl,Url:t.url,CategoryIds:[],Vendor:t.vendor,Params:EA(t.parameters),DiscountPercentage:t.discountPercentage}),Ole=async t=>(await t.getPopularProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(e=>pl(e)),Mle=Ao,_n=t=>Mle(t.stockSource).Match({CustomerStockId:()=>t.customerStockId,DefaultStoreStockId:()=>{},SpecificStockId:e=>e.Value}),Hle=Ao,NA=t=>vA({InternalProductId:t.internalId,Name:t.name,Description:t.description,Url:t.url,Price:t.price,OldPrice:t.oldPrice,PictureUrl:t.pictureUrl,CategoryIds:[],Vendor:t.vendor,Params:EA(t.parameters),DiscountPercentage:t.discountPercentage}),$le=async t=>(await t.getProductsByIDsHttpClient({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.products.map(e=>NA(e)),zle=async t=>(await t.getRelatedProducts({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.recommendations.map(e=>pl(e)),Ule=async t=>(await t.getAlternativeProductsHttpClient({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.recommendations.map(e=>pl(e)),jle=async t=>(await t.getPopularProductsInCategoriesHttpClient({body:{partnerId:t.partnerId,categoryIds:t.categoryIds.concat([]),stockId:t.stockId}})).body.recommendations.map(e=>pl(e)),Gle=async t=>(await t.getLatestProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(e=>pl(e)),Kle=async t=>(await t.getSaleByPopularProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(e=>pl(e)),qle=async t=>(await t.getSaleByLatestProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(e=>pl(e)),k0=async t=>(await t.getSampleProductsForPreviewHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.products.map(e=>NA(e)),Yle=t=>{let e={};return o=>Hle(o).Match({RepurchaseProductList:({StockSource:i})=>k0({partnerId:t.partnerId,stockId:_n({stockSource:i,customerStockId:t.customerStockId}),getSampleProductsForPreviewHttpClient:t.listExpressionDataSourceBffClient.postGetSampleProductsForPreview}),RelatedProductsForRepurchaseProductList:({StockSource:i})=>k0({partnerId:t.partnerId,stockId:_n({stockSource:i,customerStockId:t.customerStockId}),getSampleProductsForPreviewHttpClient:t.listExpressionDataSourceBffClient.postGetSampleProductsForPreview}),AlternativeProductsForRepurchaseProductList:({StockSource:i})=>k0({partnerId:t.partnerId,stockId:_n({stockSource:i,customerStockId:t.customerStockId}),getSampleProductsForPreviewHttpClient:t.listExpressionDataSourceBffClient.postGetSampleProductsForPreview}),ProductList:({ProductIds:i,StockSource:n})=>$le({partnerId:t.partnerId,productIDs:i,stockId:_n({stockSource:n,customerStockId:t.customerStockId}),productCache:e,getProductsByIDsHttpClient:t.listExpressionDataSourceBffClient.postGetProductsByIds}),RelatedProductsFor:({ProductIds:i,StockSource:n})=>zle({partnerId:t.partnerId,productIDs:i,stockId:_n({stockSource:n,customerStockId:t.customerStockId}),getRelatedProducts:t.listExpressionDataSourceBffClient.postGetRelatedRecommendations}),AlternativeProductsFor:({ProductIds:i,StockSource:n})=>Ule({partnerId:t.partnerId,productIDs:i,stockId:_n({stockSource:n,customerStockId:t.customerStockId}),getAlternativeProductsHttpClient:t.listExpressionDataSourceBffClient.postGetAlternativeRecommendations}),PopularProductsInCategories:({CategoryIds:i,StockSource:n})=>jle({partnerId:t.partnerId,categoryIds:i,stockId:_n({stockSource:n,customerStockId:t.customerStockId}),getPopularProductsInCategoriesHttpClient:t.listExpressionDataSourceBffClient.postGetPopularInCategoriesRecommendations}),Popular:({StockSource:i})=>Ole({partnerId:t.partnerId,stockId:_n({stockSource:i,customerStockId:t.customerStockId}),getPopularProductsHttpClient:t.listExpressionDataSourceBffClient.postGetPopularRecommendations}),Latest:({StockSource:i})=>Gle({partnerId:t.partnerId,stockId:_n({stockSource:i,customerStockId:t.customerStockId}),getLatestProductsHttpClient:t.listExpressionDataSourceBffClient.postGetLatestRecommendations}),SaleByPopular:({StockSource:i})=>Kle({partnerId:t.partnerId,stockId:_n({stockSource:i,customerStockId:t.customerStockId}),getSaleByPopularProductsHttpClient:t.listExpressionDataSourceBffClient.postGetSaleByPopularRecommendations}),SaleByLatest:({StockSource:i})=>qle({partnerId:t.partnerId,stockId:_n({stockSource:i,customerStockId:t.customerStockId}),getSaleByLatestProductsHttpClient:t.listExpressionDataSourceBffClient.postGetSaleByLatestRecommendations})})},Jle=Ao,Zle=t=>{const e=t.contactCustomData;return o=>Jle(o.stringExpressionDataSource).Match({StringFromContactCustomData:i=>Promise.resolve(e[i.FieldName]),StringFromContactCustomDataWithFallback:i=>Promise.resolve(i.FieldName in e&&typeof e[i.FieldName]=="string"?e[i.FieldName]:i.FallbackValue),ProductImageUrlBuilderExpression:i=>t.productImageUrlBuilderExpressionEvaluator({expression:i,context:o.context}),NextCouponFromBatch:()=>Promise.resolve("Coupon")})},Xle=()=>()=>Promise.resolve(0),Qle={Subject:"Enter the subject of your email",Preheader:"Specify what the reader can expect inside (announcements, discounts, etc.)",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Arial",Colors:{EmailBackgroundColor:"#E8ECF9",BodyColor:"#FFFFFF",PrimaryColor:"#9466C9",PrimaryTextColor:"#FFFFFF",SecondaryColor:"#cfb4ee",SecondaryTextColor:"#9466C9",CardBackgroundColor:"#FFFFFF",HeadingColor:"#000000",TitleColor:"#000000",SubHeadingColor:"#000000",LargeTextColor:"#000000",NormalTextColor:"#000000",DescriptionTextColor:"#494949",LinkColor:"#9466C9",ButtonTextColor:"#FFFFFF"},BorderRadius:{TopLeft:32,TopRight:32,BottomLeft:32,BottomRight:32},BorderRadiusCard:{TopLeft:20,TopRight:20,BottomLeft:20,BottomRight:20},BorderRadiusButton:{TopLeft:36,TopRight:36,BottomLeft:36,BottomRight:36},BorderRadiusBanner:{TopLeft:20,TopRight:20,BottomLeft:20,BottomRight:20},BodyPaddings:{Top:44,Right:34,Bottom:44,Left:34},ComponentPaddings:{Small:12,Medium:16,Large:20,Huge:36},ButtonPaddings:{TopBottom:15,LeftRight:40},FontSettingsPresets:{Title:{FontSize:40,LineHeight:44,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:20,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:18,LineHeight:22,IsBold:!0,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:20,LineHeight:28,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:14,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:13,LineHeight:18,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:14,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:15,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:110,AdjustedHeight:24,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logoDM.png"}},OriginalWidth:220,OriginalHeight:48,Alt:{ConstValueExpression:{Value:"logo"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{JustifyWidth:{WidthInPixels:532}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:464,AdjustedHeight:318,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%202578.png"}},OriginalWidth:928,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"BannerBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"BannerBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"BannerBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"BannerBorderRadiusBottomRight",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:636}}],Width:{WidthInPercents:{Value:1}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Center",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Scooters, balance bikes, rollerblades, and longboards!",TextStyle:{ThemeName:"Title",Style:{}}}},{HardBreakNode:{}},{HardBreakNode:{}},{TextNode:{Text:"Check out our wide selection of kids' models to help your children discover new experiences and enjoy an active lifestyle. Get ready for fun adventures on wheels!",TextStyle:{ThemeName:"LargeText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Open Catalog"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Heading",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:20,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Custom",CustomValue:{TopBottom:20,LeftRight:0}}}}],Width:{JustifyWidth:{WidthInPixels:532}}}]}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:1,ListExpression:{LimitExpression:{Limit:6,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedColumnBodyRow:{IndexName:"item",ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},NumberColumnsInLine:3,DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},IteratedColumn:{BorderCollapse:"Collapse",BgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{HeightContainer:{VerticalAlign:"Top",Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsLarge"},Left:{CustomValue:0}},Border:{Left:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Top:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Right:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Bottom:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0}},BackgroundColor:{Discriminator:"CardBackgroundColor",CustomValue:"#F6F6F6"},ContainerAlign:"Center",Width:{Percentage:{Value:100}},Elements:[{Image:{AdjustedWidth:164.875,AdjustedHeight:164.875,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:400,Height:400}}}},OriginalWidth:200,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:200}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:4,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Center",Style:{Discriminator:"NormalText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:45,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" $"}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" $"}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" $"}}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Buy"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}]}}],WidthInPercents:.3333}}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"BodyColor",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"BodyColor",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:44,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"A Fun Way to Stay Active",TextStyle:{ThemeName:"SubHeading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:180,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Open up a world of adventure and active living for your child with our kids' scooters and balance bikes. These durable and safe modes of transportation will help your child develop balance, coordination, and confidence. Available in a variety of bright colors and designs, our scooters and balance bikes make great companions for playtime and outdoor strolls.",TextStyle:{ThemeName:"DescriptionText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Open"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}},{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:44,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Study: The Impact of Color on Mood",TextStyle:{ThemeName:"SubHeading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:180,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Immerse your child in a world of adrenaline and freedom with our rollerblades and longboards designed for kids. Specifically crafted with safety and comfort in mind, these rides will let your children enjoy speed and freedom on streets and paths.",TextStyle:{ThemeName:"DescriptionText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Open"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{CustomValue:0}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"BodyColor",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:256,AdjustedHeight:285.34375,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/banner-girl.png"}},OriginalWidth:436,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:486}}],Width:{WidthInPercents:{Value:.5}}},{VerticalAlign:"Top",BgColor:{Discriminator:"BodyColor",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Introduce your child to a world of adventure and an active lifestyle with our kids' scooters and balance bikes. These sturdy and safe vehicles will help your child develop balance, coordination, and confidence. Available in a variety of bright colors and designs, our scooters and balance bikes make perfect companions for playtime and outdoor strolls.",TextStyle:{ThemeName:"DescriptionText",Style:{}}}}]}}]}}}],Width:{WidthInPercents:{Value:.5}}}]}}]}]},eue={Subject:"Enter the subject of your email",Preheader:"Specify what the reader can expect inside (announcements, discounts, etc.)",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Tahoma",Colors:{EmailBackgroundColor:"#000000",BodyColor:"#FFFFFF",PrimaryColor:"#000000",PrimaryTextColor:"#FFFFFF",SecondaryColor:"#d9d9d9",SecondaryTextColor:"#000000",CardBackgroundColor:"#FFFFFF",HeadingColor:"#000000",TitleColor:"#000000",SubHeadingColor:"#000000",LargeTextColor:"#000000",NormalTextColor:"#000000",DescriptionTextColor:"#494949",LinkColor:"#000000",ButtonTextColor:"#FFFFFF"},BorderRadius:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusCard:{TopLeft:8,TopRight:8,BottomLeft:8,BottomRight:8},BorderRadiusButton:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusBanner:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BodyPaddings:{Left:20,Right:20,Top:24,Bottom:24},ComponentPaddings:{Small:12,Medium:16,Large:20,Huge:40},ButtonPaddings:{TopBottom:16,LeftRight:50},FontSettingsPresets:{Title:{FontSize:40,LineHeight:44,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:18,LineHeight:23,IsBold:!0,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:18,LineHeight:22,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:12,LineHeight:15,IsBold:!1,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:12,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:14,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:12,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:110,AdjustedHeight:24,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logoNike.png"}},OriginalWidth:220,OriginalHeight:48,Alt:{ConstValueExpression:{Value:"logo"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:560,AdjustedHeight:691,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/banner-nike.png"}},OriginalWidth:1120,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"BannerBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"BannerBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"BannerBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"BannerBorderRadiusBottomRight",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:1382}}],Width:{WidthInPercents:{Value:1}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"YOUR SEASON OF BRILLIANCE",TextStyle:{ThemeName:"Heading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Get ready to shine bright this season with Nike's latest collection of athletic apparel and footwear. We believe that every moment is an opportunity to unleash your brilliance and achieve greatness. Whether you're hitting the track, the gym, or the court, we've got you covered with innovative and stylish gear that will elevate your performance to new heights.",TextStyle:{ThemeName:"LargeText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Left",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Shop Now"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Custom",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Tahoma",FontSize:32,LineHeight:32,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:3,ListExpression:{LimitExpression:{Limit:6,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:560}}}]}},{IteratedColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},NumberColumnsInLine:3,IndexName:"item",DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},IteratedColumn:{BorderCollapse:"Collapse",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Left",VerticalAlign:"Top",Elements:[{HeightContainer:{VerticalAlign:"Top",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{CustomValue:0}},Border:{Left:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#EEEEEE"}},Top:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#EEEEEE"}},Right:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#EEEEEE"}},Bottom:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#EEEEEE"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0}},BackgroundColor:{Discriminator:"CardBackgroundColor",CustomValue:"#F6F6F6"},ContainerAlign:"Center",Width:{Percentage:{Value:100}},Elements:[{Image:{AdjustedWidth:174.203125,AdjustedHeight:217.5625,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:348,Height:522}}}},OriginalWidth:1121,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:1400}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:2,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Center",Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:25,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Center",MinNumberOfLines:2,Style:{Discriminator:"DescriptionText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Description"}]}},MaxLength:35,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:"₽"}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:"₽"}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:"₽"}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Order"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}]}}],WidthInPercents:.3333}}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:46,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Introducing our Season of Brilliance collection",TextStyle:{ThemeName:"Heading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:122,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Designed to inspire and empower athletes like you to push boundaries and exceed expectations. From lightweight running shoes with responsive cushioning to sweat-wicking and breathable activewear that keeps you cool and comfortable, our products are engineered to help you perform at your best.",TextStyle:{ThemeName:"DescriptionText",Style:{LineHeight:18}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Read"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}},{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:46,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Nike community",TextStyle:{ThemeName:"Heading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:126,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"As a valued member of our Nike community, we want to celebrate your journey to greatness. Take advantage of exclusive offers and discounts available only to you. Whether you're a seasoned athlete or just starting your fitness journey, we're here to support you every step of the way.",TextStyle:{ThemeName:"DescriptionText",Style:{LineHeight:18}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Read"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{CustomValue:0}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:270,AdjustedHeight:270,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/banner-girl-nike.png"}},OriginalWidth:520,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:520}}],Width:{WidthInPercents:{Value:.5}}},{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Get ready to shine bright this season with Nike's latest collection of athletic apparel and footwear. We believe that every moment is an opportunity to unleash your brilliance and achieve greatness. Whether you're hitting the track, the gym, or the court, we've got you covered with innovative and stylish gear that will elevate your performance to new heights.",TextStyle:{ThemeName:"DescriptionText",Style:{LineHeight:18}}}}]}}]}}}],Width:{WidthInPercents:{Value:.5}}}]}}]}]},tue={Subject:"Enter the subject of your email",Preheader:"Specify what the reader can expect inside (announcements, discounts, etc.)",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Arial",Colors:{EmailBackgroundColor:"#EDEBE8",BodyColor:"#FFFFFF",PrimaryColor:"#23A767",PrimaryTextColor:"#FFFFFF",SecondaryColor:"#a9eacb",SecondaryTextColor:"#23A767",CardBackgroundColor:"#FFFFFF",HeadingColor:"#000000",TitleColor:"#000000",SubHeadingColor:"#000000",LargeTextColor:"#494949",NormalTextColor:"#494949",DescriptionTextColor:"#999999",LinkColor:"#23A767",ButtonTextColor:"#FFFFFF"},BorderRadius:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusCard:{TopLeft:12,TopRight:12,BottomLeft:12,BottomRight:12},BorderRadiusButton:{TopLeft:8,TopRight:8,BottomLeft:8,BottomRight:8},BorderRadiusBanner:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BodyPaddings:{Left:32,Right:32,Top:0,Bottom:0},ComponentPaddings:{Small:12,Medium:22,Large:40,Huge:40},ButtonPaddings:{TopBottom:12,LeftRight:34},FontSettingsPresets:{Title:{FontSize:32,LineHeight:32,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:16,LineHeight:25,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:13,LineHeight:15,IsBold:!1,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:10,LineHeight:13,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:12,LineHeight:12,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:12,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:110,AdjustedHeight:24,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logoPJ.png"}},OriginalWidth:220,OriginalHeight:48,Alt:{ConstValueExpression:{Value:"logo"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{JustifyWidth:{WidthInPixels:536}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:536,AdjustedHeight:356.625,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/banner%20(66a1f1d797004a9ee236c98b).png"}},OriginalWidth:1040,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"BannerBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"BannerBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"BannerBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"BannerBorderRadiusBottomRight",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:692}}],Width:{WidthInPercents:{Value:1}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Center",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"15% Discount on Pickup",TextStyle:{ThemeName:"Title",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{RichText:{ContentAlign:"Center",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"We’re excited to share some great news with our loyal customers! We’re running a special promotion that’s sure to delight all pizza lovers.",TextStyle:{ThemeName:"LargeText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"ORDER PIZZA"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"LargeText",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Custom",CustomValue:{TopBottom:10,LeftRight:44}}}}],Width:{JustifyWidth:{WidthInPixels:536}}}]}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:3,ListExpression:{LimitExpression:{Limit:3,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{CustomValue:0}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedColumnBodyRow:{IndexName:"item",ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},NumberColumnsInLine:3,DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},IteratedColumn:{BorderCollapse:"Separate",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Top:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Right:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Bottom:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{HeightContainer:{VerticalAlign:"Top",Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0}},BackgroundColor:{Discriminator:"CardBackgroundColor",CustomValue:"#F6F6F6"},ContainerAlign:"Center",Width:{Percentage:{Value:100}},Elements:[{Image:{AdjustedWidth:162.21875,AdjustedHeight:162.21875,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:326,Height:326}}}},OriginalWidth:163,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:163}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:3,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Center",Style:{Discriminator:"Heading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:45,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Center",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Center",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Center",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{Spacer:{Height:{CustomValue:16},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Add"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}]}}],WidthInPercents:.3333}}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:32,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Art History: Italian Pizza",TextStyle:{ThemeName:"SubHeading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:120,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Italian pizza has a long and fascinating history, beginning with its humble origins in Naples. This dish has become a symbol of Italian cuisine and quickly spread across the globe, winning the hearts of food lovers in all corners of the world.",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Open"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}},{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:32,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"The Secret of the Flavor: Our Special Sauce Blend",TextStyle:{ThemeName:"SubHeading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:120,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"The secret behind the amazing flavor of our pizza lies in our unique sauce blend. We've combined passion, craftsmanship, and the finest ingredients to create a true explosion of taste.",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Open"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:248,AdjustedHeight:248.46875,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%202578%20(1).png"}},OriginalWidth:521,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:522}}],Width:{WidthInPercents:{Value:.5}}},{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Our secret sauce recipe gives our pizza its unique taste and aroma. The rich texture of the tomato sauce, the well-balanced blend of spices, and the delicate combination of other secret ingredients make our pizza truly unforgettable. Every portion of sauce is carefully prepared and balanced to enhance the flavor of each topping and turn the pizza into a true culinary masterpiece.",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}}],Width:{WidthInPercents:{Value:.5}}}]}}]}]},oue={Subject:"Enter the subject of your email",Preheader:"Specify what the reader can expect inside (announcements, discounts, etc.)",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Arial",Colors:{EmailBackgroundColor:"#FFFFFF",BodyColor:"#FFFFFF",PrimaryColor:"#FDEE50",PrimaryTextColor:"#000000",SecondaryColor:"#000000",SecondaryTextColor:"#FDEE50",CardBackgroundColor:"#F6F6F6",HeadingColor:"#2F2F2F",TitleColor:"#2F2F2F",SubHeadingColor:"#2F2F2F",LargeTextColor:"#2F2F2F",NormalTextColor:"#2F2F2F",DescriptionTextColor:"#999999",LinkColor:"#2F2F2F",ButtonTextColor:"#000000"},BorderRadius:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusCard:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusButton:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusBanner:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BodyPaddings:{Top:60,Right:0,Bottom:60,Left:0},ComponentPaddings:{Small:12,Medium:22,Large:24,Huge:44},ButtonPaddings:{TopBottom:15,LeftRight:40},FontSettingsPresets:{Title:{FontSize:24,LineHeight:28,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:20,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:14,LineHeight:18,IsBold:!0,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:14,LineHeight:18,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:12,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:10,LineHeight:13,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:12,LineHeight:12,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:10,LineHeight:13,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:122,AdjustedHeight:39,IsResponsive:!0,VerticalAlign:"Middle",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logo220V.png"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},Alt:{ConstValueExpression:{Value:"logo"}},OriginalHeight:78,OriginalWidth:244,IsRetina:!0,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{ShrinkToContentWidth:{WidthInPixels:122}}},{VerticalAlign:"Middle",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:189.328125}}},{VerticalAlign:"Middle",Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{OneLineList:{ContainerWidth:"Auto",ItemPaddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{ThemePadding:"ThemePaddingsSmall"}},ItemWidth:{Auto:{}},Elements:[{Image:{AdjustedWidth:15.5,AdjustedHeight:15,IsResponsive:!1,VerticalAlign:"Middle",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/phone%20(6824497cd40deb561d11590d).png"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},Alt:{ConstValueExpression:{Value:"icon"}},OriginalHeight:30,OriginalWidth:31,IsRetina:!0,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"+7-800-000-00-00",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}},{SpanText:{MinNumberOfLines:1,HRef:{ConstValueExpression:{Value:"#"}},IsLink:!1,ContentAlign:"Inline",Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:12,LineHeight:28,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{Image:{AdjustedWidth:17,AdjustedHeight:17,IsResponsive:!1,VerticalAlign:"Middle",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Whatsup.png"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},Alt:{ConstValueExpression:{Value:"icon"}},OriginalHeight:34,OriginalWidth:34,IsRetina:!0,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"+7-800-000-00-00",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}}]}}],Width:{ShrinkToContentWidth:{WidthInPixels:288.65625}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"PrimaryColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{ThemePadding:"ThemePaddingsLarge"},Top:{CustomValue:0},Right:{ThemePadding:"ThemePaddingsLarge"},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Center",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"The final sale of the season!",TextStyle:{ThemeName:"Title",Style:{Color:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"We're announcing a massive sale on all popular items. Discounts up to 70%, 1,500 products available. Don't miss your chance to grab something you love — the offer ends on October 31!",TextStyle:{ThemeName:"NormalText",Style:{Color:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"View catalog"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:20,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Custom",CustomValue:{TopBottom:10,LeftRight:30}}}}],Width:{JustifyWidth:{WidthInPixels:600}}}]}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:1,ListExpression:{LimitExpression:{Limit:1,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#F6F6F6"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedBodyRow:{IndexName:"item",DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BodyRow:{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},Paddings:{Left:{CustomValue:0},Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"CardBackgroundColor",CustomValue:"#ffffff"},ContainerAlign:"Center",DirectionRtl:!0,Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:300,AdjustedHeight:300,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:600,Height:600}}}},OriginalWidth:300,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:300}}],Width:{WidthInPercents:{Value:.5}}},{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{ThemePadding:"ThemePaddingsSmall"},Bottom:{CustomValue:0},Left:{ThemePadding:"ThemePaddingsMedium"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Left",Elements:[{SpanText:{MinNumberOfLines:2,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Left",Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:45,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Left",MinNumberOfLines:2,Style:{Discriminator:"DescriptionText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Description"}]}},MaxLength:96,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:" "}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}}]}},{Spacer:{Height:{CustomValue:134},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Buy"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:4,ListExpression:{LimitExpression:{Limit:8,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},NumberColumnsInLine:4,IndexName:"item",DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},IteratedColumn:{BorderCollapse:"Collapse",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Left",VerticalAlign:"Top",Elements:[{Image:{AdjustedWidth:133.5,AdjustedHeight:127.6875,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:268,Height:264}}}},OriginalWidth:138,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:132}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:3,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Left",Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:32,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Left",MinNumberOfLines:4,Style:{Discriminator:"DescriptionText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Description"}]}},MaxLength:74,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Buy"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],WidthInPercents:.25}}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:600,AdjustedHeight:320,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/banner220.png"}},OriginalWidth:1200,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{CustomValue:0,Discriminator:"BannerBorderRadiusTopLeft"},TopRight:{CustomValue:0,Discriminator:"BannerBorderRadiusTopRight"},BottomLeft:{CustomValue:0,Discriminator:"BannerBorderRadiusBottomLeft"},BottomRight:{CustomValue:0,Discriminator:"BannerBorderRadiusBottomRight"}},ContentAlign:"Inline",OriginalHeight:640}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"October 23, 2023",TextStyle:{ThemeName:"NormalText",Style:{Color:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:`220 Volt" Rebranding: What's New with the DIY Retailer?`,TextStyle:{ThemeName:"SubHeading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Russia’s largest DIY retailer “220 Volt” has undergone a rebranding: the logo, corporate font, and advertising formats have been updated. The new minimalist style of “220 Volt” reflects trends toward simplicity and clear communication.",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Read"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:20,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Custom",CustomValue:{TopBottom:10,LeftRight:30}}}}],Width:{WidthInPercents:{Value:1}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:122,AdjustedHeight:39,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logo220V.png"}},OriginalWidth:244,OriginalHeight:78,Alt:{ConstValueExpression:{Value:"logo"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{ShrinkToContentWidth:{WidthInPixels:122}}},{VerticalAlign:"Middle",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:302}}},{VerticalAlign:"Middle",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{OneLineList:{ContainerWidth:"Auto",ItemWidth:{Auto:{}},ItemPaddings:{Top:{CustomValue:0},Right:{DivideExpression:{Left:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:2}}},Bottom:{CustomValue:0},Left:{DivideExpression:{Left:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:2}}}},Elements:[{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/youtube220%20(6824594bd40deb561d115c04).png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"Youtube"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/tg220%20(6824594bd40deb561d115c00).png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"Telegram"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/zen220%20(6824594bd40deb561d115c06).png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"dzen"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/vk220.png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"VK"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}}]}}],Width:{ShrinkToContentWidth:{WidthInPixels:176}}}]}},{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:1,Color:{Discriminator:"Custom",CustomValue:"#E2E2E2"}}}],Width:{JustifyWidth:{WidthInPixels:600}}}]}},{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:16}},ContainerAlign:"Left",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"You received this email because you subscribed to the Company name newsletter. You can unsubscribe by clicking ",TextStyle:{ThemeName:"DescriptionText",Style:{}}}},{TextNode:{Text:"here",TextStyle:{ThemeName:"Link",Style:{}},CommonLinkMark:{UnsubscribeLinkMark:{}}}}]}}]}}}],Width:{WidthInPercents:{Value:.76}}},{VerticalAlign:"Top",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:62.5}}},{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:16}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"© 2025 220 Вольт",TextStyle:{ThemeName:"DescriptionText",Style:{FontSize:10,LineHeight:13}}}}]}}]}}}],Width:{ShrinkToContentWidth:{WidthInPixels:81.5}}}]}}]}]},iue={Subject:"Введите заголовок вашего письма",Preheader:"Уточните, что именно ждёт читателя внутри (анонсы, скидки и т.п.)",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Arial",Colors:{EmailBackgroundColor:"#E8ECF9",BodyColor:"#FFFFFF",PrimaryColor:"#9466C9",PrimaryTextColor:"#FFFFFF",SecondaryColor:"#cfb4ee",SecondaryTextColor:"#9466C9",CardBackgroundColor:"#FFFFFF",HeadingColor:"#000000",TitleColor:"#000000",SubHeadingColor:"#000000",LargeTextColor:"#000000",NormalTextColor:"#000000",DescriptionTextColor:"#494949",LinkColor:"#9466C9",ButtonTextColor:"#FFFFFF"},BorderRadius:{TopLeft:32,TopRight:32,BottomLeft:32,BottomRight:32},BorderRadiusCard:{TopLeft:20,TopRight:20,BottomLeft:20,BottomRight:20},BorderRadiusButton:{TopLeft:36,TopRight:36,BottomLeft:36,BottomRight:36},BorderRadiusBanner:{TopLeft:20,TopRight:20,BottomLeft:20,BottomRight:20},BodyPaddings:{Top:44,Right:34,Bottom:44,Left:34},ComponentPaddings:{Small:12,Medium:16,Large:20,Huge:36},ButtonPaddings:{TopBottom:15,LeftRight:40},FontSettingsPresets:{Title:{FontSize:40,LineHeight:44,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:20,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:18,LineHeight:22,IsBold:!0,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:20,LineHeight:28,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:14,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:13,LineHeight:18,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:14,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:15,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:110,AdjustedHeight:24,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logoDM.png"}},OriginalWidth:220,OriginalHeight:48,Alt:{ConstValueExpression:{Value:"logo"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{JustifyWidth:{WidthInPixels:532}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:464,AdjustedHeight:318,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%202578.png"}},OriginalWidth:928,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"BannerBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"BannerBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"BannerBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"BannerBorderRadiusBottomRight",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:636}}],Width:{WidthInPercents:{Value:1}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Center",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Самокаты, бегловелы, ролики и лонгборды!",TextStyle:{ThemeName:"Title",Style:{}}}},{HardBreakNode:{}},{HardBreakNode:{}},{TextNode:{Text:"Обратите внимание на наш широкий выбор детских моделей, чтобы помочь вашим детям открыть новые впечатления и наслаждаться активным образом жизни. Приготовьтесь к веселым приключениям на колесах!",TextStyle:{ThemeName:"LargeText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Открыть каталог"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Heading",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:20,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Custom",CustomValue:{TopBottom:20,LeftRight:0}}}}],Width:{JustifyWidth:{WidthInPixels:532}}}]}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:1,ListExpression:{LimitExpression:{Limit:6,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedColumnBodyRow:{IndexName:"item",ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},NumberColumnsInLine:3,DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},IteratedColumn:{BorderCollapse:"Collapse",BgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{HeightContainer:{VerticalAlign:"Top",Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsLarge"},Left:{CustomValue:0}},Border:{Left:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Top:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Right:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Bottom:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0}},BackgroundColor:{Discriminator:"CardBackgroundColor",CustomValue:"#F6F6F6"},ContainerAlign:"Center",Width:{Percentage:{Value:100}},Elements:[{Image:{AdjustedWidth:164.875,AdjustedHeight:164.875,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:400,Height:400}}}},OriginalWidth:200,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:200}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:4,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Center",Style:{Discriminator:"NormalText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:45,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" ₽"}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" ₽"}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" ₽"}}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Купить"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}]}}],WidthInPercents:.3333}}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"BodyColor",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"BodyColor",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:44,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Веселый способ активного движения",TextStyle:{ThemeName:"SubHeading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:200,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Откройте для вашего ребенка мир приключений и активного образа жизни с нашими детскими самокатами и беговелами. Эти прочные и безопасные средства передвижения помогут вашему ребенку развить баланс, координацию и уверенность. Доступные в различных ярких цветах и дизайнах, наши самокаты и беговелы станут отличным спутником для игр и прогулок на свежем воздухе.",TextStyle:{ThemeName:"DescriptionText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Открыть"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}},{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:44,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Исследование: Влияние цвета на настроение",TextStyle:{ThemeName:"SubHeading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:200,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Погрузите вашего ребенка в мир адреналина и свободы с нашими роликами и лонгбордами для детей. Специально разработанные с учетом безопасности и комфорта, эти средства передвижения позволят вашим детям наслаждаться скоростью и свободой на улицах и дорожках.",TextStyle:{ThemeName:"DescriptionText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Открыть"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{CustomValue:0}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"BodyColor",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:256,AdjustedHeight:285.34375,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/banner-girl.png"}},OriginalWidth:436,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:486}}],Width:{WidthInPercents:{Value:.5}}},{VerticalAlign:"Top",BgColor:{Discriminator:"BodyColor",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Откройте для вашего ребенка мир приключений и активного образа жизни с нашими детскими самокатами и беговелами. Эти прочные и безопасные средства передвижения помогут вашему ребенку развить баланс, координацию и уверенность. Доступные в различных ярких цветах и дизайнах, наши самокаты и беговелы станут отличным спутником для игр и прогулок на свежем воздухе.",TextStyle:{ThemeName:"DescriptionText",Style:{}}}}]}}]}}}],Width:{WidthInPercents:{Value:.5}}}]}}]}]},nue={Subject:"Введите заголовок вашего письма",Preheader:"Уточните, что именно ждёт читателя внутри (анонсы, скидки и т.п.)",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Tahoma",Colors:{EmailBackgroundColor:"#000000",BodyColor:"#FFFFFF",PrimaryColor:"#000000",PrimaryTextColor:"#FFFFFF",SecondaryColor:"#d9d9d9",SecondaryTextColor:"#000000",CardBackgroundColor:"#FFFFFF",HeadingColor:"#000000",TitleColor:"#000000",SubHeadingColor:"#000000",LargeTextColor:"#000000",NormalTextColor:"#000000",DescriptionTextColor:"#494949",LinkColor:"#000000",ButtonTextColor:"#FFFFFF"},BorderRadius:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusCard:{TopLeft:8,TopRight:8,BottomLeft:8,BottomRight:8},BorderRadiusButton:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusBanner:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BodyPaddings:{Left:20,Right:20,Top:24,Bottom:24},ComponentPaddings:{Small:12,Medium:16,Large:20,Huge:40},ButtonPaddings:{TopBottom:16,LeftRight:50},FontSettingsPresets:{Title:{FontSize:40,LineHeight:44,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:18,LineHeight:23,IsBold:!0,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:18,LineHeight:22,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:12,LineHeight:15,IsBold:!1,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:12,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:14,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:12,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:110,AdjustedHeight:24,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logoNike.png"}},OriginalWidth:220,OriginalHeight:48,Alt:{ConstValueExpression:{Value:"logo"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:560,AdjustedHeight:691,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/banner-nike.png"}},OriginalWidth:1120,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"BannerBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"BannerBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"BannerBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"BannerBorderRadiusBottomRight",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:1382}}],Width:{WidthInPercents:{Value:1}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"YOUR SEASON OF BRILLIANCE",TextStyle:{ThemeName:"Heading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Get ready to shine bright this season with Nike's latest collection of athletic apparel and footwear. We believe that every moment is an opportunity to unleash your brilliance and achieve greatness. Whether you're hitting the track, the gym, or the court, we've got you covered with innovative and stylish gear that will elevate your performance to new heights.",TextStyle:{ThemeName:"LargeText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Left",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Shop Now"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Custom",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Tahoma",FontSize:32,LineHeight:32,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:3,ListExpression:{LimitExpression:{Limit:6,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:560}}}]}},{IteratedColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},NumberColumnsInLine:3,IndexName:"item",DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},IteratedColumn:{BorderCollapse:"Collapse",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Left",VerticalAlign:"Top",Elements:[{HeightContainer:{VerticalAlign:"Top",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{CustomValue:0}},Border:{Left:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#EEEEEE"}},Top:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#EEEEEE"}},Right:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#EEEEEE"}},Bottom:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#EEEEEE"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0}},BackgroundColor:{Discriminator:"CardBackgroundColor",CustomValue:"#F6F6F6"},ContainerAlign:"Center",Width:{Percentage:{Value:100}},Elements:[{Image:{AdjustedWidth:174.203125,AdjustedHeight:217.5625,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:348,Height:522}}}},OriginalWidth:1121,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:1400}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:2,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Center",Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:25,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Center",MinNumberOfLines:2,Style:{Discriminator:"DescriptionText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Description"}]}},MaxLength:35,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:"₽"}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:"₽"}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:"₽"}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Order"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}]}}],WidthInPercents:.3333}}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:46,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Introducing our Season of Brilliance collection",TextStyle:{ThemeName:"Heading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:122,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Designed to inspire and empower athletes like you to push boundaries and exceed expectations. From lightweight running shoes with responsive cushioning to sweat-wicking and breathable activewear that keeps you cool and comfortable, our products are engineered to help you perform at your best.",TextStyle:{ThemeName:"DescriptionText",Style:{LineHeight:18}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Read"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}},{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:46,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Nike community",TextStyle:{ThemeName:"Heading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:126,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"As a valued member of our Nike community, we want to celebrate your journey to greatness. Take advantage of exclusive offers and discounts available only to you. Whether you're a seasoned athlete or just starting your fitness journey, we're here to support you every step of the way.",TextStyle:{ThemeName:"DescriptionText",Style:{LineHeight:18}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Read"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{CustomValue:0}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:270,AdjustedHeight:270,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/banner-girl-nike.png"}},OriginalWidth:520,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:520}}],Width:{WidthInPercents:{Value:.5}}},{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Get ready to shine bright this season with Nike's latest collection of athletic apparel and footwear. We believe that every moment is an opportunity to unleash your brilliance and achieve greatness. Whether you're hitting the track, the gym, or the court, we've got you covered with innovative and stylish gear that will elevate your performance to new heights.",TextStyle:{ThemeName:"DescriptionText",Style:{LineHeight:18}}}}]}}]}}}],Width:{WidthInPercents:{Value:.5}}}]}}]}]},rue={Subject:"Введите заголовок вашего письма",Preheader:"Уточните, что именно ждёт читателя внутри (анонсы, скидки и т.п.)",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Arial",Colors:{EmailBackgroundColor:"#EDEBE8",BodyColor:"#FFFFFF",PrimaryColor:"#23A767",PrimaryTextColor:"#FFFFFF",SecondaryColor:"#a9eacb",SecondaryTextColor:"#23A767",CardBackgroundColor:"#FFFFFF",HeadingColor:"#000000",TitleColor:"#000000",SubHeadingColor:"#000000",LargeTextColor:"#494949",NormalTextColor:"#494949",DescriptionTextColor:"#999999",LinkColor:"#23A767",ButtonTextColor:"#FFFFFF"},BorderRadius:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusCard:{TopLeft:12,TopRight:12,BottomLeft:12,BottomRight:12},BorderRadiusButton:{TopLeft:8,TopRight:8,BottomLeft:8,BottomRight:8},BorderRadiusBanner:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BodyPaddings:{Left:32,Right:32,Top:0,Bottom:0},ComponentPaddings:{Small:12,Medium:22,Large:40,Huge:40},ButtonPaddings:{TopBottom:12,LeftRight:34},FontSettingsPresets:{Title:{FontSize:32,LineHeight:32,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:16,LineHeight:25,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:13,LineHeight:15,IsBold:!1,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:10,LineHeight:13,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:12,LineHeight:12,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:12,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:110,AdjustedHeight:24,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logoPJ.png"}},OriginalWidth:220,OriginalHeight:48,Alt:{ConstValueExpression:{Value:"logo"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{JustifyWidth:{WidthInPixels:536}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:536,AdjustedHeight:356.625,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/banner%20(66a1f1d797004a9ee236c98b).png"}},OriginalWidth:1040,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"BannerBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"BannerBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"BannerBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"BannerBorderRadiusBottomRight",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:692}}],Width:{WidthInPercents:{Value:1}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Center",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Скидка 15% на самовывоз",TextStyle:{ThemeName:"Title",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{RichText:{ContentAlign:"Center",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Мы рады поделиться отличной новостью с нашими верными клиентами! У нас действует особая акция, которая точно порадует всех любителей пиццы.",TextStyle:{ThemeName:"LargeText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"ЗАКАЗАТЬ ПИЦЦУ"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"LargeText",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Custom",CustomValue:{TopBottom:10,LeftRight:44}}}}],Width:{JustifyWidth:{WidthInPixels:536}}}]}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:3,ListExpression:{LimitExpression:{Limit:3,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{CustomValue:0}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedColumnBodyRow:{IndexName:"item",ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},NumberColumnsInLine:3,DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},IteratedColumn:{BorderCollapse:"Separate",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Top:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Right:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}},Bottom:{Width:1,Style:"Solid",Color:{Discriminator:"Custom",CustomValue:"#eeeeee"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{HeightContainer:{VerticalAlign:"Top",Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0}},BackgroundColor:{Discriminator:"CardBackgroundColor",CustomValue:"#F6F6F6"},ContainerAlign:"Center",Width:{Percentage:{Value:100}},Elements:[{Image:{AdjustedWidth:162.21875,AdjustedHeight:162.21875,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:326,Height:326}}}},OriginalWidth:163,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:163}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:3,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Center",Style:{Discriminator:"Heading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:45,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Center",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Center",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:14,LineHeight:16,IsBold:!1,IsItalic:!1,Decoration:"LineThrough",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Center",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{Spacer:{Height:{CustomValue:16},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"ДОБАВИТЬ"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}]}}],WidthInPercents:.3333}}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:32,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"История искусства: итальянская пицца",TextStyle:{ThemeName:"SubHeading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:120,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Итальянская пицца имеет долгую и интересную историю, начиная с её скромных корней в Неаполе. Это блюдо стало символом итальянской кухни и быстро распространилось во всемирном масштабе, завоевывая сердца гурманов в разных уголках планеты.",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Открыть"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}},{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:32,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Секрет вкуса: наша особая соусовая композиция",TextStyle:{ThemeName:"SubHeading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:120,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Тайна великолепного вкуса нашей пиццы кроется в нашей уникальной соусовой композиции. Мы смешали страсть, мастерство и лучшие ингредиенты, чтобы создать настоящий вкусовой фейерверк.",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Открыть"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:248,AdjustedHeight:248.46875,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%202578%20(1).png"}},OriginalWidth:521,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:522}}],Width:{WidthInPercents:{Value:.5}}},{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Наш секретный рецепт соуса придает пицце неповторимый вкус и аромат. Богатая текстура томатного соуса, сбалансированная смесь специй и нежное сочетание других секретных ингредиентов делают нашу пиццу по-настоящему незабываемой. Каждая порция соуса внимательно приготовлена и сбалансирована, чтобы подчеркнуть вкус каждой начинки и превратить пиццу в истинное кулинарное произведение искусства.",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}}],Width:{WidthInPercents:{Value:.5}}}]}}]}]},sue={Subject:"Введите заголовок вашего письма",Preheader:"Уточните, что именно ждёт читателя внутри (анонсы, скидки и т.п.)",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Arial",Colors:{EmailBackgroundColor:"#FFFFFF",BodyColor:"#FFFFFF",PrimaryColor:"#FDEE50",PrimaryTextColor:"#000000",SecondaryColor:"#000000",SecondaryTextColor:"#FDEE50",CardBackgroundColor:"#F6F6F6",HeadingColor:"#2F2F2F",TitleColor:"#2F2F2F",SubHeadingColor:"#2F2F2F",LargeTextColor:"#2F2F2F",NormalTextColor:"#2F2F2F",DescriptionTextColor:"#999999",LinkColor:"#2F2F2F",ButtonTextColor:"#000000"},BorderRadius:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusCard:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusButton:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BorderRadiusBanner:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BodyPaddings:{Top:60,Right:0,Bottom:60,Left:0},ComponentPaddings:{Small:12,Medium:22,Large:24,Huge:44},ButtonPaddings:{TopBottom:15,LeftRight:40},FontSettingsPresets:{Title:{FontSize:24,LineHeight:28,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:20,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:14,LineHeight:18,IsBold:!0,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:14,LineHeight:18,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:12,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:10,LineHeight:13,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:12,LineHeight:12,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:10,LineHeight:13,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:122,AdjustedHeight:39,IsResponsive:!0,VerticalAlign:"Middle",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logo220V.png"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},Alt:{ConstValueExpression:{Value:"logo"}},OriginalHeight:78,OriginalWidth:244,IsRetina:!0,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{ShrinkToContentWidth:{WidthInPixels:122}}},{VerticalAlign:"Middle",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:189.328125}}},{VerticalAlign:"Middle",Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{OneLineList:{ContainerWidth:"Auto",ItemPaddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{ThemePadding:"ThemePaddingsSmall"}},ItemWidth:{Auto:{}},Elements:[{Image:{AdjustedWidth:15.5,AdjustedHeight:15,IsResponsive:!1,VerticalAlign:"Middle",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/phone%20(6824497cd40deb561d11590d).png"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},Alt:{ConstValueExpression:{Value:"icon"}},OriginalHeight:30,OriginalWidth:31,IsRetina:!0,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"+7-800-000-00-00",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}},{SpanText:{MinNumberOfLines:1,HRef:{ConstValueExpression:{Value:"#"}},IsLink:!1,ContentAlign:"Inline",Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:12,LineHeight:28,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{Image:{AdjustedWidth:17,AdjustedHeight:17,IsResponsive:!1,VerticalAlign:"Middle",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Whatsup.png"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},Alt:{ConstValueExpression:{Value:"icon"}},OriginalHeight:34,OriginalWidth:34,IsRetina:!0,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"+7-800-000-00-00",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}}]}}],Width:{ShrinkToContentWidth:{WidthInPixels:288.65625}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"PrimaryColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{ThemePadding:"ThemePaddingsLarge"},Top:{CustomValue:0},Right:{ThemePadding:"ThemePaddingsLarge"},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Center",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Последняя распродажа сезона!",TextStyle:{ThemeName:"Title",Style:{Color:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Мы объявляем грандиозную распродажу на все популярные товары. Скидки до 70%, 1500 наименований товаров. Успейте выбрать себе что-то по душе, акция заканчивается 31 октября!",TextStyle:{ThemeName:"NormalText",Style:{Color:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Посмотреть каталог"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:20,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Custom",CustomValue:{TopBottom:10,LeftRight:30}}}}],Width:{JustifyWidth:{WidthInPixels:600}}}]}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:1,ListExpression:{LimitExpression:{Limit:1,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#F6F6F6"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedBodyRow:{IndexName:"item",DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BodyRow:{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},Paddings:{Left:{CustomValue:0},Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"CardBackgroundColor",CustomValue:"#ffffff"},ContainerAlign:"Center",DirectionRtl:!0,Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:300,AdjustedHeight:300,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:600,Height:600}}}},OriginalWidth:300,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:300}}],Width:{WidthInPercents:{Value:.5}}},{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{ThemePadding:"ThemePaddingsSmall"},Bottom:{CustomValue:0},Left:{ThemePadding:"ThemePaddingsMedium"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Left",Elements:[{SpanText:{MinNumberOfLines:2,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Left",Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:45,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Left",MinNumberOfLines:2,Style:{Discriminator:"DescriptionText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Description"}]}},MaxLength:96,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:" "}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}}]}},{Spacer:{Height:{CustomValue:134},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Купить"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:4,ListExpression:{LimitExpression:{Limit:8,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},NumberColumnsInLine:4,IndexName:"item",DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},IteratedColumn:{BorderCollapse:"Collapse",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Left",VerticalAlign:"Top",Elements:[{Image:{AdjustedWidth:133.5,AdjustedHeight:127.6875,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:268,Height:264}}}},OriginalWidth:138,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center",OriginalHeight:132}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:3,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Left",Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:32,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Left",MinNumberOfLines:4,Style:{Discriminator:"DescriptionText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Description"}]}},MaxLength:74,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"NormalText",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Custom",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Купить"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],WidthInPercents:.25}}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:600,AdjustedHeight:320,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/banner220.png"}},OriginalWidth:1200,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{CustomValue:0,Discriminator:"BannerBorderRadiusTopLeft"},TopRight:{CustomValue:0,Discriminator:"BannerBorderRadiusTopRight"},BottomLeft:{CustomValue:0,Discriminator:"BannerBorderRadiusBottomLeft"},BottomRight:{CustomValue:0,Discriminator:"BannerBorderRadiusBottomRight"}},ContentAlign:"Inline",OriginalHeight:640}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"23 Октября 2023",TextStyle:{ThemeName:"NormalText",Style:{Color:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"}}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Ребрендинг «220 Вольт»: что нового у DIY-ритейлера?",TextStyle:{ThemeName:"SubHeading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Крупнейший российский DIY-ритейлер «220 Вольт» провел ребрендинг: обновил логотип, фирменный шрифт и формы рекламных материалов. Новый лаконичный стиль «220 Вольт» отражает тенденции минимализма и простоты подачи информации.",TextStyle:{ThemeName:"NormalText",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Читать"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:20,LineHeight:20,IsBold:!0,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Custom",CustomValue:{TopBottom:10,LeftRight:30}}}}],Width:{WidthInPercents:{Value:1}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:122,AdjustedHeight:39,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logo220V.png"}},OriginalWidth:244,OriginalHeight:78,Alt:{ConstValueExpression:{Value:"logo"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{ShrinkToContentWidth:{WidthInPixels:122}}},{VerticalAlign:"Middle",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:302}}},{VerticalAlign:"Middle",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{OneLineList:{ContainerWidth:"Auto",ItemWidth:{Auto:{}},ItemPaddings:{Top:{CustomValue:0},Right:{DivideExpression:{Left:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:2}}},Bottom:{CustomValue:0},Left:{DivideExpression:{Left:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:2}}}},Elements:[{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/youtube220%20(6824594bd40deb561d115c04).png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"Youtube"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/tg220%20(6824594bd40deb561d115c00).png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"Telegram"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/zen220%20(6824594bd40deb561d115c06).png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"dzen"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/vk220.png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"VK"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}}]}}],Width:{ShrinkToContentWidth:{WidthInPixels:176}}}]}},{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:1,Color:{Discriminator:"Custom",CustomValue:"#E2E2E2"}}}],Width:{JustifyWidth:{WidthInPixels:600}}}]}},{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:16}},ContainerAlign:"Left",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Вы получили это письмо, потому что подписались на рассылку Company name. Вы можете отписаться, нажав ",TextStyle:{ThemeName:"DescriptionText",Style:{}}}},{TextNode:{Text:"сюда",TextStyle:{ThemeName:"Link",Style:{}},CommonLinkMark:{UnsubscribeLinkMark:{}}}}]}}]}}}],Width:{WidthInPercents:{Value:.76}}},{VerticalAlign:"Top",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:62.5}}},{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:16}},ContainerAlign:"Center",Elements:[{RichText:{ContentAlign:"Left",ImageVerticalAlign:"Middle",MinHeight:1,Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"© 2023 220 Вольт",TextStyle:{ThemeName:"DescriptionText",Style:{FontSize:10,LineHeight:13}}}}]}}]}}}],Width:{ShrinkToContentWidth:{WidthInPixels:81.5}}}]}}]}]},aue={Subject:"",Preheader:"",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Arial",Colors:{EmailBackgroundColor:"#EEEEEE",BodyColor:"#FFFFFF",PrimaryColor:"#557aff",PrimaryTextColor:"#ffffff",SecondaryColor:"#E4EAFF",SecondaryTextColor:"#557aff",CardBackgroundColor:"#F6F6F6",HeadingColor:"#2F2F2F",TitleColor:"#2F2F2F",SubHeadingColor:"#2F2F2F",LargeTextColor:"#2F2F2F",NormalTextColor:"#2F2F2F",DescriptionTextColor:"#999999",LinkColor:"#65A0FA",ButtonTextColor:"#ffffff"},BorderRadius:{TopLeft:20,TopRight:20,BottomLeft:20,BottomRight:20},BorderRadiusCard:{TopLeft:16,TopRight:16,BottomLeft:16,BottomRight:16},BorderRadiusButton:{TopLeft:6,TopRight:6,BottomLeft:6,BottomRight:6},BorderRadiusBanner:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BodyPaddings:{Left:20,Right:20,Top:10,Bottom:10},ComponentPaddings:{Small:8,Medium:16,Large:24,Huge:24},ButtonPaddings:{TopBottom:12,LeftRight:14},FontSettingsPresets:{Title:{FontSize:24,LineHeight:28,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:20,LineHeight:24,IsBold:!0,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:14,LineHeight:18,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:12,LineHeight:15,IsBold:!1,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:10,LineHeight:13,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:12,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{CustomValue:0}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Middle",ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:110,AdjustedHeight:24,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logo=default.png"}},Alt:{ConstValueExpression:{Value:"logo"}},OriginalHeight:48,OriginalWidth:220,IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center"}}],Width:{ShrinkToContentWidth:{WidthInPixels:110}}},{Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Middle",Elements:[],Width:{JustifyWidth:{WidthInPixels:375.5}}},{Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Middle",Elements:[{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Catalog"}},FullWidth:!1,BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557AFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{ShrinkToContentWidth:{WidthInPixels:74.5}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{ThemePadding:"ThemePaddingsHuge"},Right:{ThemePadding:"ThemePaddingsHuge"},Bottom:{ThemePadding:"ThemePaddingsHuge"},Left:{ThemePadding:"ThemePaddingsHuge"}},BgColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0}},Columns:[{VerticalAlign:"Top",Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Width:{WidthInPercents:{Value:1}},ContainerAlign:"Center",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Discover Our Email Creation Service",TextStyle:{ThemeName:"Title",Style:{Color:{Discriminator:"PrimaryTextColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}},{ParagraphNode:{Content:[{HardBreakNode:{}}]}},{ParagraphNode:{Content:[{TextNode:{Text:"We're excited to introduce our new product - an email creation service. With this user-friendly and intuitive tool, you can easily create beautiful, professional emails in just a few simple steps. Our service offers a wide selection of customizable templates and design elements to help you create unique, engaging emails for your audience.",TextStyle:{ThemeName:"LargeText",Style:{Color:{Discriminator:"PrimaryTextColor",CustomValue:"#ffffff"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Website"}},BackgroundColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Custom",CustomValue:{TopBottom:12,LeftRight:50}}}}]}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:144,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Email Creation Service",TextStyle:{ThemeName:"Title",Style:{Color:{Discriminator:"TitleColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsHuge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Catalog"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}},{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:144,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"We're excited to introduce our new product - an email creation service. With this user-friendly and intuitive tool, you can easily create beautiful, professional emails in just a few simple steps.",TextStyle:{ThemeName:"LargeText",Style:{Color:{Discriminator:"LargeTextColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsHuge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Account"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:3,ListExpression:{LimitExpression:{Limit:3,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},NumberColumnsInLine:3,IndexName:"item",DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},IteratedColumn:{BorderCollapse:"Collapse",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{HeightContainer:{VerticalAlign:"Top",Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{ThemePadding:"ThemePaddingsSmall"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0}},BackgroundColor:{Discriminator:"CardBackgroundColor",CustomValue:"#F6F6F6"},ContainerAlign:"Left",Width:{Percentage:{Value:100}},Elements:[{Image:{AdjustedWidth:147.96875,AdjustedHeight:184.953125,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:400,Height:500}}}},OriginalWidth:200,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:250}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:3,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Left",Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:30,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Left",MinNumberOfLines:4,Style:{Discriminator:"DescriptionText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Description"}]}},MaxLength:74,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" руб."}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" руб."}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Button",FontColor:{Discriminator:"SubHeadingColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Buy"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}]}}],WidthInPercents:.3333}}}]},{IsRequired:!1,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:1,ListExpression:{LimitExpression:{Limit:1,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{CustomValue:0}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedBodyRow:{IndexName:"item",DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BodyRow:{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsSmall"},Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",DirectionRtl:!1,Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:274,AdjustedHeight:274,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:500,Height:750}}}},OriginalWidth:1400,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{CustomValue:16,Discriminator:"CustomBorderRadius"},TopRight:{CustomValue:16,Discriminator:"CustomBorderRadius"},BottomLeft:{CustomValue:16,Discriminator:"CustomBorderRadius"},BottomRight:{CustomValue:16,Discriminator:"CustomBorderRadius"}},ContentAlign:"Center",OriginalHeight:1400}}],Width:{WidthInPercents:{Value:.5}}},{VerticalAlign:"Bottom",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{ThemePadding:"ThemePaddingsMedium"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Right",Elements:[{OneLineList:{ContainerWidth:"Auto",ItemWidth:{Auto:{}},ItemPaddings:{Top:{CustomValue:0},Right:{ThemePadding:"ThemePaddingsSmall"},Bottom:{CustomValue:0},Left:{CustomValue:0}},Elements:[{HeightContainer:{VerticalAlign:"Middle",Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:24},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:24},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:24},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:24}},BackgroundColor:{Discriminator:"Custom",CustomValue:"#11D477"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{ThemePadding:"ThemePaddingsSmall"},Right:{ThemePadding:"ThemePaddingsSmall"}},Width:{Auto:{}},ContainerAlign:"Right",Height:26,Elements:[{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Inline",MinNumberOfLines:1,Style:{Discriminator:"NormalText",FontColor:{Discriminator:"Custom",CustomValue:"#FFFFFF"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#FFFFFF"}}},Text:{ConstValueExpression:{Value:"Новинка"}}}}]}},{HeightContainer:{VerticalAlign:"Middle",Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:24},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:24},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:24},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:24}},BackgroundColor:{Discriminator:"Custom",CustomValue:"#F6406C"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{ThemePadding:"ThemePaddingsSmall"},Right:{ThemePadding:"ThemePaddingsSmall"}},Width:{Auto:{}},ContainerAlign:"Right",Height:26,Elements:[{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Inline",MinNumberOfLines:1,Style:{Discriminator:"NormalText",FontColor:{Discriminator:"Custom",CustomValue:"#FFFFFF"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#FFFFFF"}}},Text:{ConstValueExpression:{Value:"Акция"}}}}]}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:2,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Left",Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:30,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Left",MinNumberOfLines:2,Style:{Discriminator:"DescriptionText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Description"}]}},MaxLength:74,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{OneLineList:{ContainerWidth:"Auto",ItemWidth:{Auto:{}},ItemPaddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Elements:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Left",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Left",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Left",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}}]}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Left",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Buy"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Spacer:{Height:{CustomValue:0},Weight:1,Color:{Discriminator:"Custom",CustomValue:"#E2E2E2"}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{CustomValue:0},Bottom:{CustomValue:0}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Left",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"We're excited to introduce our new product - an email creation service. With this user-friendly and intuitive tool, you can easily create beautiful, professional emails in just a few simple steps.",TextStyle:{ThemeName:"LargeText",Style:{Color:{Discriminator:"LargeTextColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Spacer:{Height:{CustomValue:0},Weight:1,Color:{Discriminator:"Custom",CustomValue:"#E2E2E2"}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:560,AdjustedHeight:320,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/office.png"}},OriginalWidth:1120,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:640}},{HeightContainer:{VerticalAlign:"Top",Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0}},BackgroundColor:{Discriminator:"CardBackgroundColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsLarge"},Left:{ThemePadding:"ThemePaddingsMedium"},Right:{ThemePadding:"ThemePaddingsMedium"}},Width:{Auto:{}},ContainerAlign:"Center",Elements:[{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Left",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"October 23, 2023",TextStyle:{ThemeName:"DescriptionText",Style:{Color:{Discriminator:"DescriptionTextColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Left",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Best Office Apps for Tablets",TextStyle:{ThemeName:"SubHeading",Style:{Color:{Discriminator:"SubHeadingColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Left",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Tablets have made office work much easier. Discover the best apps to help you stay productive wherever you are.",TextStyle:{ThemeName:"NormalText",Style:{Color:{Discriminator:"NormalTextColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{CustomValue:0,Discriminator:"ButtonBorderRadiusTopLeft"},TopRight:{CustomValue:0,Discriminator:"ButtonBorderRadiusTopRight"},BottomLeft:{CustomValue:0,Discriminator:"ButtonBorderRadiusBottomLeft"},BottomRight:{CustomValue:0,Discriminator:"ButtonBorderRadiusBottomRight"}},HRef:{ConstValueExpression:{Value:"#"}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}},Text:{ConstValueExpression:{Value:"Read"}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},FullWidth:!0,ContentAlign:"Center"}}]}}],Width:{WidthInPercents:{Value:1}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:110,AdjustedHeight:24,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logo=default.png"}},OriginalWidth:220,OriginalHeight:48,Alt:{ConstValueExpression:{Value:"logo"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{ShrinkToContentWidth:{WidthInPixels:110}}},{VerticalAlign:"Middle",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:290}}},{VerticalAlign:"Middle",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{OneLineList:{ContainerWidth:"Auto",ItemWidth:{Auto:{}},ItemPaddings:{Top:{CustomValue:0},Right:{DivideExpression:{Left:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:2}}},Bottom:{CustomValue:0},Left:{DivideExpression:{Left:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:2}}}},Elements:[{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%201937904.png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"Youtube"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%201937905.png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"Telegram"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%201937906.png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"Dzen"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%201937907.png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"VK"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}}]}}],Width:{ShrinkToContentWidth:{WidthInPixels:160}}}]}},{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:1,Color:{Discriminator:"Custom",CustomValue:"#E2E2E2"}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}},{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:16}},ContainerAlign:"Left",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Left",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"You received this email because you subscribed to Company name newsletters. You can unsubscribe by clicking ",TextStyle:{ThemeName:"DescriptionText",Style:{Color:{Discriminator:"DescriptionTextColor",CustomValue:"#999999"},TextTransform:"None"}}}},{TextNode:{Text:"here",TextStyle:{ThemeName:"Link",Style:{TextTransform:"None"}},CommonLinkMark:{UnsubscribeLinkMark:{}}}}]}}]}}}],Width:{WidthInPercents:{Value:.76}}},{VerticalAlign:"Top",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:3.046875}}},{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:16}},ContainerAlign:"Center",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"© 2023-2024 Company name",TextStyle:{ThemeName:"LargeText",Style:{Color:{Discriminator:"LinkColor",CustomValue:"#65A0FA"},FontSize:10,LineHeight:13,TextTransform:"None"}}}}]}}]}}}],Width:{ShrinkToContentWidth:{WidthInPixels:131.34375}}}]}}]}]},lue={Subject:"",Preheader:"",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Arial",Colors:{EmailBackgroundColor:"#EEEEEE",BodyColor:"#FFFFFF",PrimaryColor:"#557aff",PrimaryTextColor:"#ffffff",SecondaryColor:"#E4EAFF",SecondaryTextColor:"#557aff",CardBackgroundColor:"#F6F6F6",HeadingColor:"#2F2F2F",TitleColor:"#2F2F2F",SubHeadingColor:"#2F2F2F",LargeTextColor:"#2F2F2F",NormalTextColor:"#2F2F2F",DescriptionTextColor:"#999999",LinkColor:"#65A0FA",ButtonTextColor:"#ffffff"},BorderRadius:{TopLeft:20,TopRight:20,BottomLeft:20,BottomRight:20},BorderRadiusCard:{TopLeft:16,TopRight:16,BottomLeft:16,BottomRight:16},BorderRadiusButton:{TopLeft:6,TopRight:6,BottomLeft:6,BottomRight:6},BorderRadiusBanner:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BodyPaddings:{Left:20,Right:20,Top:10,Bottom:10},ComponentPaddings:{Small:8,Medium:16,Large:24,Huge:24},ButtonPaddings:{TopBottom:12,LeftRight:14},FontSettingsPresets:{Title:{FontSize:24,LineHeight:28,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:20,LineHeight:24,IsBold:!0,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:14,LineHeight:18,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:12,LineHeight:15,IsBold:!1,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:10,LineHeight:13,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:12,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{CustomValue:0}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Middle",ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:110,AdjustedHeight:24,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logo=default.png"}},Alt:{ConstValueExpression:{Value:"logo"}},OriginalHeight:48,OriginalWidth:220,IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Center"}}],Width:{ShrinkToContentWidth:{WidthInPixels:110}}},{Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Middle",Elements:[],Width:{JustifyWidth:{WidthInPixels:375.5}}},{Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Middle",Elements:[{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Каталог"}},FullWidth:!1,BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557AFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{ShrinkToContentWidth:{WidthInPixels:74.5}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{ThemePadding:"ThemePaddingsHuge"},Right:{ThemePadding:"ThemePaddingsHuge"},Bottom:{ThemePadding:"ThemePaddingsHuge"},Left:{ThemePadding:"ThemePaddingsHuge"}},BgColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0}},Columns:[{VerticalAlign:"Top",Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Width:{WidthInPercents:{Value:1}},ContainerAlign:"Center",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Познакомьтесь с сервисом создания электронных писем",TextStyle:{ThemeName:"Title",Style:{Color:{Discriminator:"PrimaryTextColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}},{ParagraphNode:{Content:[{HardBreakNode:{}}]}},{ParagraphNode:{Content:[{TextNode:{Text:"Мы рады представить вам наш новый продукт - сервис создания электронных писем. С помощью этого удобного и интуитивно понятного инструмента, вы сможете легко создавать красивые и профессиональные письма всего в несколько простых шагов. Наш сервис предлагает широкий выбор шаблонов и элементов дизайна, которые можно настраивать под ваши нужды, чтобы создавать уникальные и привлекательные письма для вашей аудитории.",TextStyle:{ThemeName:"LargeText",Style:{Color:{Discriminator:"PrimaryTextColor",CustomValue:"#ffffff"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Перейти на сайт"}},BackgroundColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},FullWidth:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}]}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:144,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Сервис создания электронных писем",TextStyle:{ThemeName:"Title",Style:{Color:{Discriminator:"TitleColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsHuge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Перейти в каталог"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}},{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:144,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Мы рады представить вам наш последний продукт - сервис создания электронных писем. С помощью этого удобного и интуитивно понятного инструмента, вы сможете легко создавать красивые и профессиональные письма всего в несколько простых шагов.",TextStyle:{ThemeName:"LargeText",Style:{Color:{Discriminator:"LargeTextColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsHuge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{ContentAlign:"Center",HRef:{ConstValueExpression:{Value:"#"}},Text:{ConstValueExpression:{Value:"Личный кабинет"}},BackgroundColor:{Discriminator:"SecondaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"SecondaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}]},{IsRequired:!0,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:3,ListExpression:{LimitExpression:{Limit:3,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsMedium"},NumberColumnsInLine:3,IndexName:"item",DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},IteratedColumn:{BorderCollapse:"Collapse",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",VerticalAlign:"Top",Elements:[{HeightContainer:{VerticalAlign:"Top",Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Right:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{ThemePadding:"ThemePaddingsSmall"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0}},BackgroundColor:{Discriminator:"CardBackgroundColor",CustomValue:"#F6F6F6"},ContainerAlign:"Left",Width:{Percentage:{Value:100}},Elements:[{Image:{AdjustedWidth:147.96875,AdjustedHeight:184.953125,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:400,Height:500}}}},OriginalWidth:200,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:250}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:3,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Left",Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:30,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Left",MinNumberOfLines:4,Style:{Discriminator:"DescriptionText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Description"}]}},MaxLength:74,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" руб."}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" руб."}}}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Inline",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"Button",FontColor:{Discriminator:"SubHeadingColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Купить"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}]}}],WidthInPercents:.3333}}}]},{IsRequired:!1,IfExpression:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ListLengthExpression:{ListExpression:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}}}},Right:{ConstValueExpression:{Value:0}}}}}},ContextBuilderExpression:{ProductShelfDataSource:{ListExpression:{ChunkExpression:{ChunkSize:1,ListExpression:{LimitExpression:{Limit:1,ListExpression:{DataSource:{Popular:{StockSource:{DefaultStoreStockId:{}}}}}}}}}}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{CustomValue:0}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{IteratedBodyRow:{IndexName:"item",DataSource:{ContextValueExpression:{Path:[{PropertyName:"ProductShelfDataSource"}]}},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BodyRow:{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsSmall"},Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",DirectionRtl:!1,Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:274,AdjustedHeight:274,IsResponsive:!0,VerticalAlign:"Top",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,Src:{DataSource:{ProductImageUrlBuilderExpression:{ProductId:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"InternalProductId"}]}},ImageSize:{Width:500,Height:750}}}},OriginalWidth:1400,Alt:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{CustomValue:16,Discriminator:"CustomBorderRadius"},TopRight:{CustomValue:16,Discriminator:"CustomBorderRadius"},BottomLeft:{CustomValue:16,Discriminator:"CustomBorderRadius"},BottomRight:{CustomValue:16,Discriminator:"CustomBorderRadius"}},ContentAlign:"Center",OriginalHeight:1400}}],Width:{WidthInPercents:{Value:.5}}},{VerticalAlign:"Bottom",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{ThemePadding:"ThemePaddingsMedium"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Right",Elements:[{OneLineList:{ContainerWidth:"Auto",ItemWidth:{Auto:{}},ItemPaddings:{Top:{CustomValue:0},Right:{ThemePadding:"ThemePaddingsSmall"},Bottom:{CustomValue:0},Left:{CustomValue:0}},Elements:[{HeightContainer:{VerticalAlign:"Middle",Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:24},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:24},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:24},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:24}},BackgroundColor:{Discriminator:"Custom",CustomValue:"#11D477"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{ThemePadding:"ThemePaddingsSmall"},Right:{ThemePadding:"ThemePaddingsSmall"}},Width:{Auto:{}},ContainerAlign:"Right",Height:26,Elements:[{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Inline",MinNumberOfLines:1,Style:{Discriminator:"NormalText",FontColor:{Discriminator:"Custom",CustomValue:"#FFFFFF"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#FFFFFF"}}},Text:{ConstValueExpression:{Value:"Новинка"}}}}]}},{HeightContainer:{VerticalAlign:"Middle",Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:24},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:24},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:24},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:24}},BackgroundColor:{Discriminator:"Custom",CustomValue:"#F6406C"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"},Left:{ThemePadding:"ThemePaddingsSmall"},Right:{ThemePadding:"ThemePaddingsSmall"}},Width:{Auto:{}},ContainerAlign:"Right",Height:26,Elements:[{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Inline",MinNumberOfLines:1,Style:{Discriminator:"NormalText",FontColor:{Discriminator:"Custom",CustomValue:"#FFFFFF"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#FFFFFF"}}},Text:{ConstValueExpression:{Value:"Акция"}}}}]}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{MinNumberOfLines:2,HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},IsLink:!0,ContentAlign:"Left",Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Name"}]}},MaxLength:30,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{SpanText:{IsLink:!1,HRef:{ConstValueExpression:{Value:""}},ContentAlign:"Left",MinNumberOfLines:2,Style:{Discriminator:"DescriptionText",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{TruncateValueExpression:{StringExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Description"}]}},MaxLength:74,Tail:"…"}}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{If:{Predicate:{Predicate:{NumberPredicate:{GreaterThan:{Left:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}},Right:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},True:[{OneLineList:{ContainerWidth:"Auto",ItemWidth:{Auto:{}},ItemPaddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Elements:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Left",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Left",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{ConstValueExpression:{Value:" "}}}},{SpanText:{MinNumberOfLines:1,ContentAlign:"Left",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"DescriptionTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"OldPrice"}]}}}}}}]}}],False:[{SpanText:{MinNumberOfLines:1,ContentAlign:"Left",IsLink:!1,HRef:{ConstValueExpression:{Value:""}},Style:{Discriminator:"SubHeading",FontColor:{Discriminator:"StyleLinkedColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Text:{NumberToStringExpression:{NumberExpression:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Price"}]}}}}}}]}},{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{Button:{ContentAlign:"Center",HRef:{ContextValueExpression:{Path:[{PropertyName:"item"},{PropertyName:"Url"}]}},Text:{ConstValueExpression:{Value:"Купить"}},BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#557aff"},FullWidth:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"ButtonBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"ButtonBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"ButtonBorderRadiusBottomLeft",CustomValue:0},BottomRight:{Discriminator:"ButtonBorderRadiusBottomRight",CustomValue:0}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}}}}],Width:{WidthInPercents:{Value:.5}}}]}}}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Spacer:{Height:{CustomValue:0},Weight:1,Color:{Discriminator:"Custom",CustomValue:"#E2E2E2"}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{CustomValue:0},Bottom:{CustomValue:0}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Left",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Мы рады представить вам наш последний продукт - сервис создания электронных писем. С помощью этого удобного и интуитивно понятного инструмента, вы сможете легко создавать красивые и профессиональные письма всего в несколько простых шагов.",TextStyle:{ThemeName:"LargeText",Style:{Color:{Discriminator:"LargeTextColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Spacer:{Height:{CustomValue:0},Weight:1,Color:{Discriminator:"Custom",CustomValue:"#E2E2E2"}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]},{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Bottom:{ThemePadding:"ThemePaddingsMedium"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{ThemePadding:"ThemePaddingsLarge"},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},VerticalAlign:"Top",ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:560,AdjustedHeight:320,IsResponsive:!0,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/office.png"}},OriginalWidth:1120,Alt:{ConstValueExpression:{Value:"banner"}},IsRetina:!1,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CardBorderRadiusTopLeft",CustomValue:0},TopRight:{Discriminator:"CardBorderRadiusTopRight",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline",OriginalHeight:640}},{HeightContainer:{VerticalAlign:"Top",Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CardBorderRadiusBottomRight",CustomValue:0},BottomLeft:{Discriminator:"CardBorderRadiusBottomLeft",CustomValue:0}},BackgroundColor:{Discriminator:"CardBackgroundColor",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsLarge"},Left:{ThemePadding:"ThemePaddingsMedium"},Right:{ThemePadding:"ThemePaddingsMedium"}},Width:{Auto:{}},ContainerAlign:"Center",Elements:[{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Left",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"23 Октября 2023",TextStyle:{ThemeName:"DescriptionText",Style:{Color:{Discriminator:"DescriptionTextColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Left",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Лучшие приложения для офиса на планшете",TextStyle:{ThemeName:"SubHeading",Style:{Color:{Discriminator:"SubHeadingColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Left",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Работа в офисе стала гораздо проще благодаря планшетам. Узнайте о лучших приложениях, которые помогут вам оставаться продуктивными, где бы вы ни находились.",TextStyle:{ThemeName:"NormalText",Style:{Color:{Discriminator:"NormalTextColor",CustomValue:"#FFFFFF"},TextTransform:"None"}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsMedium"},Weight:0,Color:{Discriminator:"None",CustomValue:"#000000"}}},{Button:{BackgroundColor:{Discriminator:"PrimaryColor",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{CustomValue:0,Discriminator:"ButtonBorderRadiusTopLeft"},TopRight:{CustomValue:0,Discriminator:"ButtonBorderRadiusTopRight"},BottomLeft:{CustomValue:0,Discriminator:"ButtonBorderRadiusBottomLeft"},BottomRight:{CustomValue:0,Discriminator:"ButtonBorderRadiusBottomRight"}},HRef:{ConstValueExpression:{Value:"#"}},Paddings:{Discriminator:"Theme",CustomValue:{TopBottom:0,LeftRight:0}},Text:{ConstValueExpression:{Value:"Читать"}},TextStyle:{Discriminator:"Button",FontColor:{Discriminator:"PrimaryTextColor",CustomValue:"#000000"},CustomFontSettings:{FontFamily:"Arial",FontSize:16,LineHeight:20,IsBold:!1,IsItalic:!1,Decoration:"None",FontColor:{Discriminator:"NormalTextColor",CustomValue:"#000000"}}},FullWidth:!0,ContentAlign:"Center"}}]}}],Width:{WidthInPercents:{Value:1}}}]}}]},{IsRequired:!1,InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#FFFFFF"},Paddings:{Top:{ThemePadding:"ThemePaddingsSmall"},Bottom:{ThemePadding:"ThemePaddingsSmall"}},FullWidth:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Middle",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Image:{AdjustedWidth:110,AdjustedHeight:24,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/logo=default.png"}},OriginalWidth:220,OriginalHeight:48,Alt:{ConstValueExpression:{Value:"logo"}},IsRetina:!0,Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContentAlign:"Inline"}}],Width:{ShrinkToContentWidth:{WidthInPixels:110}}},{VerticalAlign:"Middle",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:290}}},{VerticalAlign:"Middle",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{OneLineList:{ContainerWidth:"Auto",ItemWidth:{Auto:{}},ItemPaddings:{Top:{CustomValue:0},Right:{DivideExpression:{Left:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:2}}},Bottom:{CustomValue:0},Left:{DivideExpression:{Left:{ThemePadding:"ThemePaddingsSmall"},Right:{CustomValue:2}}}},Elements:[{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%201937904.png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"Youtube"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%201937905.png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"Telegram"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%201937906.png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"Dzen"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}},{Image:{AdjustedWidth:32,AdjustedHeight:32,IsResponsive:!1,VerticalAlign:"Top",HRef:{ConstValueExpression:{Value:"#"}},IsLink:!0,Src:{ConstValueExpression:{Value:"https://gallery.retailrocket.net/5df72bdc97a52507605e4cc1/Frame%201937907.png"}},OriginalWidth:64,Alt:{ConstValueExpression:{Value:"VK"}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},IsRetina:!0,ContentAlign:"Inline",OriginalHeight:64}}]}}],Width:{ShrinkToContentWidth:{WidthInPixels:160}}}]}},{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{ThemePadding:"ThemePaddingsMedium"},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{Spacer:{Height:{ThemePadding:"ThemePaddingsSmall"},Weight:1,Color:{Discriminator:"Custom",CustomValue:"#E2E2E2"}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}},{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:16}},ContainerAlign:"Left",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Left",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Вы получили это письмо, потому что подписались на рассылку Company name. Вы можете отписаться, нажав ",TextStyle:{ThemeName:"DescriptionText",Style:{Color:{Discriminator:"DescriptionTextColor",CustomValue:"#999999"},TextTransform:"None"}}}},{TextNode:{Text:"сюда",TextStyle:{ThemeName:"Link",Style:{TextTransform:"None"}},CommonLinkMark:{UnsubscribeLinkMark:{}}}}]}}]}}}],Width:{WidthInPercents:{Value:.76}}},{VerticalAlign:"Top",Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{ThemePadding:"ThemePaddingsMedium"},Left:{CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[],Width:{JustifyWidth:{WidthInPixels:3.046875}}},{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#FFFFFF"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:16},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:16}},ContainerAlign:"Center",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"© 2023-2024 Company name",TextStyle:{ThemeName:"LargeText",Style:{Color:{Discriminator:"LinkColor",CustomValue:"#65A0FA"},FontSize:10,LineHeight:13,TextTransform:"None"}}}}]}}]}}}],Width:{ShrinkToContentWidth:{WidthInPixels:131.34375}}}]}}]}]},uue=t=>{switch(t){case"en":return L1;case"ru":return due;default:return L1}},L1=[{defaultTemplate:aue,favoriteTemplateName:"Standard Blue"},{defaultTemplate:Qle,favoriteTemplateName:"Smooth Violet"},{defaultTemplate:eue,favoriteTemplateName:"Classic Black"},{defaultTemplate:tue,favoriteTemplateName:"Calm Green"},{defaultTemplate:oue,favoriteTemplateName:"Crisp Yellow"}],due=[{defaultTemplate:lue,favoriteTemplateName:"Стандартный синий"},{defaultTemplate:iue,favoriteTemplateName:"Плавный фиолетовый"},{defaultTemplate:nue,favoriteTemplateName:"Классический чёрный"},{defaultTemplate:rue,favoriteTemplateName:"Спокойная зелень"},{defaultTemplate:sue,favoriteTemplateName:"Яркий жёлтый"}],cue={Subject:"",Preheader:"",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Arial",Colors:{EmailBackgroundColor:"#EEEEEE",BodyColor:"#FFFFFF",PrimaryColor:"#557aff",PrimaryTextColor:"#ffffff",SecondaryColor:"#E4EAFF",SecondaryTextColor:"#557aff",CardBackgroundColor:"#F6F6F6",HeadingColor:"#2F2F2F",TitleColor:"#2F2F2F",SubHeadingColor:"#2F2F2F",LargeTextColor:"#2F2F2F",NormalTextColor:"#2F2F2F",DescriptionTextColor:"#999999",LinkColor:"#65A0FA",ButtonTextColor:"#ffffff"},BorderRadius:{TopLeft:20,TopRight:20,BottomLeft:20,BottomRight:20},BorderRadiusCard:{TopLeft:16,TopRight:16,BottomLeft:16,BottomRight:16},BorderRadiusButton:{TopLeft:6,TopRight:6,BottomLeft:6,BottomRight:6},BorderRadiusBanner:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BodyPaddings:{Left:20,Right:20,Top:10,Bottom:10},ComponentPaddings:{Small:8,Medium:16,Large:24,Huge:24},ButtonPaddings:{TopBottom:12,LeftRight:14},FontSettingsPresets:{Title:{FontSize:24,LineHeight:28,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:20,LineHeight:24,IsBold:!0,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:14,LineHeight:18,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:12,LineHeight:15,IsBold:!1,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:10,LineHeight:13,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:12,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Сервис создания электронных писем",TextStyle:{ThemeName:"Heading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Мы рады представить вам наш новый продукт - сервис создания электронных писем. С помощью этого удобного и интуитивно понятного инструмента, вы сможете легко создавать красивые и профессиональные письма всего в несколько простых шагов.",TextStyle:{ThemeName:"LargeText",Style:{}}}}]}}]}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]}]},mue={Subject:"",Preheader:"",Theme:{BodyWidth:600,IsResponsiveWidth:!0,FontFamily:"Arial",Colors:{EmailBackgroundColor:"#EEEEEE",BodyColor:"#FFFFFF",PrimaryColor:"#557aff",PrimaryTextColor:"#ffffff",SecondaryColor:"#E4EAFF",SecondaryTextColor:"#557aff",CardBackgroundColor:"#F6F6F6",HeadingColor:"#2F2F2F",TitleColor:"#2F2F2F",SubHeadingColor:"#2F2F2F",LargeTextColor:"#2F2F2F",NormalTextColor:"#2F2F2F",DescriptionTextColor:"#999999",LinkColor:"#65A0FA",ButtonTextColor:"#ffffff"},BorderRadius:{TopLeft:20,TopRight:20,BottomLeft:20,BottomRight:20},BorderRadiusCard:{TopLeft:16,TopRight:16,BottomLeft:16,BottomRight:16},BorderRadiusButton:{TopLeft:6,TopRight:6,BottomLeft:6,BottomRight:6},BorderRadiusBanner:{TopLeft:0,TopRight:0,BottomLeft:0,BottomRight:0},BodyPaddings:{Left:20,Right:20,Top:10,Bottom:10},ComponentPaddings:{Small:8,Medium:16,Large:24,Huge:24},ButtonPaddings:{TopBottom:12,LeftRight:14},FontSettingsPresets:{Title:{FontSize:24,LineHeight:28,IsBold:!0,IsItalic:!1,Decoration:"None"},Heading:{FontSize:20,LineHeight:24,IsBold:!0,IsItalic:!1,Decoration:"None"},SubHeading:{FontSize:14,LineHeight:16,IsBold:!0,IsItalic:!1,Decoration:"None"},LargeText:{FontSize:14,LineHeight:18,IsBold:!1,IsItalic:!1,Decoration:"None"},NormalText:{FontSize:12,LineHeight:15,IsBold:!1,IsItalic:!1,Decoration:"None"},DescriptionText:{FontSize:10,LineHeight:13,IsBold:!1,IsItalic:!1,Decoration:"None"},Button:{FontSize:12,LineHeight:14,IsBold:!0,IsItalic:!1,Decoration:"None"},Link:{FontSize:12,LineHeight:14,IsBold:!1,IsItalic:!1,Decoration:"None"}}},Components:[{IsRequired:!1,BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},InnerBgColor:{Discriminator:"BodyColor",CustomValue:"#000000"},Paddings:{Top:{ThemePadding:"ThemePaddingsLarge"},Bottom:{ThemePadding:"ThemePaddingsLarge"}},FullWidth:!1,BodyRowList:[{MultipleColumnBodyRow:{ColumnSpacerSize:{CustomValue:0},DirectionRtl:!1,Paddings:{Left:{CustomValue:0},Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},BgColor:{Discriminator:"None",CustomValue:"#ffffff"},ContainerAlign:"Center",Columns:[{VerticalAlign:"Top",BgColor:{Discriminator:"None",CustomValue:"#ffffff"},Paddings:{Top:{CustomValue:0},Right:{CustomValue:0},Bottom:{CustomValue:0},Left:{CustomValue:0}},Border:{Left:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Top:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Right:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}},Bottom:{Width:0,Style:"None",Color:{Discriminator:"Custom",CustomValue:"#FFFFFF"}}},BorderRadius:{TopLeft:{Discriminator:"CustomBorderRadius",CustomValue:0},TopRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomRight:{Discriminator:"CustomBorderRadius",CustomValue:0},BottomLeft:{Discriminator:"CustomBorderRadius",CustomValue:0}},ContainerAlign:"Center",Elements:[{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"Email Creation Service",TextStyle:{ThemeName:"Heading",Style:{}}}}]}}]}}},{Spacer:{Height:{ThemePadding:"ThemePaddingsLarge"},Weight:0,Color:{Discriminator:"None",CustomValue:"#FFFFFF"}}},{RichText:{ImageVerticalAlign:"Baseline",MinHeight:1,ContentAlign:"Center",Text:{Content:[{ParagraphNode:{Content:[{TextNode:{Text:"We are pleased to introduce our new product—an email creation service. With this convenient and intuitive tool, you can easily craft beautiful and professional emails in just a few simple steps.",TextStyle:{ThemeName:"LargeText",Style:{}}}}]}}]}}}],Width:{JustifyWidth:{WidthInPixels:560}}}]}}]}]},fue={class:"bootstrap-styles row g-0"},hue={class:"bootstrap-styles my-8"},pue=Me({__name:"StringContextValueExpressionBuilder",emits:["onStringExpressionUpdated"],setup(t,{emit:e}){const o=n=>{i("onStringExpressionUpdated",{DataSource:{StringFromContactCustomData:{FieldName:n.target.value}}})},i=e;return(n,r)=>(W(),J("div",fue,[V("div",hue,[r[1]||(r[1]=V("label",{class:"bootstrap-styles fw-bold mb-5"}," Название поля ",-1)),V("input",{type:"text",class:"bootstrap-styles bg-color-input border rounded-2 w-100 py-1 px-3",onChange:r[0]||(r[0]=s=>o(s))},null,32)])]))}}),Cue={class:"bootstrap-styles row g-0"},gue={class:"bootstrap-styles my-8"},Fue=Me({__name:"StringFromContactCustomDataExpressionBuilder",emits:["onStringExpressionUpdated"],setup(t,{emit:e}){const o=n=>{i("onStringExpressionUpdated",{DataSource:{StringFromContactCustomData:{FieldName:n.target.value}}})},i=e;return(n,r)=>(W(),J("div",Cue,[V("div",gue,[r[1]||(r[1]=V("label",{class:"bootstrap-styles fw-bold mb-5"}," Название поля ",-1)),V("input",{type:"text",class:"bootstrap-styles bg-color-input border rounded-2 w-100 py-1 px-3",onChange:r[0]||(r[0]=s=>o(s))},null,32)])]))}}),yue={class:"bootstrap-styles container-fluid g-0 mt-8"},Tue={class:"bootstrap-styles container-fluid px-11"},Sue={class:"bootstrap-styles fw-bold mb-5"},Bue={class:"bootstrap-styles row g-0"},Vue={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},Rue={id:"stringExpressionBuilderSourceSelector",class:"bootstrap-styles w-100 d-flex justify-content-between align-items-center py-1 px-3",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},Due={"data-test":"list-selector__current-value"},xue={class:"bootstrap-styles dropdown-menu w-100 rounded-2","data-test":"list-selector__options","aria-labelledby":"stringExpressionBuilderSourceSelector"},bue=["onClick"],Lue={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},Eue=Me({__name:"StringExpressionBuilder",emits:["stringExpressionUpdated","cancel"],setup(t,{emit:e}){const o=["Context","ContactCustomData"],i=xt({currentValue:"ContactCustomData",stringExpression:{}}),n=e;return(r,s)=>(W(),Pe(gT,{class:"string-expression-builder-modal-window",headerText:"StringExpressionBuilderModalWindow",onClose:s[4]||(s[4]=()=>n("cancel"))},{body:ur(()=>[V("div",yue,[V("div",Tue,[V("label",Sue,Lt(j(Le)("productShelfBuilderComponent.algorithmLabel")),1),V("div",Bue,[V("div",Vue,[V("button",Rue,[V("span",Due,Lt(i.currentValue),1),ue(uS)]),V("ul",xue,[(W(),J(Ge,null,Yt(o,(a,u)=>V("li",{key:u,class:"bootstrap-styles dropdown-item p-0","data-test":"list-selector__option",onClick:()=>i.currentValue=a},[V("span",Lue,Lt(a),1)],8,bue)),64))])])]),i.currentValue==="Context"?(W(),Pe(pue,{key:0,onOnStringExpressionUpdated:s[0]||(s[0]=a=>i.stringExpression=a)})):xe("",!0),i.currentValue==="ContactCustomData"?(W(),Pe(Fue,{key:1,onOnStringExpressionUpdated:s[1]||(s[1]=a=>i.stringExpression=a)})):xe("",!0)])])]),"footer-actions":ur(()=>[V("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:s[2]||(s[2]=ci(()=>n("cancel"),["stop"]))}," Отмена "),V("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-color-selected text-white cursor-pointer button__hover-blue-400",onClick:s[3]||(s[3]=ci(()=>n("stringExpressionUpdated",i.stringExpression),["stop"]))}," Применить ")]),_:1}))}}),vue=()=>Me((t,e)=>()=>Gn(Eue,{onStringExpressionUpdated:o=>{e.emit("onStringExpressionUpdated",o)}}),{emits:{onStringExpressionUpdated:()=>!0}}),PA="#app",Wi=document.querySelector(PA),Lo={partnerId:Wi.getAttribute("data-partner-id"),wysiwygTemplateEditorBffBaseUrl:Wi.getAttribute("data-wysiwyg-template-editor-bff-base-url"),wysiwygBffProxyBaseUrl:Wi.getAttribute("data-wysiwyg-bff-proxy-base-url"),antiForgeryHeaderTokenName:Wi.getAttribute("data-anti-forgery-header-token-name"),antiForgeryHeaderTokenValue:Wi.getAttribute("data-anti-forgery-header-token-value"),antiForgeryFormTokenName:Wi.getAttribute("data-anti-forgery-form-token-name"),antiForgeryFormTokenValue:Wi.getAttribute("data-anti-forgery-form-token-value"),createEmailTemplateSubmitUrl:Wi.getAttribute("data-create-email-template-submit-url"),initialEmailTemplateJson:Wi.getAttribute("data-initial-repurchase-template"),repurchaseFavoritesTemplates:JSON.parse(Wi.getAttribute("data-repurchase-favorites-templates")),commonFavoritesTemplates:JSON.parse(Wi.getAttribute("data-common-favorites-templates")),exitLink:Wi.getAttribute("data-exit-link"),localeKey:Wi.getAttribute("data-locale-key")},Nue=t=>r8({baseUrl:t.baseUrl,antiForgeryTokenHeaderName:Lo.antiForgeryHeaderTokenName,antiForgeryTokenValue:Lo.antiForgeryHeaderTokenValue}),Pue=a8.createApi(Nue({baseUrl:Lo.wysiwygBffProxyBaseUrl})),_A=t=>{const e=new FormData;e.append(Lo.antiForgeryFormTokenName,Lo.antiForgeryFormTokenValue),e.append("template",JSON.stringify(t.template));const o=ple({method:"POST",action:Lo.createEmailTemplateSubmitUrl,formData:e});document.body.appendChild(o),o.submit()},_ue={},Aue={BatchId:""},W0=t=>{const e=Yle({partnerId:Lo.partnerId,listExpressionDataSourceBffClient:Pue,customerStockId:void 0}),o=Tle({listExpressionDataSourceEvaluator:e}),i=Xle(),n=Dle({listExpressionEvaluator:o,numberExpressionDataSourceEvaluator:i}),r=Lle({listExpressionEvaluator:o,numberExpressionEvaluator:n,stringExpressionDataSourceEvaluatorFactory:()=>Zle({productImageUrlBuilderExpressionEvaluator:wle({partnerId:Lo.partnerId,numberExpressionEvaluator:n}),contactCustomData:_ue,nextCouponFromBatch:Aue})}),s=Wle({listExpressionEvaluator:o,numberExpressionEvaluator:n,stringExpressionEvaluator:r,dataStructBuilderExpressionEvaluatorFactory:c=>b1({expressionEvaluator:c})}),a=b1({expressionEvaluator:s}),u=vue();return $ae({template:t.template,templateName:t.templateName,emailTemplatePreviewTileDeps:hle({listExpressionEvaluator:o,numberExpressionEvaluator:n,stringExpressionEvaluator:r,dataStructExpressionEvaluator:a,expressionEvaluator:s,stringExpressionBuilderPlugin:u}),onFavoriteTemplateSelected:()=>{_A({template:t.template})}})},E1=Lo.localeKey==="ru"?cue:mue,cS=o4(M7,{onInitialTemplateSelected:()=>{_A({template:Lo.initialEmailTemplateJson.length?JSON.parse(Lo.initialEmailTemplateJson):E1})},deps:n8({localeKey:Lo.localeKey,emailTemplatePreviews:{custom:[...Lo.commonFavoritesTemplates.map(t=>({templateName:t.favoriteTemplateName,previewTileComponent:W0({template:JSON.parse(t.templateJson),templateName:t.favoriteTemplateName})})),...Lo.repurchaseFavoritesTemplates.map(t=>({templateName:t.favoriteTemplateName,previewTileComponent:W0({template:JSON.parse(t.templateJson),templateName:t.favoriteTemplateName})}))],default:[...uue(Lo.localeKey).map(t=>({templateName:t.favoriteTemplateName,previewTileComponent:W0({template:t.defaultTemplate,templateName:t.favoriteTemplateName})}))]},initialEmailTemplate:Lo.initialEmailTemplateJson.length?JSON.parse(Lo.initialEmailTemplateJson):E1,exitLink:Lo.exitLink})});cS.use(LE({theme:!1,directives:{ClickOutside:z7}}));cS.use(uv);cS.mount(PA);
|