@retailrocketgroup/retailrocket-create.product-back-in-stock-vue-email-template-render 3.0.381747 → 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.
Files changed (44) hide show
  1. package/.turbo/turbo-build.log +25 -0
  2. package/dist/assets/index.css +1 -0
  3. package/dist/assets/index.js +379 -0
  4. package/dist/assets/index.js.map +1 -0
  5. package/dist/createProductBackInStockEmailTemplateApp.d.ts +0 -0
  6. package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/productBackInStockComponentSectionItemFactory.d.ts +4 -0
  7. package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/productBackInStockEmailComponentFactory.d.ts +4 -0
  8. package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/productBackInStockComponentLibraryFactory.d.ts +4 -0
  9. package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/productBackInStockSectionFactory.d.ts +4 -0
  10. package/dist/implementation/DataSources/ListDataExpressionSource/productBackInStockEvaluateListExpressionDataSourceFactory.d.ts +8 -0
  11. package/dist/implementation/DataSources/NumberExpressionDataSource/productBackInStockEvaluateNumberExpressionDataSourceFactory.d.ts +2 -0
  12. package/dist/implementation/DataSources/StringExpressionDataSource/productBackInStockEvaluateStringExpressionDataSource.d.ts +9 -0
  13. package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/ProductBackInStockProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/alternativeProductsForProductBackInStockProductListShelfBuilderDepsFactory.d.ts +8 -0
  14. package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/ProductBackInStockProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/productBackInStockProductListShelfBuilderDepsFactory.d.ts +8 -0
  15. package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/ProductBackInStockProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/relatedProductsForProductBackInStockProductListShelfBuilderDepsFactory.d.ts +8 -0
  16. package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/ProductBackInStockProductShelfDataSourceExpressionBuilderModal/productBackInStockProductShelfDataSourceExpressionBuilderModalDepsFactory.d.ts +11 -0
  17. package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/productBackInStockProductShelfDataSourceExpressionBuilderDepsFactory.d.ts +11 -0
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.html +36 -0
  20. package/env.d.ts +1 -0
  21. package/index.html +1 -2
  22. package/package.json +1 -1
  23. package/src/createProductBackInStockEmailTemplateApp.ts +295 -0
  24. package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/productBackInStockComponentSectionItemFactory.ts +30 -0
  25. package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/productBackInStockEmailComponentFactory.ts +26 -0
  26. package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/productBackInStockComponentLibraryFactory.ts +29 -0
  27. package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/productBackInStockSectionFactory.ts +33 -0
  28. package/src/implementation/DataSources/ListDataExpressionSource/productBackInStockEvaluateListExpressionDataSourceFactory.ts +134 -0
  29. package/src/implementation/DataSources/NumberExpressionDataSource/productBackInStockEvaluateNumberExpressionDataSourceFactory.ts +10 -0
  30. package/src/implementation/DataSources/StringExpressionDataSource/productBackInStockEvaluateStringExpressionDataSource.ts +56 -0
  31. package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/ProductBackInStockProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/alternativeProductsForProductBackInStockProductListShelfBuilderDepsFactory.ts +33 -0
  32. package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/ProductBackInStockProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/productBackInStockProductListShelfBuilderDepsFactory.ts +33 -0
  33. package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/ProductBackInStockProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/relatedProductsForProductBackInStockProductListShelfBuilderDepsFactory.ts +33 -0
  34. package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/ProductBackInStockProductShelfDataSourceExpressionBuilderModal/productBackInStockProductShelfDataSourceExpressionBuilderModalDepsFactory.ts +151 -0
  35. package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/productBackInStockProductShelfDataSourceExpressionBuilderDepsFactory.ts +35 -0
  36. package/src/index.ts +0 -0
  37. package/tsconfig.app.json +19 -0
  38. package/tsconfig.json +14 -0
  39. package/tsconfig.node.json +11 -0
  40. package/tsconfig.test.json +11 -0
  41. package/vite.config.ts +36 -0
  42. package/assets/main.css +0 -1
  43. package/assets/main.js +0 -185
  44. package/favicon.ico +0 -0
package/assets/main.js DELETED
@@ -1,185 +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.25
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **/function cy(t){const e=Object.create(null);for(const o of t.split(","))e[o]=1;return o=>o in e}const Wt={},ou=[],Wn=()=>{},P1=()=>!1,np=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),my=t=>t.startsWith("onUpdate:"),Ro=Object.assign,fy=(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,iu=t=>rp(t)==="[object Map]",_1=t=>rp(t)==="[object Set]",tt=t=>typeof t=="function",eo=t=>typeof t=="string",us=t=>typeof t=="symbol",Mt=t=>t!==null&&typeof t=="object",A1=t=>(Mt(t)||tt(t))&&tt(t.then)&&tt(t.catch),I1=Object.prototype.toString,rp=t=>I1.call(t),OM=t=>rp(t).slice(8,-1),w1=t=>rp(t)==="[object Object]",sp=t=>eo(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Ed=cy(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ap=t=>{const e=Object.create(null);return(o=>e[o]||(e[o]=t(o)))},MM=/-\w/g,Li=ap(t=>t.replace(MM,e=>e.slice(1).toUpperCase())),HM=/\B([A-Z])/g,dl=ap(t=>t.replace(HM,"-$1").toLowerCase()),_u=ap(t=>t.charAt(0).toUpperCase()+t.slice(1)),Sg=ap(t=>t?`on${_u(t)}`:""),$s=(t,e)=>!Object.is(t,e),Bg=(t,...e)=>{for(let o=0;o<t.length;o++)t[o](...e)},k1=(t,e,o,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:o})},$M=t=>{const e=parseFloat(t);return isNaN(e)?t:e},zM=t=>{const e=eo(t)?Number(t):NaN;return isNaN(e)?t:e};let IV;const lp=()=>IV||(IV=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)?KM(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 UM=/;(?![^(]*\))/g,jM=/:([^]+)/,GM=/\/\*[^]*?\*\//g;function KM(t){const e={};return t.replace(GM,"").split(UM).forEach(o=>{if(o){const i=o.split(jM);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 qM(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 YM="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",JM=cy(YM);function W1(t){return!!t||t===""}const O1=t=>!!(t&&t.__v_isRef===!0),Lt=t=>eo(t)?t:t==null?"":et(t)||Mt(t)&&(t.toString===I1||!tt(t.toString))?O1(t)?Lt(t.value):JSON.stringify(t,M1,2):String(t),M1=(t,e)=>O1(e)?M1(t,e.value):iu(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((o,[i,n],r)=>(o[Vg(i,r)+" =>"]=n,o),{})}:_1(e)?{[`Set(${e.size})`]:[...e.values()].map(o=>Vg(o))}:us(e)?Vg(e):Mt(e)&&!et(e)&&!w1(e)?String(e):e,Vg=(t,e="")=>{var o;return us(t)?`Symbol(${(o=t.description)!=null?o:e})`:t};function ZM(t){return t==null?"initial":typeof t=="string"?t===""?" ":t:String(t)}/**
6
- * @vue/reactivity v3.5.25
7
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
- * @license MIT
9
- **/let qo;class H1{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 zf(t){return new H1(t)}function hy(){return qo}function xc(t,e=!1){qo&&qo.cleanups.push(t)}let zt;const Rg=new WeakSet;class $1{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,Rg.has(this)&&(Rg.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||U1(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,wV(this),j1(this);const e=zt,o=On;zt=this,On=!0;try{return this.fn()}finally{G1(this),zt=e,On=o,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)gy(e);this.deps=this.depsTail=void 0,wV(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Rg.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){$0(this)&&this.run()}get dirty(){return $0(this)}}let z1=0,vd,Nd;function U1(t,e=!1){if(t.flags|=8,e){t.next=Nd,Nd=t;return}t.next=vd,vd=t}function py(){z1++}function Cy(){if(--z1>0)return;if(Nd){let e=Nd;for(Nd=void 0;e;){const o=e.next;e.next=void 0,e.flags&=-9,e=o}}let t;for(;vd;){let e=vd;for(vd=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 j1(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function G1(t){let e,o=t.depsTail,i=o;for(;i;){const n=i.prevDep;i.version===-1?(i===o&&(o=n),gy(i),XM(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=n}t.deps=e,t.depsTail=o}function $0(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(K1(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function K1(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Jd)||(t.globalVersion=Jd,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!$0(t))))return;t.flags|=2;const e=t.dep,o=zt,i=On;zt=t,On=!0;try{j1(t);const n=t.fn(t._value);(e.version===0||$s(n,t._value))&&(t.flags|=128,t._value=n,e.version++)}catch(n){throw e.version++,n}finally{zt=o,On=i,G1(t),t.flags&=-3}}function gy(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)gy(r,!0)}!e&&!--o.sc&&o.map&&o.map.delete(o.key)}function XM(t){const{prevDep:e,nextDep:o}=t;e&&(e.nextDep=o,t.prevDep=void 0),o&&(o.prevDep=e,t.nextDep=void 0)}let On=!0;const q1=[];function ns(){q1.push(On),On=!1}function rs(){const t=q1.pop();On=t===void 0?!0:t}function wV(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const o=zt;zt=void 0;try{e()}finally{zt=o}}}let Jd=0,QM=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 up{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||!On||zt===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==zt)o=this.activeLink=new QM(zt,this),zt.deps?(o.prevDep=zt.depsTail,zt.depsTail.nextDep=o,zt.depsTail=o):zt.deps=zt.depsTail=o,Y1(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++,Jd++,this.notify(e)}notify(e){py();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Cy()}}}function Y1(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)Y1(i)}const o=t.dep.subs;o!==t&&(t.prevSub=o,o&&(o.nextSub=t)),t.dep.subs=t}}const Uf=new WeakMap,za=Symbol(""),z0=Symbol(""),Zd=Symbol("");function Jo(t,e,o){if(On&&zt){let i=Uf.get(t);i||Uf.set(t,i=new Map);let n=i.get(o);n||(i.set(o,n=new up),n.map=i,n.key=o),n.track()}}function Kr(t,e,o,i,n,r){const s=Uf.get(t);if(!s){Jd++;return}const a=u=>{u&&u.trigger()};if(py(),e==="clear")s.forEach(a);else{const u=et(t),c=u&&sp(o);if(u&&o==="length"){const m=Number(i);s.forEach((f,p)=>{(p==="length"||p===Zd||!us(p)&&p>=m)&&a(f)})}else switch((o!==void 0||s.has(void 0))&&a(s.get(o)),c&&a(s.get(Zd)),e){case"add":u?c&&a(s.get("length")):(a(s.get(za)),iu(t)&&a(s.get(z0)));break;case"delete":u||(a(s.get(za)),iu(t)&&a(s.get(z0)));break;case"set":iu(t)&&a(s.get(za));break}}Cy()}function e3(t,e){const o=Uf.get(t);return o&&o.get(e)}function Il(t){const e=Dt(t);return e===t?e:(Jo(e,"iterate",Zd),Ui(t)?e:e.map(Mn))}function dp(t){return Jo(t=Dt(t),"iterate",Zd),t}function Ns(t,e){return ss(t)?Ua(t)?mu(Mn(e)):mu(e):Mn(e)}const t3={__proto__:null,[Symbol.iterator](){return Dg(this,Symbol.iterator,t=>Ns(this,t))},concat(...t){return Il(this).concat(...t.map(e=>et(e)?Il(e):e))},entries(){return Dg(this,"entries",t=>(t[1]=Ns(this,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(i=>Ns(this,i)),arguments)},find(t,e){return Ar(this,"find",t,e,o=>Ns(this,o),arguments)},findIndex(t,e){return Ar(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Ar(this,"findLast",t,e,o=>Ns(this,o),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 bg(this,"includes",t)},indexOf(...t){return bg(this,"indexOf",t)},join(t){return Il(this).join(t)},lastIndexOf(...t){return bg(this,"lastIndexOf",t)},map(t,e){return Ar(this,"map",t,e,void 0,arguments)},pop(){return ld(this,"pop")},push(...t){return ld(this,"push",t)},reduce(t,...e){return kV(this,"reduce",t,e)},reduceRight(t,...e){return kV(this,"reduceRight",t,e)},shift(){return ld(this,"shift")},some(t,e){return Ar(this,"some",t,e,void 0,arguments)},splice(...t){return ld(this,"splice",t)},toReversed(){return Il(this).toReversed()},toSorted(t){return Il(this).toSorted(t)},toSpliced(...t){return Il(this).toSpliced(...t)},unshift(...t){return ld(this,"unshift",t)},values(){return Dg(this,"values",t=>Ns(this,t))}};function Dg(t,e,o){const i=dp(t),n=i[e]();return i!==t&&!Ui(t)&&(n._next=n.next,n.next=()=>{const r=n._next();return r.done||(r.value=o(r.value)),r}),n}const o3=Array.prototype;function Ar(t,e,o,i,n,r){const s=dp(t),a=s!==t&&!Ui(t),u=s[e];if(u!==o3[e]){const f=u.apply(t,r);return a?Mn(f):f}let c=o;s!==t&&(a?c=function(f,p){return o.call(this,Ns(t,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 kV(t,e,o,i){const n=dp(t);let r=o;return n!==t&&(Ui(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,Ns(t,a),u,t)}),n[e](r,...i)}function bg(t,e,o){const i=Dt(t);Jo(i,"iterate",Zd);const n=i[e](...o);return(n===-1||n===!1)&&fp(o[0])?(o[0]=Dt(o[0]),i[e](...o)):n}function ld(t,e,o=[]){ns(),py();const i=Dt(t)[e].apply(t,o);return Cy(),rs(),i}const i3=cy("__proto__,__v_isRef,__isVue"),J1=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(us));function n3(t){us(t)||(t=String(t));const e=Dt(this);return Jo(e,"has",t),e.hasOwnProperty(t)}class Z1{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?iL:oL:r?tL:eL).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const s=et(e);if(!n){let u;if(s&&(u=t3[o]))return u;if(o==="hasOwnProperty")return n3}const a=Reflect.get(e,o,no(e)?e:i);if((us(o)?J1.has(o):i3(o))||(n||Jo(e,"get",o),r))return a;if(no(a)){const u=s&&sp(o)?a:a.value;return n&&Mt(u)?jf(u):u}return Mt(a)?n?jf(a):bt(a):a}}class X1 extends Z1{constructor(e=!1){super(!1,e)}set(e,o,i,n){let r=e[o];const s=et(e)&&sp(o);if(!this._isShallow){const c=ss(r);if(!Ui(i)&&!ss(i)&&(r=Dt(r),i=Dt(i)),!s&&no(r)&&!no(i))return c||(r.value=i),!0}const a=s?Number(o)<e.length:_t(e,o),u=Reflect.set(e,o,i,no(e)?e:n);return e===Dt(n)&&(a?$s(i,r)&&Kr(e,"set",o,i):Kr(e,"add",o,i)),u}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(!us(o)||!J1.has(o))&&Jo(e,"has",o),i}ownKeys(e){return Jo(e,"iterate",et(e)?"length":za),Reflect.ownKeys(e)}}class Q1 extends Z1{constructor(e=!1){super(!0,e)}set(e,o){return!0}deleteProperty(e,o){return!0}}const r3=new X1,s3=new Q1,a3=new X1(!0),l3=new Q1(!0),U0=t=>t,Km=t=>Reflect.getPrototypeOf(t);function u3(t,e,o){return function(...i){const n=this.__v_raw,r=Dt(n),s=iu(r),a=t==="entries"||t===Symbol.iterator&&s,u=t==="keys"&&s,c=n[t](...i),m=o?U0:e?mu:Mn;return!e&&Jo(r,"iterate",u?z0:za),{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 qm(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function d3(t,e){const o={get(n){const r=this.__v_raw,s=Dt(r),a=Dt(n);t||($s(n,a)&&Jo(s,"get",n),Jo(s,"get",a));const{has:u}=Km(s),c=e?U0:t?mu:Mn;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",za),n.size},has(n){const r=this.__v_raw,s=Dt(r),a=Dt(n);return t||($s(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?U0:t?mu:Mn;return!t&&Jo(u,"iterate",za),a.forEach((m,f)=>n.call(r,c(m),c(f),s))}};return Ro(o,t?{add:qm("add"),set:qm("set"),delete:qm("delete"),clear:qm("clear")}:{add(n){!e&&!Ui(n)&&!ss(n)&&(n=Dt(n));const r=Dt(this);return Km(r).has.call(r,n)||(r.add(n),Kr(r,"add",n,n)),this},set(n,r){!e&&!Ui(r)&&!ss(r)&&(r=Dt(r));const s=Dt(this),{has:a,get:u}=Km(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?$s(r,m)&&Kr(s,"set",n,r):Kr(s,"add",n,r),this},delete(n){const r=Dt(this),{has:s,get:a}=Km(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]=u3(n,t,e)}),o}function cp(t,e){const o=d3(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 c3={get:cp(!1,!1)},m3={get:cp(!1,!0)},f3={get:cp(!0,!1)},h3={get:cp(!0,!0)},eL=new WeakMap,tL=new WeakMap,oL=new WeakMap,iL=new WeakMap;function p3(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function C3(t){return t.__v_skip||!Object.isExtensible(t)?0:p3(OM(t))}function bt(t){return ss(t)?t:mp(t,!1,r3,c3,eL)}function g3(t){return mp(t,!1,a3,m3,tL)}function jf(t){return mp(t,!0,s3,f3,oL)}function wl(t){return mp(t,!0,l3,h3,iL)}function mp(t,e,o,i,n){if(!Mt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=C3(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 Ua(t){return ss(t)?Ua(t.__v_raw):!!(t&&t.__v_isReactive)}function ss(t){return!!(t&&t.__v_isReadonly)}function Ui(t){return!!(t&&t.__v_isShallow)}function fp(t){return t?!!t.__v_raw:!1}function Dt(t){const e=t&&t.__v_raw;return e?Dt(e):t}function nL(t){return!_t(t,"__v_skip")&&Object.isExtensible(t)&&k1(t,"__v_skip",!0),t}const Mn=t=>Mt(t)?bt(t):t,mu=t=>Mt(t)?jf(t):t;function no(t){return t?t.__v_isRef===!0:!1}function Vt(t){return rL(t,!1)}function lo(t){return rL(t,!0)}function rL(t,e){return no(t)?t:new F3(t,e)}class F3{constructor(e,o){this.dep=new up,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?e:Dt(e),this._value=o?e:Mn(e),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(e){const o=this._rawValue,i=this.__v_isShallow||Ui(e)||ss(e);e=i?e:Dt(e),$s(e,o)&&(this._rawValue=e,this._value=i?e:Mn(e),this.dep.trigger())}}function j(t){return no(t)?t.value:t}function fu(t){return tt(t)?t():j(t)}const y3={get:(t,e,o)=>e==="__v_raw"?t:j(Reflect.get(t,e,o)),set:(t,e,o,i)=>{const n=t[e];return no(n)&&!no(o)?(n.value=o,!0):Reflect.set(t,e,o,i)}};function sL(t){return Ua(t)?t:new Proxy(t,y3)}class T3{constructor(e){this.__v_isRef=!0,this._value=void 0;const o=this.dep=new up,{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 S3(t){return new T3(t)}function aL(t){const e=et(t)?new Array(t.length):{};for(const o in t)e[o]=lL(t,o);return e}class B3{constructor(e,o,i){this._object=e,this._key=o,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0,this._raw=Dt(e);let n=!0,r=e;if(!et(e)||!sp(String(o)))do n=!fp(r)||Ui(r);while(n&&(r=r.__v_raw));this._shallow=n}get value(){let e=this._object[this._key];return this._shallow&&(e=j(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&no(this._raw[this._key])){const o=this._object[this._key];if(no(o)){o.value=e;return}}this._object[this._key]=e}get dep(){return e3(this._raw,this._key)}}class V3{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 no(t)?t:tt(t)?new V3(t):Mt(t)&&arguments.length>1?lL(t,e,o):Vt(t)}function lL(t,e,o){return new B3(t,e,o)}class R3{constructor(e,o,i){this.fn=e,this.setter=o,this._value=void 0,this.dep=new up(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Jd-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 U1(this,!0),!0}get value(){const e=this.dep.track();return K1(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function D3(t,e,o=!1){let i,n;return tt(t)?i=t:(i=t.get,n=t.set),new R3(i,n,o)}const Ym={},Gf=new WeakMap;let Pa;function b3(t,e=!1,o=Pa){if(o){let i=Gf.get(o);i||Gf.set(o,i=[]),i.push(t)}}function x3(t,e,o=Wt){const{immediate:i,deep:n,once:r,scheduler:s,augmentJob:a,call:u}=o,c=R=>n?R:Ui(R)||n===!1||n===0?qr(R,1):qr(R);let m,f,p,C,F=!1,y=!1;if(no(t)?(f=()=>t.value,F=Ui(t)):Ua(t)?(f=()=>c(t),F=!0):et(t)?(y=!0,F=t.some(R=>Ua(R)||Ui(R)),f=()=>t.map(R=>{if(no(R))return R.value;if(Ua(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=Pa;Pa=m;try{return u?u(t,3,[C]):t(C)}finally{Pa=R}}:f=Wn,e&&n){const R=f,N=n===!0?1/0:n;f=()=>qr(R(),N)}const T=hy(),B=()=>{m.stop(),T&&T.active&&fy(T.effects,m)};if(r&&e){const R=e;e=(...N)=>{R(...N),B()}}let v=y?new Array(t.length).fill(Ym):Ym;const D=R=>{if(!(!(m.flags&1)||!m.dirty&&!R))if(e){const N=m.run();if(n||F||(y?N.some((_,P)=>$s(_,v[P])):$s(N,v))){p&&p();const _=Pa;Pa=m;try{const P=[N,v===Ym?void 0:y&&v[0]===Ym?[]:v,C];v=N,u?u(e,3,P):e(...P)}finally{Pa=_}}}else m.run()};return a&&a(D),m=new $1(f),m.scheduler=s?()=>s(D,!1):D,C=R=>b3(R,!1,m),p=m.onStop=()=>{const R=Gf.get(m);if(R){if(u)u(R,4);else for(const N of R)N();Gf.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--,no(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(_1(t)||iu(t))t.forEach(i=>{qr(i,e,o)});else if(w1(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.25
11
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
- * @license MIT
13
- **/function Lc(t,e,o,i){try{return i?t(...i):t()}catch(n){hp(n,e,o)}}function Hn(t,e,o,i){if(tt(t)){const n=Lc(t,e,o,i);return n&&A1(n)&&n.catch(r=>{hp(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 hp(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(),Lc(r,null,10,[t,u,c]),rs();return}}L3(t,o,n,i,s)}function L3(t,e,o,i=!0,n=!1){if(n)throw t;console.error(t)}const di=[];let tr=-1;const nu=[];let Ps=null,zl=0;const uL=Promise.resolve();let Kf=null;function cl(t){const e=Kf||uL;return t?e.then(this?t.bind(this):t):e}function E3(t){let e=tr+1,o=di.length;for(;e<o;){const i=e+o>>>1,n=di[i],r=Xd(n);r<t||r===t&&n.flags&2?e=i+1:o=i}return e}function Fy(t){if(!(t.flags&1)){const e=Xd(t),o=di[di.length-1];!o||!(t.flags&2)&&e>=Xd(o)?di.push(t):di.splice(E3(e),0,t),t.flags|=1,dL()}}function dL(){Kf||(Kf=uL.then(fL))}function cL(t){et(t)?nu.push(...t):Ps&&t.id===-1?Ps.splice(zl+1,0,t):t.flags&1||(nu.push(t),t.flags|=1),dL()}function WV(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 mL(t){if(nu.length){const e=[...new Set(nu)].sort((o,i)=>Xd(o)-Xd(i));if(nu.length=0,Ps){Ps.push(...e);return}for(Ps=e,zl=0;zl<Ps.length;zl++){const o=Ps[zl];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}Ps=null,zl=0}}const Xd=t=>t.id==null?t.flags&2?-1:1/0:t.id;function fL(t){try{for(tr=0;tr<di.length;tr++){const e=di[tr];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Lc(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,mL(),Kf=null,(di.length||nu.length)&&fL()}}let Ho=null,hL=null;function qf(t){const e=Ho;return Ho=t,hL=t&&t.type.__scopeId||null,e}function ur(t,e=Ho,o){if(!e||t._n)return t;const i=(...n)=>{i._d&&Xf(-1);const r=qf(e);let s;try{s=t(...n)}finally{qf(r),i._d&&Xf(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=yp(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 Da(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 pL=Symbol("_vte"),CL=t=>t.__isTeleport,Pd=t=>t&&(t.disabled||t.disabled===""),OV=t=>t&&(t.defer||t.defer===""),MV=t=>typeof SVGElement<"u"&&t instanceof SVGElement,HV=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,j0=(t,e)=>{const o=t&&t.to;return eo(o)?e?e(o):null:o},gL={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=Pd(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=(W,ne)=>{v&16&&m(D,W,ne,n,r,s,a,u)},O=()=>{const W=e.target=j0(e.props,F),ne=FL(W,e,y,C);W&&(s!=="svg"&&MV(W)?s="svg":s!=="mathml"&&HV(W)&&(s="mathml"),n&&n.isCE&&(n.ce._teleportTargets||(n.ce._teleportTargets=new Set)).add(W),B||(P(W,ne),bf(e,!1)))};B&&(P(o,_),bf(e,!0)),OV(e.props)?(e.el.__isMounted=!1,ui(()=>{O(),delete e.el.__isMounted},r)):O()}else{if(OV(e.props)&&t.el.__isMounted===!1){ui(()=>{gL.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,O=Pd(t.props),W=O?o:_,ne=O?N:P;if(s==="svg"||MV(_)?s="svg":(s==="mathml"||HV(_))&&(s="mathml"),R?(p(t.dynamicChildren,R,W,n,r,s,a),Dy(t,e,!0)):u||f(t,e,W,ne,n,r,s,a,!1),B)O?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Jm(e,o,N,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const U=e.target=j0(e.props,F);U&&Jm(e,U,null,c,0)}else O&&Jm(e,_,P,c,1);bf(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||!Pd(p);for(let F=0;F<a.length;F++){const y=a[F];i(y,e,o,C,!!y.dynamicChildren)}}},move:Jm,hydrate:v3};function Jm(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||Pd(m))&&u&16)for(let p=0;p<c.length;p++)n(c[p],e,o,2);f&&i(a,e,o)}function v3(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=j0(e.props,u),F=Pd(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||FL(C,e,m,c),f(y&&s(y),e,C,o,i,n,r)}bf(e,F)}else F&&e.shapeFlag&16&&p(t,e,t,s(t));return e.anchor&&s(e.anchor)}const yy=gL;function bf(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 FL(t,e,o,i){const n=e.targetStart=o(""),r=e.targetAnchor=o("");return n[pL]=r,t&&(i(n,t),i(r,t)),r}const Gr=Symbol("_leaveCb"),Zm=Symbol("_enterCb");function yL(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return cs(()=>{t.isMounted=!0}),ta(()=>{t.isUnmounting=!0}),t}const dn=[Function,Array],TL={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},SL=t=>{const e=t.subTree;return e.component?SL(e.component):e},N3={name:"BaseTransition",props:TL,setup(t,{slots:e}){const o=Tn(),i=yL();return()=>{const n=e.default&&Ty(e.default(),!0);if(!n||!n.length)return;const r=BL(n),s=Dt(t),{mode:a}=s;if(i.isLeaving)return xg(r);const u=$V(r);if(!u)return xg(r);let c=Qd(u,s,i,o,f=>c=f);u.type!==Zo&&el(u,c);let m=o.subTree&&$V(o.subTree);if(m&&m.type!==Zo&&!_a(m,u)&&SL(o).type!==Zo){let f=Qd(m,s,i,o);if(el(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},xg(r);a==="in-out"&&u.type!==Zo?f.delayLeave=(p,C,F)=>{const y=VL(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 BL(t){let e=t[0];if(t.length>1){for(const o of t)if(o.type!==Zo){e=o;break}}return e}const P3=N3;function VL(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 Qd(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=VL(o,t),_=(W,ne)=>{W&&Hn(W,i,9,ne)},P=(W,ne)=>{const U=ne[1];_(W,ne),et(W)?W.every(H=>H.length<=1)&&U():W.length<=1&&U()},O={mode:s,persisted:a,beforeEnter(W){let ne=u;if(!o.isMounted)if(r)ne=T||u;else return;W[Gr]&&W[Gr](!0);const U=N[R];U&&_a(t,U)&&U.el[Gr]&&U.el[Gr](),_(ne,[W])},enter(W){let ne=c,U=m,H=f;if(!o.isMounted)if(r)ne=B||c,U=v||m,H=D||f;else return;let X=!1;const Ce=W[Zm]=pe=>{X||(X=!0,pe?_(H,[W]):_(U,[W]),O.delayedLeave&&O.delayedLeave(),W[Zm]=void 0)};ne?P(ne,[W,Ce]):Ce()},leave(W,ne){const U=String(t.key);if(W[Zm]&&W[Zm](!0),o.isUnmounting)return ne();_(p,[W]);let H=!1;const X=W[Gr]=Ce=>{H||(H=!0,ne(),Ce?_(y,[W]):_(F,[W]),W[Gr]=void 0,N[U]===t&&delete N[U])};N[U]=t,C?P(C,[W,X]):X()},clone(W){const ne=Qd(W,e,o,i,n);return n&&n(ne),ne}};return O}function xg(t){if(Cp(t))return t=qs(t),t.children=null,t}function $V(t){if(!Cp(t))return CL(t.type)&&t.children?BL(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 el(t,e){t.shapeFlag&6&&t.component?(t.transition=e,el(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 Ty(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(Ty(s.children,e,a))):(e||s.type!==Zo)&&i.push(a!=null?qs(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 pp(){const t=Tn();return t?(t.appContext.config.idPrefix||"v")+"-"+t.ids[0]+t.ids[1]++:""}function RL(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}const Yf=new WeakMap;function _d(t,e,o,i,n=!1){if(et(t)){t.forEach((F,y)=>_d(F,e&&(et(e)?e[y]:e),o,i,n));return}if(ru(i)&&!n){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&_d(t,e,o,i.component.subTree);return}const r=i.shapeFlag&4?yp(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?P1:F=>_t(p,F);if(c!=null&&c!==u){if(zV(e),eo(c))m[c]=null,C(c)&&(f[c]=null);else if(no(c)){c.value=null;const F=e;F.k&&(m[F.k]=null)}}if(tt(u))Lc(u,a,12,[s,m]);else{const F=eo(u),y=no(u);if(F||y){const T=()=>{if(t.f){const B=F?C(u)?f[u]:m[u]:u.value;if(n)et(B)&&fy(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(),Yf.delete(t)};B.id=-1,Yf.set(t,B),ui(B,o)}else zV(t),T()}}}function zV(t){const e=Yf.get(t);e&&(e.flags|=8,Yf.delete(t))}lp().requestIdleCallback;lp().cancelIdleCallback;const ru=t=>!!t.type.__asyncLoader,Cp=t=>t.type.__isKeepAlive;function _3(t,e){DL(t,"a",e)}function A3(t,e){DL(t,"da",e)}function DL(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(gp(e,i,o),o){let n=o.parent;for(;n&&n.parent;)Cp(n.parent.vnode)&&I3(i,e,o,n),n=n.parent}}function I3(t,e,o,i){const n=gp(e,t,i,!0);vc(()=>{fy(i[e],n)},o)}function gp(t,e,o=Xo,i=!1){if(o){const n=o[t]||(o[t]=[]),r=e.__weh||(e.__weh=(...s)=>{ns();const a=Nc(o),u=Hn(e,o,t,s);return a(),rs(),u});return i?n.unshift(r):n.push(r),r}}const ds=t=>(e,o=Xo)=>{(!oc||t==="sp")&&gp(t,(...i)=>e(...i),o)},Ec=ds("bm"),cs=ds("m"),bL=ds("bu"),Sy=ds("u"),ta=ds("bum"),vc=ds("um"),w3=ds("sp"),k3=ds("rtg"),W3=ds("rtc");function O3(t,e=Xo){gp("ec",t,e)}const xL="components",M3="directives",LL=Symbol.for("v-ndc");function G0(t){return eo(t)?EL(xL,t,!1)||t:t||LL}function oa(t){return EL(M3,t)}function EL(t,e,o=!0,i=!1){const n=Ho||Xo;if(n){const r=n.type;if(t===xL){const a=D6(r,!1);if(a&&(a===e||a===Li(e)||a===_u(Li(e))))return r}const s=UV(n[t]||r[t],e)||UV(n.appContext[t],e);return!s&&i?r:s}}function UV(t,e){return t&&(t[e]||t[Li(e)]||t[_u(Li(e))])}function Jt(t,e,o,i){let n;const r=o,s=et(t);if(s||eo(t)){const a=s&&Ua(t);let u=!1,c=!1;a&&(u=!Ui(t),c=ss(t),t=dp(t)),n=new Array(t.length);for(let m=0,f=t.length;m<f;m++)n[m]=e(u?c?mu(Mn(t[m])):Mn(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 Jf(t,e,o={},i,n){if(Ho.ce||Ho.parent&&ru(Ho.parent)&&Ho.parent.ce){const c=Object.keys(o).length>0;return e!=="default"&&(o.name=e),k(),Pe(Ge,null,[de("slot",o,i)],c?-2:64)}let r=t[e];r&&r._c&&(r._d=!1),k();const s=r&&vL(r(o)),a=o.key||s&&s.key,u=Pe(Ge,{key:(a&&!us(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 vL(t){return t.some(e=>tc(e)?!(e.type===Zo||e.type===Ge&&!vL(e.children)):!0)?t:null}const K0=t=>t?YL(t)?yp(t):K0(t.parent):null,Ad=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=>K0(t.parent),$root:t=>K0(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>PL(t),$forceUpdate:t=>t.f||(t.f=()=>{Fy(t.update)}),$nextTick:t=>t.n||(t.n=cl.bind(t.proxy)),$watch:t=>Z3.bind(t)}),Lg=(t,e)=>t!==Wt&&!t.__isScriptSetup&&_t(t,e),H3={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;if(e[0]!=="$"){const p=s[e];if(p!==void 0)switch(p){case 1:return i[e];case 2:return n[e];case 4:return o[e];case 3:return r[e]}else{if(Lg(i,e))return s[e]=1,i[e];if(n!==Wt&&_t(n,e))return s[e]=2,n[e];if(_t(r,e))return s[e]=3,r[e];if(o!==Wt&&_t(o,e))return s[e]=4,o[e];q0&&(s[e]=0)}}const c=Ad[e];let m,f;if(c)return e==="$attrs"&&Jo(t.attrs,"get",""),c(t);if((m=a.__cssModules)&&(m=m[e]))return m;if(o!==Wt&&_t(o,e))return s[e]=4,o[e];if(f=u.config.globalProperties,_t(f,e))return f[e]},set({_:t},e,o){const{data:i,setupState:n,ctx:r}=t;return Lg(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,props:r,type:s}},a){let u;return!!(o[a]||t!==Wt&&a[0]!=="$"&&_t(t,a)||Lg(e,a)||_t(r,a)||_t(i,a)||_t(Ad,a)||_t(n.config.globalProperties,a)||(u=s.__cssModules)&&u[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 jV(t){return et(t)?t.reduce((e,o)=>(e[o]=null,e),{}):t}let q0=!0;function $3(t){const e=PL(t),o=t.proxy,i=t.ctx;q0=!1,e.beforeCreate&&GV(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:O,serverPrefetch:W,expose:ne,inheritAttrs:U,components:H,directives:X,filters:Ce}=e;if(c&&z3(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=bt(Re))}if(q0=!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):Wn,ke=!tt(Ie)&&tt(Ie.set)?Ie.set.bind(o):Wn,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)NL(a[Re],i,o,Re);if(u){const Re=tt(u)?u.call(o):u;Reflect.ownKeys(Re).forEach(Ie=>{ml(Ie,Re[Ie])})}m&&GV(m,t,"c");function ie(Re,Ie){et(Ie)?Ie.forEach(mt=>Re(mt.bind(o))):Ie&&Re(Ie.bind(o))}if(ie(Ec,f),ie(cs,p),ie(bL,C),ie(Sy,F),ie(_3,y),ie(A3,T),ie(O3,O),ie(W3,_),ie(k3,P),ie(ta,v),ie(vc,R),ie(w3,W),et(ne))if(ne.length){const Re=t.exposed||(t.exposed={});ne.forEach(Ie=>{Object.defineProperty(Re,Ie,{get:()=>o[Ie],set:mt=>o[Ie]=mt,enumerable:!0})})}else t.exposed||(t.exposed={});N&&t.render===Wn&&(t.render=N),U!=null&&(t.inheritAttrs=U),H&&(t.components=H),X&&(t.directives=X),W&&RL(t)}function z3(t,e,o=Wn){et(t)&&(t=Y0(t));for(const i in t){const n=t[i];let r;Mt(n)?"default"in n?r=Qo(n.from||i,n.default,!0):r=Qo(n.from||i):r=Qo(n),no(r)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):e[i]=r}}function GV(t,e,o){Hn(et(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,o)}function NL(t,e,o,i){let n=i.includes(".")?AL(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=>NL(r,e,o,i));else{const r=tt(t.handler)?t.handler.bind(o):e[t.handler];tt(r)&&Rt(n,r,t)}}function PL(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=>Zf(u,c,s,!0)),Zf(u,e,s)),Mt(e)&&r.set(e,u),u}function Zf(t,e,o,i=!1){const{mixins:n,extends:r}=e;r&&Zf(t,r,o,!0),n&&n.forEach(s=>Zf(t,s,o,!0));for(const s in e)if(!(i&&s==="expose")){const a=U3[s]||o&&o[s];t[s]=a?a(t[s],e[s]):e[s]}return t}const U3={data:KV,props:qV,emits:qV,methods:Bd,computed:Bd,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:Bd,directives:Bd,watch:G3,provide:KV,inject:j3};function KV(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 j3(t,e){return Bd(Y0(t),Y0(e))}function Y0(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 Bd(t,e){return t?Ro(Object.create(null),t,e):e}function qV(t,e){return t?et(t)&&et(e)?[...new Set([...t,...e])]:Ro(Object.create(null),jV(t),jV(e??{})):e}function G3(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 _L(){return{app:null,config:{isNativeTag:P1,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 K3=0;function q3(t,e){return function(i,n=null){tt(i)||(i=Ro({},i)),n!=null&&!Mt(n)&&(n=null);const r=_L(),s=new WeakSet,a=[];let u=!1;const c=r.app={_uid:K3++,_component:i,_props:n,_container:null,_context:r,_instance:null,version:x6,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||de(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,yp(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=su;su=c;try{return m()}finally{su=f}}};return c}}let su=null;function ml(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 Qo(t,e,o=!1){const i=Tn();if(i||su){let n=su?su._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 Y3=Symbol.for("v-scx"),J3=()=>Qo(Y3);function Au(t,e){return By(t,null,e)}function Rt(t,e,o){return By(t,e,o)}function By(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(oc){if(r==="sync"){const C=J3();c=C.__watcherHandles||(C.__watcherHandles=[])}else if(!u){const C=()=>{};return C.stop=Wn,C.resume=Wn,C.pause=Wn,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():Fy(C)}),a.augmentJob=C=>{e&&(C.flags|=4),f&&(C.flags|=2,m&&(C.id=m.uid,C.i=m))};const p=x3(t,e,a);return oc&&(c?c.push(p):u&&p()),p}function Z3(t,e,o){const i=this.proxy,n=eo(t)?t.includes(".")?AL(i,t):()=>i[t]:t.bind(i,i);let r;tt(e)?r=e:(r=e.handler,o=e);const s=Nc(this),a=By(n,r.bind(i),o);return s(),a}function AL(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 X3=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Li(e)}Modifiers`]||t[`${dl(e)}Modifiers`];function Q3(t,e,...o){if(t.isUnmounted)return;const i=t.vnode.props||Wt;let n=o;const r=e.startsWith("update:"),s=r&&X3(i,e.slice(7));s&&(s.trim&&(n=o.map(m=>eo(m)?m.trim():m)),s.number&&(n=o.map($M)));let a,u=i[a=Sg(e)]||i[a=Sg(Li(e))];!u&&r&&(u=i[a=Sg(dl(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 e6=new WeakMap;function IL(t,e,o=!1){const i=o?e6: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=IL(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 Fp(t,e){return!t||!np(e)?!1:(e=e.slice(2).replace(/Once$/,""),_t(t,e[0].toLowerCase()+e.slice(1))||_t(t,dl(e))||_t(t,e))}function YV(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=qf(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:t6(a)}}catch(R){Id.length=0,hp(R,t,1),B=de(Zo)}let D=B;if(v&&y!==!1){const R=Object.keys(v),{shapeFlag:N}=D;R.length&&N&7&&(r&&R.some(my)&&(v=o6(v,r)),D=qs(D,v,!1,!0))}return o.dirs&&(D=qs(D,null,!1,!0),D.dirs=D.dirs?D.dirs.concat(o.dirs):o.dirs),o.transition&&el(D,o.transition),B=D,qf(T),B}const t6=t=>{let e;for(const o in t)(o==="class"||o==="style"||np(o))&&((e||(e={}))[o]=t[o]);return e},o6=(t,e)=>{const o={};for(const i in t)(!my(i)||!(i.slice(9)in e))&&(o[i]=t[i]);return o};function i6(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?JV(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]&&!Fp(c,p))return!0}}}else return(n||a)&&(!a||!a.$stable)?!0:i===s?!1:i?s?JV(i,s,c):!0:!!s;return!1}function JV(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]&&!Fp(o,r))return!0}return!1}function n6({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 wL={},kL=()=>Object.create(wL),WL=t=>Object.getPrototypeOf(t)===wL;function r6(t,e,o,i=!1){const n={},r=kL();t.propsDefaults=Object.create(null),OL(t,e,n,r);for(const s in t.propsOptions[0])s in n||(n[s]=void 0);o?t.props=i?n:g3(n):t.type.props?t.props=n:t.props=r,t.attrs=r}function s6(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(Fp(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=Li(p);n[F]=J0(u,a,F,C,t,!1)}else C!==r[p]&&(r[p]=C,c=!0)}}}else{OL(t,e,n,r)&&(c=!0);let m;for(const f in a)(!e||!_t(e,f)&&((m=dl(f))===f||!_t(e,m)))&&(u?o&&(o[f]!==void 0||o[m]!==void 0)&&(n[f]=J0(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 OL(t,e,o,i){const[n,r]=t.propsOptions;let s=!1,a;if(e)for(let u in e){if(Ed(u))continue;const c=e[u];let m;n&&_t(n,m=Li(u))?!r||!r.includes(m)?o[m]=c:(a||(a={}))[m]=c:Fp(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]=J0(n,u,f,c[f],t,!_t(c,f))}}return s}function J0(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=Nc(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===dl(o))&&(i=!0))}return i}const a6=new WeakMap;function ML(t,e,o=!1){const i=o?a6: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]=ML(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,ou),ou;if(et(r))for(let m=0;m<r.length;m++){const f=Li(r[m]);ZV(f)&&(s[f]=Wt)}else if(r)for(const m in r){const f=Li(m);if(ZV(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 ZV(t){return t[0]!=="$"&&!Ed(t)}const Vy=t=>t==="_"||t==="_ctx"||t==="$stable",Ry=t=>et(t)?t.map(rr):[rr(t)],l6=(t,e,o)=>{if(e._n)return e;const i=ur((...n)=>Ry(e(...n)),o);return i._c=!1,i},HL=(t,e,o)=>{const i=t._ctx;for(const n in t){if(Vy(n))continue;const r=t[n];if(tt(r))e[n]=l6(n,r,i);else if(r!=null){const s=Ry(r);e[n]=()=>s}}},$L=(t,e)=>{const o=Ry(e);t.slots.default=()=>o},zL=(t,e,o)=>{for(const i in e)(o||!Vy(i))&&(t[i]=e[i])},u6=(t,e,o)=>{const i=t.slots=kL();if(t.vnode.shapeFlag&32){const n=e._;n?(zL(i,e,o),o&&k1(i,"_",n,!0)):HL(e,i)}else e&&$L(t,e)},d6=(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:zL(n,e,o):(r=!e.$stable,HL(e,n)),s=e}else e&&($L(t,e),s={default:1});if(r)for(const a in n)!Vy(a)&&s[a]==null&&delete n[a]},ui=p6;function c6(t){return m6(t)}function m6(t,e){const o=lp();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=Wn,insertStaticContent:F}=t,y=(I,$,w,Q=null,ae=null,re=null,Te=void 0,Se=null,L=!!$.dynamicChildren)=>{if(I===$)return;I&&!_a(I,$)&&(Q=We(I),lt(I,ae,re,!0),I=null),$.patchFlag===-2&&(L=!1,$.dynamicChildren=null);const{type:E,ref:Y,shapeFlag:oe}=$;switch(E){case Iu:T(I,$,w,Q);break;case Zo:B(I,$,w,Q);break;case xf:I==null&&v($,w,Q,Te);break;case Ge:H(I,$,w,Q,ae,re,Te,Se,L);break;default:oe&1?N(I,$,w,Q,ae,re,Te,Se,L):oe&6?X(I,$,w,Q,ae,re,Te,Se,L):(oe&64||oe&128)&&E.process(I,$,w,Q,ae,re,Te,Se,L,Gt)}Y!=null&&ae?_d(Y,I&&I.ref,re,$||I,!$):Y==null&&I&&I.ref!=null&&_d(I.ref,null,re,I,!0)},T=(I,$,w,Q)=>{if(I==null)i($.el=a($.children),w,Q);else{const ae=$.el=I.el;$.children!==I.children&&c(ae,$.children)}},B=(I,$,w,Q)=>{I==null?i($.el=u($.children||""),w,Q):$.el=I.el},v=(I,$,w,Q)=>{[I.el,I.anchor]=F(I.children,$,w,Q,I.el,I.anchor)},D=({el:I,anchor:$},w,Q)=>{let ae;for(;I&&I!==$;)ae=p(I),i(I,w,Q),I=ae;i($,w,Q)},R=({el:I,anchor:$})=>{let w;for(;I&&I!==$;)w=p(I),n(I),I=w;n($)},N=(I,$,w,Q,ae,re,Te,Se,L)=>{if($.type==="svg"?Te="svg":$.type==="math"&&(Te="mathml"),I==null)_($,w,Q,ae,re,Te,Se,L);else{const E=I.el&&I.el._isVueCE?I.el:null;try{E&&E._beginPatch(),W(I,$,ae,re,Te,Se,L)}finally{E&&E._endPatch()}}},_=(I,$,w,Q,ae,re,Te,Se)=>{let L,E;const{props:Y,shapeFlag:oe,transition:Be,dirs:ce}=I;if(L=I.el=s(I.type,re,Y&&Y.is,Y),oe&8?m(L,I.children):oe&16&&O(I.children,L,null,Q,ae,Eg(I,re),Te,Se),ce&&Da(I,null,Q,"created"),P(L,I,I.scopeId,Te,Q),Y){for(const te in Y)te!=="value"&&!Ed(te)&&r(L,te,null,Y[te],re,Q);"value"in Y&&r(L,"value",null,Y.value,re),(E=Y.onVnodeBeforeMount)&&Qn(E,Q,I)}ce&&Da(I,null,Q,"beforeMount");const q=f6(ae,Be);q&&Be.beforeEnter(L),i(L,$,w),((E=Y&&Y.onVnodeMounted)||q||ce)&&ui(()=>{E&&Qn(E,Q,I),q&&Be.enter(L),ce&&Da(I,null,Q,"mounted")},ae)},P=(I,$,w,Q,ae)=>{if(w&&C(I,w),Q)for(let re=0;re<Q.length;re++)C(I,Q[re]);if(ae){let re=ae.subTree;if($===re||jL(re.type)&&(re.ssContent===$||re.ssFallback===$)){const Te=ae.vnode;P(I,Te,Te.scopeId,Te.slotScopeIds,ae.parent)}}},O=(I,$,w,Q,ae,re,Te,Se,L=0)=>{for(let E=L;E<I.length;E++){const Y=I[E]=Se?_s(I[E]):rr(I[E]);y(null,Y,$,w,Q,ae,re,Te,Se)}},W=(I,$,w,Q,ae,re,Te)=>{const Se=$.el=I.el;let{patchFlag:L,dynamicChildren:E,dirs:Y}=$;L|=I.patchFlag&16;const oe=I.props||Wt,Be=$.props||Wt;let ce;if(w&&ba(w,!1),(ce=Be.onVnodeBeforeUpdate)&&Qn(ce,w,$,I),Y&&Da($,I,w,"beforeUpdate"),w&&ba(w,!0),(oe.innerHTML&&Be.innerHTML==null||oe.textContent&&Be.textContent==null)&&m(Se,""),E?ne(I.dynamicChildren,E,Se,w,Q,Eg($,ae),re):Te||Ie(I,$,Se,null,w,Q,Eg($,ae),re,!1),L>0){if(L&16)U(Se,oe,Be,w,ae);else if(L&2&&oe.class!==Be.class&&r(Se,"class",null,Be.class,ae),L&4&&r(Se,"style",oe.style,Be.style,ae),L&8){const q=$.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,ae,w)}}L&1&&I.children!==$.children&&m(Se,$.children)}else!Te&&E==null&&U(Se,oe,Be,w,ae);((ce=Be.onVnodeUpdated)||Y)&&ui(()=>{ce&&Qn(ce,w,$,I),Y&&Da($,I,w,"updated")},Q)},ne=(I,$,w,Q,ae,re,Te)=>{for(let Se=0;Se<$.length;Se++){const L=I[Se],E=$[Se],Y=L.el&&(L.type===Ge||!_a(L,E)||L.shapeFlag&198)?f(L.el):w;y(L,E,Y,null,Q,ae,re,Te,!0)}},U=(I,$,w,Q,ae)=>{if($!==w){if($!==Wt)for(const re in $)!Ed(re)&&!(re in w)&&r(I,re,$[re],null,ae,Q);for(const re in w){if(Ed(re))continue;const Te=w[re],Se=$[re];Te!==Se&&re!=="value"&&r(I,re,Se,Te,ae,Q)}"value"in w&&r(I,"value",$.value,w.value,ae)}},H=(I,$,w,Q,ae,re,Te,Se,L)=>{const E=$.el=I?I.el:a(""),Y=$.anchor=I?I.anchor:a("");let{patchFlag:oe,dynamicChildren:Be,slotScopeIds:ce}=$;ce&&(Se=Se?Se.concat(ce):ce),I==null?(i(E,w,Q),i(Y,w,Q),O($.children||[],w,Y,ae,re,Te,Se,L)):oe>0&&oe&64&&Be&&I.dynamicChildren?(ne(I.dynamicChildren,Be,w,ae,re,Te,Se),($.key!=null||ae&&$===ae.subTree)&&Dy(I,$,!0)):Ie(I,$,w,Y,ae,re,Te,Se,L)},X=(I,$,w,Q,ae,re,Te,Se,L)=>{$.slotScopeIds=Se,I==null?$.shapeFlag&512?ae.ctx.activate($,w,Q,Te,L):Ce($,w,Q,ae,re,Te,L):pe(I,$,L)},Ce=(I,$,w,Q,ae,re,Te)=>{const Se=I.component=T6(I,Q,ae);if(Cp(I)&&(Se.ctx.renderer=Gt),S6(Se,!1,Te),Se.asyncDep){if(ae&&ae.registerDep(Se,ie,Te),!I.el){const L=Se.subTree=de(Zo);B(null,L,$,w),I.placeholder=L.el}}else ie(Se,I,$,w,ae,re,Te)},pe=(I,$,w)=>{const Q=$.component=I.component;if(i6(I,$,w))if(Q.asyncDep&&!Q.asyncResolved){Re(Q,$,w);return}else Q.next=$,Q.update();else $.el=I.el,Q.vnode=$},ie=(I,$,w,Q,ae,re,Te)=>{const Se=()=>{if(I.isMounted){let{next:oe,bu:Be,u:ce,parent:q,vnode:te}=I;{const Xt=UL(I);if(Xt){oe&&(oe.el=te.el,Re(I,oe,Te)),Xt.asyncDep.then(()=>{I.isUnmounted||Se()});return}}let Ee=oe,nt;ba(I,!1),oe?(oe.el=te.el,Re(I,oe,Te)):oe=te,Be&&Bg(Be),(nt=oe.props&&oe.props.onVnodeBeforeUpdate)&&Qn(nt,q,oe,te),ba(I,!0);const Nt=YV(I),oo=I.subTree;I.subTree=Nt,y(oo,Nt,f(oo.el),We(oo),I,ae,re),oe.el=Nt.el,Ee===null&&n6(I,Nt.el),ce&&ui(ce,ae),(nt=oe.props&&oe.props.onVnodeUpdated)&&ui(()=>Qn(nt,q,oe,te),ae)}else{let oe;const{el:Be,props:ce}=$,{bm:q,m:te,parent:Ee,root:nt,type:Nt}=I,oo=ru($);ba(I,!1),q&&Bg(q),!oo&&(oe=ce&&ce.onVnodeBeforeMount)&&Qn(oe,Ee,$),ba(I,!0);{nt.ce&&nt.ce._def.shadowRoot!==!1&&nt.ce._injectChildStyle(Nt);const Xt=I.subTree=YV(I);y(null,Xt,w,Q,I,ae,re),$.el=Xt.el}if(te&&ui(te,ae),!oo&&(oe=ce&&ce.onVnodeMounted)){const Xt=$;ui(()=>Qn(oe,Ee,Xt),ae)}($.shapeFlag&256||Ee&&ru(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&I.a&&ui(I.a,ae),I.isMounted=!0,$=w=Q=null}};I.scope.on();const L=I.effect=new $1(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=()=>Fy(Y),ba(I,!0),E()},Re=(I,$,w)=>{$.component=I;const Q=I.vnode.props;I.vnode=$,I.next=null,s6(I,$.props,Q,w),d6(I,$.children,w),ns(),WV(I),rs()},Ie=(I,$,w,Q,ae,re,Te,Se,L=!1)=>{const E=I&&I.children,Y=I?I.shapeFlag:0,oe=$.children,{patchFlag:Be,shapeFlag:ce}=$;if(Be>0){if(Be&128){ke(E,oe,w,Q,ae,re,Te,Se,L);return}else if(Be&256){mt(E,oe,w,Q,ae,re,Te,Se,L);return}}ce&8?(Y&16&&Qe(E,ae,re),oe!==E&&m(w,oe)):Y&16?ce&16?ke(E,oe,w,Q,ae,re,Te,Se,L):Qe(E,ae,re,!0):(Y&8&&m(w,""),ce&16&&O(oe,w,Q,ae,re,Te,Se,L))},mt=(I,$,w,Q,ae,re,Te,Se,L)=>{I=I||ou,$=$||ou;const E=I.length,Y=$.length,oe=Math.min(E,Y);let Be;for(Be=0;Be<oe;Be++){const ce=$[Be]=L?_s($[Be]):rr($[Be]);y(I[Be],ce,w,null,ae,re,Te,Se,L)}E>Y?Qe(I,ae,re,!0,!1,oe):O($,w,Q,ae,re,Te,Se,L,oe)},ke=(I,$,w,Q,ae,re,Te,Se,L)=>{let E=0;const Y=$.length;let oe=I.length-1,Be=Y-1;for(;E<=oe&&E<=Be;){const ce=I[E],q=$[E]=L?_s($[E]):rr($[E]);if(_a(ce,q))y(ce,q,w,null,ae,re,Te,Se,L);else break;E++}for(;E<=oe&&E<=Be;){const ce=I[oe],q=$[Be]=L?_s($[Be]):rr($[Be]);if(_a(ce,q))y(ce,q,w,null,ae,re,Te,Se,L);else break;oe--,Be--}if(E>oe){if(E<=Be){const ce=Be+1,q=ce<Y?$[ce].el:Q;for(;E<=Be;)y(null,$[E]=L?_s($[E]):rr($[E]),w,q,ae,re,Te,Se,L),E++}}else if(E>Be)for(;E<=oe;)lt(I[E],ae,re,!0),E++;else{const ce=E,q=E,te=new Map;for(E=q;E<=Be;E++){const wt=$[E]=L?_s($[E]):rr($[E]);wt.key!=null&&te.set(wt.key,E)}let Ee,nt=0;const Nt=Be-q+1;let oo=!1,Xt=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,ae,re,!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&&_a(wt,$[Ee])){uo=Ee;break}uo===void 0?lt(wt,ae,re,!0):(Uo[uo-q]=E+1,uo>=Xt?Xt=uo:oo=!0,y(wt,$[uo],w,null,ae,re,Te,Se,L),nt++)}const Qi=oo?h6(Uo):ou;for(Ee=Qi.length-1,E=Nt-1;E>=0;E--){const wt=q+E,uo=$[wt],Yn=$[wt+1],ps=wt+1<Y?Yn.el||Yn.placeholder:Q;Uo[E]===0?y(null,uo,w,ps,ae,re,Te,Se,L):oo&&(Ee<0||E!==Qi[Ee]?ve(uo,w,ps,2):Ee--)}}},ve=(I,$,w,Q,ae=null)=>{const{el:re,type:Te,transition:Se,children:L,shapeFlag:E}=I;if(E&6){ve(I.component.subTree,$,w,Q);return}if(E&128){I.suspense.move($,w,Q);return}if(E&64){Te.move(I,$,w,Gt);return}if(Te===Ge){i(re,$,w);for(let oe=0;oe<L.length;oe++)ve(L[oe],$,w,Q);i(I.anchor,$,w);return}if(Te===xf){D(I,$,w);return}if(Q!==2&&E&1&&Se)if(Q===0)Se.beforeEnter(re),i(re,$,w),ui(()=>Se.enter(re),ae);else{const{leave:oe,delayLeave:Be,afterLeave:ce}=Se,q=()=>{I.ctx.isUnmounted?n(re):i(re,$,w)},te=()=>{re._isLeaving&&re[Gr](!0),oe(re,()=>{q(),ce&&ce()})};Be?Be(re,q,te):te()}else i(re,$,w)},lt=(I,$,w,Q=!1,ae=!1)=>{const{type:re,props:Te,ref:Se,children:L,dynamicChildren:E,shapeFlag:Y,patchFlag:oe,dirs:Be,cacheIndex:ce}=I;if(oe===-2&&(ae=!1),Se!=null&&(ns(),_d(Se,null,w,I,!0),rs()),ce!=null&&($.renderCache[ce]=void 0),Y&256){$.ctx.deactivate(I);return}const q=Y&1&&Be,te=!ru(I);let Ee;if(te&&(Ee=Te&&Te.onVnodeBeforeUnmount)&&Qn(Ee,$,I),Y&6)$e(I.component,w,Q);else{if(Y&128){I.suspense.unmount(w,Q);return}q&&Da(I,null,$,"beforeUnmount"),Y&64?I.type.remove(I,$,w,Gt,Q):E&&!E.hasOnce&&(re!==Ge||oe>0&&oe&64)?Qe(E,$,w,!1,!0):(re===Ge&&oe&384||!ae&&Y&16)&&Qe(L,$,w),Q&&pt(I)}(te&&(Ee=Te&&Te.onVnodeUnmounted)||q)&&ui(()=>{Ee&&Qn(Ee,$,I),q&&Da(I,null,$,"unmounted")},w)},pt=I=>{const{type:$,el:w,anchor:Q,transition:ae}=I;if($===Ge){jt(w,Q);return}if($===xf){R(I);return}const re=()=>{n(w),ae&&!ae.persisted&&ae.afterLeave&&ae.afterLeave()};if(I.shapeFlag&1&&ae&&!ae.persisted){const{leave:Te,delayLeave:Se}=ae,L=()=>Te(w,re);Se?Se(I.el,re,L):L()}else re()},jt=(I,$)=>{let w;for(;I!==$;)w=p(I),n(I),I=w;n($)},$e=(I,$,w)=>{const{bum:Q,scope:ae,job:re,subTree:Te,um:Se,m:L,a:E}=I;XV(L),XV(E),Q&&Bg(Q),ae.stop(),re&&(re.flags|=8,lt(Te,I,$,w)),Se&&ui(Se,$),ui(()=>{I.isUnmounted=!0},$)},Qe=(I,$,w,Q=!1,ae=!1,re=0)=>{for(let Te=re;Te<I.length;Te++)lt(I[Te],$,w,Q,ae)},We=I=>{if(I.shapeFlag&6)return We(I.component.subTree);if(I.shapeFlag&128)return I.suspense.next();const $=p(I.anchor||I.el),w=$&&$[pL];return w?p(w):$};let Oe=!1;const xt=(I,$,w)=>{I==null?$._vnode&&lt($._vnode,null,null,!0):y($._vnode||null,I,$,null,null,null,w),$._vnode=I,Oe||(Oe=!0,WV(),mL(),Oe=!1)},Gt={p:y,um:lt,m:ve,r:pt,mt:Ce,mc:O,pc:Ie,pbc:ne,n:We,o:t};return{render:xt,hydrate:void 0,createApp:q3(xt)}}function Eg({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 ba({effect:t,job:e},o){o?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function f6(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Dy(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]=_s(n[r]),a.el=s.el),!o&&a.patchFlag!==-2&&Dy(s,a)),a.type===Iu&&a.patchFlag!==-1&&(a.el=s.el),a.type===Zo&&!a.el&&(a.el=s.el)}}function h6(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 UL(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:UL(e)}function XV(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const jL=t=>t.__isSuspense;function p6(t,e){e&&e.pendingBranch?et(t)?e.effects.push(...t):e.effects.push(t):cL(t)}const Ge=Symbol.for("v-fgt"),Iu=Symbol.for("v-txt"),Zo=Symbol.for("v-cmt"),xf=Symbol.for("v-stc"),Id=[];let Hi=null;function k(t=!1){Id.push(Hi=t?null:[])}function C6(){Id.pop(),Hi=Id[Id.length-1]||null}let ec=1;function Xf(t,e=!1){ec+=t,t<0&&Hi&&e&&(Hi.hasOnce=!0)}function GL(t){return t.dynamicChildren=ec>0?Hi||ou:null,C6(),ec>0&&Hi&&Hi.push(t),t}function J(t,e,o,i,n,r){return GL(V(t,e,o,i,n,r,!0))}function Pe(t,e,o,i,n){return GL(de(t,e,o,i,n,!0))}function tc(t){return t?t.__v_isVNode===!0:!1}function _a(t,e){return t.type===e.type&&t.key===e.key}const KL=({key:t})=>t??null,Lf=({ref:t,ref_key:e,ref_for:o})=>(typeof t=="number"&&(t=""+t),t!=null?eo(t)||no(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&&KL(e),ref:e&&Lf(e),scopeId:hL,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?(by(u,o),r&128&&t.normalize(u)):o&&(u.shapeFlag|=eo(o)?8:16),ec>0&&!s&&Hi&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&Hi.push(u),u}const de=g6;function g6(t,e=null,o=null,i=0,n=null,r=!1){if((!t||t===LL)&&(t=Zo),tc(t)){const a=qs(t,e,!0);return o&&by(a,o),ec>0&&!r&&Hi&&(a.shapeFlag&6?Hi[Hi.indexOf(t)]=a:Hi.push(a)),a.patchFlag=-2,a}if(b6(t)&&(t=t.__vccOpts),e){e=qL(e);let{class:a,style:u}=e;a&&!eo(a)&&(e.class=Ve(a)),Mt(u)&&(fp(u)&&!et(u)&&(u=Ro({},u)),e.style=fe(u))}const s=eo(t)?1:jL(t)?128:CL(t)?64:Mt(t)?4:tt(t)?2:0;return V(t,e,o,i,n,s,r,!0)}function qL(t){return t?fp(t)||WL(t)?Ro({},t):t:null}function qs(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&&KL(c),ref:e&&e.ref?o&&r?et(r)?r.concat(Lf(e)):[r,Lf(e)]:Lf(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&&qs(t.ssContent),ssFallback:t.ssFallback&&qs(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u&&i&&el(m,u.clone(m)),m}function hu(t=" ",e=0){return de(Iu,null,t,e)}function be(t="",e=!1){return e?(k(),Pe(Zo,null,t)):de(Zo,null,t)}function rr(t){return t==null||typeof t=="boolean"?de(Zo):et(t)?de(Ge,null,t.slice()):tc(t)?_s(t):de(Iu,null,String(t))}function _s(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:qs(t)}function by(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),by(t,n()),n._c&&(n._d=!0));return}else{o=32;const n=e._;!n&&!WL(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=[hu(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(np(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 F6=_L();let y6=0;function T6(t,e,o){const i=t.type,n=(e?e.appContext:t.appContext)||F6,r={uid:y6++,vnode:t,type:i,parent:e,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new H1(!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:ML(i,n),emitsOptions:IL(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=Q3.bind(null,r),t.ce&&t.ce(r),r}let Xo=null;const Tn=()=>Xo||Ho;let Qf,Z0;{const t=lp(),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)}};Qf=e("__VUE_INSTANCE_SETTERS__",o=>Xo=o),Z0=e("__VUE_SSR_SETTERS__",o=>oc=o)}const Nc=t=>{const e=Xo;return Qf(t),t.scope.on(),()=>{t.scope.off(),Qf(e)}},QV=()=>{Xo&&Xo.scope.off(),Qf(null)};function YL(t){return t.vnode.shapeFlag&4}let oc=!1;function S6(t,e=!1,o=!1){e&&Z0(e);const{props:i,children:n}=t.vnode,r=YL(t);r6(t,i,r,e),u6(t,n,o||e);const s=r?B6(t,e):void 0;return e&&Z0(!1),s}function B6(t,e){const o=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,H3);const{setup:i}=o;if(i){ns();const n=t.setupContext=i.length>1?R6(t):null,r=Nc(t),s=Lc(i,t,0,[t.props,n]),a=A1(s);if(rs(),r(),(a||t.sp)&&!ru(t)&&RL(t),a){if(s.then(QV,QV),e)return s.then(u=>{eR(t,u)}).catch(u=>{hp(u,t,0)});t.asyncDep=s}else eR(t,s)}else JL(t)}function eR(t,e,o){tt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Mt(e)&&(t.setupState=sL(e)),JL(t)}function JL(t,e,o){const i=t.type;t.render||(t.render=i.render||Wn);{const n=Nc(t);ns();try{$3(t)}finally{rs(),n()}}}const V6={get(t,e){return Jo(t,"get",""),t[e]}};function R6(t){const e=o=>{t.exposed=o||{}};return{attrs:new Proxy(t.attrs,V6),slots:t.slots,emit:t.emit,expose:e}}function yp(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(sL(nL(t.exposed)),{get(e,o){if(o in e)return e[o];if(o in Ad)return Ad[o](t)},has(e,o){return o in e||o in Ad}})):t.proxy}function D6(t,e=!0){return tt(t)?t.displayName||t.name:t.name||e&&t.__name}function b6(t){return tt(t)&&"__vccOpts"in t}const Z=(t,e)=>D3(t,e,oc);function Gn(t,e,o){try{Xf(-1);const i=arguments.length;return i===2?Mt(e)&&!et(e)?tc(e)?de(t,null,[e]):de(t,e):de(t,null,e):(i>3?o=Array.prototype.slice.call(arguments,2):i===3&&tc(o)&&(o=[o]),de(t,e,o))}finally{Xf(1)}}const x6="3.5.25";/**
14
- * @vue/runtime-dom v3.5.25
15
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
- * @license MIT
17
- **/let X0;const tR=typeof window<"u"&&window.trustedTypes;if(tR)try{X0=tR.createPolicy("vue",{createHTML:t=>t})}catch{}const ZL=X0?t=>X0.createHTML(t):t=>t,L6="http://www.w3.org/2000/svg",E6="http://www.w3.org/1998/Math/MathML",zr=typeof document<"u"?document:null,oR=zr&&zr.createElement("template"),v6={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(L6,t):e==="mathml"?zr.createElementNS(E6,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{oR.innerHTML=ZL(i==="svg"?`<svg>${t}</svg>`:i==="mathml"?`<math>${t}</math>`:t);const a=oR.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]}},Ds="transition",ud="animation",pu=Symbol("_vtc"),XL={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},QL=Ro({},TL,XL),N6=t=>(t.displayName="Transition",t.props=QL,t),xy=N6((t,{slots:e})=>Gn(P3,eE(t),e)),xa=(t,e=[])=>{et(t)?t.forEach(o=>o(...e)):t&&t(...e)},iR=t=>t?et(t)?t.some(e=>e.length>1):t.length>1:!1;function eE(t){const e={};for(const H in t)H in XL||(e[H]=t[H]);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=P6(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:O=D}=e,W=(H,X,Ce,pe)=>{H._enterCancelled=pe,Es(H,X?m:a),Es(H,X?c:s),Ce&&Ce()},ne=(H,X)=>{H._isLeaving=!1,Es(H,f),Es(H,C),Es(H,p),X&&X()},U=H=>(X,Ce)=>{const pe=H?P:v,ie=()=>W(X,H,Ce);xa(pe,[X,ie]),nR(()=>{Es(X,H?u:r),er(X,H?m:a),iR(pe)||rR(X,i,y,ie)})};return Ro(e,{onBeforeEnter(H){xa(B,[H]),er(H,r),er(H,s)},onBeforeAppear(H){xa(_,[H]),er(H,u),er(H,c)},onEnter:U(!1),onAppear:U(!0),onLeave(H,X){H._isLeaving=!0;const Ce=()=>ne(H,X);er(H,f),H._enterCancelled?(er(H,p),Q0(H)):(Q0(H),er(H,p)),nR(()=>{H._isLeaving&&(Es(H,f),er(H,C),iR(R)||rR(H,i,T,Ce))}),xa(R,[H,Ce])},onEnterCancelled(H){W(H,!1,void 0,!0),xa(D,[H])},onAppearCancelled(H){W(H,!0,void 0,!0),xa(O,[H])},onLeaveCancelled(H){ne(H),xa(N,[H])}})}function P6(t){if(t==null)return null;if(Mt(t))return[vg(t.enter),vg(t.leave)];{const e=vg(t);return[e,e]}}function vg(t){return zM(t)}function er(t,e){e.split(/\s+/).forEach(o=>o&&t.classList.add(o)),(t[pu]||(t[pu]=new Set)).add(e)}function Es(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const o=t[pu];o&&(o.delete(e),o.size||(t[pu]=void 0))}function nR(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let _6=0;function rR(t,e,o,i){const n=t._endId=++_6,r=()=>{n===t._endId&&i()};if(o!=null)return setTimeout(r,o);const{type:s,timeout:a,propCount:u}=tE(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 tE(t,e){const o=window.getComputedStyle(t),i=F=>(o[F]||"").split(", "),n=i(`${Ds}Delay`),r=i(`${Ds}Duration`),s=sR(n,r),a=i(`${ud}Delay`),u=i(`${ud}Duration`),c=sR(a,u);let m=null,f=0,p=0;e===Ds?s>0&&(m=Ds,f=s,p=r.length):e===ud?c>0&&(m=ud,f=c,p=u.length):(f=Math.max(s,c),m=f>0?s>c?Ds:ud:null,p=m?m===Ds?r.length:u.length:0);const C=m===Ds&&/\b(?:transform|all)(?:,|$)/.test(i(`${Ds}Property`).toString());return{type:m,timeout:f,propCount:p,hasTransform:C}}function sR(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((o,i)=>aR(o)+aR(t[i])))}function aR(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Q0(t){return(t?t.ownerDocument:document).body.offsetHeight}function A6(t,e,o){const i=t[pu];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):o?t.setAttribute("class",e):t.className=e}const eh=Symbol("_vod"),oE=Symbol("_vsh"),eF={name:"show",beforeMount(t,{value:e},{transition:o}){t[eh]=t.style.display==="none"?"":t.style.display,o&&e?o.beforeEnter(t):dd(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),dd(t,!0),i.enter(t)):i.leave(t,()=>{dd(t,!1)}):dd(t,e))},beforeUnmount(t,{value:e}){dd(t,e)}};function dd(t,e){t.style.display=e?t[eh]:"none",t[oE]=!e}const iE=Symbol("");function ia(t){const e=Tn();if(!e)return;const o=e.ut=(n=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>th(r,n))},i=()=>{const n=t(e.proxy);e.ce?th(e.ce,n):tF(e.subTree,n),o(n)};bL(()=>{cL(i)}),cs(()=>{Rt(i,Wn,{flush:"post"});const n=new MutationObserver(i);n.observe(e.subTree.el.parentNode,{childList:!0}),vc(()=>n.disconnect())})}function tF(t,e){if(t.shapeFlag&128){const o=t.suspense;t=o.activeBranch,o.pendingBranch&&!o.isHydrating&&o.effects.push(()=>{tF(o.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)th(t.el,e);else if(t.type===Ge)t.children.forEach(o=>tF(o,e));else if(t.type===xf){let{el:o,anchor:i}=t;for(;o&&(th(o,e),o!==i);)o=o.nextSibling}}function th(t,e){if(t.nodeType===1){const o=t.style;let i="";for(const n in e){const r=ZM(e[n]);o.setProperty(`--${n}`,r),i+=`--${n}: ${r};`}o[iE]=i}}const I6=/(?:^|;)\s*display\s*:/;function w6(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&&Ef(i,a,"")}else for(const s in e)o[s]==null&&Ef(i,s,"");for(const s in o)s==="display"&&(r=!0),Ef(i,s,o[s])}else if(n){if(e!==o){const s=i[iE];s&&(o+=";"+s),i.cssText=o,r=I6.test(o)}}else e&&t.removeAttribute("style");eh in t&&(t[eh]=r?i.display:"",t[oE]&&(i.display="none"))}const lR=/\s*!important$/;function Ef(t,e,o){if(et(o))o.forEach(i=>Ef(t,e,i));else if(o==null&&(o=""),e.startsWith("--"))t.setProperty(e,o);else{const i=k6(t,e);lR.test(o)?t.setProperty(dl(i),o.replace(lR,""),"important"):t[i]=o}}const uR=["Webkit","Moz","ms"],Ng={};function k6(t,e){const o=Ng[e];if(o)return o;let i=Li(e);if(i!=="filter"&&i in t)return Ng[e]=i;i=_u(i);for(let n=0;n<uR.length;n++){const r=uR[n]+i;if(r in t)return Ng[e]=r}return e}const dR="http://www.w3.org/1999/xlink";function cR(t,e,o,i,n,r=JM(e)){i&&e.startsWith("xlink:")?o==null?t.removeAttributeNS(dR,e.slice(6,e.length)):t.setAttributeNS(dR,e,o):o==null||r&&!W1(o)?t.removeAttribute(e):t.setAttribute(e,r?"":us(o)?String(o):o)}function mR(t,e,o,i,n){if(e==="innerHTML"||e==="textContent"){o!=null&&(t[e]=e==="innerHTML"?ZL(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=W1(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 O6(t,e,o,i){t.removeEventListener(e,o,i)}const fR=Symbol("_vei");function M6(t,e,o,i,n=null){const r=t[fR]||(t[fR]={}),s=r[e];if(i&&s)s.value=i;else{const[a,u]=H6(e);if(i){const c=r[e]=U6(i,n);W6(t,a,c,u)}else s&&(O6(t,a,s,u),r[e]=void 0)}}const hR=/(?:Once|Passive|Capture)$/;function H6(t){let e;if(hR.test(t)){e={};let i;for(;i=t.match(hR);)t=t.slice(0,t.length-i[0].length),e[i[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):dl(t.slice(2)),e]}let Pg=0;const $6=Promise.resolve(),z6=()=>Pg||($6.then(()=>Pg=0),Pg=Date.now());function U6(t,e){const o=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=o.attached)return;Hn(j6(i,o.value),e,5,[i])};return o.value=t,o.attached=z6(),o}function j6(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 pR=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,G6=(t,e,o,i,n,r)=>{const s=n==="svg";e==="class"?A6(t,i,s):e==="style"?w6(t,o,i):np(e)?my(e)||M6(t,e,o,i,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):K6(t,e,i,s))?(mR(t,e,i),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&cR(t,e,i,s,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!eo(i))?mR(t,Li(e),i,r,e):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),cR(t,e,i,s))};function K6(t,e,o,i){if(i)return!!(e==="innerHTML"||e==="textContent"||e in t&&pR(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 pR(e)&&eo(o)?!1:e in t}const nE=new WeakMap,rE=new WeakMap,oh=Symbol("_moveCb"),CR=Symbol("_enterCb"),q6=t=>(delete t.props.mode,t),Y6=q6({name:"TransitionGroup",props:Ro({},QL,{tag:String,moveClass:String}),setup(t,{slots:e}){const o=Tn(),i=yL();let n,r;return Sy(()=>{if(!n.length)return;const s=t.moveClass||`${t.name||"v"}-move`;if(!Q6(n[0].el,o.vnode.el,s)){n=[];return}n.forEach(J6),n.forEach(Z6);const a=n.filter(X6);Q0(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[oh]=p=>{p&&p.target!==c||(!p||p.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[oh]=null,Es(c,s))};c.addEventListener("transitionend",f)}),n=[]}),()=>{const s=Dt(t),a=eE(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),el(m,Qd(m,a,i,o)),nE.set(m,{left:m.el.offsetLeft,top:m.el.offsetTop}))}r=e.default?Ty(e.default()):[];for(let c=0;c<r.length;c++){const m=r[c];m.key!=null&&el(m,Qd(m,a,i,o))}return de(u,null,r)}}}),Ly=Y6;function J6(t){const e=t.el;e[oh]&&e[oh](),e[CR]&&e[CR]()}function Z6(t){rE.set(t,{left:t.el.offsetLeft,top:t.el.offsetTop})}function X6(t){const e=nE.get(t),o=rE.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 Q6(t,e,o){const i=t.cloneNode(),n=t[pu];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}=tE(i);return r.removeChild(i),s}const e4=["ctrl","shift","alt","meta"],t4={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)=>e4.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=t4[e[s]];if(a&&a(n,e))return}return t(n,...r)}))},o4=Ro({patchProp:G6},v6);let gR;function i4(){return gR||(gR=c6(o4))}const n4=((...t)=>{const e=i4().createApp(...t),{mount:o}=e;return e.mount=i=>{const n=s4(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,r4(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),s},e});function r4(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function s4(t){return eo(t)?document.querySelector(t):t}function a4(t,e){e=Array.isArray(e)?e.slice(0,-1).map(o=>`'${o}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const bi=typeof window<"u",l4=bi&&"IntersectionObserver"in window,u4=bi&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),FR=bi&&"EyeDropper"in window,sE=bi&&"matchMedia"in window&&typeof window.matchMedia=="function",aE=()=>sE&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function d4(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 yR(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(/^\./,""),d4(t,e.split("."),o))}function Ey(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:t},(o,i)=>e+i)}function Yt(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 oF(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function TR(t){let e;return t!==null&&typeof t=="object"&&((e=Object.getPrototypeOf(t))===Object.prototype||e===null)}function c4(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 m4=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 wa(t,e){return e.every(o=>t.hasOwnProperty(o))}function vy(t,e){const o={};for(const i of e)Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}function au(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 SR(t){const e=t.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function BR(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 VR(t,e){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,e-t.length))+t}function f4(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 $i(){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(TR(r)&&TR(s)){i[n]=$i(r,s,o);continue}if(o&&Array.isArray(r)&&Array.isArray(s)){i[n]=o(r,s);continue}i[n]=s}return i}function lE(t){return t.map(e=>e.type===Ge?lE(e.children):e).flat()}function ja(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(ja.cache.has(t))return ja.cache.get(t);const e=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return ja.cache.set(t,e),e}ja.cache=new Map;function Vd(t,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(o=>Vd(t,o)).flat(1);if(e.suspense)return Vd(t,e.ssContent);if(Array.isArray(e.children))return e.children.map(o=>Vd(t,o)).flat(1);if(e.component){if(Object.getOwnPropertyDescriptor(e.component.provides,t))return[e.component];if(e.component.subTree)return Vd(t,e.component.subTree).flat(1)}return[]}function h4(t){return"touches"in t?{clientX:t.touches[0].clientX,clientY:t.touches[0].clientY}:{clientX:t.clientX,clientY:t.clientY}}function uE(t){const e=bt({});Au(()=>{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 iF(t,e){return t.includes(e)}const ih=()=>[Function,Array];function RR(t,e){return e="on"+_u(e),!!(t[e]||t[`${e}Once`]||t[`${e}Capture`]||t[`${e}OnceCapture`]||t[`${e}CaptureOnce`])}function p4(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 C4(){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:()=>c4(t.value)}),e}function nh(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="bigint"}function g4(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 F4=["top","bottom"],y4=["start","end","left","right"];function T4(t,e){let[o,i]=t.split(" ");return i||(i=iF(F4,o)?"start":iF(y4,o)?"top":"center"),{side:DR(o,e),align:DR(i,e)}}function DR(t,e){return t==="start"?e?"right":"left":t==="end"?e?"left":"right":t}const kl=2.4,bR=.2126729,xR=.7151522,LR=.072175,S4=.55,B4=.58,V4=.57,R4=.62,Xm=.03,ER=1.45,D4=5e-4,b4=1.25,x4=1.25,vR=.078,NR=12.82051282051282,Qm=.06,PR=.001;function _R(t,e){const o=(t.r/255)**kl,i=(t.g/255)**kl,n=(t.b/255)**kl,r=(e.r/255)**kl,s=(e.g/255)**kl,a=(e.b/255)**kl;let u=o*bR+i*xR+n*LR,c=r*bR+s*xR+a*LR;if(u<=Xm&&(u+=(Xm-u)**ER),c<=Xm&&(c+=(Xm-c)**ER),Math.abs(c-u)<D4)return 0;let m;if(c>u){const f=(c**S4-u**B4)*b4;m=f<PR?0:f<vR?f-f*NR*Qm:f-Qm}else{const f=(c**R4-u**V4)*x4;m=f>-PR?0:f>-vR?f-f*NR*Qm:f+Qm}return m*100}const rh=.20689655172413793,L4=t=>t>rh**3?Math.cbrt(t):t/(3*rh**2)+4/29,E4=t=>t>rh?t**3:3*rh**2*(t-4/29);function dE(t){const e=L4,o=e(t[1]);return[116*o-16,500*(e(t[0]/.95047)-o),200*(o-e(t[2]/1.08883))]}function cE(t){const e=E4,o=(t[0]+16)/116;return[e(o+t[1]/500)*.95047,e(o),e(o-t[2]/200)*1.08883]}const v4=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],N4=t=>t<=.0031308?t*12.92:1.055*t**(1/2.4)-.055,P4=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],_4=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function mE(t){const e=Array(3),o=N4,i=v4;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 Ny(t){let{r:e,g:o,b:i}=t;const n=[0,0,0],r=_4,s=P4;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 nF(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}function A4(t){return nF(t)&&!/^((rgb|hsl)a?\()?var\(--/.test(t)}const AR=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,I4={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)=>IR({h:t,s:e,l:o,a:i}),hsla:(t,e,o,i)=>IR({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 zi(t){if(typeof t=="number")return{r:(t&16711680)>>16,g:(t&65280)>>8,b:t&255};if(typeof t=="string"&&AR.test(t)){const{groups:e}=t.match(AR),{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 I4[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),CE(e)}else if(typeof t=="object"){if(wa(t,["r","g","b"]))return t;if(wa(t,["h","s","l"]))return hr(Py(t));if(wa(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 IR(t){return hr(Py(t))}function Pc(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 rF(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 Py(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 fE(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 hE(t){return fE(hr(t))}function ef(t){const e=Math.round(t).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function pE(t){let{r:e,g:o,b:i,a:n}=t;return`#${[ef(e),ef(o),ef(i),n!==void 0?ef(Math.round(n*255)):""].join("")}`}function CE(t){t=k4(t);let[e,o,i,n]=f4(t,2).map(r=>parseInt(r,16));return n=n===void 0?n:n/255,{r:e,g:o,b:i,a:n}}function w4(t){const e=CE(t);return Pc(e)}function gE(t){return pE(hr(t))}function k4(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=BR(BR(t,6),8,"F")),t}function W4(t,e){const o=dE(Ny(t));return o[0]=o[0]+e*10,mE(cE(o))}function O4(t,e){const o=dE(Ny(t));return o[0]=o[0]-e*10,mE(cE(o))}function sF(t){const e=zi(t);return Ny(e)[1]}function M4(t,e){const o=sF(t),i=sF(e),n=Math.max(o,i),r=Math.min(o,i);return(n+.05)/(r+.05)}function FE(t){const e=Math.abs(_R(zi(0),zi(t)));return Math.abs(_R(zi(16777215),zi(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 Fi=st({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function Kn(t,e){const o=Tn();if(!o)throw new Error(`[Vuetify] ${t} must be called from inside a setup function`);return o}function ms(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Kn(t).type;return ja((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}function H4(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 Cu=Symbol.for("vuetify:defaults");function $4(t){return Vt(t)}function _y(){const t=Qo(Cu);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function Ay(t,e){const o=_y(),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=$i(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=$i($i(c,{prev:c}),c[u])),c}return c.prev?$i(c.prev,c):c});return ml(Cu,n),n}function z4(t,e){return t.props&&(typeof t.props[e]<"u"||typeof t.props[ja(e)]<"u")}function U4(){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]:_y();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(z4(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();Au(()=>{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=H4(Cu,i);ml(Cu,Z(()=>s.value?$i((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 vy(i,e)},t.props._as=String,t.setup=function(i,n){const r=_y();if(!r.value)return t._setup(i,n);const{props:s,provideSubDefaults:a}=U4(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 j4(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??_u(Li(t.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...Fi()},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 G4(t,e,o,i){if(!o||nh(t)||nh(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 K4(t,e,o){var r,s;if(!o||nh(t)||nh(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 Tp(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=K4(t,e,o);return n||(G4(t,e,o,!0),i.every(r=>Tp(t[r],e[r],o)))}function yE(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 q4={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 bo(t){const e=Kn("useRender");e.render=t}const tl=[String,Function,Object,Array],aF=Symbol.for("vuetify:icons"),Sp=st({icon:{type:tl},tag:{type:[String,Object,Function],required:!0}},"icon"),wR=Do()({name:"VComponentIcon",props:Sp(),setup(t,e){let{slots:o}=e;return()=>{const i=t.icon;return de(t.tag,null,{default:()=>{var n;return[t.icon?de(i,null,null):(n=o.default)==null?void 0:n.call(o)]}})}}}),TE=Tr({name:"VSvgIcon",inheritAttrs:!1,props:Sp(),setup(t,e){let{attrs:o}=e;return()=>de(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:Sp(),setup(t){return()=>de(t.tag,null,{default:()=>[t.icon]})}});const SE=Tr({name:"VClassIcon",props:Sp(),setup(t){return()=>de(t.tag,{class:Ve(t.icon)},null)}}),Y4=t=>{const e=Qo(aF);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:Z(()=>{var u;const i=fu(t);if(!i)return{component:wR};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:TE,icon:n};if(typeof n!="string")return{component:wR,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}})}},J4={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"},Z4={component:t=>Gn(SE,{...t,class:"mdi"})};function X4(){return{svg:{component:TE},class:{component:SE}}}function Q4(t){const e=X4(),o=(t==null?void 0:t.defaultSet)??"mdi";return o==="mdi"&&!e.mdi&&(e.mdi=Z4),$i({defaultSet:o,sets:e,aliases:{...J4,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)}function lF(t,e){let o;function i(){o=zf(),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}),xc(()=>{o==null||o.stop()})}function ol(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=ja(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}`)))});lF(()=>!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 eH={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",previousYear:"Previous year",nextYear:"Next year",selectMonth:"Select month",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",hour:"Hour",minute:"Minute",second:"Second"},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}",or:"or"},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"}}},kR="$vuetify.",WR=(t,e)=>t.replace(/\{(\d+)\}/g,(o,i)=>String(e[Number(i)])),BE=(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(kR))return WR(i,r);const a=i.replace(kR,""),u=t.value&&o.value[t.value],c=e.value&&o.value[e.value];let m=yR(u,a,null);return m||(`${i}${t.value}`,m=yR(c,a,null)),m||(m=i),typeof m!="string"&&(m=i),WR(m,r)};function Iy(t,e){return(o,i)=>new Intl.NumberFormat([t.value,e.value],i).format(o)}function VE(t,e){return Iy(t,e)(.1).includes(",")?",":"."}function _g(t,e,o){const i=ol(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 RE(t){return e=>{const o=_g(e,"locale",t.current),i=_g(e,"fallback",t.fallback),n=_g(e,"messages",t.messages);return{name:"vuetify",current:o,fallback:i,messages:n,decimalSeparator:Ue(()=>VE(o,i)),t:BE(o,i,n),n:Iy(o,i),provide:RE({current:o,fallback:i,messages:n})}}}function tH(t){const e=lo((t==null?void 0:t.locale)??"en"),o=lo((t==null?void 0:t.fallback)??"en"),i=Vt({en:eH,...t==null?void 0:t.messages});return{name:"vuetify",current:e,fallback:o,messages:i,decimalSeparator:Ue(()=>(t==null?void 0:t.decimalSeparator)??VE(e,o)),t:BE(e,o,i),n:Iy(e,o),provide:RE({current:e,fallback:o,messages:i})}}const sh=Symbol.for("vuetify:locale");function oH(t){return t.name!=null}function iH(t){const e=t!=null&&t.adapter&&oH(t==null?void 0:t.adapter)?t==null?void 0:t.adapter:tH(t),o=rH(e,t);return{...e,...o}}function Bp(){const t=Qo(sh);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");return t}function nH(){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 rH(t,e){const o=Vt((e==null?void 0:e.rtl)??nH()),i=Z(()=>o.value[t.current.value]??!1);return{isRtl:i,rtl:o,rtlClasses:Ue(()=>`v-locale--is-${i.value?"rtl":"ltr"}`)}}function wu(){const t=Qo(sh);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:t.isRtl,rtlClasses:t.rtlClasses}}function _c(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 sH(t,e,o){var m;const i=[];let n=[];const r=DE(t),s=bE(t),a=o??((m=_c(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 wd(t,e,o){var r;let i=(o??((r=_c(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 aH(t,e){var n;const o=new Date(t),i=((((n=_c(e))==null?void 0:n.firstDay)??0)+6)%7;for(;o.getDay()!==i;)o.setDate(o.getDate()+1);return o}function DE(t){return new Date(t.getFullYear(),t.getMonth(),1)}function bE(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function lH(t){const e=t.split("-").map(Number);return new Date(e[0],e[1]-1,e[2])}const uH=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function xE(t){if(t==null)return new Date;if(t instanceof Date)return t;if(typeof t=="string"){let e;if(uH.test(t))return lH(t);if(e=Date.parse(t),!isNaN(e))return new Date(e)}return null}const OR=new Date(2e3,0,2);function dH(t,e,o){var n;const i=e??((n=_c(t))==null?void 0:n.firstDay)??0;return Ey(7).map(r=>{const s=new Date(OR);return s.setDate(OR.getDate()+i+r),new Intl.DateTimeFormat(t,{weekday:o??"narrow"}).format(s)})}function cH(t,e,o,i){const n=xE(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 mH(t,e){const o=t.toJsDate(e),i=o.getFullYear(),n=VR(String(o.getMonth()+1),2,"0"),r=VR(String(o.getDate()),2,"0");return`${i}-${n}-${r}`}function fH(t){const[e,o,i]=t.split("-").map(Number);return new Date(e,o-1,i)}function hH(t,e){const o=new Date(t);return o.setMinutes(o.getMinutes()+e),o}function pH(t,e){const o=new Date(t);return o.setHours(o.getHours()+e),o}function Ga(t,e){const o=new Date(t);return o.setDate(o.getDate()+e),o}function CH(t,e){const o=new Date(t);return o.setDate(o.getDate()+e*7),o}function gH(t,e){const o=new Date(t);return o.setDate(1),o.setMonth(o.getMonth()+e),o}function ic(t){return t.getFullYear()}function FH(t){return t.getMonth()}function yH(t,e,o,i){const n=_c(e),r=o??(n==null?void 0:n.firstDay)??0,s=(n==null?void 0:n.firstWeekSize)??1;return i!==void 0?TH(t,e,r,i):SH(t,e,r,s)}function TH(t,e,o,i){const n=(7+i-o)%7,r=wd(t,e,o),s=Ga(r,6);function a(p){return(7+new Date(p,0,1).getDay()-o)%7}let u=ic(r);u<ic(s)&&a(u+1)<=n&&u++;const c=new Date(u,0,1),m=a(u),f=m<=n?Ga(c,-m):Ga(c,7-m);return 1+lh(wy(r),nc(f),"weeks")}function SH(t,e,o,i){const n=wd(t,e,o),r=Ga(wd(t,e,o),6);function s(f){const p=new Date(f,0,1);return 7-lh(p,wd(p,e,o),"days")}let a=ic(n);a<ic(r)&&s(a+1)>=i&&a++;const u=new Date(a,0,1),c=s(a),m=c>=i?Ga(u,c-7):Ga(u,c);return 1+lh(wy(n),nc(m),"weeks")}function BH(t){return t.getDate()}function VH(t){return new Date(t.getFullYear(),t.getMonth()+1,1)}function RH(t){return new Date(t.getFullYear(),t.getMonth()-1,1)}function DH(t){return t.getHours()}function bH(t){return t.getMinutes()}function xH(t){return new Date(t.getFullYear(),0,1)}function LH(t){return new Date(t.getFullYear(),11,31)}function EH(t,e){return ah(t,e[0])&&PH(t,e[1])}function vH(t){const e=new Date(t);return e instanceof Date&&!isNaN(e.getTime())}function ah(t,e){return t.getTime()>e.getTime()}function NH(t,e){return ah(nc(t),nc(e))}function PH(t,e){return t.getTime()<e.getTime()}function MR(t,e){return t.getTime()===e.getTime()}function _H(t,e){return t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function AH(t,e){return t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function IH(t,e){return t.getFullYear()===e.getFullYear()}function lh(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 wH(t,e){const o=new Date(t);return o.setHours(e),o}function kH(t,e){const o=new Date(t);return o.setMinutes(e),o}function WH(t,e){const o=new Date(t);return o.setMonth(e),o}function OH(t,e){const o=new Date(t);return o.setDate(e),o}function MH(t,e){const o=new Date(t);return o.setFullYear(e),o}function nc(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)}function wy(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59,999)}class HH{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return xE(e)}toJsDate(e){return e}toISO(e){return mH(this,e)}parseISO(e){return fH(e)}addMinutes(e,o){return hH(e,o)}addHours(e,o){return pH(e,o)}addDays(e,o){return Ga(e,o)}addWeeks(e,o){return CH(e,o)}addMonths(e,o){return gH(e,o)}getWeekArray(e,o){const i=o!==void 0?Number(o):void 0;return sH(e,this.locale,i)}startOfWeek(e,o){const i=o!==void 0?Number(o):void 0;return wd(e,this.locale,i)}endOfWeek(e){return aH(e,this.locale)}startOfMonth(e){return DE(e)}endOfMonth(e){return bE(e)}format(e,o){return cH(e,o,this.locale,this.formats)}isEqual(e,o){return MR(e,o)}isValid(e){return vH(e)}isWithinRange(e,o){return EH(e,o)}isAfter(e,o){return ah(e,o)}isAfterDay(e,o){return NH(e,o)}isBefore(e,o){return!ah(e,o)&&!MR(e,o)}isSameDay(e,o){return _H(e,o)}isSameMonth(e,o){return AH(e,o)}isSameYear(e,o){return IH(e,o)}setMinutes(e,o){return kH(e,o)}setHours(e,o){return wH(e,o)}setMonth(e,o){return WH(e,o)}setDate(e,o){return OH(e,o)}setYear(e,o){return MH(e,o)}getDiff(e,o,i){return lh(e,o,i)}getWeekdays(e,o){const i=e!==void 0?Number(e):void 0;return dH(this.locale,i,o)}getYear(e){return ic(e)}getMonth(e){return FH(e)}getWeek(e,o,i){const n=o!==void 0?Number(o):void 0,r=i!==void 0?Number(i):void 0;return yH(e,this.locale,n,r)}getDate(e){return BH(e)}getNextMonth(e){return VH(e)}getPreviousMonth(e){return RH(e)}getHours(e){return DH(e)}getMinutes(e){return bH(e)}startOfDay(e){return nc(e)}endOfDay(e){return wy(e)}startOfYear(e){return xH(e)}endOfYear(e){return LH(e)}}const $H=Symbol.for("vuetify:date-options"),HR=Symbol.for("vuetify:date-adapter");function zH(t,e){const o=$i({adapter:HH,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:UH(o,e)}}function UH(t,e){const o=bt(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 $R=Symbol.for("vuetify:display"),zR={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},jH=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zR;return $i(zR,t)};function UR(t){return bi&&!t?window.innerWidth:typeof t=="object"&&t.clientWidth||0}function jR(t){return bi&&!t?window.innerHeight:typeof t=="object"&&t.clientHeight||0}function GR(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:u4,ssr:e==="ssr"}}function GH(t,e){const{thresholds:o,mobileBreakpoint:i}=jH(t),n=lo(jR(e)),r=lo(GR(e)),s=bt({}),a=lo(UR(e));function u(){n.value=jR(),a.value=UR()}function c(){u(),r.value=GR()}return Au(()=>{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}),xc(()=>{window.removeEventListener("resize",u)},!0)),{...aL(s),update:c,ssr:!!e}}const KH=Symbol.for("vuetify:goto");function qH(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:q4}}function YH(t,e){return{rtl:e.isRtl,options:$i(qH(),t)}}const rc=Symbol.for("vuetify:theme"),na=st({theme:String},"theme");function KR(){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 JH(){var i,n;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:KR();const e=KR();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]=$i(a,s)}return $i(e,{...t,themes:o})}function La(t,e,o,i){t.push(`${e5(e,i)} {
23
- `,...o.map(n=>` ${n};
24
- `),`}
25
- `)}function qR(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=zi(s);n.push(`--${e}theme-${r}: ${a.r},${a.g},${a.b}`),r.startsWith("on-")||n.push(`--${e}theme-${r}-overlay-multiplier: ${sF(s)>.18?o:i}`)}for(const[r,s]of Object.entries(t.variables)){const a=typeof s=="string"&&s.startsWith("#")?zi(s):void 0,u=a?`${a.r}, ${a.g}, ${a.b}`:void 0;n.push(`--${e}${r}: ${u??s}`)}return n}function ZH(t,e,o){const i={};if(o)for(const n of["lighten","darken"]){const r=n==="lighten"?W4:O4;for(const s of Ey(o[n],1))i[`${t}-${n}-${s}`]=pE(r(zi(e),s))}return i}function XH(t,e){if(!e)return{};let o={};for(const i of e.colors){const n=t[i];n&&(o={...o,...ZH(i,n,e)})}return o}function QH(t){const e={};for(const o of Object.keys(t)){if(o.startsWith("on-")||t[`on-${o}`])continue;const i=`on-${o}`,n=zi(t[o]);e[i]=FE(n)}return e}function e5(t,e){if(!e)return t;const o=`:where(${e})`;return t===":root"?o:`${o} ${t}`}function t5(t,e,o){const i=o5(t,e);i&&(i.innerHTML=o)}function o5(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 i5(t){const e=JH(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,...XH(R.colors,e.variations)};v[D]={...R,colors:{...N,...QH(N)}}}return v}),a=Ue(()=>s.value[r.value]),u=Ue(()=>o.value==="system"),c=Z(()=>{var _;const v=[],D=e.unimportant?"":" !important",R=e.scoped?e.prefix:"";(_=a.value)!=null&&_.dark&&La(v,":root",["color-scheme: dark"],e.scope),La(v,":root",qR(a.value,e.prefix),e.scope);for(const[P,O]of Object.entries(s.value))La(v,`.${e.prefix}theme--${P}`,[`color-scheme: ${O.dark?"dark":"normal"}`,...qR(O,e.prefix)],e.scope);if(e.utilities){const P=[],O=[],W=new Set(Object.values(s.value).flatMap(ne=>Object.keys(ne.colors)));for(const ne of W)ne.startsWith("on-")?La(O,`.${ne}`,[`color: rgb(var(--${e.prefix}theme-${ne}))${D}`],e.scope):(La(P,`.${R}bg-${ne}`,[`--${e.prefix}theme-overlay-multiplier: var(--${e.prefix}theme-${ne}-overlay-multiplier)`,`background-color: rgb(var(--${e.prefix}theme-${ne}))${D}`,`color: rgb(var(--${e.prefix}theme-on-${ne}))${D}`],e.scope),La(O,`.${R}text-${ne}`,[`color: rgb(var(--${e.prefix}theme-${ne}))${D}`],e.scope),La(O,`.${R}border-${ne}`,[`--${e.prefix}border-color: var(--${e.prefix}theme-${ne})`],e.scope));e.layers?v.push(`@layer background {
26
- `,...P.map(ne=>` ${ne}`),`}
27
- `,`@layer foreground {
28
- `,...O.map(ne=>` ${ne}`),`}
29
- `):v.push(...P,...O)}let N=v.map((P,O)=>O===0?P:` ${P}`).join("");return e.layers&&(N=`@layer vuetify.theme {
30
- `+v.map(P=>` ${P}`).join("")+`
31
- }`),N}),m=Ue(()=>e.isDisabled?void 0:`${e.prefix}theme--${r.value}`),f=Ue(()=>Object.keys(s.value));if(sE){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}),hy()&&xc(()=>{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(_)),Au(()=>D.updateDOM())):D.addHeadObjs(_())}else{let _=function(){t5(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"&&a4(`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 ku(t){Kn("provideTheme");const e=Qo(rc,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 ml(rc,r),r}function n5(){Kn("useTheme");const t=Qo(rc,null);if(!t)throw new Error("Could not find Vuetify theme injection");return t}function LE(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const o=C4(),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())});ta(()=>{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:jf(i)}}function EE(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...o}=t,i=$i(e,o),{aliases:n={},components:r={},directives:s={}}=i,a=zf();return a.run(()=>{const u=$4(i.defaults),c=GH(i.display,i.ssr),m=i5(i.theme),f=Q4(i.icons),p=iH(i.locale),C=zH(i.date,p),F=YH(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=zf();if(v.run(()=>{m.install(B)}),B.onUnmount(()=>v.stop()),B.provide(Cu,u),B.provide($R,c),B.provide(rc,m),B.provide(aF,f),B.provide(sh,p),B.provide($H,C.options),B.provide(HR,C.instance),B.provide(KH,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 cl(()=>c.update()),B.mount=D,R}}B.mixin({computed:{$vuetify(){return bt({defaults:Wl.call(this,Cu),display:Wl.call(this,$R),theme:Wl.call(this,rc),icons:Wl.call(this,aF),locale:Wl.call(this,sh),date:Wl.call(this,HR)})}}})}function T(){a.stop()}return{install:y,unmount:T,defaults:u,display:c,theme:m,icons:f,locale:p,date:C,goTo:F}})}const r5="3.11.2";EE.version=r5;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},s5={},a5={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function l5(t,e){return k(),J("svg",a5,[...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 YR=Ne(s5,[["render",l5]]),u5={},d5={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function c5(t,e){return k(),J("svg",d5,[...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 m5=Ne(u5,[["render",c5]]);/*!
32
- * shared v9.14.5
33
- * (c) 2025 kazuya kawaguchi
34
- * Released under the MIT License.
35
- */function f5(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const uh=typeof window<"u",ra=(t,e=!1)=>e?Symbol.for(t):Symbol(t),h5=(t,e,o)=>p5({l:t,k:e,s:o}),p5=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ho=t=>typeof t=="number"&&isFinite(t),C5=t=>NE(t)==="[object Date]",Ys=t=>NE(t)==="[object RegExp]",Vp=t=>ot(t)&&Object.keys(t).length===0,$o=Object.assign,g5=Object.create,It=(t=null)=>g5(t);let JR;const Yr=()=>JR||(JR=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:It());function ZR(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function XR(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function F5(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(i,n,r)=>`${n}="${XR(r)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(i,n,r)=>`${n}='${XR(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$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&#58;")}),t}const y5=Object.prototype.hasOwnProperty;function In(t,e){return y5.call(t,e)}const Zt=Array.isArray,Ut=t=>typeof t=="function",xe=t=>typeof t=="string",Ct=t=>typeof t=="boolean",Et=t=>t!==null&&typeof t=="object",T5=t=>Et(t)&&Ut(t.then)&&Ut(t.catch),vE=Object.prototype.toString,NE=t=>vE.call(t),ot=t=>{if(!Et(t))return!1;const e=Object.getPrototypeOf(t);return e===null||e.constructor===Object},S5=t=>t==null?"":Zt(t)||ot(t)&&t.toString===vE?JSON.stringify(t,null,2):String(t);function B5(t,e=""){return t.reduce((o,i,n)=>n===0?o+i:o+e+i,"")}function Rp(t){let e=t;return()=>++e}const tf=t=>!Et(t)||Zt(t);function vf(t,e){if(tf(t)||tf(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()),tf(n[r])||tf(i[r])?n[r]=i[r]:o.push({src:i[r],des:n[r]}))})}}/*!
36
- * message-compiler v9.14.5
37
- * (c) 2025 kazuya kawaguchi
38
- * Released under the MIT License.
39
- */function V5(t,e,o){return{line:t,column:e,offset:o}}function dh(t,e,o){return{start:t,end:e}}const R5=/\{([0-9a-zA-Z]+)\}/g;function PE(t,...e){return e.length===1&&D5(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),t.replace(R5,(o,i)=>e.hasOwnProperty(i)?e[i]:"")}const _E=Object.assign,QR=t=>typeof t=="string",D5=t=>t!==null&&typeof t=="object";function AE(t,e=""){return t.reduce((o,i,n)=>n===0?o+i:o+e+i,"")}const ky={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},b5={[ky.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function x5(t,e,...o){const i=PE(b5[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},L5={[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=PE((n||L5)[t]||"",...r||[]),a=new SyntaxError(String(s));return a.code=t,e&&(a.location=e),a.domain=i,a}function E5(t){throw t}const Ir=" ",v5="\r",li=`
40
- `,N5="\u2028",P5="\u2029";function _5(t){const e=t;let o=0,i=1,n=1,r=0;const s=P=>e[P]===v5&&e[P+1]===li,a=P=>e[P]===li,u=P=>e[P]===P5,c=P=>e[P]===N5,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 bs=void 0,A5=".",eD="'",I5="tokenizer";function w5(t,e={}){const o=e.location!==!1,i=_5(t),n=()=>i.index(),r=()=>V5(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?dh(Be.startLoc,E):null,q=Wu(L,ce,{domain:I5,args:oe});m(q)}}function p(L,E,Y){L.endLoc=r(),L.currentType=E;const oe={type:E};return o&&(oe.loc=dh(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===bs)return!1;const E=L.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E===95}function v(L){if(L===bs)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()===eD;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 O(L,E){const{currentType:Y}=E;if(!(Y===8||Y===12))return!1;y(L);const oe=L.currentPeek()===":";return L.resetPeek(),oe}function W(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()):H(L,!1)},Be=oe();return L.resetPeek(),Be}function ne(L){y(L);const E=L.currentPeek()==="|";return L.resetPeek(),E}function U(L){const E=y(L),Y=L.currentPeek()==="%"&&L.peek()==="{";return L.resetPeek(),{isModulo:Y,hasSpace:E.length>0}}function H(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===bs?bs: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(H(L))E+=Y,L.next();else break;else if(Y===Ir||Y===li)if(H(L))E+=Y,L.next();else{if(ne(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()===bs&&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()===bs&&f(Ze.UNTERMINATED_CLOSING_BRACE,r(),0),E}function We(L){return L!==eD&&L!==li}function Oe(L){T(L),F(L,"'");let E="",Y="";for(;E=X(L,We);)E==="\\"?Y+=xt(L):Y+=E;const oe=L.currentChar();return oe===li||oe===bs?(f(Ze.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),oe===li&&(L.next(),F(L,"'")),Y):(F(L,"'"),Y)}function xt(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 $(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 ae(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=re(L,E)||C(E),E.braceNest=0,Y;default:{let Be=!0,ce=!0,q=!0;if(ne(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 re(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 ne(L)?(oe=p(E,1,Q(L)),E.braceNest=0,E.inLinked=!1,oe):_(L,E)||O(L,E)?(T(L),re(L,E)):P(L,E)?(T(L),p(E,12,$(L))):W(L,E)?(T(L),Be==="{"?ae(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 ae(L,E)||C(E);if(E.inLinked)return re(L,E)||C(E);switch(L.currentChar()){case"{":return ae(L,E)||C(E);case"}":return f(Ze.UNBALANCED_CLOSING_BRACE,r(),0),L.next(),p(E,3,"}");case"@":return re(L,E)||C(E);default:{if(ne(L))return Y=p(E,1,Q(L)),E.braceNest=0,E.inLinked=!1,Y;const{isModulo:Be,hasSpace:ce}=U(L);if(Be)return ce?p(E,0,jt(L)):p(E,4,pt(L));if(H(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()===bs?p(u,14):Te(i,u)}return{nextToken:Se,currentOffset:n,currentPosition:r,context:c}}const k5="parser",W5=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function O5(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 M5(t={}){const e=t.location!==!1,{onError:o,onWarn:i}=t;function n(D,R,N,_,...P){const O=D.currentPosition();if(O.offset+=_,O.column+=_,o){const W=e?dh(N,O):null,ne=Wu(R,W,{domain:k5,args:P});o(ne)}}function r(D,R,N,_,...P){const O=D.currentPosition();if(O.offset+=_,O.column+=_,i){const W=e?dh(N,O):null;i(x5(R,W,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,O=s(5,_,P);return O.index=parseInt(R,10),D.nextToken(),a(O,D.currentOffset(),D.currentPosition()),O}function m(D,R,N){const _=D.context(),{lastOffset:P,lastStartLoc:O}=_,W=s(4,P,O);return W.key=R,N===!0&&(W.modulo=!0),D.nextToken(),a(W,D.currentOffset(),D.currentPosition()),W}function f(D,R){const N=D.context(),{lastOffset:_,lastStartLoc:P}=N,O=s(9,_,P);return O.value=R.replace(W5,O5),D.nextToken(),a(O,D.currentOffset(),D.currentPosition()),O}function p(D){const R=D.nextToken(),N=D.context(),{lastOffset:_,lastStartLoc:P}=N,O=s(8,_,P);return R.type!==12?(n(D,Ze.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),O.value="",a(O,_,P),{nextConsumeToken:R,node:O}):(R.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,Nn(R)),O.value=R.value||"",a(O,D.currentOffset(),D.currentPosition()),{node:O})}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,Nn(_)),_=D.nextToken(),_.type===2&&(_=D.nextToken()),_.type){case 11:_.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Nn(_)),N.key=C(D,_.value||"");break;case 5:_.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Nn(_)),N.key=m(D,_.value||"");break;case 6:_.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Nn(_)),N.key=c(D,_.value||"");break;case 7:_.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Nn(_)),N.key=f(D,_.value||"");break;default:{n(D,Ze.UNEXPECTED_EMPTY_LINKED_KEY,R.lastStartLoc,0);const P=D.context(),O=s(7,P.offset,P.startLoc);return O.value="",a(O,P.offset,P.startLoc),N.key=O,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 O=null,W=null;do{const H=O||D.nextToken();switch(O=null,H.type){case 0:H.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Nn(H)),P.items.push(u(D,H.value||""));break;case 6:H.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Nn(H)),P.items.push(c(D,H.value||""));break;case 4:W=!0;break;case 5:H.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Nn(H)),P.items.push(m(D,H.value||"",!!W)),W&&(r(D,ky.USE_MODULO_SYNTAX,R.lastStartLoc,0,Nn(H)),W=null);break;case 7:H.value==null&&n(D,Ze.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Nn(H)),P.items.push(f(D,H.value||""));break;case 8:{const X=F(D);P.items.push(X.node),O=X.nextConsumeToken||null;break}}}while(R.currentType!==14&&R.currentType!==1);const ne=R.currentType===1?R.lastOffset:D.currentOffset(),U=R.currentType===1?R.lastEndLoc:D.currentPosition();return a(P,ne,U),P}function T(D,R,N,_){const P=D.context();let O=_.items.length===0;const W=s(1,R,N);W.cases=[],W.cases.push(_);do{const ne=y(D);O||(O=ne.items.length===0),W.cases.push(ne)}while(P.currentType!==14);return O&&n(D,Ze.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),a(W,D.currentOffset(),D.currentPosition()),W}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=w5(D,_E({},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 Nn(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 H5(t,e={}){const o={ast:t,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function tD(t,e){for(let o=0;o<t.length;o++)Wy(t[o],e)}function Wy(t,e){switch(t.type){case 1:tD(t.cases,e),e.helper("plural");break;case 2:tD(t.items,e);break;case 6:{Wy(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 $5(t,e={}){const o=H5(t);o.helper("normalize"),t.body&&Wy(t.body,o);const i=o.context();t.helpers=Array.from(i.helpers)}function z5(t){const e=t.body;return e.type===2?oD(e):e.cases.forEach(o=>oD(o)),t}function oD(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=AE(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 U5="minifier";function Ul(t){switch(t.t=t.type,t.type){case 0:{const e=t;Ul(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++)Ul(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++)Ul(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;Ul(e.key),e.k=e.key,delete e.key,e.modifier&&(Ul(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:U5,args:[t.type]})}delete t.type}const j5="parser";function G5(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 K5(t,e){const{helper:o}=t;t.push(`${o("linked")}(`),gu(t,e.key),e.modifier?(t.push(", "),gu(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function q5(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&&(gu(t,e.items[r]),r!==n-1);r++)t.push(", ");t.deindent(i()),t.push("])")}function Y5(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&&(gu(t,e.cases[r]),r!==n-1);r++)t.push(", ");t.deindent(i()),t.push("])")}}function J5(t,e){e.body?gu(t,e.body):t.push("null")}function gu(t,e){const{helper:o}=t;switch(e.type){case 0:J5(t,e);break;case 1:Y5(t,e);break;case 2:q5(t,e);break;case 6:K5(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:j5,args:[e.type]})}}const Z5=(t,e={})=>{const o=QR(e.mode)?e.mode:"normal",i=QR(e.filename)?e.filename:"message.intl";e.sourceMap;const n=e.breakLineCode!=null?e.breakLineCode:o==="arrow"?";":`
41
- `,r=e.needIndent?e.needIndent:o!=="arrow",s=t.helpers||[],a=G5(t,{filename:i,breakLineCode:n,needIndent:r});a.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(r),s.length>0&&(a.push(`const { ${AE(s.map(m=>`${m}: _${m}`),", ")} } = ctx`),a.newline()),a.push("return "),gu(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 X5(t,e={}){const o=_E({},e),i=!!o.jit,n=!!o.minify,r=o.optimize==null?!0:o.optimize,a=M5(o).parse(t);return i?(r&&z5(a),n&&Ul(a),{ast:a,code:""}):($5(a,o),Z5(a,o))}/*!
42
- * core-base v9.14.5
43
- * (c) 2025 kazuya kawaguchi
44
- * Released under the MIT License.
45
- */function Q5(){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)&&Oy(t)===0&&(In(t,"b")||In(t,"body"))}const IE=["b","body"];function e9(t){return sa(t,IE)}const wE=["c","cases"];function t9(t){return sa(t,wE,[])}const kE=["s","static"];function o9(t){return sa(t,kE)}const WE=["i","items"];function i9(t){return sa(t,WE,[])}const OE=["t","type"];function Oy(t){return sa(t,OE)}const ME=["v","value"];function of(t,e){const o=sa(t,ME);if(o!=null)return o;throw sc(e)}const HE=["m","modifier"];function n9(t){return sa(t,HE)}const $E=["k","key"];function r9(t){const e=sa(t,$E);if(e)return e;throw sc(6)}function sa(t,e,o){for(let i=0;i<e.length;i++){const n=e[i];if(In(t,n)&&t[n]!=null)return t[n]}return o}const zE=[...IE,...wE,...kE,...WE,...$E,...HE,...ME,...OE];function sc(t){return new Error(`unhandled node type: ${t}`)}const aa=[];aa[0]={w:[0],i:[3,0],"[":[4],o:[7]};aa[1]={w:[1],".":[2],"[":[4],o:[7]};aa[2]={w:[2],i:[3,0],0:[3,0]};aa[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};aa[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};aa[5]={"'":[4,0],o:8,l:[5,0]};aa[6]={'"':[4,0],o:8,l:[6,0]};const s9=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function a9(t){return s9.test(t)}function l9(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 u9(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 d9(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:a9(e)?l9(e):"*"+e}function c9(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=d9(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=u9(r),f=aa[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 iD=new Map;function m9(t,e){return Et(t)?t[e]:null}function f9(t,e){if(!Et(t))return null;let o=iD.get(e);if(o||(o=c9(e),o&&iD.set(e,o)),!o)return null;const i=o.length;let n=t,r=0;for(;r<i;){const s=o[r];if(zE.includes(s)&&dr(n))return null;const a=n[s];if(a===void 0||Ut(n))return null;n=a,r++}return n}const h9=t=>t,p9=t=>"",C9="text",g9=t=>t.length===0?"":B5(t),F9=S5;function nD(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function y9(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 T9(t,e){e.count||(e.count=t),e.n||(e.n=t)}function S9(t={}){const e=t.locale,o=y9(t),i=Et(t.pluralRules)&&xe(e)&&Ut(t.pluralRules[e])?t.pluralRules[e]:nD,n=Et(t.pluralRules)&&xe(e)&&Ut(t.pluralRules[e])?nD:void 0,r=B=>B[i(o,B.length,n)],s=t.list||[],a=B=>s[B],u=t.named||It();ho(t.pluralIndex)&&T9(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):p9)}const f=B=>t.modifiers?t.modifiers[B]:h9,p=ot(t.processor)&&Ut(t.processor.normalize)?t.processor.normalize:g9,C=ot(t.processor)&&Ut(t.processor.interpolate)?t.processor.interpolate:F9,F=ot(t.processor)&&xe(t.processor.type)?t.processor.type:C9,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):xe(D)&&(_=D||_):v.length===2&&(xe(D)&&(_=D||_),xe(R)&&(N=R||N));const P=m(B)(T),O=N==="vnode"&&Zt(P)&&_?P[0]:P;return _?f(_)(O,N):O},message:m,type:F,interpolate:C,normalize:p,values:$o(It(),s,u)};return T}let ac=null;function B9(t){ac=t}function V9(t,e,o){ac&&ac.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:o})}const R9=D9("function:translate");function D9(t){return e=>ac&&ac.emit(t,e)}const b9=ky.__EXTEND_POINT__,Ea=Rp(b9),x9={FALLBACK_TO_TRANSLATE:Ea(),CANNOT_FORMAT_NUMBER:Ea(),FALLBACK_TO_NUMBER_FORMAT:Ea(),CANNOT_FORMAT_DATE:Ea(),FALLBACK_TO_DATE_FORMAT:Ea(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Ea(),__EXTEND_POINT__:Ea()},UE=Ze.__EXTEND_POINT__,va=Rp(UE),wn={INVALID_ARGUMENT:UE,INVALID_DATE_ARGUMENT:va(),INVALID_ISO_DATE_ARGUMENT:va(),NOT_SUPPORT_NON_STRING_MESSAGE:va(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:va(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:va(),NOT_SUPPORT_LOCALE_TYPE:va(),__EXTEND_POINT__:va()};function sr(t){return Wu(t,null,void 0)}function My(t,e){return e.locale!=null?rD(e.locale):rD(t.locale)}let Ag;function rD(t){if(xe(t))return t;if(Ut(t)){if(t.resolvedOnce&&Ag!=null)return Ag;if(t.constructor.name==="Function"){const e=t();if(T5(e))throw sr(wn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ag=e}else throw sr(wn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw sr(wn.NOT_SUPPORT_LOCALE_TYPE)}function L9(t,e,o){return[...new Set([o,...Zt(e)?e:Et(e)?Object.keys(e):xe(e)?[e]:[o]])]}function jE(t,e,o){const i=xe(o)?o:Fu,n=t;n.__localeChainCache||(n.__localeChainCache=new Map);let r=n.__localeChainCache.get(i);if(!r){r=[];let s=[o];for(;Zt(s);)s=sD(r,s,e);const a=Zt(e)||!ot(e)?e:e.default?e.default:null;s=xe(a)?[a]:a,Zt(s)&&sD(r,s,!1),n.__localeChainCache.set(i,r)}return r}function sD(t,e,o){let i=!0;for(let n=0;n<e.length&&Ct(i);n++){const r=e[n];xe(r)&&(i=E9(t,e[n],o))}return i}function E9(t,e,o){let i;const n=e.split("-");do{const r=n.join("-");i=v9(t,r,o),n.splice(-1,1)}while(n.length&&i===!0);return i}function v9(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),(Zt(o)||ot(o))&&o[n]&&(i=o[n])}return i}const N9="9.14.5",Dp=-1,Fu="en-US",aD="",lD=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function P9(){return{upper:(t,e)=>e==="text"&&xe(t)?t.toUpperCase():e==="vnode"&&Et(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&xe(t)?t.toLowerCase():e==="vnode"&&Et(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&xe(t)?lD(t):e==="vnode"&&Et(t)&&"__v_isVNode"in t?lD(t.children):t}}let GE;function uD(t){GE=t}let KE;function _9(t){KE=t}let qE;function A9(t){qE=t}let YE=null;const I9=t=>{YE=t},w9=()=>YE;let JE=null;const dD=t=>{JE=t},k9=()=>JE;let cD=0;function W9(t={}){const e=Ut(t.onWarn)?t.onWarn:f5,o=xe(t.version)?t.version:N9,i=xe(t.locale)||Ut(t.locale)?t.locale:Fu,n=Ut(i)?Fu:i,r=Zt(t.fallbackLocale)||ot(t.fallbackLocale)||xe(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:n,s=ot(t.messages)?t.messages:Ig(n),a=ot(t.datetimeFormats)?t.datetimeFormats:Ig(n),u=ot(t.numberFormats)?t.numberFormats:Ig(n),c=$o(It(),t.modifiers,P9()),m=t.pluralRules||It(),f=Ut(t.missing)?t.missing:null,p=Ct(t.missingWarn)||Ys(t.missingWarn)?t.missingWarn:!0,C=Ct(t.fallbackWarn)||Ys(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:GE,N=Ut(t.messageResolver)?t.messageResolver:KE||m9,_=Ut(t.localeFallbacker)?t.localeFallbacker:qE||L9,P=Et(t.fallbackContext)?t.fallbackContext:void 0,O=t,W=Et(O.__datetimeFormatters)?O.__datetimeFormatters:new Map,ne=Et(O.__numberFormatters)?O.__numberFormatters:new Map,U=Et(O.__meta)?O.__meta:{};cD++;const H={version:o,cid:cD,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:U};return H.datetimeFormats=a,H.numberFormats=u,H.__datetimeFormatters=W,H.__numberFormatters=ne,__INTLIFY_PROD_DEVTOOLS__&&V9(H,o,U),H}const Ig=t=>({[t]:It()});function Hy(t,e,o,i,n){const{missing:r,onWarn:s}=t;if(r!==null){const a=r(t,o,e,n);return xe(a)?a:e}else return e}function cd(t,e,o){const i=t;i.__localeChainCache=new Map,t.localeFallbacker(t,o,e)}function O9(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function M9(t,e){const o=e.indexOf(t);if(o===-1)return!1;for(let i=o+1;i<e.length;i++)if(O9(t,e[i]))return!0;return!1}function wg(t){return o=>H9(o,t)}function H9(t,e){const o=e9(e);if(o==null)throw sc(0);if(Oy(o)===1){const r=t9(o);return t.plural(r.reduce((s,a)=>[...s,mD(t,a)],[]))}else return mD(t,o)}function mD(t,e){const o=o9(e);if(o!=null)return t.type==="text"?o:t.normalize([o]);{const i=i9(e).reduce((n,r)=>[...n,uF(t,r)],[]);return t.normalize(i)}}function uF(t,e){const o=Oy(e);switch(o){case 3:return of(e,o);case 9:return of(e,o);case 4:{const i=e;if(In(i,"k")&&i.k)return t.interpolate(t.named(i.k));if(In(i,"key")&&i.key)return t.interpolate(t.named(i.key));throw sc(o)}case 5:{const i=e;if(In(i,"i")&&ho(i.i))return t.interpolate(t.list(i.i));if(In(i,"index")&&ho(i.index))return t.interpolate(t.list(i.index));throw sc(o)}case 6:{const i=e,n=n9(i),r=r9(i);return t.linked(uF(t,r),n?uF(t,n):void 0,t.type)}case 7:return of(e,o);case 8:return of(e,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const ZE=t=>t;let Zl=It();function XE(t,e={}){let o=!1;const i=e.onError||E5;return e.onError=n=>{o=!0,i(n)},{...X5(t,e),detectError:o}}const $9=(t,e)=>{if(!xe(t))throw sr(wn.NOT_SUPPORT_NON_STRING_MESSAGE);{Ct(e.warnHtmlMessage)&&e.warnHtmlMessage;const i=(e.onCacheKey||ZE)(t),n=Zl[i];if(n)return n;const{code:r,detectError:s}=XE(t,e),a=new Function(`return ${r}`)();return s?a:Zl[i]=a}};function z9(t,e){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&xe(t)){Ct(e.warnHtmlMessage)&&e.warnHtmlMessage;const i=(e.onCacheKey||ZE)(t),n=Zl[i];if(n)return n;const{ast:r,detectError:s}=XE(t,{...e,location:!1,jit:!0}),a=wg(r);return s?a:Zl[i]=a}else{const o=t.cacheKey;if(o){const i=Zl[o];return i||(Zl[o]=wg(t))}else return wg(t)}}const fD=()=>"",hn=t=>Ut(t);function hD(t,...e){const{fallbackFormat:o,postTranslation:i,unresolving:n,messageCompiler:r,fallbackLocale:s,messages:a}=t,[u,c]=dF(...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=xe(c.default)||Ct(c.default)?Ct(c.default)?r?u:()=>u:c.default:o?r?u:()=>u:"",y=o||F!=="",T=My(t,c);p&&U9(c);let[B,v,D]=C?[u,T,a[T]||It()]:QE(t,u,T,s,f,m),R=B,N=u;if(!C&&!(xe(R)||dr(R)||hn(R))&&y&&(R=F,N=R),!C&&(!(xe(R)||dr(R)||hn(R))||!xe(v)))return n?Dp:u;let _=!1;const P=()=>{_=!0},O=hn(R)?R:ev(t,u,v,R,N,P);if(_)return R;const W=K9(t,v,D,c),ne=S9(W),U=j9(t,O,ne);let H=i?i(U,u):U;if(p&&xe(H)&&(H=F5(H)),__INTLIFY_PROD_DEVTOOLS__){const X={timestamp:Date.now(),key:xe(u)?u:hn(R)?R.key:"",locale:v||(hn(R)?R.locale:""),format:xe(R)?R:hn(R)?R.source:"",message:H};X.meta=$o({},t.__meta,w9()||{}),R9(X)}return H}function U9(t){Zt(t.list)?t.list=t.list.map(e=>xe(e)?ZR(e):e):Et(t.named)&&Object.keys(t.named).forEach(e=>{xe(t.named[e])&&(t.named[e]=ZR(t.named[e]))})}function QE(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]),!(xe(C)||dr(C)||hn(C)));y++)if(!M9(p,m)){const T=Hy(t,e,p,r,F);T!==e&&(C=T)}return[C,p,f]}function ev(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,G9(t,o,n,i,a,r));return u.locale=o,u.key=e,u.source=i,u}function j9(t,e,o){return e(o)}function dF(...t){const[e,o,i]=t,n=It();if(!xe(e)&&!ho(e)&&!hn(e)&&!dr(e))throw sr(wn.INVALID_ARGUMENT);const r=ho(e)?String(e):(hn(e),e);return ho(o)?n.plural=o:xe(o)?n.default=o:ot(o)&&!Vp(o)?n.named=o:Zt(o)&&(n.list=o),ho(i)?n.plural=i:xe(i)?n.default=i:ot(i)&&$o(n,i),[r,n]}function G9(t,e,o,i,n,r){return{locale:e,key:o,warnHtmlMessage:n,onError:s=>{throw r&&r(s),s},onCacheKey:s=>h5(e,o,s)}}function K9(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]=QE(m,C,e,a,u,c);F=s(y,C)}if(xe(F)||dr(F)){let y=!1;const B=ev(t,C,e,F,C,()=>{y=!0});return y?fD:B}else return hn(F)?F:fD}};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 pD(t,...e){const{datetimeFormats:o,unresolving:i,fallbackLocale:n,onWarn:r,localeFallbacker:s}=t,{__datetimeFormatters:a}=t,[u,c,m,f]=cF(...e),p=Ct(m.missingWarn)?m.missingWarn:t.missingWarn;Ct(m.fallbackWarn)?m.fallbackWarn:t.fallbackWarn;const C=!!m.part,F=My(t,m),y=s(t,n,F);if(!xe(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));_++)Hy(t,u,B,p,D);if(!ot(v)||!xe(B))return i?Dp:u;let R=`${B}__${u}`;Vp(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 tv=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function cF(...t){const[e,o,i,n]=t,r=It();let s=It(),a;if(xe(e)){const u=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw sr(wn.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(wn.INVALID_ISO_DATE_ARGUMENT)}}else if(C5(e)){if(isNaN(e.getTime()))throw sr(wn.INVALID_DATE_ARGUMENT);a=e}else if(ho(e))a=e;else throw sr(wn.INVALID_ARGUMENT);return xe(o)?r.key=o:ot(o)&&Object.keys(o).forEach(u=>{tv.includes(u)?s[u]=o[u]:r[u]=o[u]}),xe(i)?r.locale=i:ot(i)&&(s=i),ot(n)&&(s=n),[r.key||"",a,r,s]}function CD(t,e,o){const i=t;for(const n in o){const r=`${e}__${n}`;i.__datetimeFormatters.has(r)&&i.__datetimeFormatters.delete(r)}}function gD(t,...e){const{numberFormats:o,unresolving:i,fallbackLocale:n,onWarn:r,localeFallbacker:s}=t,{__numberFormatters:a}=t,[u,c,m,f]=mF(...e),p=Ct(m.missingWarn)?m.missingWarn:t.missingWarn;Ct(m.fallbackWarn)?m.fallbackWarn:t.fallbackWarn;const C=!!m.part,F=My(t,m),y=s(t,n,F);if(!xe(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));_++)Hy(t,u,B,p,D);if(!ot(v)||!xe(B))return i?Dp:u;let R=`${B}__${u}`;Vp(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 ov=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function mF(...t){const[e,o,i,n]=t,r=It();let s=It();if(!ho(e))throw sr(wn.INVALID_ARGUMENT);const a=e;return xe(o)?r.key=o:ot(o)&&Object.keys(o).forEach(u=>{ov.includes(u)?s[u]=o[u]:r[u]=o[u]}),xe(i)?r.locale=i:ot(i)&&(s=i),ot(n)&&(s=n),[r.key||"",a,r,s]}function FD(t,e,o){const i=t;for(const n in o){const r=`${e}__${n}`;i.__numberFormatters.has(r)&&i.__numberFormatters.delete(r)}}Q5();/*!
46
- * vue-i18n v9.14.5
47
- * (c) 2025 kazuya kawaguchi
48
- * Released under the MIT License.
49
- */const q9="9.14.5";function Y9(){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 J9=x9.__EXTEND_POINT__,wr=Rp(J9);wr(),wr(),wr(),wr(),wr(),wr(),wr(),wr(),wr();const iv=wn.__EXTEND_POINT__,Vi=Rp(iv),Vo={UNEXPECTED_RETURN_TYPE:iv,INVALID_ARGUMENT:Vi(),MUST_BE_CALL_SETUP_TOP:Vi(),NOT_INSTALLED:Vi(),NOT_AVAILABLE_IN_LEGACY_MODE:Vi(),REQUIRED_VALUE:Vi(),INVALID_VALUE:Vi(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Vi(),NOT_INSTALLED_WITH_PROVIDE:Vi(),UNEXPECTED_ERROR:Vi(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Vi(),BRIDGE_SUPPORT_VUE_2_ONLY:Vi(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Vi(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Vi(),__EXTEND_POINT__:Vi()};function No(t,...e){return Wu(t,null,void 0)}const fF=ra("__translateVNode"),hF=ra("__datetimeParts"),pF=ra("__numberParts"),nv=ra("__setPluralRules"),rv=ra("__injectWithOption"),CF=ra("__dispose");function lc(t){if(!Et(t)||dr(t))return t;for(const e in t)if(In(t,e))if(!e.includes("."))Et(t[e])&&lc(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)?zE.includes(o[i])||delete t[e]:(n[o[i]]=t[e],delete t[e])),!dr(n)){const s=n[o[i]];Et(s)&&lc(s)}}return t}function bp(t,e){const{messages:o,__i18n:i,messageResolver:n,flatJson:r}=e,s=ot(o)?o:Zt(i)?It():{[t]:It()};if(Zt(i)&&i.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:u,resource:c}=a;u?(s[u]=s[u]||It(),vf(c,s[u])):vf(c,s)}else xe(a)&&vf(JSON.parse(a),s)}),n==null&&r)for(const a in s)In(s,a)&&lc(s[a]);return s}function sv(t){return t.type}function av(t,e,o){let i=Et(e.messages)?e.messages:It();"__i18nGlobal"in o&&(i=bp(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 yD(t){return de(Iu,null,t,0)}const TD="__INTLIFY_META__",SD=()=>[],Z9=()=>!1;let BD=0;function VD(t){return((e,o,i,n)=>t(o,i,Tn()||void 0,n))}const X9=()=>{const t=Tn();let e=null;return t&&(e=sv(t)[TD])?{[TD]:e}:null};function $y(t={},e){const{__root:o,__injectWithOption:i}=t,n=o===void 0,r=t.flatJson,s=uh?Vt:lo,a=!!t.translateExistCompatible;let u=Ct(t.inheritLocale)?t.inheritLocale:!0;const c=s(o&&u?o.locale.value:xe(t.locale)?t.locale:Fu),m=s(o&&u?o.fallbackLocale.value:xe(t.fallbackLocale)||Zt(t.fallbackLocale)||ot(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:c.value),f=s(bp(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)||Ys(t.missingWarn)?t.missingWarn:!0,y=o?o.fallbackWarn:Ct(t.fallbackWarn)||Ys(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)?VD(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 O=t.pluralRules||o&&o.pluralRules,W;W=(()=>{n&&dD(null);const q={version:q9,locale:c.value,fallbackLocale:m.value,messages:f.value,modifiers:P,pluralRules:O,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(W)?W.__datetimeFormatters:void 0,q.__numberFormatters=ot(W)?W.__numberFormatters:void 0;const te=W9(q);return n&&dD(te),te})(),cd(W,c.value,m.value);function U(){return[c.value,m.value,f.value,p.value,C.value]}const H=Z({get:()=>c.value,set:q=>{c.value=q,W.locale=c.value}}),X=Z({get:()=>m.value,set:q=>{m.value=q,W.fallbackLocale=m.value,cd(W,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,W.postTranslation=q}function mt(){return v}function ke(q){q!==null&&(D=VD(q)),v=q,W.missing=D}const ve=(q,te,Ee,nt,Nt,oo)=>{U();let Xt;try{__INTLIFY_PROD_DEVTOOLS__,n||(W.fallbackContext=o?k9():void 0),Xt=q(W)}finally{__INTLIFY_PROD_DEVTOOLS__,n||(W.fallbackContext=void 0)}if(Ee!=="translate exists"&&ho(Xt)&&Xt===Dp||Ee==="translate exists"&&!Xt){const[Uo,Qi]=te();return o&&T?nt(o):Nt(Uo)}else{if(oo(Xt))return Xt;throw No(Vo.UNEXPECTED_RETURN_TYPE)}};function lt(...q){return ve(te=>Reflect.apply(hD,null,[te,...q]),()=>dF(...q),"translate",te=>Reflect.apply(te.t,te,[...q]),te=>te,te=>xe(te))}function pt(...q){const[te,Ee,nt]=q;if(nt&&!Et(nt))throw No(Vo.INVALID_ARGUMENT);return lt(te,Ee,$o({resolvedMessage:!0},nt||{}))}function jt(...q){return ve(te=>Reflect.apply(pD,null,[te,...q]),()=>cF(...q),"datetime format",te=>Reflect.apply(te.d,te,[...q]),()=>aD,te=>xe(te))}function $e(...q){return ve(te=>Reflect.apply(gD,null,[te,...q]),()=>mF(...q),"number format",te=>Reflect.apply(te.n,te,[...q]),()=>aD,te=>xe(te))}function Qe(q){return q.map(te=>xe(te)||ho(te)||Ct(te)?yD(String(te)):te)}const Oe={normalize:Qe,interpolate:q=>q,type:"vnode"};function xt(...q){return ve(te=>{let Ee;const nt=te;try{nt.processor=Oe,Ee=Reflect.apply(hD,null,[nt,...q])}finally{nt.processor=null}return Ee},()=>dF(...q),"translate",te=>te[fF](...q),te=>[yD(te)],te=>Zt(te))}function Gt(...q){return ve(te=>Reflect.apply(gD,null,[te,...q]),()=>mF(...q),"number format",te=>te[pF](...q),SD,te=>xe(te)||Zt(te))}function to(...q){return ve(te=>Reflect.apply(pD,null,[te,...q]),()=>cF(...q),"datetime format",te=>te[hF](...q),SD,te=>xe(te)||Zt(te))}function I(q){O=q,W.pluralRules=O}function $(q,te){return ve(()=>{if(!q)return!1;const Ee=xe(te)?te:c.value,nt=ae(Ee),Nt=W.messageResolver(nt,q);return a?Nt!=null:dr(Nt)||hn(Nt)||xe(Nt)},()=>[q],"translate exists",Ee=>Reflect.apply(Ee.te,Ee,[q,te]),Z9,Ee=>Ct(Ee))}function w(q){let te=null;const Ee=jE(W,m.value,c.value);for(let nt=0;nt<Ee.length;nt++){const Nt=f.value[Ee[nt]]||{},oo=W.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 ae(q){return f.value[q]||{}}function re(q,te){if(r){const Ee={[q]:te};for(const nt in Ee)In(Ee,nt)&&lc(Ee[nt]);te=Ee[q]}f.value[q]=te,W.messages=f.value}function Te(q,te){f.value[q]=f.value[q]||{};const Ee={[q]:te};if(r)for(const nt in Ee)In(Ee,nt)&&lc(Ee[nt]);te=Ee[q],vf(te,f.value[q]),W.messages=f.value}function Se(q){return p.value[q]||{}}function L(q,te){p.value[q]=te,W.datetimeFormats=p.value,CD(W,q,te)}function E(q,te){p.value[q]=$o(p.value[q]||{},te),W.datetimeFormats=p.value,CD(W,q,te)}function Y(q){return C.value[q]||{}}function oe(q,te){C.value[q]=te,W.numberFormats=C.value,FD(W,q,te)}function Be(q,te){C.value[q]=$o(C.value[q]||{},te),W.numberFormats=C.value,FD(W,q,te)}BD++,o&&uh&&(Rt(o.locale,q=>{u&&(c.value=q,W.locale=q,cd(W,c.value,m.value))}),Rt(o.fallbackLocale,q=>{u&&(m.value=q,W.fallbackLocale=q,cd(W,c.value,m.value))}));const ce={id:BD,locale:H,fallbackLocale:X,get inheritLocale(){return u},set inheritLocale(q){u=q,q&&o&&(c.value=o.locale.value,m.value=o.fallbackLocale.value,cd(W,c.value,m.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Ce,get modifiers(){return P},get pluralRules(){return O||{}},get isGlobal(){return n},get missingWarn(){return F},set missingWarn(q){F=q,W.missingWarn=F},get fallbackWarn(){return y},set fallbackWarn(q){y=q,W.fallbackWarn=y},get fallbackRoot(){return T},set fallbackRoot(q){T=q},get fallbackFormat(){return B},set fallbackFormat(q){B=q,W.fallbackFormat=B},get warnHtmlMessage(){return N},set warnHtmlMessage(q){N=q,W.warnHtmlMessage=q},get escapeParameter(){return _},set escapeParameter(q){_=q,W.escapeParameter=q},t:lt,getLocaleMessage:ae,setLocaleMessage:re,mergeLocaleMessage:Te,getPostTranslationHandler:Re,setPostTranslationHandler:Ie,getMissingHandler:mt,setMissingHandler:ke,[nv]:I};return ce.datetimeFormats=pe,ce.numberFormats=ie,ce.rt=pt,ce.te=$,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[rv]=i,ce[fF]=xt,ce[hF]=to,ce[pF]=Gt,ce}function Q9(t){const e=xe(t.locale)?t.locale:Fu,o=xe(t.fallbackLocale)||Zt(t.fallbackLocale)||ot(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,i=Ut(t.missing)?t.missing:void 0,n=Ct(t.silentTranslationWarn)||Ys(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,r=Ct(t.silentFallbackWarn)||Ys(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=xe(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((O,W)=>{const ne=O[W]||(O[W]={});return $o(ne,_[W]),O},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 gF(t={},e){{const o=$y(Q9(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(!xe(s))throw No(Vo.INVALID_ARGUMENT);const p=s;return xe(a)?c.locale=a:Zt(a)?m=a:ot(a)&&(f=a),Zt(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(!xe(s))throw No(Vo.INVALID_ARGUMENT);const p=s;return xe(a)?c.locale=a:ho(a)?c.plural=a:Zt(a)?m=a:ot(a)&&(f=a),xe(u)?c.locale=u:Zt(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 zy={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function e7({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 lv(t){return Ge}const t7=Me({name:"i18n-t",props:$o({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>ho(t)||!isNaN(t)}},zy),setup(t,e){const{slots:o,attrs:i}=e,n=t.i18n||xp({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=xe(t.plural)?+t.plural:t.plural);const a=e7(e,r),u=n[fF](t.keypath,a,s),c=$o(It(),i),m=xe(t.tag)||Et(t.tag)?t.tag:lv();return Gn(m,c,u)}}}),RD=t7;function o7(t){return Zt(t)&&!xe(t[0])}function uv(t,e,o,i){const{slots:n,attrs:r}=e;return()=>{const s={part:!0};let a=It();t.locale&&(s.locale=t.locale),xe(t.format)?s.key=t.format:Et(t.format)&&(xe(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];Zt(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 o7(y)&&(y[0].key=`${p.type}-${C}`),y}):xe(u)&&(c=[u]);const m=$o(It(),r),f=xe(t.tag)||Et(t.tag)?t.tag:lv();return Gn(f,m,c)}}const i7=Me({name:"i18n-n",props:$o({value:{type:Number,required:!0},format:{type:[String,Object]}},zy),setup(t,e){const o=t.i18n||xp({useScope:t.scope,__useComponent:!0});return uv(t,e,ov,(...i)=>o[pF](...i))}}),DD=i7,n7=Me({name:"i18n-d",props:$o({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},zy),setup(t,e){const o=t.i18n||xp({useScope:t.scope,__useComponent:!0});return uv(t,e,tv,(...i)=>o[hF](...i))}}),bD=n7;function r7(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 s7(t){const e=s=>{const{instance:a,modifiers:u,value:c}=s;if(!a||!a.$)throw No(Vo.UNEXPECTED_ERROR);const m=r7(t,a.$),f=xD(c);return[Reflect.apply(m.t,m,[...LD(f)]),m]};return{created:(s,a)=>{const[u,c]=e(a);uh&&t.global===c&&(s.__i18nWatcher=Rt(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),s.__composer=c,s.textContent=u},unmounted:s=>{uh&&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,[...LD(c)])}},getSSRProps:s=>{const[a]=e(s);return{textContent:a}}}}function xD(t){if(xe(t))return{path:t};if(ot(t)){if(!("path"in t))throw No(Vo.REQUIRED_VALUE,"path");return t}else throw No(Vo.INVALID_VALUE)}function LD(t){const{path:e,locale:o,args:i,choice:n,plural:r}=t,s={},a=i||{};return xe(o)&&(s.locale=o),ho(n)&&(s.plural=n),ho(r)&&(s.plural=r),[e,a,s]}function a7(t,e,...o){const i=ot(o[0])?o[0]:{},n=!!i.useI18nComponentName;(Ct(i.globalInstall)?i.globalInstall:!0)&&([n?"i18n":RD.name,"I18nT"].forEach(s=>t.component(s,RD)),[DD.name,"I18nN"].forEach(s=>t.component(s,DD)),[bD.name,"I18nD"].forEach(s=>t.component(s,bD))),t.directive("t",s7(e))}function l7(t,e,o){return{beforeCreate(){const i=Tn();if(!i)throw No(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=ED(t,r);else{r.__injectWithOption=!0,r.__extender=o.__vueI18nExtend,this.$i18n=gF(r);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(n.__i18n)if(this===this.$root)this.$i18n=ED(t,n);else{this.$i18n=gF({__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&&av(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=Tn();if(!i)throw No(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 ED(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[nv](e.pluralizationRules||t.pluralizationRules);const o=bp(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 u7=ra("global-vue-i18n");function d7(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]=c7(t,o),u=ra("");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=T7(C,p.global)),__VUE_I18N_FULL_INSTALL__&&a7(C,p,...F),__VUE_I18N_LEGACY_API__&&o&&C.mixin(l7(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 xp(t={}){const e=Tn();if(e==null)throw No(Vo.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw No(Vo.NOT_INSTALLED);const o=m7(e),i=h7(o),n=sv(e),r=f7(t,n);if(__VUE_I18N_LEGACY_API__&&o.mode==="legacy"&&!t.__useComponent){if(!o.allowComposition)throw No(Vo.NOT_AVAILABLE_IN_LEGACY_MODE);return F7(e,r,i,t)}if(r==="global")return av(i,t,n),i;if(r==="parent"){let u=p7(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=$y(u),s.__composerExtend&&(a[CF]=s.__composerExtend(a)),g7(s,e,a),s.__setInstance(e,a)}return a}function c7(t,e,o){const i=zf();{const n=__VUE_I18N_LEGACY_API__&&e?i.run(()=>gF(t)):i.run(()=>$y(t));if(n==null)throw No(Vo.UNEXPECTED_ERROR);return[i,n]}}function m7(t){{const e=Qo(t.isCE?u7:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw No(t.isCE?Vo.NOT_INSTALLED_WITH_PROVIDE:Vo.UNEXPECTED_ERROR);return e}}function f7(t,e){return Vp(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function h7(t){return t.mode==="composition"?t.global:t.global.__composer}function p7(t,e,o=!1){let i=null;const n=e.root;let r=C7(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[rv]&&(i=null))}if(i!=null||n===r)break;r=r.parent}return i}function C7(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function g7(t,e,o){cs(()=>{},e),vc(()=>{const i=o;t.__deleteInstance(e);const n=i[CF];n&&(n(),delete i[CF])},e)}function F7(t,e,o,i={}){const n=e==="local",r=lo(null);if(n&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw No(Vo.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=Ct(i.inheritLocale)?i.inheritLocale:!xe(i.locale),a=Vt(!n||s?o.locale.value:xe(i.locale)?i.locale:Fu),u=Vt(!n||s?o.fallbackLocale.value:xe(i.fallbackLocale)||Zt(i.fallbackLocale)||ot(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:a.value),c=Vt(bp(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)||Ys(i.missingWarn)?i.missingWarn:!0,C=n?o.fallbackWarn:Ct(i.fallbackWarn)||Ys(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}}),O=Z({get:()=>r.value?r.value.fallbackLocale.value:u.value,set:w=>{r.value&&(r.value.fallbackLocale.value=w),u.value=w}}),W=Z(()=>r.value?r.value.messages.value:c.value),ne=Z(()=>m.value),U=Z(()=>f.value);function H(){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 xt(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:O,messages:W,datetimeFormats:ne,numberFormats:U,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:H,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:xt,setNumberFormat:Gt,mergeNumberFormat:to};function $(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 Ec(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw No(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&&$(w)}),I}const y7=["locale","fallbackLocale","availableLocales"],vD=["t","rt","d","n","tm","te"];function T7(t,e){const o=Object.create(null);return y7.forEach(n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r)throw No(Vo.UNEXPECTED_ERROR);const s=no(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,vD.forEach(n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r||!r.value)throw No(Vo.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${n}`,r)}),()=>{delete t.config.globalProperties.$i18n,vD.forEach(n=>{delete t.config.globalProperties[`$${n}`]})}}Y9();__INTLIFY_JIT_COMPILATION__?uD(z9):uD($9);_9(f9);A9(jE);if(__INTLIFY_PROD_DEVTOOLS__){const t=Yr();t.__INTLIFY__=!0,B9(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const S7={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)"}}}}},B7={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:"Лого, соцсети и текст по ширине"}}}}},dv=d7({locale:"en",legacy:!1,fallbackWarn:!1,missingWarn:!1,messages:{en:S7,ru:B7},warnHtmlMessage:!1}),V7=()=>{const{t}=dv.global;return(e,o)=>o?t(e,o):t(e)},Le=V7(),R7=async t=>{xp().locale.value=t},D7={ref:"tabsRef",class:"bootstrap-styles w-100 tabs-container p-14 rounded-2 border bg-color-input"},b7={class:"bootstrap-styles d-flex position-relative w-100"},x7=["data-key","onClick"],L7=Me({__name:"TabList",props:{initialTab:{},tabList:{}},emits:["onTabClicked"],setup(t,{emit:e}){const o=t,i=bt({activeTab:o.initialTab,sliderStyle:{width:"0px",transform:"translateX(0px)"}}),n=Vt([]),r=u=>{cl(()=>{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)};cs(()=>{r(i.activeTab)});const a=e;return(u,c)=>(k(),J("div",D7,[V("div",b7,[V("div",{class:"slider",style:fe(i.sliderStyle)},null,4),(k(!0),J(Ge,null,Jt(o.tabList,(m,f)=>(k(),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,x7))),128))])],512))}}),E7=Ne(L7,[["__scopeId","data-v-3528e301"]]),v7={class:"favorite-template-select bootstrap-styles d-flex flex-column bg-white justify-content-start align-items-center"},N7=["href"],P7={class:"icon-hover-stroke-black"},_7={class:"bootstrap-styles mb-11"},A7={class:"bootstrap-styles favorites-template-tab-list mb-13"},I7={class:"favorite-template-select__list"},w7={class:"bootstrap-styles mb-3"},k7={class:"favorite-template-select__list"},W7={class:"bootstrap-styles mb-3"},O7=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=bt({favoritesTemplateListSourceKey:r}),a={custom:Le("favoritesTemplateList.customFavoritesButton"),default:Le("favoritesTemplateList.defaultFavoritesButton")},u=e;return(c,m)=>(k(),J("div",v7,[V("a",{class:"favorites-template-selector__close",href:o.deps.exitLink},[V("i",P7,[de(m5)])],8,N7),V("h2",_7,Lt(j(Le)("favoritesTemplateList.title")),1),V("div",A7,[de(E7,{initialTab:j(r),tabList:a,onOnTabClicked:m[0]||(m[0]=f=>s.favoritesTemplateListSourceKey=f)},null,8,["initialTab"])]),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[1]||(m[1]=f=>u("initialTemplateSelected"))},[V("i",w7,[de(YR)]),hu(" "+Lt(j(Le)("favoritesTemplateList.newTemplate")),1)]),(k(!0),J(Ge,null,Jt(j(i),(f,p)=>(k(),J("div",{key:p},[(k(),Pe(G0(f.previewTileComponent)))]))),128))],512),[[eF,s.favoritesTemplateListSourceKey==="custom"]]),ct(V("div",k7,[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,[de(YR)]),hu(" "+Lt(j(Le)("favoritesTemplateList.newTemplate")),1)]),(k(!0),J(Ge,null,Jt(j(n),(f,p)=>(k(),J("div",{key:p},[(k(),Pe(G0(f.previewTileComponent)))]))),128))],512),[[eF,s.favoritesTemplateListSourceKey==="default"]])]))}}),M7=Ne(O7,[["__scopeId","data-v-86c055af"]]),H7=Me({__name:"FavoritesTemplateSelector",props:{deps:{}},emits:["initialTemplateSelected"],setup(t,{emit:e}){const o=t,i=e;return(n,r)=>(k(),Pe(M7,{deps:o.deps.favoritesTemplateListDeps,onInitialTemplateSelected:r[0]||(r[0]=s=>i("initialTemplateSelected"))},null,8,["deps"]))}}),$7=Me({__name:"CreateEmailTemplateApp",props:{deps:{}},emits:["initialTemplateSelected"],setup(t,{emit:e}){const o=t;Ec(()=>R7(o.deps.localeKey));const i=e;return(n,r)=>(k(),Pe(H7,{deps:o.deps.favoritesTemplateSelectorDeps,onInitialTemplateSelected:r[0]||(r[0]=s=>i("initialTemplateSelected"))},null,8,["deps"]))}});function z7(){return!0}function cv(t,e,o){if(!t||mv(t,o)===!1)return!1;const i=yE(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 mv(t,e){return(typeof e.value=="object"&&e.value.closeConditional||z7)(t)}function U7(t,e,o){const i=typeof o.value=="function"?o.value:o.value.handler;t.shadowTarget=t.target,e._clickOutside.lastMousedownWasOutside&&cv(t,e,o)&&setTimeout(()=>{mv(t,o)&&i&&i(t)},0)}function ND(t,e){const o=yE(t);e(document),typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&e(o)}const j7={mounted(t,e){const o=n=>U7(n,t,e),i=n=>{t._clickOutside.lastMousedownWasOutside=cv(n,t,e)};ND(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&&(ND(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])}},FF=Symbol("rippleStop"),G7=80;function PD(t,e){t.style.transform=e,t.style.webkitTransform=e}function yF(t){return t.constructor.name==="TouchEvent"}function fv(t){return t.constructor.name==="KeyboardEvent"}const K7=function(t,e){var f;let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=0,n=0;if(!fv(t)){const p=e.getBoundingClientRect(),C=yF(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}},ch={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}=K7(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"),PD(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"),PD(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 hv(t){return typeof t>"u"||!!t}function uc(t){const e={},o=t.currentTarget;if(!(!(o!=null&&o._ripple)||o._ripple.touched||t[FF])){if(t[FF]=!0,yF(t))o._ripple.touched=!0,o._ripple.isTouch=!0;else if(o._ripple.isTouch)return;if(e.center=o._ripple.centered||fv(t),o._ripple.class&&(e.class=o._ripple.class),yF(t)){if(o._ripple.showTimerCommit)return;o._ripple.showTimerCommit=()=>{ch.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)},G7)}else ch.show(t,o,e)}}function _D(t){t[FF]=!0}function Oi(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(()=>{Oi(t)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),ch.hide(e)}}function pv(t){const e=t.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let dc=!1;function AD(t,e){!dc&&e.includes(t.key)&&(dc=!0,uc(t))}function Cv(t){dc=!1,Oi(t)}function gv(t){dc&&(dc=!1,Oi(t))}function Fv(t,e,o){const{value:i,modifiers:n}=e,r=hv(i);r||ch.hide(t),t._ripple=t._ripple??{},t._ripple.enabled=r,t._ripple.centered=n.center,t._ripple.circle=n.circle;const s=oF(i)?i:{};s.class&&(t._ripple.class=s.class);const a=s.keys??["Enter","Space"];if(t._ripple.keyDownHandler=u=>AD(u,a),r&&!o){if(n.stop){t.addEventListener("touchstart",_D,{passive:!0}),t.addEventListener("mousedown",_D);return}t.addEventListener("touchstart",uc,{passive:!0}),t.addEventListener("touchend",Oi,{passive:!0}),t.addEventListener("touchmove",pv,{passive:!0}),t.addEventListener("touchcancel",Oi),t.addEventListener("mousedown",uc),t.addEventListener("mouseup",Oi),t.addEventListener("mouseleave",Oi),t.addEventListener("keydown",u=>AD(u,a)),t.addEventListener("keyup",Cv),t.addEventListener("blur",gv),t.addEventListener("dragstart",Oi,{passive:!0})}else!r&&o&&yv(t)}function yv(t){var e;t.removeEventListener("mousedown",uc),t.removeEventListener("touchstart",uc),t.removeEventListener("touchend",Oi),t.removeEventListener("touchmove",pv),t.removeEventListener("touchcancel",Oi),t.removeEventListener("mouseup",Oi),t.removeEventListener("mouseleave",Oi),(e=t._ripple)!=null&&e.keyDownHandler&&t.removeEventListener("keydown",t._ripple.keyDownHandler),t.removeEventListener("keyup",Cv),t.removeEventListener("dragstart",Oi),t.removeEventListener("blur",gv)}function q7(t,e){Fv(t,e,!1)}function Y7(t){yv(t),delete t._ripple}function J7(t,e){if(e.value===e.oldValue)return;const o=hv(e.oldValue);Fv(t,e,o)}const TF={mounted:q7,unmounted:Y7,updated:J7};function Uy(t){return uE(()=>{const{class:e,style:o}=Z7(t);return{colorClasses:e,colorStyles:o}})}function cc(t){const{colorClasses:e,colorStyles:o}=Uy(()=>({text:fu(t)}));return{textColorClasses:e,textColorStyles:o}}function yu(t){const{colorClasses:e,colorStyles:o}=Uy(()=>({background:fu(t)}));return{backgroundColorClasses:e,backgroundColorStyles:o}}function Z7(t){const e=fu(t),o=[],i={};if(e.background)if(nF(e.background)){if(i.backgroundColor=e.background,!e.text&&A4(e.background)){const n=zi(e.background);if(n.a==null||n.a===1){const r=FE(n);i.color=r,i.caretColor=r}}}else o.push(`bg-${e.background}`);return e.text&&(nF(e.text)?(i.color=e.text,i.caretColor=e.text):o.push(`text-${e.text}`)),{class:o,style:i}}const Lp=st({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ep(t){return{dimensionStyles:Z(()=>{const o={},i=Yt(t.height),n=Yt(t.maxHeight),r=Yt(t.maxWidth),s=Yt(t.minHeight),a=Yt(t.minWidth),u=Yt(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 X7(){const t=Kn("useRoute");return Z(()=>{var e;return(e=t==null?void 0:t.proxy)==null?void 0:e.$route})}function Q7(t,e){var f,p;const o=G0("RouterLink"),i=Ue(()=>!!(t.href||t.to)),n=Z(()=>(i==null?void 0:i.value)||RR(e,"click")||RR(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:bt({href:C})}}const r=o.useLink({to:Ue(()=>t.to||""),replace:Ue(()=>t.replace)}),s=Z(()=>t.to?r:void 0),a=X7(),u=Z(()=>{var C,F,y;return s.value?t.exact?a.value?((y=s.value.isExactActive)==null?void 0:y.value)&&Tp(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:bt({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 e8=st({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router"),t8=st({transition:{type:null,default:"fade-transition",validator:t=>t!==!0}},"transition"),o8=(t,e)=>{let{slots:o}=e;const{transition:i,disabled:n,group:r,...s}=t,{component:a=r?Ly:xy,...u}=oF(i)?i:{};let c;return oF(i)?c=$n(u,g4({disabled:n,group:r}),s):c=$n({name:n||!i?"":i},s),Gn(a,c,o)},kg=Symbol("Forwarded refs");function Wg(t,e){let o=t;for(;o;){const i=Reflect.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function i8(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[kg]=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=Wg(u.value,r)??("_"in u.value?Wg((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[kg];if(!c)continue;const m=c.slice();for(;m.length;){const f=m.shift(),p=Wg(f.value,r);if(p)return p;const C=f.value&&f.value[kg];C&&m.push(...C)}}}}})}const n8=t=>({emailTemplatePreviews:t.emailTemplatePreviews,initialEmailTemplate:t.initialEmailTemplate,exitLink:t.exitLink}),r8=t=>({favoritesTemplateListDeps:n8({emailTemplatePreviews:t.emailTemplatePreviews,initialEmailTemplate:t.initialEmailTemplate,exitLink:t.exitLink})}),s8=t=>({favoritesTemplateSelectorDeps:r8({emailTemplatePreviews:t.emailTemplatePreviews,initialEmailTemplate:t.initialEmailTemplate,exitLink:t.exitLink}),localeKey:t.localeKey}),a8=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 nf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},kr={},ID;function l8(){if(ID)return kr;ID=1;var t=kr&&kr.__awaiter||function(U,H,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(U,H||[])).next())})},e=kr&&kr.__generator||function(U,H){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=H.call(U,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(U,H){return function(X){return U(X,H)}},i=function(U){return{products:U.products.map(function(H){return r(H)})}},n=function(U){return{products:U.products.map(function(H){return r(H)})}},r=function(U){return{internalId:U.internalId,externalId:U.externalId,name:U.name,description:U.description,vendor:U.vendor?U.vendor:void 0,price:U.price,oldPrice:U.oldPrice,discountPercentage:U.discountPercentage?U.discountPercentage:void 0,pictureUrl:U.pictureUrl,url:U.url,parameters:U.parameters.map(function(H){return y(H)})}},s=function(U){return{recommendations:U.recommendations.map(function(H){return F(H)})}},a=function(U){return{recommendations:U.recommendations.map(function(H){return F(H)})}},u=function(U){return{recommendations:U.recommendations.map(function(H){return F(H)})}},c=function(U){return{recommendations:U.recommendations.map(function(H){return F(H)})}},m=function(U){return{recommendations:U.recommendations.map(function(H){return F(H)})}},f=function(U){return{recommendations:U.recommendations.map(function(H){return F(H)})}},p=function(U){return{recommendations:U.recommendations.map(function(H){return F(H)})}},C=function(U){return{recommendations:U.recommendations.map(function(H){return F(H)})}},F=function(U){return{internalProductId:U.internalProductId,externalProductId:U.externalProductId,name:U.name,description:U.description,vendor:U.vendor?U.vendor:void 0,price:U.price,oldPrice:U.oldPrice,discountPercentage:U.discountPercentage?U.discountPercentage:void 0,pictureUrl:U.pictureUrl,url:U.url,parameters:U.parameters.map(function(H){return y(H)})}},y=function(U){return{name:U.name,value:U.value}};function T(U,H){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,H({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U.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(U,H){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,H({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U.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(U,H){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,H({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U.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(U,H){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,H({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U.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(U,H){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,H({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U.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(U,H){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,H({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U.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 _(U,H){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,H({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U.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(U,H){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,H({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U.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 O(U,H){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,H({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U.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 W(U,H){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,H({path:X,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(U.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 ne=function(U){return{postGetProductsByIds:o(T,U),postGetPopularRecommendations:o(B,U),postGetPopularInCategoriesRecommendations:o(v,U),postGetRelatedRecommendations:o(D,U),postGetAlternativeRecommendations:o(R,U),postGetSearchRecommendations:o(N,U),postGetLatestRecommendations:o(_,U),postGetSaleByPopularRecommendations:o(P,U),postGetSaleByLatestRecommendations:o(O,U),postGetSampleProductsForPreview:o(W,U)}};return kr.createApi=ne,kr}var u8=l8();const Ac=st({elevation:{type:[Number,String],validator(t){const e=parseInt(t);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Ic(t){return{elevationClasses:Ue(()=>{const o=no(t)?t.value:t.elevation;return o==null?[]:[`elevation-${o}`]})}}const d8={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 c8(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 wD(t){const[e,o]=t.split("@");return Array.from({length:o}).map(()=>vp(e))}function vp(t){let e=[];if(!t)return e;const o=d8[t];if(t!==o){if(t.includes(","))return kD(t);if(t.includes("@"))return wD(t);o.includes(",")?e=kD(o):o.includes("@")?e=wD(o):o&&e.push(vp(o))}return[c8(t,e)]}function kD(t){return t.replace(/\s/g,"").split(",").map(vp)}const m8=st({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...Lp(),...Ac(),...na()},"VSkeletonLoader"),WD=Do()({name:"VSkeletonLoader",inheritAttrs:!1,props:m8(),setup(t,e){let{attrs:o,slots:i}=e;const{backgroundColorClasses:n,backgroundColorStyles:r}=yu(()=>t.color),{dimensionStyles:s}=Ep(t),{elevationClasses:a}=Ic(t),{themeClasses:u}=ku(t),{t:c}=Bp(),m=Z(()=>vp(au(t.type).join(",")));return bo(()=>{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",Np="auto",Ou=[mi,Ki,qi,fi],il="start",Tu="end",Tv="clippingParents",jy="viewport",jl="popper",Sv="reference",SF=Ou.reduce(function(t,e){return t.concat([e+"-"+il,e+"-"+Tu])},[]),Gy=[].concat(Ou,[Np]).reduce(function(t,e){return t.concat([e,e+"-"+il,e+"-"+Tu])},[]),Bv="beforeRead",Vv="read",Rv="afterRead",Dv="beforeMain",bv="main",xv="afterMain",Lv="beforeWrite",Ev="write",vv="afterWrite",Nv=[Bv,Vv,Rv,Dv,bv,xv,Lv,Ev,vv];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 nl(t){var e=Yi(t).Element;return t instanceof e||t instanceof Element}function gn(t){var e=Yi(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Ky(t){if(typeof ShadowRoot>"u")return!1;var e=Yi(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function f8(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];!gn(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 h8(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},{});!gn(n)||!pr(n)||(Object.assign(n.style,a),Object.keys(r).forEach(function(u){n.removeAttribute(u)}))})}}const qy={name:"applyStyles",enabled:!0,phase:"write",fn:f8,effect:h8,requires:["computeStyles"]};function cr(t){return t.split("-")[0]}var Ka=Math.max,mh=Math.min,Su=Math.round;function BF(){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 Pv(){return!/^((?!chrome|android).)*safari/i.test(BF())}function Bu(t,e,o){e===void 0&&(e=!1),o===void 0&&(o=!1);var i=t.getBoundingClientRect(),n=1,r=1;e&&gn(t)&&(n=t.offsetWidth>0&&Su(i.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Su(i.height)/t.offsetHeight||1);var s=nl(t)?Yi(t):window,a=s.visualViewport,u=!Pv()&&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 Yy(t){var e=Bu(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 _v(t,e){var o=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(o&&Ky(o)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function as(t){return Yi(t).getComputedStyle(t)}function p8(t){return["table","td","th"].indexOf(pr(t))>=0}function la(t){return((nl(t)?t.ownerDocument:t.document)||window.document).documentElement}function Pp(t){return pr(t)==="html"?t:t.assignedSlot||t.parentNode||(Ky(t)?t.host:null)||la(t)}function OD(t){return!gn(t)||as(t).position==="fixed"?null:t.offsetParent}function C8(t){var e=/firefox/i.test(BF()),o=/Trident/i.test(BF());if(o&&gn(t)){var i=as(t);if(i.position==="fixed")return null}var n=Pp(t);for(Ky(n)&&(n=n.host);gn(n)&&["html","body"].indexOf(pr(n))<0;){var r=as(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 wc(t){for(var e=Yi(t),o=OD(t);o&&p8(o)&&as(o).position==="static";)o=OD(o);return o&&(pr(o)==="html"||pr(o)==="body"&&as(o).position==="static")?e:o||C8(t)||e}function Jy(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function kd(t,e,o){return Ka(t,mh(e,o))}function g8(t,e,o){var i=kd(t,e,o);return i>o?o:i}function Av(){return{top:0,right:0,bottom:0,left:0}}function Iv(t){return Object.assign({},Av(),t)}function wv(t,e){return e.reduce(function(o,i){return o[i]=t,o},{})}var F8=function(e,o){return e=typeof e=="function"?e(Object.assign({},o.rects,{placement:o.placement})):e,Iv(typeof e!="number"?e:wv(e,Ou))};function y8(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=Jy(a),c=[fi,qi].indexOf(a)>=0,m=c?"height":"width";if(!(!r||!s)){var f=F8(n.padding,o),p=Yy(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=wc(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=kd(R,_,N),O=u;o.modifiersData[i]=(e={},e[O]=P,e.centerOffset=P-_,e)}}function T8(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)||_v(e.elements.popper,n)&&(e.elements.arrow=n))}const kv={name:"arrow",enabled:!0,phase:"main",fn:y8,effect:T8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Vu(t){return t.split("-")[1]}var S8={top:"auto",right:"auto",bottom:"auto",left:"auto"};function B8(t,e){var o=t.x,i=t.y,n=e.devicePixelRatio||1;return{x:Su(o*n)/n||0,y:Su(i*n)/n||0}}function MD(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 _=wc(o),P="clientHeight",O="clientWidth";if(_===Yi(o)&&(_=la(o),as(_).position!=="static"&&a==="absolute"&&(P="scrollHeight",O="scrollWidth")),_=_,n===mi||(n===fi||n===qi)&&r===Tu){R=Ki;var W=f&&_===N&&N.visualViewport?N.visualViewport.height:_[P];y-=W-i.height,y*=u?1:-1}if(n===fi||(n===mi||n===Ki)&&r===Tu){D=qi;var ne=f&&_===N&&N.visualViewport?N.visualViewport.width:_[O];C-=ne-i.width,C*=u?1:-1}}var U=Object.assign({position:a},c&&S8),H=m===!0?B8({x:C,y},Yi(o)):{x:C,y};if(C=H.x,y=H.y,u){var X;return Object.assign({},U,(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({},U,(e={},e[R]=v?y+"px":"",e[D]=B?C+"px":"",e.transform="",e))}function V8(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:Vu(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,MD(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,MD(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 Zy={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:V8,data:{}};var rf={passive:!0};function R8(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,rf)}),a&&u.addEventListener("resize",o.update,rf),function(){r&&c.forEach(function(m){m.removeEventListener("scroll",o.update,rf)}),a&&u.removeEventListener("resize",o.update,rf)}}const Xy={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:R8,data:{}};var D8={left:"right",right:"left",bottom:"top",top:"bottom"};function Nf(t){return t.replace(/left|right|bottom|top/g,function(e){return D8[e]})}var b8={start:"end",end:"start"};function HD(t){return t.replace(/start|end/g,function(e){return b8[e]})}function Qy(t){var e=Yi(t),o=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:o,scrollTop:i}}function eT(t){return Bu(la(t)).left+Qy(t).scrollLeft}function x8(t,e){var o=Yi(t),i=la(t),n=o.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,u=0;if(n){r=n.width,s=n.height;var c=Pv();(c||!c&&e==="fixed")&&(a=n.offsetLeft,u=n.offsetTop)}return{width:r,height:s,x:a+eT(t),y:u}}function L8(t){var e,o=la(t),i=Qy(t),n=(e=t.ownerDocument)==null?void 0:e.body,r=Ka(o.scrollWidth,o.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=Ka(o.scrollHeight,o.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-i.scrollLeft+eT(t),u=-i.scrollTop;return as(n||o).direction==="rtl"&&(a+=Ka(o.clientWidth,n?n.clientWidth:0)-r),{width:r,height:s,x:a,y:u}}function tT(t){var e=as(t),o=e.overflow,i=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+i)}function Wv(t){return["html","body","#document"].indexOf(pr(t))>=0?t.ownerDocument.body:gn(t)&&tT(t)?t:Wv(Pp(t))}function Wd(t,e){var o;e===void 0&&(e=[]);var i=Wv(t),n=i===((o=t.ownerDocument)==null?void 0:o.body),r=Yi(i),s=n?[r].concat(r.visualViewport||[],tT(i)?i:[]):i,a=e.concat(s);return n?a:a.concat(Wd(Pp(s)))}function VF(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function E8(t,e){var o=Bu(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 $D(t,e,o){return e===jy?VF(x8(t,o)):nl(e)?E8(e,o):VF(L8(la(t)))}function v8(t){var e=Wd(Pp(t)),o=["absolute","fixed"].indexOf(as(t).position)>=0,i=o&&gn(t)?wc(t):t;return nl(i)?e.filter(function(n){return nl(n)&&_v(n,i)&&pr(n)!=="body"}):[]}function N8(t,e,o,i){var n=e==="clippingParents"?v8(t):[].concat(e),r=[].concat(n,[o]),s=r[0],a=r.reduce(function(u,c){var m=$D(t,c,i);return u.top=Ka(m.top,u.top),u.right=mh(m.right,u.right),u.bottom=mh(m.bottom,u.bottom),u.left=Ka(m.left,u.left),u},$D(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 Ov(t){var e=t.reference,o=t.element,i=t.placement,n=i?cr(i):null,r=i?Vu(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?Jy(n):null;if(c!=null){var m=c==="y"?"height":"width";switch(r){case il:u[c]=u[c]-(e[m]/2-o[m]/2);break;case Tu:u[c]=u[c]+(e[m]/2-o[m]/2);break}}return u}function Ru(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?Tv:a,c=o.rootBoundary,m=c===void 0?jy:c,f=o.elementContext,p=f===void 0?jl:f,C=o.altBoundary,F=C===void 0?!1:C,y=o.padding,T=y===void 0?0:y,B=Iv(typeof T!="number"?T:wv(T,Ou)),v=p===jl?Sv:jl,D=t.rects.popper,R=t.elements[F?v:p],N=N8(nl(R)?R:R.contextElement||la(t.elements.popper),u,m,s),_=Bu(t.elements.reference),P=Ov({reference:_,element:D,placement:n}),O=VF(Object.assign({},D,P)),W=p===jl?O:_,ne={top:N.top-W.top+B.top,bottom:W.bottom-N.bottom+B.bottom,left:N.left-W.left+B.left,right:W.right-N.right+B.right},U=t.modifiersData.offset;if(p===jl&&U){var H=U[n];Object.keys(ne).forEach(function(X){var Ce=[qi,Ki].indexOf(X)>=0?1:-1,pe=[mi,Ki].indexOf(X)>=0?"y":"x";ne[X]+=H[pe]*Ce})}return ne}function P8(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?Gy:u,m=Vu(i),f=m?a?SF:SF.filter(function(F){return Vu(F)===m}):Ou,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]=Ru(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 _8(t){if(cr(t)===Np)return[];var e=Nf(t);return[HD(t),e,HD(e)]}function A8(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?[Nf(T)]:_8(T)),R=[T].concat(D).reduce(function(jt,$e){return jt.concat(cr($e)===Np?P8(e,{placement:$e,boundary:m,rootBoundary:f,padding:c,flipVariations:F,allowedAutoPlacements:y}):$e)},[]),N=e.rects.reference,_=e.rects.popper,P=new Map,O=!0,W=R[0],ne=0;ne<R.length;ne++){var U=R[ne],H=cr(U),X=Vu(U)===il,Ce=[mi,Ki].indexOf(H)>=0,pe=Ce?"width":"height",ie=Ru(e,{placement:U,boundary:m,rootBoundary:f,altBoundary:p,padding:c}),Re=Ce?X?qi:fi:X?Ki:mi;N[pe]>_[pe]&&(Re=Nf(Re));var Ie=Nf(Re),mt=[];if(r&&mt.push(ie[H]<=0),a&&mt.push(ie[Re]<=0,ie[Ie]<=0),mt.every(function(jt){return jt})){W=U,O=!1;break}P.set(U,mt)}if(O)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(xt){return xt})});if(Qe)return W=Qe,"break"},lt=ke;lt>0;lt--){var pt=ve(lt);if(pt==="break")break}e.placement!==W&&(e.modifiersData[i]._skip=!0,e.placement=W,e.reset=!0)}}const Mv={name:"flip",enabled:!0,phase:"main",fn:A8,requiresIfExists:["offset"],data:{_skip:!1}};function zD(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 UD(t){return[mi,qi,Ki,fi].some(function(e){return t[e]>=0})}function I8(t){var e=t.state,o=t.name,i=e.rects.reference,n=e.rects.popper,r=e.modifiersData.preventOverflow,s=Ru(e,{elementContext:"reference"}),a=Ru(e,{altBoundary:!0}),u=zD(s,i),c=zD(a,n,r),m=UD(u),f=UD(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 Hv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:I8};function w8(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 k8(t){var e=t.state,o=t.options,i=t.name,n=o.offset,r=n===void 0?[0,0]:n,s=Gy.reduce(function(m,f){return m[f]=w8(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 $v={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:k8};function W8(t){var e=t.state,o=t.name;e.modifiersData[o]=Ov({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const oT={name:"popperOffsets",enabled:!0,phase:"read",fn:W8,data:{}};function O8(t){return t==="x"?"y":"x"}function M8(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=Ru(e,{boundary:u,rootBoundary:c,padding:f,altBoundary:m}),B=cr(e.placement),v=Vu(e.placement),D=!v,R=Jy(B),N=O8(R),_=e.modifiersData.popperOffsets,P=e.rects.reference,O=e.rects.popper,W=typeof y=="function"?y(Object.assign({},e.rects,{placement:e.placement})):y,ne=typeof W=="number"?{mainAxis:W,altAxis:W}:Object.assign({mainAxis:0,altAxis:0},W),U=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,H={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?-O[ie]/2:0,ve=v===il?P[ie]:O[ie],lt=v===il?-O[ie]:-P[ie],pt=e.elements.arrow,jt=C&&pt?Yy(pt):{width:0,height:0},$e=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Av(),Qe=$e[Ce],We=$e[pe],Oe=kd(0,P[ie],jt[ie]),xt=D?P[ie]/2-ke-Oe-Qe-ne.mainAxis:ve-Oe-Qe-ne.mainAxis,Gt=D?-P[ie]/2+ke+Oe+We+ne.mainAxis:lt+Oe+We+ne.mainAxis,to=e.elements.arrow&&wc(e.elements.arrow),I=to?R==="y"?to.clientTop||0:to.clientLeft||0:0,$=(X=U==null?void 0:U[R])!=null?X:0,w=Re+xt-$-I,Q=Re+Gt-$,ae=kd(C?mh(Ie,w):Ie,Re,C?Ka(mt,Q):mt);_[R]=ae,H[R]=ae-Re}if(a){var re,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=(re=U==null?void 0:U[N])!=null?re:0,q=Be?Y:L-P[E]-O[E]-ce+ne.altAxis,te=Be?L+P[E]+O[E]-ce-ne.altAxis:oe,Ee=C&&Be?g8(q,L,te):kd(C?q:Y,L,C?te:oe);_[N]=Ee,H[N]=Ee-L}e.modifiersData[i]=H}}const zv={name:"preventOverflow",enabled:!0,phase:"main",fn:M8,requiresIfExists:["offset"]};function H8(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function $8(t){return t===Yi(t)||!gn(t)?Qy(t):H8(t)}function z8(t){var e=t.getBoundingClientRect(),o=Su(e.width)/t.offsetWidth||1,i=Su(e.height)/t.offsetHeight||1;return o!==1||i!==1}function U8(t,e,o){o===void 0&&(o=!1);var i=gn(e),n=gn(e)&&z8(e),r=la(e),s=Bu(t,n,o),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!o)&&((pr(e)!=="body"||tT(r))&&(a=$8(e)),gn(e)?(u=Bu(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):r&&(u.x=eT(r))),{x:s.left+a.scrollLeft-u.x,y:s.top+a.scrollTop-u.y,width:s.width,height:s.height}}function j8(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 G8(t){var e=j8(t);return Nv.reduce(function(o,i){return o.concat(e.filter(function(n){return n.phase===i}))},[])}function K8(t){var e;return function(){return e||(e=new Promise(function(o){Promise.resolve().then(function(){e=void 0,o(t())})})),e}}function q8(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 jD={placement:"bottom",modifiers:[],strategy:"absolute"};function GD(){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 _p(t){t===void 0&&(t={});var e=t,o=e.defaultModifiers,i=o===void 0?[]:o,n=e.defaultOptions,r=n===void 0?jD:n;return function(a,u,c){c===void 0&&(c=r);var m={placement:"bottom",orderedModifiers:[],options:Object.assign({},jD,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:nl(a)?Wd(a):a.contextElement?Wd(a.contextElement):[],popper:Wd(u)};var D=G8(q8([].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(GD(v,D)){m.rects={reference:U8(v,wc(D),m.options.strategy==="fixed"),popper:Yy(D)},m.reset=!1,m.placement=m.options.placement,m.orderedModifiers.forEach(function(ne){return m.modifiersData[ne.name]=Object.assign({},ne.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,O=P===void 0?{}:P,W=N.name;typeof _=="function"&&(m=_({state:m,options:O,name:W,instance:C})||m)}}}},update:K8(function(){return new Promise(function(T){C.forceUpdate(),T(m)})}),destroy:function(){y(),p=!0}};if(!GD(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 Y8=_p(),J8=[Xy,oT,Zy,qy],Z8=_p({defaultModifiers:J8}),X8=[Xy,oT,Zy,qy,$v,Mv,zv,kv,Hv],iT=_p({defaultModifiers:X8});const Uv=Object.freeze(Object.defineProperty({__proto__:null,afterMain:xv,afterRead:Rv,afterWrite:vv,applyStyles:qy,arrow:kv,auto:Np,basePlacements:Ou,beforeMain:Dv,beforeRead:Bv,beforeWrite:Lv,bottom:Ki,clippingParents:Tv,computeStyles:Zy,createPopper:iT,createPopperBase:Y8,createPopperLite:Z8,detectOverflow:Ru,end:Tu,eventListeners:Xy,flip:Mv,hide:Hv,left:fi,main:bv,modifierPhases:Nv,offset:$v,placements:Gy,popper:jl,popperGenerator:_p,popperOffsets:oT,preventOverflow:zv,read:Vv,reference:Sv,right:qi,start:il,top:mi,variationPlacements:SF,viewport:jy,write:Ev},Symbol.toStringTag,{value:"Module"}));/*!
50
- * Bootstrap v5.3.8 (https://getbootstrap.com/)
51
- * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
52
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
53
- */const xs=new Map,Og={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)}},Q8=1e6,e$=1e3,RF="transitionend",jv=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,o)=>`#${CSS.escape(o)}`)),t),t$=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),o$=t=>{do t+=Math.floor(Math.random()*Q8);while(document.getElementById(t));return t},i$=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))*e$)},Gv=t=>{t.dispatchEvent(new Event(RF))},Qr=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),Js=t=>Qr(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(jv(t)):null,Mu=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},Zs=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",Kv=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?Kv(t.parentNode):null},fh=()=>{},kc=t=>{t.offsetHeight},qv=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Mg=[],n$=t=>{document.readyState==="loading"?(Mg.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Mg)e()}),Mg.push(t)):t()},Sn=()=>document.documentElement.dir==="rtl",Rn=t=>{n$(()=>{const e=qv();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)}})},Di=(t,e=[],o=t)=>typeof t=="function"?t.call(...e):o,Yv=(t,e,o=!0)=>{if(!o){Di(t);return}const n=i$(e)+5;let r=!1;const s=({target:a})=>{a===e&&(r=!0,e.removeEventListener(RF,s),Di(t))};e.addEventListener(RF,s),setTimeout(()=>{r||Gv(e)},n)},nT=(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))])},r$=/[^.]*(?=\..*)\.|.*/,s$=/\..*/,a$=/::\d+$/,Hg={};let KD=1;const Jv={mouseenter:"mouseover",mouseleave:"mouseout"},l$=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 Zv(t,e){return e&&`${e}::${KD++}`||t.uidEvent||KD++}function Xv(t){const e=Zv(t);return t.uidEvent=e,Hg[e]=Hg[e]||{},Hg[e]}function u$(t,e){return function o(i){return rT(i,{delegateTarget:t}),o.oneOff&&he.off(t,i.type,e),e.apply(t,[i])}}function d$(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 rT(n,{delegateTarget:s}),i.oneOff&&he.off(t,n.type,e,o),o.apply(s,[n])}}function Qv(t,e,o=null){return Object.values(t).find(i=>i.callable===e&&i.delegationSelector===o)}function eN(t,e,o){const i=typeof e=="string",n=i?o:e||o;let r=tN(t);return l$.has(r)||(r=t),[i,n,r]}function qD(t,e,o,i,n){if(typeof e!="string"||!t)return;let[r,s,a]=eN(e,o,i);e in Jv&&(s=(F=>function(y){if(!y.relatedTarget||y.relatedTarget!==y.delegateTarget&&!y.delegateTarget.contains(y.relatedTarget))return F.call(this,y)})(s));const u=Xv(t),c=u[a]||(u[a]={}),m=Qv(c,s,r?o:null);if(m){m.oneOff=m.oneOff&&n;return}const f=Zv(s,e.replace(r$,"")),p=r?d$(t,o,s):u$(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 DF(t,e,o,i,n){const r=Qv(e[o],i,n);r&&(t.removeEventListener(o,r,!!n),delete e[o][r.uidEvent])}function c$(t,e,o,i){const n=e[o]||{};for(const[r,s]of Object.entries(n))r.includes(i)&&DF(t,e,o,s.callable,s.delegationSelector)}function tN(t){return t=t.replace(s$,""),Jv[t]||t}const he={on(t,e,o,i){qD(t,e,o,i,!1)},one(t,e,o,i){qD(t,e,o,i,!0)},off(t,e,o,i){if(typeof e!="string"||!t)return;const[n,r,s]=eN(e,o,i),a=s!==e,u=Xv(t),c=u[s]||{},m=e.startsWith(".");if(typeof r<"u"){if(!Object.keys(c).length)return;DF(t,u,s,r,n?o:null);return}if(m)for(const f of Object.keys(u))c$(t,u,f,e.slice(1));for(const[f,p]of Object.entries(c)){const C=f.replace(a$,"");(!a||e.includes(C))&&DF(t,u,s,p.callable,p.delegationSelector)}},trigger(t,e,o){if(typeof e!="string"||!t)return null;const i=qv(),n=tN(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=rT(new Event(e,{bubbles:a,cancelable:!0}),o);return c&&m.preventDefault(),u&&t.dispatchEvent(m),m.defaultPrevented&&s&&s.preventDefault(),m}};function rT(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 YD(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 $g(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const es={setDataAttribute(t,e,o){t.setAttribute(`data-bs-${$g(e)}`,o)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${$g(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]=YD(t.dataset[i])}return e},getDataAttribute(t,e){return YD(t.getAttribute(`data-bs-${$g(e)}`))}};class Wc{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":t$(r);if(!new RegExp(n).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${n}".`)}}}const m$="5.3.8";class qn extends Wc{constructor(e,o){super(),e=Js(e),e&&(this._element=e,this._config=this._getConfig(o),Og.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Og.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){Yv(e,o,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Og.get(Js(e),this.DATA_KEY)}static getOrCreateInstance(e,o={}){return this.getInstance(e)||new this(e,typeof o=="object"?o:null)}static get VERSION(){return m$}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 zg=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=>jv(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=>!Zs(o)&&Mu(o))},getSelectorFromElement(t){const e=zg(t);return e&&Ke.findOne(e)?e:null},getElementFromSelector(t){const e=zg(t);return e?Ke.findOne(e):null},getMultipleElementsFromSelector(t){const e=zg(t);return e?Ke.find(e):[]}},Ap=(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(),Zs(this))return;const r=Ke.getElementFromSelector(this)||this.closest(`.${i}`);t.getOrCreateInstance(r)[e]()})},f$="alert",h$="bs.alert",oN=`.${h$}`,p$=`close${oN}`,C$=`closed${oN}`,g$="fade",F$="show";class Ip extends qn{static get NAME(){return f$}close(){if(he.trigger(this._element,p$).defaultPrevented)return;this._element.classList.remove(F$);const o=this._element.classList.contains(g$);this._queueCallback(()=>this._destroyElement(),this._element,o)}_destroyElement(){this._element.remove(),he.trigger(this._element,C$),this.dispose()}static jQueryInterface(e){return this.each(function(){const o=Ip.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)}})}}Ap(Ip,"close");Rn(Ip);const y$="button",T$="bs.button",S$=`.${T$}`,B$=".data-api",V$="active",JD='[data-bs-toggle="button"]',R$=`click${S$}${B$}`;class wp extends qn{static get NAME(){return y$}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(V$))}static jQueryInterface(e){return this.each(function(){const o=wp.getOrCreateInstance(this);e==="toggle"&&o[e]()})}}he.on(document,R$,JD,t=>{t.preventDefault();const e=t.target.closest(JD);wp.getOrCreateInstance(e).toggle()});Rn(wp);const D$="swipe",Hu=".bs.swipe",b$=`touchstart${Hu}`,x$=`touchmove${Hu}`,L$=`touchend${Hu}`,E$=`pointerdown${Hu}`,v$=`pointerup${Hu}`,N$="touch",P$="pen",_$="pointer-event",A$=40,I$={endCallback:null,leftCallback:null,rightCallback:null},w$={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class hh extends Wc{constructor(e,o){super(),this._element=e,!(!e||!hh.isSupported())&&(this._config=this._getConfig(o),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return I$}static get DefaultType(){return w$}static get NAME(){return D$}dispose(){he.off(this._element,Hu)}_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(),Di(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<=A$)return;const o=e/this._deltaX;this._deltaX=0,o&&Di(o>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(he.on(this._element,E$,e=>this._start(e)),he.on(this._element,v$,e=>this._end(e)),this._element.classList.add(_$)):(he.on(this._element,b$,e=>this._start(e)),he.on(this._element,x$,e=>this._move(e)),he.on(this._element,L$,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===P$||e.pointerType===N$)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const k$="carousel",W$="bs.carousel",ua=`.${W$}`,iN=".data-api",O$="ArrowLeft",M$="ArrowRight",H$=500,md="next",Ol="prev",Gl="left",Pf="right",$$=`slide${ua}`,Ug=`slid${ua}`,z$=`keydown${ua}`,U$=`mouseenter${ua}`,j$=`mouseleave${ua}`,G$=`dragstart${ua}`,K$=`load${ua}${iN}`,q$=`click${ua}${iN}`,nN="carousel",sf="active",Y$="slide",J$="carousel-item-end",Z$="carousel-item-start",X$="carousel-item-next",Q$="carousel-item-prev",rN=".active",sN=".carousel-item",ez=rN+sN,tz=".carousel-item img",oz=".carousel-indicators",iz="[data-bs-slide], [data-bs-slide-to]",nz='[data-bs-ride="carousel"]',rz={[O$]:Pf,[M$]:Gl},sz={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},az={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Oc 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(oz,this._element),this._addEventListeners(),this._config.ride===nN&&this.cycle()}static get Default(){return sz}static get DefaultType(){return az}static get NAME(){return k$}next(){this._slide(md)}nextWhenVisible(){!document.hidden&&Mu(this._element)&&this.next()}prev(){this._slide(Ol)}pause(){this._isSliding&&Gv(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,Ug,()=>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,Ug,()=>this.to(e));return}const i=this._getItemIndex(this._getActive());if(i===e)return;const n=e>i?md:Ol;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,z$,e=>this._keydown(e)),this._config.pause==="hover"&&(he.on(this._element,U$,()=>this.pause()),he.on(this._element,j$,()=>this._maybeEnableCycle())),this._config.touch&&hh.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of Ke.find(tz,this._element))he.on(i,G$,n=>n.preventDefault());const o={leftCallback:()=>this._slide(this._directionToOrder(Gl)),rightCallback:()=>this._slide(this._directionToOrder(Pf)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),H$+this._config.interval))}};this._swipeHelper=new hh(this._element,o)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const o=rz[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(rN,this._indicatorsElement);o.classList.remove(sf),o.removeAttribute("aria-current");const i=Ke.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);i&&(i.classList.add(sf),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===md,r=o||nT(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($$).defaultPrevented||!i||!r)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=r;const m=n?Z$:J$,f=n?X$:Q$;r.classList.add(f),kc(r),i.classList.add(m),r.classList.add(m);const p=()=>{r.classList.remove(m,f),r.classList.add(sf),i.classList.remove(sf,f,m),this._isSliding=!1,a(Ug)};this._queueCallback(p,i,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(Y$)}_getActive(){return Ke.findOne(ez,this._element)}_getItems(){return Ke.find(sN,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Sn()?e===Gl?Ol:md:e===Gl?md:Ol}_orderToDirection(e){return Sn()?e===Ol?Gl:Pf:e===Ol?Pf:Gl}static jQueryInterface(e){return this.each(function(){const o=Oc.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,q$,iz,function(t){const e=Ke.getElementFromSelector(this);if(!e||!e.classList.contains(nN))return;t.preventDefault();const o=Oc.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,K$,()=>{const t=Ke.find(nz);for(const e of t)Oc.getOrCreateInstance(e)});Rn(Oc);const lz="collapse",uz="bs.collapse",Mc=`.${uz}`,dz=".data-api",cz=`show${Mc}`,mz=`shown${Mc}`,fz=`hide${Mc}`,hz=`hidden${Mc}`,pz=`click${Mc}${dz}`,jg="show",Xl="collapse",af="collapsing",Cz="collapsed",gz=`:scope .${Xl} .${Xl}`,Fz="collapse-horizontal",yz="width",Tz="height",Sz=".collapse.show, .collapse.collapsing",bF='[data-bs-toggle="collapse"]',Bz={parent:null,toggle:!0},Vz={parent:"(null|element)",toggle:"boolean"};class mc extends qn{constructor(e,o){super(e,o),this._isTransitioning=!1,this._triggerArray=[];const i=Ke.find(bF);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 Bz}static get DefaultType(){return Vz}static get NAME(){return lz}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Sz).filter(a=>a!==this._element).map(a=>mc.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||he.trigger(this._element,cz).defaultPrevented)return;for(const a of e)a.hide();const i=this._getDimension();this._element.classList.remove(Xl),this._element.classList.add(af),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(af),this._element.classList.add(Xl,jg),this._element.style[i]="",he.trigger(this._element,mz)},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,fz).defaultPrevented)return;const o=this._getDimension();this._element.style[o]=`${this._element.getBoundingClientRect()[o]}px`,kc(this._element),this._element.classList.add(af),this._element.classList.remove(Xl,jg);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(af),this._element.classList.add(Xl),he.trigger(this._element,hz)};this._element.style[o]="",this._queueCallback(i,this._element,!0)}_isShown(e=this._element){return e.classList.contains(jg)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=Js(e.parent),e}_getDimension(){return this._element.classList.contains(Fz)?yz:Tz}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(bF);for(const o of e){const i=Ke.getElementFromSelector(o);i&&this._addAriaAndCollapsedClass([o],this._isShown(i))}}_getFirstLevelChildren(e){const o=Ke.find(gz,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(Cz,!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=mc.getOrCreateInstance(this,o);if(typeof e=="string"){if(typeof i[e]>"u")throw new TypeError(`No method named "${e}"`);i[e]()}})}}he.on(document,pz,bF,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(const e of Ke.getMultipleElementsFromSelector(this))mc.getOrCreateInstance(e,{toggle:!1}).toggle()});Rn(mc);const ZD="dropdown",Rz="bs.dropdown",fl=`.${Rz}`,sT=".data-api",Dz="Escape",XD="Tab",bz="ArrowUp",QD="ArrowDown",xz=2,Lz=`hide${fl}`,Ez=`hidden${fl}`,vz=`show${fl}`,Nz=`shown${fl}`,aN=`click${fl}${sT}`,lN=`keydown${fl}${sT}`,Pz=`keyup${fl}${sT}`,Kl="show",_z="dropup",Az="dropend",Iz="dropstart",wz="dropup-center",kz="dropdown-center",ka='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Wz=`${ka}.${Kl}`,_f=".dropdown-menu",Oz=".navbar",Mz=".navbar-nav",Hz=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",$z=Sn()?"top-end":"top-start",zz=Sn()?"top-start":"top-end",Uz=Sn()?"bottom-end":"bottom-start",jz=Sn()?"bottom-start":"bottom-end",Gz=Sn()?"left-start":"right-start",Kz=Sn()?"right-start":"left-start",qz="top",Yz="bottom",Jz={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Zz={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,_f)[0]||Ke.prev(this._element,_f)[0]||Ke.findOne(_f,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Jz}static get DefaultType(){return Zz}static get NAME(){return ZD}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Zs(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!he.trigger(this._element,vz,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Mz))for(const i of[].concat(...document.body.children))he.on(i,"mouseover",fh);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Kl),this._element.classList.add(Kl),he.trigger(this._element,Nz,e)}}hide(){if(Zs(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,Lz,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))he.off(i,"mouseover",fh);this._popper&&this._popper.destroy(),this._menu.classList.remove(Kl),this._element.classList.remove(Kl),this._element.setAttribute("aria-expanded","false"),es.removeDataAttribute(this._menu,"popper"),he.trigger(this._element,Ez,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Qr(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${ZD.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Uv>"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=Js(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const o=this._getPopperConfig();this._popper=iT(e,this._menu,o)}_isShown(){return this._menu.classList.contains(Kl)}_getPlacement(){const e=this._parent;if(e.classList.contains(Az))return Gz;if(e.classList.contains(Iz))return Kz;if(e.classList.contains(wz))return qz;if(e.classList.contains(kz))return Yz;const o=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(_z)?o?zz:$z:o?jz:Uz}_detectNavbar(){return this._element.closest(Oz)!==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,...Di(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:o}){const i=Ke.find(Hz,this._menu).filter(n=>Mu(n));i.length&&nT(i,o,e===QD,!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===xz||e.type==="keyup"&&e.key!==XD)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===XD||/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===Dz,n=[bz,QD].includes(e.key);if(!n&&!i||o&&!i)return;e.preventDefault();const r=this.matches(ka)?this:Ke.prev(this,ka)[0]||Ke.next(this,ka)[0]||Ke.findOne(ka,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,lN,ka,mr.dataApiKeydownHandler);he.on(document,lN,_f,mr.dataApiKeydownHandler);he.on(document,aN,mr.clearMenus);he.on(document,Pz,mr.clearMenus);he.on(document,aN,ka,function(t){t.preventDefault(),mr.getOrCreateInstance(this).toggle()});Rn(mr);const uN="backdrop",Xz="fade",eb="show",tb=`mousedown.bs.${uN}`,Qz={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},eU={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class dN extends Wc{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Qz}static get DefaultType(){return eU}static get NAME(){return uN}show(e){if(!this._config.isVisible){Di(e);return}this._append();const o=this._getElement();this._config.isAnimated&&kc(o),o.classList.add(eb),this._emulateAnimation(()=>{Di(e)})}hide(e){if(!this._config.isVisible){Di(e);return}this._getElement().classList.remove(eb),this._emulateAnimation(()=>{this.dispose(),Di(e)})}dispose(){this._isAppended&&(he.off(this._element,tb),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(Xz),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Js(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),he.on(e,tb,()=>{Di(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Yv(e,this._getElement(),this._config.isAnimated)}}const tU="focustrap",oU="bs.focustrap",ph=`.${oU}`,iU=`focusin${ph}`,nU=`keydown.tab${ph}`,rU="Tab",sU="forward",ob="backward",aU={autofocus:!0,trapElement:null},lU={autofocus:"boolean",trapElement:"element"};class cN extends Wc{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return aU}static get DefaultType(){return lU}static get NAME(){return tU}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),he.off(document,ph),he.on(document,iU,e=>this._handleFocusin(e)),he.on(document,nU,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,he.off(document,ph))}_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===ob?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){e.key===rU&&(this._lastTabNavDirection=e.shiftKey?ob:sU)}}const ib=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",nb=".sticky-top",lf="padding-right",rb="margin-right";class xF{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,lf,o=>o+e),this._setElementAttributes(ib,lf,o=>o+e),this._setElementAttributes(nb,rb,o=>o-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,lf),this._resetElementAttributes(ib,lf),this._resetElementAttributes(nb,rb)}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 uU="modal",dU="bs.modal",Bn=`.${dU}`,cU=".data-api",mU="Escape",fU=`hide${Bn}`,hU=`hidePrevented${Bn}`,mN=`hidden${Bn}`,fN=`show${Bn}`,pU=`shown${Bn}`,CU=`resize${Bn}`,gU=`click.dismiss${Bn}`,FU=`mousedown.dismiss${Bn}`,yU=`keydown.dismiss${Bn}`,TU=`click${Bn}${cU}`,sb="modal-open",SU="fade",ab="show",Gg="modal-static",BU=".modal.show",VU=".modal-dialog",RU=".modal-body",DU='[data-bs-toggle="modal"]',bU={backdrop:!0,focus:!0,keyboard:!0},xU={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Du extends qn{constructor(e,o){super(e,o),this._dialog=Ke.findOne(VU,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new xF,this._addEventListeners()}static get Default(){return bU}static get DefaultType(){return xU}static get NAME(){return uU}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||he.trigger(this._element,fN,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(sb),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||he.trigger(this._element,fU).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ab),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){he.off(window,Bn),he.off(this._dialog,Bn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new dN({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new cN({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(RU,this._dialog);o&&(o.scrollTop=0),kc(this._element),this._element.classList.add(ab);const i=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,he.trigger(this._element,pU,{relatedTarget:e})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){he.on(this._element,yU,e=>{if(e.key===mU){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),he.on(window,CU,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),he.on(this._element,FU,e=>{he.one(this._element,gU,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(sb),this._resetAdjustments(),this._scrollBar.reset(),he.trigger(this._element,mN)})}_isAnimated(){return this._element.classList.contains(SU)}_triggerBackdropTransition(){if(he.trigger(this._element,hU).defaultPrevented)return;const o=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;i==="hidden"||this._element.classList.contains(Gg)||(o||(this._element.style.overflowY="hidden"),this._element.classList.add(Gg),this._queueCallback(()=>{this._element.classList.remove(Gg),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=Sn()?"paddingLeft":"paddingRight";this._element.style[n]=`${o}px`}if(!i&&e){const n=Sn()?"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=Du.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,TU,DU,function(t){const e=Ke.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),he.one(e,fN,n=>{n.defaultPrevented||he.one(e,mN,()=>{Mu(this)&&this.focus()})});const o=Ke.findOne(BU);o&&Du.getInstance(o).hide(),Du.getOrCreateInstance(e).toggle(this)});Ap(Du);Rn(Du);const LU="offcanvas",EU="bs.offcanvas",fs=`.${EU}`,hN=".data-api",vU=`load${fs}${hN}`,NU="Escape",lb="show",ub="showing",db="hiding",PU="offcanvas-backdrop",pN=".offcanvas.show",_U=`show${fs}`,AU=`shown${fs}`,IU=`hide${fs}`,cb=`hidePrevented${fs}`,CN=`hidden${fs}`,wU=`resize${fs}`,kU=`click${fs}${hN}`,WU=`keydown.dismiss${fs}`,OU='[data-bs-toggle="offcanvas"]',MU={backdrop:!0,keyboard:!0,scroll:!1},HU={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Xs 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 MU}static get DefaultType(){return HU}static get NAME(){return LU}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||he.trigger(this._element,_U,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new xF().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ub);const i=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(lb),this._element.classList.remove(ub),he.trigger(this._element,AU,{relatedTarget:e})};this._queueCallback(i,this._element,!0)}hide(){if(!this._isShown||he.trigger(this._element,IU).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(db),this._backdrop.hide();const o=()=>{this._element.classList.remove(lb,db),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new xF().reset(),he.trigger(this._element,CN)};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,cb);return}this.hide()},o=!!this._config.backdrop;return new dN({className:PU,isVisible:o,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:o?e:null})}_initializeFocusTrap(){return new cN({trapElement:this._element})}_addEventListeners(){he.on(this._element,WU,e=>{if(e.key===NU){if(this._config.keyboard){this.hide();return}he.trigger(this._element,cb)}})}static jQueryInterface(e){return this.each(function(){const o=Xs.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,kU,OU,function(t){const e=Ke.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Zs(this))return;he.one(e,CN,()=>{Mu(this)&&this.focus()});const o=Ke.findOne(pN);o&&o!==e&&Xs.getInstance(o).hide(),Xs.getOrCreateInstance(e).toggle(this)});he.on(window,vU,()=>{for(const t of Ke.find(pN))Xs.getOrCreateInstance(t).show()});he.on(window,wU,()=>{for(const t of Ke.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&Xs.getOrCreateInstance(t).hide()});Ap(Xs);Rn(Xs);const $U=/^aria-[\w-]*$/i,gN={"*":["class","dir","id","lang","role",$U],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:[]},zU=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),UU=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,jU=(t,e)=>{const o=t.nodeName.toLowerCase();return e.includes(o)?zU.has(o)?!!UU.test(t.nodeValue):!0:e.filter(i=>i instanceof RegExp).some(i=>i.test(o))};function GU(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)jU(m,c)||s.removeAttribute(m.nodeName)}return n.body.innerHTML}const KU="TemplateFactory",qU={allowList:gN,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},YU={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},JU={entry:"(string|element|function|null)",selector:"(string|element)"};class ZU extends Wc{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return qU}static get DefaultType(){return YU}static get NAME(){return KU}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},JU)}_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(Js(o),n);return}if(this._config.html){n.innerHTML=this._maybeSanitize(o);return}n.textContent=o}}_maybeSanitize(e){return this._config.sanitize?GU(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Di(e,[void 0,this])}_putElementInTemplate(e,o){if(this._config.html){o.innerHTML="",o.append(e);return}o.textContent=e.textContent}}const XU="tooltip",QU=new Set(["sanitize","allowList","sanitizeFn"]),Kg="fade",ej="modal",uf="show",tj=".tooltip-inner",mb=`.${ej}`,fb="hide.bs.modal",fd="hover",qg="focus",Yg="click",oj="manual",ij="hide",nj="hidden",rj="show",sj="shown",aj="inserted",lj="click",uj="focusin",dj="focusout",cj="mouseenter",mj="mouseleave",fj={AUTO:"auto",TOP:"top",RIGHT:Sn()?"left":"right",BOTTOM:"bottom",LEFT:Sn()?"right":"left"},hj={allowList:gN,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"},pj={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 Uv>"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 hj}static get DefaultType(){return pj}static get NAME(){return XU}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(mb),fb,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(rj)),i=(Kv(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(aj))),this._popper=this._createPopper(n),n.classList.add(uf),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))he.on(a,"mouseover",fh);const s=()=>{he.trigger(this._element,this.constructor.eventName(sj)),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(ij)).defaultPrevented)return;if(this._getTipElement().classList.remove(uf),"ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))he.off(n,"mouseover",fh);this._activeTrigger[Yg]=!1,this._activeTrigger[qg]=!1,this._activeTrigger[fd]=!1,this._isHovered=null;const i=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),he.trigger(this._element,this.constructor.eventName(nj)))};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(Kg,uf),o.classList.add(`bs-${this.constructor.NAME}-auto`);const i=o$(this.constructor.NAME).toString();return o.setAttribute("id",i),this._isAnimated()&&o.classList.add(Kg),o}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new ZU({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[tj]: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(Kg)}_isShown(){return this.tip&&this.tip.classList.contains(uf)}_createPopper(e){const o=Di(this._config.placement,[this,e,this._element]),i=fj[o.toUpperCase()];return iT(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 Di(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,...Di(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(lj),this._config.selector,i=>{const n=this._initializeOnDelegatedTarget(i);n._activeTrigger[Yg]=!(n._isShown()&&n._activeTrigger[Yg]),n.toggle()});else if(o!==oj){const i=o===fd?this.constructor.eventName(cj):this.constructor.eventName(uj),n=o===fd?this.constructor.eventName(mj):this.constructor.eventName(dj);he.on(this._element,i,this._config.selector,r=>{const s=this._initializeOnDelegatedTarget(r);s._activeTrigger[r.type==="focusin"?qg:fd]=!0,s._enter()}),he.on(this._element,n,this._config.selector,r=>{const s=this._initializeOnDelegatedTarget(r);s._activeTrigger[r.type==="focusout"?qg:fd]=s._element.contains(r.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},he.on(this._element.closest(mb),fb,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))QU.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:Js(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]()}})}}Rn(ar);const Cj="popover",gj=".popover-header",Fj=".popover-body",yj={...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"},Tj={...ar.DefaultType,content:"(null|string|element|function)"};class aT extends ar{static get Default(){return yj}static get DefaultType(){return Tj}static get NAME(){return Cj}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[gj]:this._getTitle(),[Fj]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const o=aT.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e]()}})}}Rn(aT);const Sj="scrollspy",Bj="bs.scrollspy",lT=`.${Bj}`,Vj=".data-api",Rj=`activate${lT}`,hb=`click${lT}`,Dj=`load${lT}${Vj}`,bj="dropdown-item",Ml="active",xj='[data-bs-spy="scroll"]',Jg="[href]",Lj=".nav, .list-group",pb=".nav-link",Ej=".nav-item",vj=".list-group-item",Nj=`${pb}, ${Ej} > ${pb}, ${vj}`,Pj=".dropdown",_j=".dropdown-toggle",Aj={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ij={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class kp 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 Aj}static get DefaultType(){return Ij}static get NAME(){return Sj}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=Js(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,hb),he.on(this._config.target,hb,Jg,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(Jg,this._config.target);for(const o of e){if(!o.hash||Zs(o))continue;const i=Ke.findOne(decodeURI(o.hash),this._element);Mu(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(Ml),this._activateParents(e),he.trigger(this._element,Rj,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(bj)){Ke.findOne(_j,e.closest(Pj)).classList.add(Ml);return}for(const o of Ke.parents(e,Lj))for(const i of Ke.prev(o,Nj))i.classList.add(Ml)}_clearActiveClass(e){e.classList.remove(Ml);const o=Ke.find(`${Jg}.${Ml}`,e);for(const i of o)i.classList.remove(Ml)}static jQueryInterface(e){return this.each(function(){const o=kp.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,Dj,()=>{for(const t of Ke.find(xj))kp.getOrCreateInstance(t)});Rn(kp);const wj="tab",kj="bs.tab",hl=`.${kj}`,Wj=`hide${hl}`,Oj=`hidden${hl}`,Mj=`show${hl}`,Hj=`shown${hl}`,$j=`click${hl}`,zj=`keydown${hl}`,Uj=`load${hl}`,jj="ArrowLeft",Cb="ArrowRight",Gj="ArrowUp",gb="ArrowDown",Zg="Home",Fb="End",Wa="active",yb="fade",Xg="show",Kj="dropdown",FN=".dropdown-toggle",qj=".dropdown-menu",Qg=`:not(${FN})`,Yj='.list-group, .nav, [role="tablist"]',Jj=".nav-item, .list-group-item",Zj=`.nav-link${Qg}, .list-group-item${Qg}, [role="tab"]${Qg}`,yN='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',e0=`${Zj}, ${yN}`,Xj=`.${Wa}[data-bs-toggle="tab"], .${Wa}[data-bs-toggle="pill"], .${Wa}[data-bs-toggle="list"]`;class bu extends qn{constructor(e){super(e),this._parent=this._element.closest(Yj),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),he.on(this._element,zj,o=>this._keydown(o)))}static get NAME(){return wj}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,Mj,{relatedTarget:o}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(o,e),this._activate(e,o))}_activate(e,o){if(!e)return;e.classList.add(Wa),this._activate(Ke.getElementFromSelector(e));const i=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Xg);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),he.trigger(e,Hj,{relatedTarget:o})};this._queueCallback(i,e,e.classList.contains(yb))}_deactivate(e,o){if(!e)return;e.classList.remove(Wa),e.blur(),this._deactivate(Ke.getElementFromSelector(e));const i=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Xg);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),he.trigger(e,Oj,{relatedTarget:o})};this._queueCallback(i,e,e.classList.contains(yb))}_keydown(e){if(![jj,Cb,Gj,gb,Zg,Fb].includes(e.key))return;e.stopPropagation(),e.preventDefault();const o=this._getChildren().filter(n=>!Zs(n));let i;if([Zg,Fb].includes(e.key))i=o[e.key===Zg?0:o.length-1];else{const n=[Cb,gb].includes(e.key);i=nT(o,e.target,n,!0)}i&&(i.focus({preventScroll:!0}),bu.getOrCreateInstance(i).show())}_getChildren(){return Ke.find(e0,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(Kj))return;const n=(r,s)=>{const a=Ke.findOne(r,i);a&&a.classList.toggle(s,o)};n(FN,Wa),n(qj,Xg),i.setAttribute("aria-expanded",o)}_setAttributeIfNotExists(e,o,i){e.hasAttribute(o)||e.setAttribute(o,i)}_elemIsActive(e){return e.classList.contains(Wa)}_getInnerElement(e){return e.matches(e0)?e:Ke.findOne(e0,e)}_getOuterElement(e){return e.closest(Jj)||e}static jQueryInterface(e){return this.each(function(){const o=bu.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,$j,yN,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!Zs(this)&&bu.getOrCreateInstance(this).show()});he.on(window,Uj,()=>{for(const t of Ke.find(Xj))bu.getOrCreateInstance(t)});Rn(bu);const Qj="toast",eG="bs.toast",da=`.${eG}`,tG=`mouseover${da}`,oG=`mouseout${da}`,iG=`focusin${da}`,nG=`focusout${da}`,rG=`hide${da}`,sG=`hidden${da}`,aG=`show${da}`,lG=`shown${da}`,uG="fade",Tb="hide",df="show",cf="showing",dG={animation:"boolean",autohide:"boolean",delay:"number"},cG={animation:!0,autohide:!0,delay:5e3};class Wp extends qn{constructor(e,o){super(e,o),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return cG}static get DefaultType(){return dG}static get NAME(){return Qj}show(){if(he.trigger(this._element,aG).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(uG);const o=()=>{this._element.classList.remove(cf),he.trigger(this._element,lG),this._maybeScheduleHide()};this._element.classList.remove(Tb),kc(this._element),this._element.classList.add(df,cf),this._queueCallback(o,this._element,this._config.animation)}hide(){if(!this.isShown()||he.trigger(this._element,rG).defaultPrevented)return;const o=()=>{this._element.classList.add(Tb),this._element.classList.remove(cf,df),he.trigger(this._element,sG)};this._element.classList.add(cf),this._queueCallback(o,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(df),super.dispose()}isShown(){return this._element.classList.contains(df)}_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,tG,e=>this._onInteraction(e,!0)),he.on(this._element,oG,e=>this._onInteraction(e,!1)),he.on(this._element,iG,e=>this._onInteraction(e,!0)),he.on(this._element,nG,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const o=Wp.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e](this)}})}}Ap(Wp);Rn(Wp);const Sb={trigger:"hover",placement:"top",delay:{show:500,hide:0}},po={mounted(t,e){return new ar(t,{...Sb,...e.value})},updated(t,e){const o=ar.getInstance(t);return o!==null&&o.dispose(),new ar(t,{...Sb,...e.value})},unmounted(t){const e=ar.getInstance(t);e!==null&&e.dispose()}},mG=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)}}}),fG=t=>mG(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=>fG({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)}},Io=t=>({Match:e=>{for(const o in t)if(t[o]!==void 0)return e[o](t[o]);throw Error("")}}),hG=t=>({Match:e=>{for(const o in t)if(t[o]!==void 0)return(e[o]??e.default)(t[o]);throw Error("")}}),pG=Io,Ei=t=>{throw new Error("Didn't expect to get here"+t)},CG=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 Ei(t.themePaddingRef)}},Bo=t=>pG(t.paddingExpression).Match({ThemePadding:e=>CG({themePaddingRef:e,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings}),MinusExpression:e=>gG({paddingMinusExpression:e,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings}),DivideExpression:e=>FG({paddingDivideExpression:e,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings}),CustomValue:e=>e}),gG=t=>Bo({paddingExpression:t.paddingMinusExpression.Left,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings})-Bo({paddingExpression:t.paddingMinusExpression.Right,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings}),FG=t=>Bo({paddingExpression:t.paddingDivideExpression.Left,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings})/Bo({paddingExpression:t.paddingDivideExpression.Right,themeComponentPaddings:t.themeComponentPaddings,themeBodyPaddings:t.themeBodyPaddings}),Bb=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"}),Af=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"},yG=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 Ei(t.Discriminator)}}}),If=t=>yG(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}),TG=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()}}}),mf=(t,e)=>TG(t).Match({None:()=>"",Solid:()=>`
54
- ${t.Width}px
55
- solid
56
- ${If({borderColor:t.Color,themeColors:e})}
57
- `,Dashed:()=>`
58
- ${t.Width}px
59
- dashed
60
- ${If({borderColor:t.Color,themeColors:e})}
61
- `,Dotted:()=>`
62
- ${t.Width}px
63
- dotted
64
- ${If({borderColor:t.Color,themeColors:e})}
65
- `}),ls=t=>({borderTop:mf(t.border.Top,t.themeColors),borderRight:mf(t.border.Right,t.themeColors),borderBottom:mf(t.border.Bottom,t.themeColors),borderLeft:mf(t.border.Left,t.themeColors)}),Hc=t=>t.borderCollapse!==void 0?{borderCollapse:SG(t.borderCollapse)}:{borderCollapse:"collapse"},SG=t=>{switch(t){case"Collapse":return"collapse";case"Separate":return"separate";default:return Ei(t)}},BG=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 Ei(t.Discriminator)}}}),zn=t=>BG(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}),TN=t=>({Match:e=>{switch(t){case"Left":return e.Left();case"Center":return e.Center();case"Right":return e.Right();default:return Ei(t)}}}),VG=t=>t.containerAlign?TN(t.containerAlign).Match({Left:()=>({textAlign:"left"}),Center:()=>({textAlign:"center"}),Right:()=>({textAlign:"right"})}):{},Zr=t=>t.containerAlign?TN(t.containerAlign).Match({Left:()=>"left",Center:()=>"center",Right:()=>"right"}):"center";var Rd={exports:{}};/**
66
- * @license
67
- * Lodash <https://lodash.com/>
68
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
69
- * Released under MIT license <https://lodash.com/license>
70
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
71
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
72
- */var RG=Rd.exports,Vb;function DG(){return Vb||(Vb=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,O=256,W=512,ne=30,U="...",H=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",W],["partial",N],["partialRight",_],["rearg",O]],$e="[object Arguments]",Qe="[object Array]",We="[object AsyncFunction]",Oe="[object Boolean]",xt="[object Date]",Gt="[object DOMException]",to="[object Error]",I="[object Function]",$="[object GeneratorFunction]",w="[object Map]",Q="[object Number]",ae="[object Null]",re="[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]",Xt="[object Int16Array]",Uo="[object Int32Array]",Qi="[object Uint8Array]",wt="[object Uint8ClampedArray]",uo="[object Uint16Array]",Yn="[object Uint32Array]",ps=/\b__p \+= '';/g,sC=/\b(__p \+=) '' \+/g,Fl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ha=/&(?:amp|lt|gt|quot|#39);/g,Jc=/[&<>"']/g,pa=RegExp(ha.source),aC=RegExp(Jc.source),lC=/<%-([\s\S]+?)%>/g,Co=/<%([\s\S]+?)%>/g,Br=/<%=([\s\S]+?)%>/g,uC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zc=/^\w*$/,zu=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yl=/[\\^$.*+?()[\]{}|]/g,Xc=RegExp(yl.source),Uu=/^\s+/,en=/\s/,Vr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Qc=/\{\n\/\* \[wrapped with (.+)\] \*/,em=/,? & /,ju=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tm=/[()=,{}\[\]\/\s]/,Dn=/\\(\\)?/g,om=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gu=/\w*$/,im=/^[-+]0x[0-9a-f]+$/i,nm=/^0b[01]+$/i,dC=/^\[object .+?Constructor\]$/,je=/^0o[0-7]+$/i,z=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=/($^)/,Ht=/['\n\r\u2028\u2029\\]/g,co="\\ud800-\\udfff",ro="\\u0300-\\u036f",jo="\\ufe20-\\ufe2f",bn="\\u20d0-\\u20ff",Rr=ro+jo+bn,Tl="\\u2700-\\u27bf",go="a-z\\xdf-\\xf6\\xf8-\\xff",rm="\\xac\\xb1\\xd7\\xf7",sm="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",wA="\\u2000-\\u206f",kA=" \\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",fS="A-Z\\xc0-\\xd6\\xd8-\\xde",hS="\\ufe0e\\ufe0f",pS=rm+sm+wA+kA,cC="['’]",WA="["+co+"]",CS="["+pS+"]",am="["+Rr+"]",gS="\\d+",OA="["+Tl+"]",FS="["+go+"]",yS="[^"+co+pS+gS+Tl+go+fS+"]",mC="\\ud83c[\\udffb-\\udfff]",MA="(?:"+am+"|"+mC+")",TS="[^"+co+"]",fC="(?:\\ud83c[\\udde6-\\uddff]){2}",hC="[\\ud800-\\udbff][\\udc00-\\udfff]",Sl="["+fS+"]",SS="\\u200d",BS="(?:"+FS+"|"+yS+")",HA="(?:"+Sl+"|"+yS+")",VS="(?:"+cC+"(?:d|ll|m|re|s|t|ve))?",RS="(?:"+cC+"(?:D|LL|M|RE|S|T|VE))?",DS=MA+"?",bS="["+hS+"]?",$A="(?:"+SS+"(?:"+[TS,fC,hC].join("|")+")"+bS+DS+")*",zA="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",UA="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xS=bS+DS+$A,jA="(?:"+[OA,fC,hC].join("|")+")"+xS,GA="(?:"+[TS+am+"?",am,fC,hC,WA].join("|")+")",KA=RegExp(cC,"g"),qA=RegExp(am,"g"),pC=RegExp(mC+"(?="+mC+")|"+GA+xS,"g"),YA=RegExp([Sl+"?"+FS+"+"+VS+"(?="+[CS,Sl,"$"].join("|")+")",HA+"+"+RS+"(?="+[CS,Sl+BS,"$"].join("|")+")",Sl+"?"+BS+"+"+VS,Sl+"+"+RS,UA,zA,gS,jA].join("|"),"g"),JA=RegExp("["+SS+co+Rr+hS+"]"),ZA=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,XA=["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"],QA=-1,Kt={};Kt[nt]=Kt[Nt]=Kt[oo]=Kt[Xt]=Kt[Uo]=Kt[Qi]=Kt[wt]=Kt[uo]=Kt[Yn]=!0,Kt[$e]=Kt[Qe]=Kt[te]=Kt[Oe]=Kt[Ee]=Kt[xt]=Kt[to]=Kt[I]=Kt[w]=Kt[Q]=Kt[re]=Kt[L]=Kt[E]=Kt[Y]=Kt[ce]=!1;var $t={};$t[$e]=$t[Qe]=$t[te]=$t[Ee]=$t[Oe]=$t[xt]=$t[nt]=$t[Nt]=$t[oo]=$t[Xt]=$t[Uo]=$t[w]=$t[Q]=$t[re]=$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 eI={À:"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"},tI={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},oI={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},iI={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nI=parseFloat,rI=parseInt,LS=typeof nf=="object"&&nf&&nf.Object===Object&&nf,sI=typeof self=="object"&&self&&self.Object===Object&&self,wo=LS||sI||Function("return this")(),CC=e&&!e.nodeType&&e,Ca=CC&&!0&&t&&!t.nodeType&&t,ES=Ca&&Ca.exports===CC,gC=ES&&LS.process,tn=(function(){try{var G=Ca&&Ca.require&&Ca.require("util").types;return G||gC&&gC.binding&&gC.binding("util")}catch{}})(),vS=tn&&tn.isArrayBuffer,NS=tn&&tn.isDate,PS=tn&&tn.isMap,_S=tn&&tn.isRegExp,AS=tn&&tn.isSet,IS=tn&&tn.isTypedArray;function Ni(G,se,ee){switch(ee.length){case 0:return G.call(se);case 1:return G.call(se,ee[0]);case 2:return G.call(se,ee[0],ee[1]);case 3:return G.call(se,ee[0],ee[1],ee[2])}return G.apply(se,ee)}function aI(G,se,ee,Ae){for(var it=-1,vt=G==null?0:G.length;++it<vt;){var To=G[it];se(Ae,To,ee(To),G)}return Ae}function on(G,se){for(var ee=-1,Ae=G==null?0:G.length;++ee<Ae&&se(G[ee],ee,G)!==!1;);return G}function lI(G,se){for(var ee=G==null?0:G.length;ee--&&se(G[ee],ee,G)!==!1;);return G}function wS(G,se){for(var ee=-1,Ae=G==null?0:G.length;++ee<Ae;)if(!se(G[ee],ee,G))return!1;return!0}function Cs(G,se){for(var ee=-1,Ae=G==null?0:G.length,it=0,vt=[];++ee<Ae;){var To=G[ee];se(To,ee,G)&&(vt[it++]=To)}return vt}function lm(G,se){var ee=G==null?0:G.length;return!!ee&&Bl(G,se,0)>-1}function FC(G,se,ee){for(var Ae=-1,it=G==null?0:G.length;++Ae<it;)if(ee(se,G[Ae]))return!0;return!1}function Qt(G,se){for(var ee=-1,Ae=G==null?0:G.length,it=Array(Ae);++ee<Ae;)it[ee]=se(G[ee],ee,G);return it}function gs(G,se){for(var ee=-1,Ae=se.length,it=G.length;++ee<Ae;)G[it+ee]=se[ee];return G}function yC(G,se,ee,Ae){var it=-1,vt=G==null?0:G.length;for(Ae&&vt&&(ee=G[++it]);++it<vt;)ee=se(ee,G[it],it,G);return ee}function uI(G,se,ee,Ae){var it=G==null?0:G.length;for(Ae&&it&&(ee=G[--it]);it--;)ee=se(ee,G[it],it,G);return ee}function TC(G,se){for(var ee=-1,Ae=G==null?0:G.length;++ee<Ae;)if(se(G[ee],ee,G))return!0;return!1}var dI=SC("length");function cI(G){return G.split("")}function mI(G){return G.match(ju)||[]}function kS(G,se,ee){var Ae;return ee(G,function(it,vt,To){if(se(it,vt,To))return Ae=vt,!1}),Ae}function um(G,se,ee,Ae){for(var it=G.length,vt=ee+(Ae?1:-1);Ae?vt--:++vt<it;)if(se(G[vt],vt,G))return vt;return-1}function Bl(G,se,ee){return se===se?RI(G,se,ee):um(G,WS,ee)}function fI(G,se,ee,Ae){for(var it=ee-1,vt=G.length;++it<vt;)if(Ae(G[it],se))return it;return-1}function WS(G){return G!==G}function OS(G,se){var ee=G==null?0:G.length;return ee?VC(G,se)/ee:ke}function SC(G){return function(se){return se==null?o:se[G]}}function BC(G){return function(se){return G==null?o:G[se]}}function MS(G,se,ee,Ae,it){return it(G,function(vt,To,kt){ee=Ae?(Ae=!1,vt):se(ee,vt,To,kt)}),ee}function hI(G,se){var ee=G.length;for(G.sort(se);ee--;)G[ee]=G[ee].value;return G}function VC(G,se){for(var ee,Ae=-1,it=G.length;++Ae<it;){var vt=se(G[Ae]);vt!==o&&(ee=ee===o?vt:ee+vt)}return ee}function RC(G,se){for(var ee=-1,Ae=Array(G);++ee<G;)Ae[ee]=se(ee);return Ae}function pI(G,se){return Qt(se,function(ee){return[ee,G[ee]]})}function HS(G){return G&&G.slice(0,jS(G)+1).replace(Uu,"")}function Pi(G){return function(se){return G(se)}}function DC(G,se){return Qt(se,function(ee){return G[ee]})}function Ku(G,se){return G.has(se)}function $S(G,se){for(var ee=-1,Ae=G.length;++ee<Ae&&Bl(se,G[ee],0)>-1;);return ee}function zS(G,se){for(var ee=G.length;ee--&&Bl(se,G[ee],0)>-1;);return ee}function CI(G,se){for(var ee=G.length,Ae=0;ee--;)G[ee]===se&&++Ae;return Ae}var gI=BC(eI),FI=BC(tI);function yI(G){return"\\"+iI[G]}function TI(G,se){return G==null?o:G[se]}function Vl(G){return JA.test(G)}function SI(G){return ZA.test(G)}function BI(G){for(var se,ee=[];!(se=G.next()).done;)ee.push(se.value);return ee}function bC(G){var se=-1,ee=Array(G.size);return G.forEach(function(Ae,it){ee[++se]=[it,Ae]}),ee}function US(G,se){return function(ee){return G(se(ee))}}function Fs(G,se){for(var ee=-1,Ae=G.length,it=0,vt=[];++ee<Ae;){var To=G[ee];(To===se||To===m)&&(G[ee]=m,vt[it++]=ee)}return vt}function dm(G){var se=-1,ee=Array(G.size);return G.forEach(function(Ae){ee[++se]=Ae}),ee}function VI(G){var se=-1,ee=Array(G.size);return G.forEach(function(Ae){ee[++se]=[Ae,Ae]}),ee}function RI(G,se,ee){for(var Ae=ee-1,it=G.length;++Ae<it;)if(G[Ae]===se)return Ae;return-1}function DI(G,se,ee){for(var Ae=ee+1;Ae--;)if(G[Ae]===se)return Ae;return Ae}function Rl(G){return Vl(G)?xI(G):dI(G)}function xn(G){return Vl(G)?LI(G):cI(G)}function jS(G){for(var se=G.length;se--&&en.test(G.charAt(se)););return se}var bI=BC(oI);function xI(G){for(var se=pC.lastIndex=0;pC.test(G);)++se;return se}function LI(G){return G.match(pC)||[]}function EI(G){return G.match(YA)||[]}var vI=(function G(se){se=se==null?wo:Dl.defaults(wo.Object(),se,Dl.pick(wo,XA));var ee=se.Array,Ae=se.Date,it=se.Error,vt=se.Function,To=se.Math,kt=se.Object,xC=se.RegExp,NI=se.String,nn=se.TypeError,cm=ee.prototype,PI=vt.prototype,bl=kt.prototype,mm=se["__core-js_shared__"],fm=PI.toString,At=bl.hasOwnProperty,_I=0,GS=(function(){var l=/[^.]+$/.exec(mm&&mm.keys&&mm.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""})(),hm=bl.toString,AI=fm.call(kt),II=wo._,wI=xC("^"+fm.call(At).replace(yl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pm=ES?se.Buffer:o,ys=se.Symbol,Cm=se.Uint8Array,KS=pm?pm.allocUnsafe:o,gm=US(kt.getPrototypeOf,kt),qS=kt.create,YS=bl.propertyIsEnumerable,Fm=cm.splice,JS=ys?ys.isConcatSpreadable:o,qu=ys?ys.iterator:o,ga=ys?ys.toStringTag:o,ym=(function(){try{var l=Ba(kt,"defineProperty");return l({},"",{}),l}catch{}})(),kI=se.clearTimeout!==wo.clearTimeout&&se.clearTimeout,WI=Ae&&Ae.now!==wo.Date.now&&Ae.now,OI=se.setTimeout!==wo.setTimeout&&se.setTimeout,Tm=To.ceil,Sm=To.floor,LC=kt.getOwnPropertySymbols,MI=pm?pm.isBuffer:o,ZS=se.isFinite,HI=cm.join,$I=US(kt.keys,kt),So=To.max,Go=To.min,zI=Ae.now,UI=se.parseInt,XS=To.random,jI=cm.reverse,EC=Ba(se,"DataView"),Yu=Ba(se,"Map"),vC=Ba(se,"Promise"),xl=Ba(se,"Set"),Ju=Ba(se,"WeakMap"),Zu=Ba(kt,"create"),Bm=Ju&&new Ju,Ll={},GI=Va(EC),KI=Va(Yu),qI=Va(vC),YI=Va(xl),JI=Va(Ju),Vm=ys?ys.prototype:o,Xu=Vm?Vm.valueOf:o,QS=Vm?Vm.toString:o;function b(l){if(so(l)&&!rt(l)&&!(l instanceof yt)){if(l instanceof rn)return l;if(At.call(l,"__wrapped__"))return eV(l)}return new rn(l)}var El=(function(){function l(){}return function(d){if(!io(d))return{};if(qS)return qS(d);l.prototype=d;var h=new l;return l.prototype=o,h}})();function Rm(){}function rn(l,d){this.__wrapped__=l,this.__actions__=[],this.__chain__=!!d,this.__index__=0,this.__values__=o}b.templateSettings={escape:lC,evaluate:Co,interpolate:Br,variable:"",imports:{_:b}},b.prototype=Rm.prototype,b.prototype.constructor=b,rn.prototype=El(Rm.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 ZI(){var l=new yt(this.__wrapped__);return l.__actions__=yi(this.__actions__),l.__dir__=this.__dir__,l.__filtered__=this.__filtered__,l.__iteratees__=yi(this.__iteratees__),l.__takeCount__=this.__takeCount__,l.__views__=yi(this.__views__),l}function XI(){if(this.__filtered__){var l=new yt(this);l.__dir__=-1,l.__filtered__=!0}else l=this.clone(),l.__dir__*=-1;return l}function QI(){var l=this.__wrapped__.value(),d=this.__dir__,h=rt(l),g=d<0,S=h?l.length:0,x=ck(0,S,this.__views__),A=x.start,M=x.end,K=M-A,le=g?M:A-1,ue=this.__iteratees__,me=ue.length,De=0,ze=Go(K,this.__takeCount__);if(!h||!g&&S==K&&ze==K)return VB(l,this.__actions__);var Ye=[];e:for(;K--&&De<ze;){le+=d;for(var ut=-1,Je=l[le];++ut<me;){var gt=ue[ut],St=gt.iteratee,Ii=gt.type,ri=St(Je);if(Ii==pe)Je=ri;else if(!ri){if(Ii==Ce)continue e;break e}}Ye[De++]=Je}return Ye}yt.prototype=El(Rm.prototype),yt.prototype.constructor=yt;function Fa(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 ew(){this.__data__=Zu?Zu(null):{},this.size=0}function tw(l){var d=this.has(l)&&delete this.__data__[l];return this.size-=d?1:0,d}function ow(l){var d=this.__data__;if(Zu){var h=d[l];return h===u?o:h}return At.call(d,l)?d[l]:o}function iw(l){var d=this.__data__;return Zu?d[l]!==o:At.call(d,l)}function nw(l,d){var h=this.__data__;return this.size+=this.has(l)?0:1,h[l]=Zu&&d===o?u:d,this}Fa.prototype.clear=ew,Fa.prototype.delete=tw,Fa.prototype.get=ow,Fa.prototype.has=iw,Fa.prototype.set=nw;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 rw(){this.__data__=[],this.size=0}function sw(l){var d=this.__data__,h=Dm(d,l);if(h<0)return!1;var g=d.length-1;return h==g?d.pop():Fm.call(d,h,1),--this.size,!0}function aw(l){var d=this.__data__,h=Dm(d,l);return h<0?o:d[h][1]}function lw(l){return Dm(this.__data__,l)>-1}function uw(l,d){var h=this.__data__,g=Dm(h,l);return g<0?(++this.size,h.push([l,d])):h[g][1]=d,this}Dr.prototype.clear=rw,Dr.prototype.delete=sw,Dr.prototype.get=aw,Dr.prototype.has=lw,Dr.prototype.set=uw;function br(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 dw(){this.size=0,this.__data__={hash:new Fa,map:new(Yu||Dr),string:new Fa}}function cw(l){var d=km(this,l).delete(l);return this.size-=d?1:0,d}function mw(l){return km(this,l).get(l)}function fw(l){return km(this,l).has(l)}function hw(l,d){var h=km(this,l),g=h.size;return h.set(l,d),this.size+=h.size==g?0:1,this}br.prototype.clear=dw,br.prototype.delete=cw,br.prototype.get=mw,br.prototype.has=fw,br.prototype.set=hw;function ya(l){var d=-1,h=l==null?0:l.length;for(this.__data__=new br;++d<h;)this.add(l[d])}function pw(l){return this.__data__.set(l,u),this}function Cw(l){return this.__data__.has(l)}ya.prototype.add=ya.prototype.push=pw,ya.prototype.has=Cw;function Ln(l){var d=this.__data__=new Dr(l);this.size=d.size}function gw(){this.__data__=new Dr,this.size=0}function Fw(l){var d=this.__data__,h=d.delete(l);return this.size=d.size,h}function yw(l){return this.__data__.get(l)}function Tw(l){return this.__data__.has(l)}function Sw(l,d){var h=this.__data__;if(h instanceof Dr){var g=h.__data__;if(!Yu||g.length<n-1)return g.push([l,d]),this.size=++h.size,this;h=this.__data__=new br(g)}return h.set(l,d),this.size=h.size,this}Ln.prototype.clear=gw,Ln.prototype.delete=Fw,Ln.prototype.get=yw,Ln.prototype.has=Tw,Ln.prototype.set=Sw;function eB(l,d){var h=rt(l),g=!h&&Ra(l),S=!h&&!g&&Rs(l),x=!h&&!g&&!S&&_l(l),A=h||g||S||x,M=A?RC(l.length,NI):[],K=M.length;for(var le in l)(d||At.call(l,le))&&!(A&&(le=="length"||S&&(le=="offset"||le=="parent")||x&&(le=="buffer"||le=="byteLength"||le=="byteOffset")||vr(le,K)))&&M.push(le);return M}function tB(l){var d=l.length;return d?l[HC(0,d-1)]:o}function Bw(l,d){return Wm(yi(l),Ta(d,0,l.length))}function Vw(l){return Wm(yi(l))}function NC(l,d,h){(h!==o&&!En(l[d],h)||h===o&&!(d in l))&&xr(l,d,h)}function Qu(l,d,h){var g=l[d];(!(At.call(l,d)&&En(g,h))||h===o&&!(d in l))&&xr(l,d,h)}function Dm(l,d){for(var h=l.length;h--;)if(En(l[h][0],d))return h;return-1}function Rw(l,d,h,g){return Ts(l,function(S,x,A){d(g,S,h(S),A)}),g}function oB(l,d){return l&&Zn(d,xo(d),l)}function Dw(l,d){return l&&Zn(d,Si(d),l)}function xr(l,d,h){d=="__proto__"&&ym?ym(l,d,{configurable:!0,enumerable:!0,value:h,writable:!0}):l[d]=h}function PC(l,d){for(var h=-1,g=d.length,S=ee(g),x=l==null;++h<g;)S[h]=x?o:mg(l,d[h]);return S}function Ta(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,x){var A,M=d&f,K=d&p,le=d&C;if(h&&(A=S?h(l,g,S,x):h(l)),A!==o)return A;if(!io(l))return l;var ue=rt(l);if(ue){if(A=fk(l),!M)return yi(l,A)}else{var me=Ko(l),De=me==I||me==$;if(Rs(l))return bB(l,M);if(me==re||me==$e||De&&!S){if(A=K||De?{}:jB(l),!M)return K?ok(l,Dw(A,l)):tk(l,oB(A,l))}else{if(!$t[me])return S?l:{};A=hk(l,me,M)}}x||(x=new Ln);var ze=x.get(l);if(ze)return ze;x.set(l,A),TV(l)?l.forEach(function(Je){A.add(sn(Je,d,h,Je,l,x))}):FV(l)&&l.forEach(function(Je,gt){A.set(gt,sn(Je,d,h,gt,l,x))});var Ye=le?K?XC:ZC:K?Si:xo,ut=ue?o:Ye(l);return on(ut||l,function(Je,gt){ut&&(gt=Je,Je=l[gt]),Qu(A,gt,sn(Je,d,h,gt,l,x))}),A}function bw(l){var d=xo(l);return function(h){return iB(h,l,d)}}function iB(l,d,h){var g=h.length;if(l==null)return!g;for(l=kt(l);g--;){var S=h[g],x=d[S],A=l[S];if(A===o&&!(S in l)||!x(A))return!1}return!0}function nB(l,d,h){if(typeof l!="function")throw new nn(s);return sd(function(){l.apply(o,h)},d)}function ed(l,d,h,g){var S=-1,x=lm,A=!0,M=l.length,K=[],le=d.length;if(!M)return K;h&&(d=Qt(d,Pi(h))),g?(x=FC,A=!1):d.length>=n&&(x=Ku,A=!1,d=new ya(d));e:for(;++S<M;){var ue=l[S],me=h==null?ue:h(ue);if(ue=g||ue!==0?ue:0,A&&me===me){for(var De=le;De--;)if(d[De]===me)continue e;K.push(ue)}else x(d,me,g)||K.push(ue)}return K}var Ts=NB(Jn),rB=NB(AC,!0);function xw(l,d){var h=!0;return Ts(l,function(g,S,x){return h=!!d(g,S,x),h}),h}function bm(l,d,h){for(var g=-1,S=l.length;++g<S;){var x=l[g],A=d(x);if(A!=null&&(M===o?A===A&&!Ai(A):h(A,M)))var M=A,K=x}return K}function Lw(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:BV(g);h<g;)l[h++]=d;return l}function sB(l,d){var h=[];return Ts(l,function(g,S,x){d(g,S,x)&&h.push(g)}),h}function ko(l,d,h,g,S){var x=-1,A=l.length;for(h||(h=Ck),S||(S=[]);++x<A;){var M=l[x];d>0&&h(M)?d>1?ko(M,d-1,h,g,S):gs(S,M):g||(S[S.length]=M)}return S}var _C=PB(),aB=PB(!0);function Jn(l,d){return l&&_C(l,d,xo)}function AC(l,d){return l&&aB(l,d,xo)}function xm(l,d){return Cs(d,function(h){return Nr(l[h])})}function Sa(l,d){d=Bs(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 lB(l,d,h){var g=d(l);return rt(l)?g:gs(g,h(l))}function ii(l){return l==null?l===o?Be:ae:ga&&ga in kt(l)?dk(l):Vk(l)}function IC(l,d){return l>d}function Ew(l,d){return l!=null&&At.call(l,d)}function vw(l,d){return l!=null&&d in kt(l)}function Nw(l,d,h){return l>=Go(d,h)&&l<So(d,h)}function wC(l,d,h){for(var g=h?FC:lm,S=l[0].length,x=l.length,A=x,M=ee(x),K=1/0,le=[];A--;){var ue=l[A];A&&d&&(ue=Qt(ue,Pi(d))),K=Go(ue.length,K),M[A]=!h&&(d||S>=120&&ue.length>=120)?new ya(A&&ue):o}ue=l[0];var me=-1,De=M[0];e:for(;++me<S&&le.length<K;){var ze=ue[me],Ye=d?d(ze):ze;if(ze=h||ze!==0?ze:0,!(De?Ku(De,Ye):g(le,Ye,h))){for(A=x;--A;){var ut=M[A];if(!(ut?Ku(ut,Ye):g(l[A],Ye,h)))continue e}De&&De.push(Ye),le.push(ze)}}return le}function Pw(l,d,h,g){return Jn(l,function(S,x,A){d(g,h(S),x,A)}),g}function td(l,d,h){d=Bs(d,l),l=YB(l,d);var g=l==null?l:l[Xn(ln(d))];return g==null?o:Ni(g,l,h)}function uB(l){return so(l)&&ii(l)==$e}function _w(l){return so(l)&&ii(l)==te}function Aw(l){return so(l)&&ii(l)==xt}function od(l,d,h,g,S){return l===d?!0:l==null||d==null||!so(l)&&!so(d)?l!==l&&d!==d:Iw(l,d,h,g,od,S)}function Iw(l,d,h,g,S,x){var A=rt(l),M=rt(d),K=A?Qe:Ko(l),le=M?Qe:Ko(d);K=K==$e?re:K,le=le==$e?re:le;var ue=K==re,me=le==re,De=K==le;if(De&&Rs(l)){if(!Rs(d))return!1;A=!0,ue=!1}if(De&&!ue)return x||(x=new Ln),A||_l(l)?$B(l,d,h,g,S,x):lk(l,d,K,h,g,S,x);if(!(h&F)){var ze=ue&&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 x||(x=new Ln),S(ut,Je,h,g,x)}}return De?(x||(x=new Ln),uk(l,d,h,g,S,x)):!1}function ww(l){return so(l)&&Ko(l)==w}function kC(l,d,h,g){var S=h.length,x=S,A=!g;if(l==null)return!x;for(l=kt(l);S--;){var M=h[S];if(A&&M[2]?M[1]!==l[M[0]]:!(M[0]in l))return!1}for(;++S<x;){M=h[S];var K=M[0],le=l[K],ue=M[1];if(A&&M[2]){if(le===o&&!(K in l))return!1}else{var me=new Ln;if(g)var De=g(le,ue,K,l,d,me);if(!(De===o?od(ue,le,F|y,g,me):De))return!1}}return!0}function dB(l){if(!io(l)||Fk(l))return!1;var d=Nr(l)?wI:dC;return d.test(Va(l))}function kw(l){return so(l)&&ii(l)==L}function Ww(l){return so(l)&&Ko(l)==E}function Ow(l){return so(l)&&Um(l.length)&&!!Kt[ii(l)]}function cB(l){return typeof l=="function"?l:l==null?Bi:typeof l=="object"?rt(l)?hB(l[0],l[1]):fB(l):_V(l)}function WC(l){if(!rd(l))return $I(l);var d=[];for(var h in kt(l))At.call(l,h)&&h!="constructor"&&d.push(h);return d}function Mw(l){if(!io(l))return Bk(l);var d=rd(l),h=[];for(var g in l)g=="constructor"&&(d||!At.call(l,g))||h.push(g);return h}function OC(l,d){return l<d}function mB(l,d){var h=-1,g=Ti(l)?ee(l.length):[];return Ts(l,function(S,x,A){g[++h]=d(S,x,A)}),g}function fB(l){var d=eg(l);return d.length==1&&d[0][2]?KB(d[0][0],d[0][1]):function(h){return h===l||kC(h,l,d)}}function hB(l,d){return og(l)&&GB(d)?KB(Xn(l),d):function(h){var g=mg(h,l);return g===o&&g===d?fg(h,l):od(d,g,F|y)}}function Lm(l,d,h,g,S){l!==d&&_C(d,function(x,A){if(S||(S=new Ln),io(x))Hw(l,d,A,h,Lm,g,S);else{var M=g?g(ng(l,A),x,A+"",l,d,S):o;M===o&&(M=x),NC(l,A,M)}},Si)}function Hw(l,d,h,g,S,x,A){var M=ng(l,h),K=ng(d,h),le=A.get(K);if(le){NC(l,h,le);return}var ue=x?x(M,K,h+"",l,d,A):o,me=ue===o;if(me){var De=rt(K),ze=!De&&Rs(K),Ye=!De&&!ze&&_l(K);ue=K,De||ze||Ye?rt(M)?ue=M:mo(M)?ue=yi(M):ze?(me=!1,ue=bB(K,!0)):Ye?(me=!1,ue=xB(K,!0)):ue=[]:ad(K)||Ra(K)?(ue=M,Ra(M)?ue=VV(M):(!io(M)||Nr(M))&&(ue=jB(K))):me=!1}me&&(A.set(K,ue),S(ue,K,g,x,A),A.delete(K)),NC(l,h,ue)}function pB(l,d){var h=l.length;if(h)return d+=d<0?h:0,vr(d,h)?l[d]:o}function CB(l,d,h){d.length?d=Qt(d,function(x){return rt(x)?function(A){return Sa(A,x.length===1?x[0]:x)}:x}):d=[Bi];var g=-1;d=Qt(d,Pi(qe()));var S=mB(l,function(x,A,M){var K=Qt(d,function(le){return le(x)});return{criteria:K,index:++g,value:x}});return hI(S,function(x,A){return ek(x,A,h)})}function $w(l,d){return gB(l,d,function(h,g){return fg(l,g)})}function gB(l,d,h){for(var g=-1,S=d.length,x={};++g<S;){var A=d[g],M=Sa(l,A);h(M,A)&&id(x,Bs(A,l),M)}return x}function zw(l){return function(d){return Sa(d,l)}}function MC(l,d,h,g){var S=g?fI:Bl,x=-1,A=d.length,M=l;for(l===d&&(d=yi(d)),h&&(M=Qt(l,Pi(h)));++x<A;)for(var K=0,le=d[x],ue=h?h(le):le;(K=S(M,ue,K,g))>-1;)M!==l&&Fm.call(M,K,1),Fm.call(l,K,1);return l}function FB(l,d){for(var h=l?d.length:0,g=h-1;h--;){var S=d[h];if(h==g||S!==x){var x=S;vr(S)?Fm.call(l,S,1):UC(l,S)}}return l}function HC(l,d){return l+Sm(XS()*(d-l+1))}function Uw(l,d,h,g){for(var S=-1,x=So(Tm((d-l)/(h||1)),0),A=ee(x);x--;)A[g?x:++S]=l,l+=h;return A}function $C(l,d){var h="";if(!l||d<1||d>Ie)return h;do d%2&&(h+=l),d=Sm(d/2),d&&(l+=l);while(d);return h}function ft(l,d){return rg(qB(l,d,Bi),l+"")}function jw(l){return tB(Al(l))}function Gw(l,d){var h=Al(l);return Wm(h,Ta(d,0,h.length))}function id(l,d,h,g){if(!io(l))return l;d=Bs(d,l);for(var S=-1,x=d.length,A=x-1,M=l;M!=null&&++S<x;){var K=Xn(d[S]),le=h;if(K==="__proto__"||K==="constructor"||K==="prototype")return l;if(S!=A){var ue=M[K];le=g?g(ue,K,M):o,le===o&&(le=io(ue)?ue:vr(d[S+1])?[]:{})}Qu(M,K,le),M=M[K]}return l}var yB=Bm?function(l,d){return Bm.set(l,d),l}:Bi,Kw=ym?function(l,d){return ym(l,"toString",{configurable:!0,enumerable:!1,value:pg(d),writable:!0})}:Bi;function qw(l){return Wm(Al(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 x=ee(S);++g<S;)x[g]=l[g+d];return x}function Yw(l,d){var h;return Ts(l,function(g,S,x){return h=d(g,S,x),!h}),!!h}function Em(l,d,h){var g=0,S=l==null?g:l.length;if(typeof d=="number"&&d===d&&S<=pt){for(;g<S;){var x=g+S>>>1,A=l[x];A!==null&&!Ai(A)&&(h?A<=d:A<d)?g=x+1:S=x}return S}return zC(l,d,Bi,h)}function zC(l,d,h,g){var S=0,x=l==null?0:l.length;if(x===0)return 0;d=h(d);for(var A=d!==d,M=d===null,K=Ai(d),le=d===o;S<x;){var ue=Sm((S+x)/2),me=h(l[ue]),De=me!==o,ze=me===null,Ye=me===me,ut=Ai(me);if(A)var Je=g||Ye;else le?Je=Ye&&(g||De):M?Je=Ye&&De&&(g||!ze):K?Je=Ye&&De&&!ze&&(g||!ut):ze||ut?Je=!1:Je=g?me<=d:me<d;Je?S=ue+1:x=ue}return Go(x,lt)}function TB(l,d){for(var h=-1,g=l.length,S=0,x=[];++h<g;){var A=l[h],M=d?d(A):A;if(!h||!En(M,K)){var K=M;x[S++]=A===0?0:A}}return x}function SB(l){return typeof l=="number"?l:Ai(l)?ke:+l}function _i(l){if(typeof l=="string")return l;if(rt(l))return Qt(l,_i)+"";if(Ai(l))return QS?QS.call(l):"";var d=l+"";return d=="0"&&1/l==-Re?"-0":d}function Ss(l,d,h){var g=-1,S=lm,x=l.length,A=!0,M=[],K=M;if(h)A=!1,S=FC;else if(x>=n){var le=d?null:sk(l);if(le)return dm(le);A=!1,S=Ku,K=new ya}else K=d?[]:M;e:for(;++g<x;){var ue=l[g],me=d?d(ue):ue;if(ue=h||ue!==0?ue:0,A&&me===me){for(var De=K.length;De--;)if(K[De]===me)continue e;d&&K.push(me),M.push(ue)}else S(K,me,h)||(K!==M&&K.push(me),M.push(ue))}return M}function UC(l,d){return d=Bs(d,l),l=YB(l,d),l==null||delete l[Xn(ln(d))]}function BB(l,d,h,g){return id(l,d,h(Sa(l,d)),g)}function vm(l,d,h,g){for(var S=l.length,x=g?S:-1;(g?x--:++x<S)&&d(l[x],x,l););return h?an(l,g?0:x,g?x+1:S):an(l,g?x+1:0,g?S:x)}function VB(l,d){var h=l;return h instanceof yt&&(h=h.value()),yC(d,function(g,S){return S.func.apply(S.thisArg,gs([g],S.args))},h)}function jC(l,d,h){var g=l.length;if(g<2)return g?Ss(l[0]):[];for(var S=-1,x=ee(g);++S<g;)for(var A=l[S],M=-1;++M<g;)M!=S&&(x[S]=ed(x[S]||A,l[M],d,h));return Ss(ko(x,1),d,h)}function RB(l,d,h){for(var g=-1,S=l.length,x=d.length,A={};++g<S;){var M=g<x?d[g]:o;h(A,l[g],M)}return A}function GC(l){return mo(l)?l:[]}function KC(l){return typeof l=="function"?l:Bi}function Bs(l,d){return rt(l)?l:og(l,d)?[l]:QB(Pt(l))}var Jw=ft;function Vs(l,d,h){var g=l.length;return h=h===o?g:h,!d&&h>=g?l:an(l,d,h)}var DB=kI||function(l){return wo.clearTimeout(l)};function bB(l,d){if(d)return l.slice();var h=l.length,g=KS?KS(h):new l.constructor(h);return l.copy(g),g}function qC(l){var d=new l.constructor(l.byteLength);return new Cm(d).set(new Cm(l)),d}function Zw(l,d){var h=d?qC(l.buffer):l.buffer;return new l.constructor(h,l.byteOffset,l.byteLength)}function Xw(l){var d=new l.constructor(l.source,Gu.exec(l));return d.lastIndex=l.lastIndex,d}function Qw(l){return Xu?kt(Xu.call(l)):{}}function xB(l,d){var h=d?qC(l.buffer):l.buffer;return new l.constructor(h,l.byteOffset,l.length)}function LB(l,d){if(l!==d){var h=l!==o,g=l===null,S=l===l,x=Ai(l),A=d!==o,M=d===null,K=d===d,le=Ai(d);if(!M&&!le&&!x&&l>d||x&&A&&K&&!M&&!le||g&&A&&K||!h&&K||!S)return 1;if(!g&&!x&&!le&&l<d||le&&h&&S&&!g&&!x||M&&h&&S||!A&&S||!K)return-1}return 0}function ek(l,d,h){for(var g=-1,S=l.criteria,x=d.criteria,A=S.length,M=h.length;++g<A;){var K=LB(S[g],x[g]);if(K){if(g>=M)return K;var le=h[g];return K*(le=="desc"?-1:1)}}return l.index-d.index}function EB(l,d,h,g){for(var S=-1,x=l.length,A=h.length,M=-1,K=d.length,le=So(x-A,0),ue=ee(K+le),me=!g;++M<K;)ue[M]=d[M];for(;++S<A;)(me||S<x)&&(ue[h[S]]=l[S]);for(;le--;)ue[M++]=l[S++];return ue}function vB(l,d,h,g){for(var S=-1,x=l.length,A=-1,M=h.length,K=-1,le=d.length,ue=So(x-M,0),me=ee(ue+le),De=!g;++S<ue;)me[S]=l[S];for(var ze=S;++K<le;)me[ze+K]=d[K];for(;++A<M;)(De||S<x)&&(me[ze+h[A]]=l[S++]);return me}function yi(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 x=-1,A=d.length;++x<A;){var M=d[x],K=g?g(h[M],l[M],M,h,l):o;K===o&&(K=l[M]),S?xr(h,M,K):Qu(h,M,K)}return h}function tk(l,d){return Zn(l,tg(l),d)}function ok(l,d){return Zn(l,zB(l),d)}function Nm(l,d){return function(h,g){var S=rt(h)?aI:Rw,x=d?d():{};return S(h,l,qe(g,2),x)}}function vl(l){return ft(function(d,h){var g=-1,S=h.length,x=S>1?h[S-1]:o,A=S>2?h[2]:o;for(x=l.length>3&&typeof x=="function"?(S--,x):o,A&&ni(h[0],h[1],A)&&(x=S<3?o:x,S=1),d=kt(d);++g<S;){var M=h[g];M&&l(d,M,g,x)}return d})}function NB(l,d){return function(h,g){if(h==null)return h;if(!Ti(h))return l(h,g);for(var S=h.length,x=d?S:-1,A=kt(h);(d?x--:++x<S)&&g(A[x],x,A)!==!1;);return h}}function PB(l){return function(d,h,g){for(var S=-1,x=kt(d),A=g(d),M=A.length;M--;){var K=A[l?M:++S];if(h(x[K],K,x)===!1)break}return d}}function ik(l,d,h){var g=d&T,S=nd(l);function x(){var A=this&&this!==wo&&this instanceof x?S:l;return A.apply(g?h:this,arguments)}return x}function _B(l){return function(d){d=Pt(d);var h=Vl(d)?xn(d):o,g=h?h[0]:d.charAt(0),S=h?Vs(h,1).join(""):d.slice(1);return g[l]()+S}}function Nl(l){return function(d){return yC(NV(vV(d).replace(KA,"")),l,"")}}function nd(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=El(l.prototype),g=l.apply(h,d);return io(g)?g:h}}function nk(l,d,h){var g=nd(l);function S(){for(var x=arguments.length,A=ee(x),M=x,K=Pl(S);M--;)A[M]=arguments[M];var le=x<3&&A[0]!==K&&A[x-1]!==K?[]:Fs(A,K);if(x-=le.length,x<h)return WB(l,d,Pm,S.placeholder,o,A,le,o,o,h-x);var ue=this&&this!==wo&&this instanceof S?g:l;return Ni(ue,this,A)}return S}function AB(l){return function(d,h,g){var S=kt(d);if(!Ti(d)){var x=qe(h,3);d=xo(d),h=function(M){return x(S[M],M,S)}}var A=l(d,h,g);return A>-1?S[x?d[A]:A]:o}}function IB(l){return Er(function(d){var h=d.length,g=h,S=rn.prototype.thru;for(l&&d.reverse();g--;){var x=d[g];if(typeof x!="function")throw new nn(s);if(S&&!A&&wm(x)=="wrapper")var A=new rn([],!0)}for(g=A?g:h;++g<h;){x=d[g];var M=wm(x),K=M=="wrapper"?QC(x):o;K&&ig(K[0])&&K[1]==(P|D|N|O)&&!K[4].length&&K[9]==1?A=A[wm(K[0])].apply(A,K[3]):A=x.length==1&&ig(x)?A[M]():A.thru(x)}return function(){var le=arguments,ue=le[0];if(A&&le.length==1&&rt(ue))return A.plant(ue).value();for(var me=0,De=h?d[me].apply(this,le):ue;++me<h;)De=d[me].call(this,De);return De}})}function Pm(l,d,h,g,S,x,A,M,K,le){var ue=d&P,me=d&T,De=d&B,ze=d&(D|R),Ye=d&W,ut=De?o:nd(l);function Je(){for(var gt=arguments.length,St=ee(gt),Ii=gt;Ii--;)St[Ii]=arguments[Ii];if(ze)var ri=Pl(Je),wi=CI(St,ri);if(g&&(St=EB(St,g,S,ze)),x&&(St=vB(St,x,A,ze)),gt-=wi,ze&&gt<le){var fo=Fs(St,ri);return WB(l,d,Pm,Je.placeholder,h,St,fo,M,K,le-gt)}var vn=me?h:this,_r=De?vn[l]:l;return gt=St.length,M?St=Rk(St,M):Ye&&gt>1&&St.reverse(),ue&&K<gt&&(St.length=K),this&&this!==wo&&this instanceof Je&&(_r=ut||nd(_r)),_r.apply(vn,St)}return Je}function wB(l,d){return function(h,g){return Pw(h,l,d(g),{})}}function _m(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=_i(h),g=_i(g)):(h=SB(h),g=SB(g)),S=l(h,g)}return S}}function YC(l){return Er(function(d){return d=Qt(d,Pi(qe())),ft(function(h){var g=this;return l(d,function(S){return Ni(S,g,h)})})})}function Am(l,d){d=d===o?" ":_i(d);var h=d.length;if(h<2)return h?$C(d,l):d;var g=$C(d,Tm(l/Rl(d)));return Vl(d)?Vs(xn(g),0,l).join(""):g.slice(0,l)}function rk(l,d,h,g){var S=d&T,x=nd(l);function A(){for(var M=-1,K=arguments.length,le=-1,ue=g.length,me=ee(ue+K),De=this&&this!==wo&&this instanceof A?x:l;++le<ue;)me[le]=g[le];for(;K--;)me[le++]=arguments[++M];return Ni(De,S?h:this,me)}return A}function kB(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),Uw(d,h,g,l)}}function Im(l){return function(d,h){return typeof d=="string"&&typeof h=="string"||(d=un(d),h=un(h)),l(d,h)}}function WB(l,d,h,g,S,x,A,M,K,le){var ue=d&D,me=ue?A:o,De=ue?o:A,ze=ue?x:o,Ye=ue?o:x;d|=ue?N:_,d&=~(ue?_:N),d&v||(d&=-4);var ut=[l,d,S,ze,me,Ye,De,M,K,le],Je=h.apply(o,ut);return ig(l)&&JB(Je,ut),Je.placeholder=g,ZB(Je,l,d)}function JC(l){var d=To[l];return function(h,g){if(h=un(h),g=g==null?0:Go(at(g),292),g&&ZS(h)){var S=(Pt(h)+"e").split("e"),x=d(S[0]+"e"+(+S[1]+g));return S=(Pt(x)+"e").split("e"),+(S[0]+"e"+(+S[1]-g))}return d(h)}}var sk=xl&&1/dm(new xl([,-0]))[1]==Re?function(l){return new xl(l)}:Fg;function OB(l){return function(d){var h=Ko(d);return h==w?bC(d):h==E?VI(d):pI(d,l(d))}}function Lr(l,d,h,g,S,x,A,M){var K=d&B;if(!K&&typeof l!="function")throw new nn(s);var le=g?g.length:0;if(le||(d&=-97,g=S=o),A=A===o?A:So(at(A),0),M=M===o?M:at(M),le-=S?S.length:0,d&_){var ue=g,me=S;g=S=o}var De=K?o:QC(l),ze=[l,d,h,g,S,ue,me,x,A,M];if(De&&Sk(ze,De),l=ze[0],d=ze[1],h=ze[2],g=ze[3],S=ze[4],M=ze[9]=ze[9]===o?K?0:l.length:So(ze[9]-le,0),!M&&d&(D|R)&&(d&=-25),!d||d==T)var Ye=ik(l,d,h);else d==D||d==R?Ye=nk(l,d,M):(d==N||d==(T|N))&&!S.length?Ye=rk(l,d,h,g):Ye=Pm.apply(o,ze);var ut=De?yB:JB;return ZB(ut(Ye,ze),l,d)}function MB(l,d,h,g){return l===o||En(l,bl[h])&&!At.call(g,h)?d:l}function HB(l,d,h,g,S,x){return io(l)&&io(d)&&(x.set(d,l),Lm(l,d,o,HB,x),x.delete(d)),l}function ak(l){return ad(l)?o:l}function $B(l,d,h,g,S,x){var A=h&F,M=l.length,K=d.length;if(M!=K&&!(A&&K>M))return!1;var le=x.get(l),ue=x.get(d);if(le&&ue)return le==d&&ue==l;var me=-1,De=!0,ze=h&y?new ya:o;for(x.set(l,d),x.set(d,l);++me<M;){var Ye=l[me],ut=d[me];if(g)var Je=A?g(ut,Ye,me,d,l,x):g(Ye,ut,me,l,d,x);if(Je!==o){if(Je)continue;De=!1;break}if(ze){if(!TC(d,function(gt,St){if(!Ku(ze,St)&&(Ye===gt||S(Ye,gt,h,g,x)))return ze.push(St)})){De=!1;break}}else if(!(Ye===ut||S(Ye,ut,h,g,x))){De=!1;break}}return x.delete(l),x.delete(d),De}function lk(l,d,h,g,S,x,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||!x(new Cm(l),new Cm(d)));case Oe:case xt:case Q:return En(+l,+d);case to:return l.name==d.name&&l.message==d.message;case L:case Y:return l==d+"";case w:var M=bC;case E:var K=g&F;if(M||(M=dm),l.size!=d.size&&!K)return!1;var le=A.get(l);if(le)return le==d;g|=y,A.set(l,d);var ue=$B(M(l),M(d),g,S,x,A);return A.delete(l),ue;case oe:if(Xu)return Xu.call(l)==Xu.call(d)}return!1}function uk(l,d,h,g,S,x){var A=h&F,M=ZC(l),K=M.length,le=ZC(d),ue=le.length;if(K!=ue&&!A)return!1;for(var me=K;me--;){var De=M[me];if(!(A?De in d:At.call(d,De)))return!1}var ze=x.get(l),Ye=x.get(d);if(ze&&Ye)return ze==d&&Ye==l;var ut=!0;x.set(l,d),x.set(d,l);for(var Je=A;++me<K;){De=M[me];var gt=l[De],St=d[De];if(g)var Ii=A?g(St,gt,De,d,l,x):g(gt,St,De,l,d,x);if(!(Ii===o?gt===St||S(gt,St,h,g,x):Ii)){ut=!1;break}Je||(Je=De=="constructor")}if(ut&&!Je){var ri=l.constructor,wi=d.constructor;ri!=wi&&"constructor"in l&&"constructor"in d&&!(typeof ri=="function"&&ri instanceof ri&&typeof wi=="function"&&wi instanceof wi)&&(ut=!1)}return x.delete(l),x.delete(d),ut}function Er(l){return rg(qB(l,o,iV),l+"")}function ZC(l){return lB(l,xo,tg)}function XC(l){return lB(l,Si,zB)}var QC=Bm?function(l){return Bm.get(l)}:Fg;function wm(l){for(var d=l.name+"",h=Ll[d],g=At.call(Ll,d)?h.length:0;g--;){var S=h[g],x=S.func;if(x==null||x==l)return S.name}return d}function Pl(l){var d=At.call(b,"placeholder")?b:l;return d.placeholder}function qe(){var l=b.iteratee||Cg;return l=l===Cg?cB:l,arguments.length?l(arguments[0],arguments[1]):l}function km(l,d){var h=l.__data__;return gk(d)?h[typeof d=="string"?"string":"hash"]:h.map}function eg(l){for(var d=xo(l),h=d.length;h--;){var g=d[h],S=l[g];d[h]=[g,S,GB(S)]}return d}function Ba(l,d){var h=TI(l,d);return dB(h)?h:o}function dk(l){var d=At.call(l,ga),h=l[ga];try{l[ga]=o;var g=!0}catch{}var S=hm.call(l);return g&&(d?l[ga]=h:delete l[ga]),S}var tg=LC?function(l){return l==null?[]:(l=kt(l),Cs(LC(l),function(d){return YS.call(l,d)}))}:yg,zB=LC?function(l){for(var d=[];l;)gs(d,tg(l)),l=gm(l);return d}:yg,Ko=ii;(EC&&Ko(new EC(new ArrayBuffer(1)))!=Ee||Yu&&Ko(new Yu)!=w||vC&&Ko(vC.resolve())!=Te||xl&&Ko(new xl)!=E||Ju&&Ko(new Ju)!=ce)&&(Ko=function(l){var d=ii(l),h=d==re?l.constructor:o,g=h?Va(h):"";if(g)switch(g){case GI:return Ee;case KI:return w;case qI:return Te;case YI:return E;case JI:return ce}return d});function ck(l,d,h){for(var g=-1,S=h.length;++g<S;){var x=h[g],A=x.size;switch(x.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 mk(l){var d=l.match(Qc);return d?d[1].split(em):[]}function UB(l,d,h){d=Bs(d,l);for(var g=-1,S=d.length,x=!1;++g<S;){var A=Xn(d[g]);if(!(x=l!=null&&h(l,A)))break;l=l[A]}return x||++g!=S?x:(S=l==null?0:l.length,!!S&&Um(S)&&vr(A,S)&&(rt(l)||Ra(l)))}function fk(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 jB(l){return typeof l.constructor=="function"&&!rd(l)?El(gm(l)):{}}function hk(l,d,h){var g=l.constructor;switch(d){case te:return qC(l);case Oe:case xt:return new g(+l);case Ee:return Zw(l,h);case nt:case Nt:case oo:case Xt: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 Xw(l);case E:return new g;case oe:return Qw(l)}}function pk(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,`{
73
- /* [wrapped with `+d+`] */
74
- `)}function Ck(l){return rt(l)||Ra(l)||!!(JS&&l&&l[JS])}function vr(l,d){var h=typeof l;return d=d??Ie,!!d&&(h=="number"||h!="symbol"&&z.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"?Ti(h)&&vr(d,h.length):g=="string"&&d in h)?En(h[d],l):!1}function og(l,d){if(rt(l))return!1;var h=typeof l;return h=="number"||h=="symbol"||h=="boolean"||l==null||Ai(l)?!0:Zc.test(l)||!uC.test(l)||d!=null&&l in kt(d)}function gk(l){var d=typeof l;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?l!=="__proto__":l===null}function ig(l){var d=wm(l),h=b[d];if(typeof h!="function"||!(d in yt.prototype))return!1;if(l===h)return!0;var g=QC(h);return!!g&&l===g[0]}function Fk(l){return!!GS&&GS in l}var yk=mm?Nr:Tg;function rd(l){var d=l&&l.constructor,h=typeof d=="function"&&d.prototype||bl;return l===h}function GB(l){return l===l&&!io(l)}function KB(l,d){return function(h){return h==null?!1:h[l]===d&&(d!==o||l in kt(h))}}function Tk(l){var d=$m(l,function(g){return h.size===c&&h.clear(),g}),h=d.cache;return d}function Sk(l,d){var h=l[1],g=d[1],S=h|g,x=S<(T|B|P),A=g==P&&h==D||g==P&&h==O&&l[7].length<=d[8]||g==(P|O)&&d[7].length<=d[8]&&h==D;if(!(x||A))return l;g&T&&(l[2]=d[2],S|=h&T?0:v);var M=d[3];if(M){var K=l[3];l[3]=K?EB(K,M,d[4]):M,l[4]=K?Fs(l[3],m):d[4]}return M=d[5],M&&(K=l[5],l[5]=K?vB(K,M,d[6]):M,l[6]=K?Fs(l[5],m):d[6]),M=d[7],M&&(l[7]=M),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 Bk(l){var d=[];if(l!=null)for(var h in kt(l))d.push(h);return d}function Vk(l){return hm.call(l)}function qB(l,d,h){return d=So(d===o?l.length-1:d,0),function(){for(var g=arguments,S=-1,x=So(g.length-d,0),A=ee(x);++S<x;)A[S]=g[d+S];S=-1;for(var M=ee(d+1);++S<d;)M[S]=g[S];return M[d]=h(A),Ni(l,this,M)}}function YB(l,d){return d.length<2?l:Sa(l,an(d,0,-1))}function Rk(l,d){for(var h=l.length,g=Go(d.length,h),S=yi(l);g--;){var x=d[g];l[g]=vr(x,h)?S[x]:o}return l}function ng(l,d){if(!(d==="constructor"&&typeof l[d]=="function")&&d!="__proto__")return l[d]}var JB=XB(yB),sd=OI||function(l,d){return wo.setTimeout(l,d)},rg=XB(Kw);function ZB(l,d,h){var g=d+"";return rg(l,pk(g,Dk(mk(g),h)))}function XB(l){var d=0,h=0;return function(){var g=zI(),S=X-(g-h);if(h=g,S>0){if(++d>=H)return arguments[0]}else d=0;return l.apply(o,arguments)}}function Wm(l,d){var h=-1,g=l.length,S=g-1;for(d=d===o?g:d;++h<d;){var x=HC(h,S),A=l[x];l[x]=l[h],l[h]=A}return l.length=d,l}var QB=Tk(function(l){var d=[];return l.charCodeAt(0)===46&&d.push(""),l.replace(zu,function(h,g,S,x){d.push(S?x.replace(Dn,"$1"):g||h)}),d});function Xn(l){if(typeof l=="string"||Ai(l))return l;var d=l+"";return d=="0"&&1/l==-Re?"-0":d}function Va(l){if(l!=null){try{return fm.call(l)}catch{}try{return l+""}catch{}}return""}function Dk(l,d){return on(jt,function(h){var g="_."+h[0];d&h[1]&&!lm(l,g)&&l.push(g)}),l.sort()}function eV(l){if(l instanceof yt)return l.clone();var d=new rn(l.__wrapped__,l.__chain__);return d.__actions__=yi(l.__actions__),d.__index__=l.__index__,d.__values__=l.__values__,d}function bk(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,x=0,A=ee(Tm(g/d));S<g;)A[x++]=an(l,S,S+=d);return A}function xk(l){for(var d=-1,h=l==null?0:l.length,g=0,S=[];++d<h;){var x=l[d];x&&(S[g++]=x)}return S}function Lk(){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 gs(rt(h)?yi(h):[h],ko(d,1))}var Ek=ft(function(l,d){return mo(l)?ed(l,ko(d,1,mo,!0)):[]}),vk=ft(function(l,d){var h=ln(d);return mo(h)&&(h=o),mo(l)?ed(l,ko(d,1,mo,!0),qe(h,2)):[]}),Nk=ft(function(l,d){var h=ln(d);return mo(h)&&(h=o),mo(l)?ed(l,ko(d,1,mo,!0),o,h):[]});function Pk(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 _k(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 Ak(l,d){return l&&l.length?vm(l,qe(d,3),!0,!0):[]}function Ik(l,d){return l&&l.length?vm(l,qe(d,3),!0):[]}function wk(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),Lw(l,d,h,g)):[]}function tV(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)),um(l,qe(d,3),S)}function oV(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)),um(l,qe(d,3),S,!0)}function iV(l){var d=l==null?0:l.length;return d?ko(l,1):[]}function kk(l){var d=l==null?0:l.length;return d?ko(l,Re):[]}function Wk(l,d){var h=l==null?0:l.length;return h?(d=d===o?1:at(d),ko(l,d)):[]}function Ok(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 nV(l){return l&&l.length?l[0]:o}function Mk(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)),Bl(l,d,S)}function Hk(l){var d=l==null?0:l.length;return d?an(l,0,-1):[]}var $k=ft(function(l){var d=Qt(l,GC);return d.length&&d[0]===l[0]?wC(d):[]}),zk=ft(function(l){var d=ln(l),h=Qt(l,GC);return d===ln(h)?d=o:h.pop(),h.length&&h[0]===l[0]?wC(h,qe(d,2)):[]}),Uk=ft(function(l){var d=ln(l),h=Qt(l,GC);return d=typeof d=="function"?d:o,d&&h.pop(),h.length&&h[0]===l[0]?wC(h,o,d):[]});function jk(l,d){return l==null?"":HI.call(l,d)}function ln(l){var d=l==null?0:l.length;return d?l[d-1]:o}function Gk(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?DI(l,d,S):um(l,WS,S,!0)}function Kk(l,d){return l&&l.length?pB(l,at(d)):o}var qk=ft(rV);function rV(l,d){return l&&l.length&&d&&d.length?MC(l,d):l}function Yk(l,d,h){return l&&l.length&&d&&d.length?MC(l,d,qe(h,2)):l}function Jk(l,d,h){return l&&l.length&&d&&d.length?MC(l,d,o,h):l}var Zk=Er(function(l,d){var h=l==null?0:l.length,g=PC(l,d);return FB(l,Qt(d,function(S){return vr(S,h)?+S:S}).sort(LB)),g});function Xk(l,d){var h=[];if(!(l&&l.length))return h;var g=-1,S=[],x=l.length;for(d=qe(d,3);++g<x;){var A=l[g];d(A,g,l)&&(h.push(A),S.push(g))}return FB(l,S),h}function sg(l){return l==null?l:jI.call(l)}function Qk(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 e2(l,d){return Em(l,d)}function t2(l,d,h){return zC(l,d,qe(h,2))}function o2(l,d){var h=l==null?0:l.length;if(h){var g=Em(l,d);if(g<h&&En(l[g],d))return g}return-1}function i2(l,d){return Em(l,d,!0)}function n2(l,d,h){return zC(l,d,qe(h,2),!0)}function r2(l,d){var h=l==null?0:l.length;if(h){var g=Em(l,d,!0)-1;if(En(l[g],d))return g}return-1}function s2(l){return l&&l.length?TB(l):[]}function a2(l,d){return l&&l.length?TB(l,qe(d,2)):[]}function l2(l){var d=l==null?0:l.length;return d?an(l,1,d):[]}function u2(l,d,h){return l&&l.length?(d=h||d===o?1:at(d),an(l,0,d<0?0:d)):[]}function d2(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 c2(l,d){return l&&l.length?vm(l,qe(d,3),!1,!0):[]}function m2(l,d){return l&&l.length?vm(l,qe(d,3)):[]}var f2=ft(function(l){return Ss(ko(l,1,mo,!0))}),h2=ft(function(l){var d=ln(l);return mo(d)&&(d=o),Ss(ko(l,1,mo,!0),qe(d,2))}),p2=ft(function(l){var d=ln(l);return d=typeof d=="function"?d:o,Ss(ko(l,1,mo,!0),o,d)});function C2(l){return l&&l.length?Ss(l):[]}function g2(l,d){return l&&l.length?Ss(l,qe(d,2)):[]}function F2(l,d){return d=typeof d=="function"?d:o,l&&l.length?Ss(l,o,d):[]}function ag(l){if(!(l&&l.length))return[];var d=0;return l=Cs(l,function(h){if(mo(h))return d=So(h.length,d),!0}),RC(d,function(h){return Qt(l,SC(h))})}function sV(l,d){if(!(l&&l.length))return[];var h=ag(l);return d==null?h:Qt(h,function(g){return Ni(d,o,g)})}var y2=ft(function(l,d){return mo(l)?ed(l,d):[]}),T2=ft(function(l){return jC(Cs(l,mo))}),S2=ft(function(l){var d=ln(l);return mo(d)&&(d=o),jC(Cs(l,mo),qe(d,2))}),B2=ft(function(l){var d=ln(l);return d=typeof d=="function"?d:o,jC(Cs(l,mo),o,d)}),V2=ft(ag);function R2(l,d){return RB(l||[],d||[],Qu)}function D2(l,d){return RB(l||[],d||[],id)}var b2=ft(function(l){var d=l.length,h=d>1?l[d-1]:o;return h=typeof h=="function"?(l.pop(),h):o,sV(l,h)});function aV(l){var d=b(l);return d.__chain__=!0,d}function x2(l,d){return d(l),l}function Om(l,d){return d(l)}var L2=Er(function(l){var d=l.length,h=d?l[0]:0,g=this.__wrapped__,S=function(x){return PC(x,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:Om,args:[S],thisArg:o}),new rn(g,this.__chain__).thru(function(x){return d&&!x.length&&x.push(o),x}))});function E2(){return aV(this)}function v2(){return new rn(this.value(),this.__chain__)}function N2(){this.__values__===o&&(this.__values__=SV(this.value()));var l=this.__index__>=this.__values__.length,d=l?o:this.__values__[this.__index__++];return{done:l,value:d}}function P2(){return this}function _2(l){for(var d,h=this;h instanceof Rm;){var g=eV(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 A2(){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:Om,args:[sg],thisArg:o}),new rn(d,this.__chain__)}return this.thru(sg)}function I2(){return VB(this.__wrapped__,this.__actions__)}var w2=Nm(function(l,d,h){At.call(l,h)?++l[h]:xr(l,h,1)});function k2(l,d,h){var g=rt(l)?wS:xw;return h&&ni(l,d,h)&&(d=o),g(l,qe(d,3))}function W2(l,d){var h=rt(l)?Cs:sB;return h(l,qe(d,3))}var O2=AB(tV),M2=AB(oV);function H2(l,d){return ko(Mm(l,d),1)}function $2(l,d){return ko(Mm(l,d),Re)}function z2(l,d,h){return h=h===o?1:at(h),ko(Mm(l,d),h)}function lV(l,d){var h=rt(l)?on:Ts;return h(l,qe(d,3))}function uV(l,d){var h=rt(l)?lI:rB;return h(l,qe(d,3))}var U2=Nm(function(l,d,h){At.call(l,h)?l[h].push(d):xr(l,h,[d])});function j2(l,d,h,g){l=Ti(l)?l:Al(l),h=h&&!g?at(h):0;var S=l.length;return h<0&&(h=So(S+h,0)),jm(l)?h<=S&&l.indexOf(d,h)>-1:!!S&&Bl(l,d,h)>-1}var G2=ft(function(l,d,h){var g=-1,S=typeof d=="function",x=Ti(l)?ee(l.length):[];return Ts(l,function(A){x[++g]=S?Ni(d,A,h):td(A,d,h)}),x}),K2=Nm(function(l,d,h){xr(l,h,d)});function Mm(l,d){var h=rt(l)?Qt:mB;return h(l,qe(d,3))}function q2(l,d,h,g){return l==null?[]:(rt(d)||(d=d==null?[]:[d]),h=g?o:h,rt(h)||(h=h==null?[]:[h]),CB(l,d,h))}var Y2=Nm(function(l,d,h){l[h?0:1].push(d)},function(){return[[],[]]});function J2(l,d,h){var g=rt(l)?yC:MS,S=arguments.length<3;return g(l,qe(d,4),h,S,Ts)}function Z2(l,d,h){var g=rt(l)?uI:MS,S=arguments.length<3;return g(l,qe(d,4),h,S,rB)}function X2(l,d){var h=rt(l)?Cs:sB;return h(l,zm(qe(d,3)))}function Q2(l){var d=rt(l)?tB:jw;return d(l)}function eW(l,d,h){(h?ni(l,d,h):d===o)?d=1:d=at(d);var g=rt(l)?Bw:Gw;return g(l,d)}function tW(l){var d=rt(l)?Vw:qw;return d(l)}function oW(l){if(l==null)return 0;if(Ti(l))return jm(l)?Rl(l):l.length;var d=Ko(l);return d==w||d==E?l.size:WC(l).length}function iW(l,d,h){var g=rt(l)?TC:Yw;return h&&ni(l,d,h)&&(d=o),g(l,qe(d,3))}var nW=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]]),CB(l,ko(d,1),[])}),Hm=WI||function(){return wo.Date.now()};function rW(l,d){if(typeof d!="function")throw new nn(s);return l=at(l),function(){if(--l<1)return d.apply(this,arguments)}}function dV(l,d,h){return d=h?o:d,d=l&&d==null?l.length:d,Lr(l,P,o,o,o,o,d)}function cV(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 lg=ft(function(l,d,h){var g=T;if(h.length){var S=Fs(h,Pl(lg));g|=N}return Lr(l,g,d,h,S)}),mV=ft(function(l,d,h){var g=T|B;if(h.length){var S=Fs(h,Pl(mV));g|=N}return Lr(d,g,l,h,S)});function fV(l,d,h){d=h?o:d;var g=Lr(l,D,o,o,o,o,o,d);return g.placeholder=fV.placeholder,g}function hV(l,d,h){d=h?o:d;var g=Lr(l,R,o,o,o,o,o,d);return g.placeholder=hV.placeholder,g}function pV(l,d,h){var g,S,x,A,M,K,le=0,ue=!1,me=!1,De=!0;if(typeof l!="function")throw new nn(s);d=un(d)||0,io(h)&&(ue=!!h.leading,me="maxWait"in h,x=me?So(un(h.maxWait)||0,d):x,De="trailing"in h?!!h.trailing:De);function ze(fo){var vn=g,_r=S;return g=S=o,le=fo,A=l.apply(_r,vn),A}function Ye(fo){return le=fo,M=sd(gt,d),ue?ze(fo):A}function ut(fo){var vn=fo-K,_r=fo-le,AV=d-vn;return me?Go(AV,x-_r):AV}function Je(fo){var vn=fo-K,_r=fo-le;return K===o||vn>=d||vn<0||me&&_r>=x}function gt(){var fo=Hm();if(Je(fo))return St(fo);M=sd(gt,ut(fo))}function St(fo){return M=o,De&&g?ze(fo):(g=S=o,A)}function Ii(){M!==o&&DB(M),le=0,g=K=S=M=o}function ri(){return M===o?A:St(Hm())}function wi(){var fo=Hm(),vn=Je(fo);if(g=arguments,S=this,K=fo,vn){if(M===o)return Ye(K);if(me)return DB(M),M=sd(gt,d),ze(K)}return M===o&&(M=sd(gt,d)),A}return wi.cancel=Ii,wi.flush=ri,wi}var sW=ft(function(l,d){return nB(l,1,d)}),aW=ft(function(l,d,h){return nB(l,un(d)||0,h)});function lW(l){return Lr(l,W)}function $m(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],x=h.cache;if(x.has(S))return x.get(S);var A=l.apply(this,g);return h.cache=x.set(S,A)||x,A};return h.cache=new($m.Cache||br),h}$m.Cache=br;function zm(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 uW(l){return cV(2,l)}var dW=Jw(function(l,d){d=d.length==1&&rt(d[0])?Qt(d[0],Pi(qe())):Qt(ko(d,1),Pi(qe()));var h=d.length;return ft(function(g){for(var S=-1,x=Go(g.length,h);++S<x;)g[S]=d[S].call(this,g[S]);return Ni(l,this,g)})}),ug=ft(function(l,d){var h=Fs(d,Pl(ug));return Lr(l,N,o,d,h)}),CV=ft(function(l,d){var h=Fs(d,Pl(CV));return Lr(l,_,o,d,h)}),cW=Er(function(l,d){return Lr(l,O,o,o,o,d)});function mW(l,d){if(typeof l!="function")throw new nn(s);return d=d===o?d:at(d),ft(l,d)}function fW(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=Vs(h,0,d);return g&&gs(S,g),Ni(l,this,S)})}function hW(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),pV(l,d,{leading:g,maxWait:d,trailing:S})}function pW(l){return dV(l,1)}function CW(l,d){return ug(KC(d),l)}function gW(){if(!arguments.length)return[];var l=arguments[0];return rt(l)?l:[l]}function FW(l){return sn(l,C)}function yW(l,d){return d=typeof d=="function"?d:o,sn(l,C,d)}function TW(l){return sn(l,f|C)}function SW(l,d){return d=typeof d=="function"?d:o,sn(l,f|C,d)}function BW(l,d){return d==null||iB(l,d,xo(d))}function En(l,d){return l===d||l!==l&&d!==d}var VW=Im(IC),RW=Im(function(l,d){return l>=d}),Ra=uB((function(){return arguments})())?uB:function(l){return so(l)&&At.call(l,"callee")&&!YS.call(l,"callee")},rt=ee.isArray,DW=vS?Pi(vS):_w;function Ti(l){return l!=null&&Um(l.length)&&!Nr(l)}function mo(l){return so(l)&&Ti(l)}function bW(l){return l===!0||l===!1||so(l)&&ii(l)==Oe}var Rs=MI||Tg,xW=NS?Pi(NS):Aw;function LW(l){return so(l)&&l.nodeType===1&&!ad(l)}function EW(l){if(l==null)return!0;if(Ti(l)&&(rt(l)||typeof l=="string"||typeof l.splice=="function"||Rs(l)||_l(l)||Ra(l)))return!l.length;var d=Ko(l);if(d==w||d==E)return!l.size;if(rd(l))return!WC(l).length;for(var h in l)if(At.call(l,h))return!1;return!0}function vW(l,d){return od(l,d)}function NW(l,d,h){h=typeof h=="function"?h:o;var g=h?h(l,d):o;return g===o?od(l,d,o,h):!!g}function dg(l){if(!so(l))return!1;var d=ii(l);return d==to||d==Gt||typeof l.message=="string"&&typeof l.name=="string"&&!ad(l)}function PW(l){return typeof l=="number"&&ZS(l)}function Nr(l){if(!io(l))return!1;var d=ii(l);return d==I||d==$||d==We||d==Se}function gV(l){return typeof l=="number"&&l==at(l)}function Um(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 so(l){return l!=null&&typeof l=="object"}var FV=PS?Pi(PS):ww;function _W(l,d){return l===d||kC(l,d,eg(d))}function AW(l,d,h){return h=typeof h=="function"?h:o,kC(l,d,eg(d),h)}function IW(l){return yV(l)&&l!=+l}function wW(l){if(yk(l))throw new it(r);return dB(l)}function kW(l){return l===null}function WW(l){return l==null}function yV(l){return typeof l=="number"||so(l)&&ii(l)==Q}function ad(l){if(!so(l)||ii(l)!=re)return!1;var d=gm(l);if(d===null)return!0;var h=At.call(d,"constructor")&&d.constructor;return typeof h=="function"&&h instanceof h&&fm.call(h)==AI}var cg=_S?Pi(_S):kw;function OW(l){return gV(l)&&l>=-Ie&&l<=Ie}var TV=AS?Pi(AS):Ww;function jm(l){return typeof l=="string"||!rt(l)&&so(l)&&ii(l)==Y}function Ai(l){return typeof l=="symbol"||so(l)&&ii(l)==oe}var _l=IS?Pi(IS):Ow;function MW(l){return l===o}function HW(l){return so(l)&&Ko(l)==ce}function $W(l){return so(l)&&ii(l)==q}var zW=Im(OC),UW=Im(function(l,d){return l<=d});function SV(l){if(!l)return[];if(Ti(l))return jm(l)?xn(l):yi(l);if(qu&&l[qu])return BI(l[qu]());var d=Ko(l),h=d==w?bC:d==E?dm:Al;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 BV(l){return l?Ta(at(l),0,ve):0}function un(l){if(typeof l=="number")return l;if(Ai(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=HS(l);var h=nm.test(l);return h||je.test(l)?rI(l.slice(2),h?2:8):im.test(l)?ke:+l}function VV(l){return Zn(l,Si(l))}function jW(l){return l?Ta(at(l),-Ie,Ie):l===0?l:0}function Pt(l){return l==null?"":_i(l)}var GW=vl(function(l,d){if(rd(d)||Ti(d)){Zn(d,xo(d),l);return}for(var h in d)At.call(d,h)&&Qu(l,h,d[h])}),RV=vl(function(l,d){Zn(d,Si(d),l)}),Gm=vl(function(l,d,h,g){Zn(d,Si(d),l,g)}),KW=vl(function(l,d,h,g){Zn(d,xo(d),l,g)}),qW=Er(PC);function YW(l,d){var h=El(l);return d==null?h:oB(h,d)}var JW=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 x=d[h],A=Si(x),M=-1,K=A.length;++M<K;){var le=A[M],ue=l[le];(ue===o||En(ue,bl[le])&&!At.call(l,le))&&(l[le]=x[le])}return l}),ZW=ft(function(l){return l.push(o,HB),Ni(DV,o,l)});function XW(l,d){return kS(l,qe(d,3),Jn)}function QW(l,d){return kS(l,qe(d,3),AC)}function eO(l,d){return l==null?l:_C(l,qe(d,3),Si)}function tO(l,d){return l==null?l:aB(l,qe(d,3),Si)}function oO(l,d){return l&&Jn(l,qe(d,3))}function iO(l,d){return l&&AC(l,qe(d,3))}function nO(l){return l==null?[]:xm(l,xo(l))}function rO(l){return l==null?[]:xm(l,Si(l))}function mg(l,d,h){var g=l==null?o:Sa(l,d);return g===o?h:g}function sO(l,d){return l!=null&&UB(l,d,Ew)}function fg(l,d){return l!=null&&UB(l,d,vw)}var aO=wB(function(l,d,h){d!=null&&typeof d.toString!="function"&&(d=hm.call(d)),l[d]=h},pg(Bi)),lO=wB(function(l,d,h){d!=null&&typeof d.toString!="function"&&(d=hm.call(d)),At.call(l,d)?l[d].push(h):l[d]=[h]},qe),uO=ft(td);function xo(l){return Ti(l)?eB(l):WC(l)}function Si(l){return Ti(l)?eB(l,!0):Mw(l)}function dO(l,d){var h={};return d=qe(d,3),Jn(l,function(g,S,x){xr(h,d(g,S,x),g)}),h}function cO(l,d){var h={};return d=qe(d,3),Jn(l,function(g,S,x){xr(h,S,d(g,S,x))}),h}var mO=vl(function(l,d,h){Lm(l,d,h)}),DV=vl(function(l,d,h,g){Lm(l,d,h,g)}),fO=Er(function(l,d){var h={};if(l==null)return h;var g=!1;d=Qt(d,function(x){return x=Bs(x,l),g||(g=x.length>1),x}),Zn(l,XC(l),h),g&&(h=sn(h,f|p|C,ak));for(var S=d.length;S--;)UC(h,d[S]);return h});function hO(l,d){return bV(l,zm(qe(d)))}var pO=Er(function(l,d){return l==null?{}:$w(l,d)});function bV(l,d){if(l==null)return{};var h=Qt(XC(l),function(g){return[g]});return d=qe(d),gB(l,h,function(g,S){return d(g,S[0])})}function CO(l,d,h){d=Bs(d,l);var g=-1,S=d.length;for(S||(S=1,l=o);++g<S;){var x=l==null?o:l[Xn(d[g])];x===o&&(g=S,x=h),l=Nr(x)?x.call(l):x}return l}function gO(l,d,h){return l==null?l:id(l,d,h)}function FO(l,d,h,g){return g=typeof g=="function"?g:o,l==null?l:id(l,d,h,g)}var xV=OB(xo),LV=OB(Si);function yO(l,d,h){var g=rt(l),S=g||Rs(l)||_l(l);if(d=qe(d,4),h==null){var x=l&&l.constructor;S?h=g?new x:[]:io(l)?h=Nr(x)?El(gm(l)):{}:h={}}return(S?on:Jn)(l,function(A,M,K){return d(h,A,M,K)}),h}function TO(l,d){return l==null?!0:UC(l,d)}function SO(l,d,h){return l==null?l:BB(l,d,KC(h))}function BO(l,d,h,g){return g=typeof g=="function"?g:o,l==null?l:BB(l,d,KC(h),g)}function Al(l){return l==null?[]:DC(l,xo(l))}function VO(l){return l==null?[]:DC(l,Si(l))}function RO(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),Ta(un(l),d,h)}function DO(l,d,h){return d=Pr(d),h===o?(h=d,d=0):h=Pr(h),l=un(l),Nw(l,d,h)}function bO(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=XS();return Go(l+S*(d-l+nI("1e-"+((S+"").length-1))),d)}return HC(l,d)}var xO=Nl(function(l,d,h){return d=d.toLowerCase(),l+(h?EV(d):d)});function EV(l){return hg(Pt(l).toLowerCase())}function vV(l){return l=Pt(l),l&&l.replace(ye,gI).replace(qA,"")}function LO(l,d,h){l=Pt(l),d=_i(d);var g=l.length;h=h===o?g:Ta(at(h),0,g);var S=h;return h-=d.length,h>=0&&l.slice(h,S)==d}function EO(l){return l=Pt(l),l&&aC.test(l)?l.replace(Jc,FI):l}function vO(l){return l=Pt(l),l&&Xc.test(l)?l.replace(yl,"\\$&"):l}var NO=Nl(function(l,d,h){return l+(h?"-":"")+d.toLowerCase()}),PO=Nl(function(l,d,h){return l+(h?" ":"")+d.toLowerCase()}),_O=_B("toLowerCase");function AO(l,d,h){l=Pt(l),d=at(d);var g=d?Rl(l):0;if(!d||g>=d)return l;var S=(d-g)/2;return Am(Sm(S),h)+l+Am(Tm(S),h)}function IO(l,d,h){l=Pt(l),d=at(d);var g=d?Rl(l):0;return d&&g<d?l+Am(d-g,h):l}function wO(l,d,h){l=Pt(l),d=at(d);var g=d?Rl(l):0;return d&&g<d?Am(d-g,h)+l:l}function kO(l,d,h){return h||d==null?d=0:d&&(d=+d),UI(Pt(l).replace(Uu,""),d||0)}function WO(l,d,h){return(h?ni(l,d,h):d===o)?d=1:d=at(d),$C(Pt(l),d)}function OO(){var l=arguments,d=Pt(l[0]);return l.length<3?d:d.replace(l[1],l[2])}var MO=Nl(function(l,d,h){return l+(h?"_":"")+d.toLowerCase()});function HO(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&&!cg(d))&&(d=_i(d),!d&&Vl(l))?Vs(xn(l),0,h):l.split(d,h)):[]}var $O=Nl(function(l,d,h){return l+(h?" ":"")+hg(d)});function zO(l,d,h){return l=Pt(l),h=h==null?0:Ta(at(h),0,l.length),d=_i(d),l.slice(h,h+d.length)==d}function UO(l,d,h){var g=b.templateSettings;h&&ni(l,d,h)&&(d=o),l=Pt(l),d=Gm({},d,g,MB);var S=Gm({},d.imports,g.imports,MB),x=xo(S),A=DC(S,x),M,K,le=0,ue=d.interpolate||we,me="__p += '",De=xC((d.escape||we).source+"|"+ue.source+"|"+(ue===Br?om:we).source+"|"+(d.evaluate||we).source+"|$","g"),ze="//# sourceURL="+(At.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++QA+"]")+`
75
- `;l.replace(De,function(Je,gt,St,Ii,ri,wi){return St||(St=Ii),me+=l.slice(le,wi).replace(Ht,yI),gt&&(M=!0,me+=`' +
76
- __e(`+gt+`) +
77
- '`),ri&&(K=!0,me+=`';
78
- `+ri+`;
79
- __p += '`),St&&(me+=`' +
80
- ((__t = (`+St+`)) == null ? '' : __t) +
81
- '`),le=wi+Je.length,Je}),me+=`';
82
- `;var Ye=At.call(d,"variable")&&d.variable;if(!Ye)me=`with (obj) {
83
- `+me+`
84
- }
85
- `;else if(tm.test(Ye))throw new it(a);me=(K?me.replace(ps,""):me).replace(sC,"$1").replace(Fl,"$1;"),me="function("+(Ye||"obj")+`) {
86
- `+(Ye?"":`obj || (obj = {});
87
- `)+"var __t, __p = ''"+(M?", __e = _.escape":"")+(K?`, __j = Array.prototype.join;
88
- function print() { __p += __j.call(arguments, '') }
89
- `:`;
90
- `)+me+`return __p
91
- }`;var ut=PV(function(){return vt(x,ze+"return "+me).apply(o,A)});if(ut.source=me,dg(ut))throw ut;return ut}function jO(l){return Pt(l).toLowerCase()}function GO(l){return Pt(l).toUpperCase()}function KO(l,d,h){if(l=Pt(l),l&&(h||d===o))return HS(l);if(!l||!(d=_i(d)))return l;var g=xn(l),S=xn(d),x=$S(g,S),A=zS(g,S)+1;return Vs(g,x,A).join("")}function qO(l,d,h){if(l=Pt(l),l&&(h||d===o))return l.slice(0,jS(l)+1);if(!l||!(d=_i(d)))return l;var g=xn(l),S=zS(g,xn(d))+1;return Vs(g,0,S).join("")}function YO(l,d,h){if(l=Pt(l),l&&(h||d===o))return l.replace(Uu,"");if(!l||!(d=_i(d)))return l;var g=xn(l),S=$S(g,xn(d));return Vs(g,S).join("")}function JO(l,d){var h=ne,g=U;if(io(d)){var S="separator"in d?d.separator:S;h="length"in d?at(d.length):h,g="omission"in d?_i(d.omission):g}l=Pt(l);var x=l.length;if(Vl(l)){var A=xn(l);x=A.length}if(h>=x)return l;var M=h-Rl(g);if(M<1)return g;var K=A?Vs(A,0,M).join(""):l.slice(0,M);if(S===o)return K+g;if(A&&(M+=K.length-M),cg(S)){if(l.slice(M).search(S)){var le,ue=K;for(S.global||(S=xC(S.source,Pt(Gu.exec(S))+"g")),S.lastIndex=0;le=S.exec(ue);)var me=le.index;K=K.slice(0,me===o?M:me)}}else if(l.indexOf(_i(S),M)!=M){var De=K.lastIndexOf(S);De>-1&&(K=K.slice(0,De))}return K+g}function ZO(l){return l=Pt(l),l&&pa.test(l)?l.replace(ha,bI):l}var XO=Nl(function(l,d,h){return l+(h?" ":"")+d.toUpperCase()}),hg=_B("toUpperCase");function NV(l,d,h){return l=Pt(l),d=h?o:d,d===o?SI(l)?EI(l):mI(l):l.match(d)||[]}var PV=ft(function(l,d){try{return Ni(l,o,d)}catch(h){return dg(h)?h:new it(h)}}),QO=Er(function(l,d){return on(d,function(h){h=Xn(h),xr(l,h,lg(l[h],l))}),l});function eM(l){var d=l==null?0:l.length,h=qe();return l=d?Qt(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 x=l[S];if(Ni(x[0],this,g))return Ni(x[1],this,g)}})}function tM(l){return bw(sn(l,f))}function pg(l){return function(){return l}}function oM(l,d){return l==null||l!==l?d:l}var iM=IB(),nM=IB(!0);function Bi(l){return l}function Cg(l){return cB(typeof l=="function"?l:sn(l,f))}function rM(l){return fB(sn(l,f))}function sM(l,d){return hB(l,sn(d,f))}var aM=ft(function(l,d){return function(h){return td(h,l,d)}}),lM=ft(function(l,d){return function(h){return td(l,h,d)}});function gg(l,d,h){var g=xo(d),S=xm(d,g);h==null&&!(io(d)&&(S.length||!g.length))&&(h=d,d=l,l=this,S=xm(d,xo(d)));var x=!(io(h)&&"chain"in h)||!!h.chain,A=Nr(l);return on(S,function(M){var K=d[M];l[M]=K,A&&(l.prototype[M]=function(){var le=this.__chain__;if(x||le){var ue=l(this.__wrapped__),me=ue.__actions__=yi(this.__actions__);return me.push({func:K,args:arguments,thisArg:l}),ue.__chain__=le,ue}return K.apply(l,gs([this.value()],arguments))})}),l}function uM(){return wo._===this&&(wo._=II),this}function Fg(){}function dM(l){return l=at(l),ft(function(d){return pB(d,l)})}var cM=YC(Qt),mM=YC(wS),fM=YC(TC);function _V(l){return og(l)?SC(Xn(l)):zw(l)}function hM(l){return function(d){return l==null?o:Sa(l,d)}}var pM=kB(),CM=kB(!0);function yg(){return[]}function Tg(){return!1}function gM(){return{}}function FM(){return""}function yM(){return!0}function TM(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=RC(g,d);++h<l;)d(h);return S}function SM(l){return rt(l)?Qt(l,Xn):Ai(l)?[l]:yi(QB(Pt(l)))}function BM(l){var d=++_I;return Pt(l)+d}var VM=_m(function(l,d){return l+d},0),RM=JC("ceil"),DM=_m(function(l,d){return l/d},1),bM=JC("floor");function xM(l){return l&&l.length?bm(l,Bi,IC):o}function LM(l,d){return l&&l.length?bm(l,qe(d,2),IC):o}function EM(l){return OS(l,Bi)}function vM(l,d){return OS(l,qe(d,2))}function NM(l){return l&&l.length?bm(l,Bi,OC):o}function PM(l,d){return l&&l.length?bm(l,qe(d,2),OC):o}var _M=_m(function(l,d){return l*d},1),AM=JC("round"),IM=_m(function(l,d){return l-d},0);function wM(l){return l&&l.length?VC(l,Bi):0}function kM(l,d){return l&&l.length?VC(l,qe(d,2)):0}return b.after=rW,b.ary=dV,b.assign=GW,b.assignIn=RV,b.assignInWith=Gm,b.assignWith=KW,b.at=qW,b.before=cV,b.bind=lg,b.bindAll=QO,b.bindKey=mV,b.castArray=gW,b.chain=aV,b.chunk=bk,b.compact=xk,b.concat=Lk,b.cond=eM,b.conforms=tM,b.constant=pg,b.countBy=w2,b.create=YW,b.curry=fV,b.curryRight=hV,b.debounce=pV,b.defaults=JW,b.defaultsDeep=ZW,b.defer=sW,b.delay=aW,b.difference=Ek,b.differenceBy=vk,b.differenceWith=Nk,b.drop=Pk,b.dropRight=_k,b.dropRightWhile=Ak,b.dropWhile=Ik,b.fill=wk,b.filter=W2,b.flatMap=H2,b.flatMapDeep=$2,b.flatMapDepth=z2,b.flatten=iV,b.flattenDeep=kk,b.flattenDepth=Wk,b.flip=lW,b.flow=iM,b.flowRight=nM,b.fromPairs=Ok,b.functions=nO,b.functionsIn=rO,b.groupBy=U2,b.initial=Hk,b.intersection=$k,b.intersectionBy=zk,b.intersectionWith=Uk,b.invert=aO,b.invertBy=lO,b.invokeMap=G2,b.iteratee=Cg,b.keyBy=K2,b.keys=xo,b.keysIn=Si,b.map=Mm,b.mapKeys=dO,b.mapValues=cO,b.matches=rM,b.matchesProperty=sM,b.memoize=$m,b.merge=mO,b.mergeWith=DV,b.method=aM,b.methodOf=lM,b.mixin=gg,b.negate=zm,b.nthArg=dM,b.omit=fO,b.omitBy=hO,b.once=uW,b.orderBy=q2,b.over=cM,b.overArgs=dW,b.overEvery=mM,b.overSome=fM,b.partial=ug,b.partialRight=CV,b.partition=Y2,b.pick=pO,b.pickBy=bV,b.property=_V,b.propertyOf=hM,b.pull=qk,b.pullAll=rV,b.pullAllBy=Yk,b.pullAllWith=Jk,b.pullAt=Zk,b.range=pM,b.rangeRight=CM,b.rearg=cW,b.reject=X2,b.remove=Xk,b.rest=mW,b.reverse=sg,b.sampleSize=eW,b.set=gO,b.setWith=FO,b.shuffle=tW,b.slice=Qk,b.sortBy=nW,b.sortedUniq=s2,b.sortedUniqBy=a2,b.split=HO,b.spread=fW,b.tail=l2,b.take=u2,b.takeRight=d2,b.takeRightWhile=c2,b.takeWhile=m2,b.tap=x2,b.throttle=hW,b.thru=Om,b.toArray=SV,b.toPairs=xV,b.toPairsIn=LV,b.toPath=SM,b.toPlainObject=VV,b.transform=yO,b.unary=pW,b.union=f2,b.unionBy=h2,b.unionWith=p2,b.uniq=C2,b.uniqBy=g2,b.uniqWith=F2,b.unset=TO,b.unzip=ag,b.unzipWith=sV,b.update=SO,b.updateWith=BO,b.values=Al,b.valuesIn=VO,b.without=y2,b.words=NV,b.wrap=CW,b.xor=T2,b.xorBy=S2,b.xorWith=B2,b.zip=V2,b.zipObject=R2,b.zipObjectDeep=D2,b.zipWith=b2,b.entries=xV,b.entriesIn=LV,b.extend=RV,b.extendWith=Gm,gg(b,b),b.add=VM,b.attempt=PV,b.camelCase=xO,b.capitalize=EV,b.ceil=RM,b.clamp=RO,b.clone=FW,b.cloneDeep=TW,b.cloneDeepWith=SW,b.cloneWith=yW,b.conformsTo=BW,b.deburr=vV,b.defaultTo=oM,b.divide=DM,b.endsWith=LO,b.eq=En,b.escape=EO,b.escapeRegExp=vO,b.every=k2,b.find=O2,b.findIndex=tV,b.findKey=XW,b.findLast=M2,b.findLastIndex=oV,b.findLastKey=QW,b.floor=bM,b.forEach=lV,b.forEachRight=uV,b.forIn=eO,b.forInRight=tO,b.forOwn=oO,b.forOwnRight=iO,b.get=mg,b.gt=VW,b.gte=RW,b.has=sO,b.hasIn=fg,b.head=nV,b.identity=Bi,b.includes=j2,b.indexOf=Mk,b.inRange=DO,b.invoke=uO,b.isArguments=Ra,b.isArray=rt,b.isArrayBuffer=DW,b.isArrayLike=Ti,b.isArrayLikeObject=mo,b.isBoolean=bW,b.isBuffer=Rs,b.isDate=xW,b.isElement=LW,b.isEmpty=EW,b.isEqual=vW,b.isEqualWith=NW,b.isError=dg,b.isFinite=PW,b.isFunction=Nr,b.isInteger=gV,b.isLength=Um,b.isMap=FV,b.isMatch=_W,b.isMatchWith=AW,b.isNaN=IW,b.isNative=wW,b.isNil=WW,b.isNull=kW,b.isNumber=yV,b.isObject=io,b.isObjectLike=so,b.isPlainObject=ad,b.isRegExp=cg,b.isSafeInteger=OW,b.isSet=TV,b.isString=jm,b.isSymbol=Ai,b.isTypedArray=_l,b.isUndefined=MW,b.isWeakMap=HW,b.isWeakSet=$W,b.join=jk,b.kebabCase=NO,b.last=ln,b.lastIndexOf=Gk,b.lowerCase=PO,b.lowerFirst=_O,b.lt=zW,b.lte=UW,b.max=xM,b.maxBy=LM,b.mean=EM,b.meanBy=vM,b.min=NM,b.minBy=PM,b.stubArray=yg,b.stubFalse=Tg,b.stubObject=gM,b.stubString=FM,b.stubTrue=yM,b.multiply=_M,b.nth=Kk,b.noConflict=uM,b.noop=Fg,b.now=Hm,b.pad=AO,b.padEnd=IO,b.padStart=wO,b.parseInt=kO,b.random=bO,b.reduce=J2,b.reduceRight=Z2,b.repeat=WO,b.replace=OO,b.result=CO,b.round=AM,b.runInContext=G,b.sample=Q2,b.size=oW,b.snakeCase=MO,b.some=iW,b.sortedIndex=e2,b.sortedIndexBy=t2,b.sortedIndexOf=o2,b.sortedLastIndex=i2,b.sortedLastIndexBy=n2,b.sortedLastIndexOf=r2,b.startCase=$O,b.startsWith=zO,b.subtract=IM,b.sum=wM,b.sumBy=kM,b.template=UO,b.times=TM,b.toFinite=Pr,b.toInteger=at,b.toLength=BV,b.toLower=jO,b.toNumber=un,b.toSafeInteger=jW,b.toString=Pt,b.toUpper=GO,b.trim=KO,b.trimEnd=qO,b.trimStart=YO,b.truncate=JO,b.unescape=ZO,b.uniqueId=BM,b.upperCase=XO,b.upperFirst=hg,b.each=lV,b.eachRight=uV,b.first=nV,gg(b,(function(){var l={};return Jn(b,function(d,h){At.call(b.prototype,h)||(l[h]=d)}),l})(),{chain:!1}),b.VERSION=i,on(["bind","bindKey","curry","curryRight","partial","partialRight"],function(l){b[l].placeholder=b}),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 x=this.clone();return x.__iteratees__.push({iteratee:qe(S,3),type:h}),x.__filtered__=x.__filtered__||g,x}}),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(Bi)},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 td(h,l,d)})}),yt.prototype.reject=function(l){return this.filter(zm(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=b[g?"take"+(d=="last"?"Right":""):d],x=g||/^find/.test(d);S&&(b.prototype[d]=function(){var A=this.__wrapped__,M=g?[1]:arguments,K=A instanceof yt,le=M[0],ue=K||rt(A),me=function(gt){var St=S.apply(b,gs([gt],M));return g&&De?St[0]:St};ue&&h&&typeof le=="function"&&le.length!=1&&(K=ue=!1);var De=this.__chain__,ze=!!this.__actions__.length,Ye=x&&!De,ut=K&&!ze;if(!x&&ue){A=ut?A:new yt(this);var Je=l.apply(A,M);return Je.__actions__.push({func:Om,args:[me],thisArg:o}),new rn(Je,De)}return Ye&&ut?l.apply(this,M):(Je=this.thru(me),Ye?g?Je.value()[0]:Je.value():Je)})}),on(["pop","push","shift","sort","splice","unshift"],function(l){var d=cm[l],h=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",g=/^(?:pop|shift)$/.test(l);b.prototype[l]=function(){var S=arguments;if(g&&!this.__chain__){var x=this.value();return d.apply(rt(x)?x:[],S)}return this[h](function(A){return d.apply(rt(A)?A:[],S)})}}),Jn(yt.prototype,function(l,d){var h=b[d];if(h){var g=h.name+"";At.call(Ll,g)||(Ll[g]=[]),Ll[g].push({name:d,func:h})}}),Ll[Pm(o,B).name]=[{name:"wrapper",func:o}],yt.prototype.clone=ZI,yt.prototype.reverse=XI,yt.prototype.value=QI,b.prototype.at=L2,b.prototype.chain=E2,b.prototype.commit=v2,b.prototype.next=N2,b.prototype.plant=_2,b.prototype.reverse=A2,b.prototype.toJSON=b.prototype.valueOf=b.prototype.value=I2,b.prototype.first=b.prototype.head,qu&&(b.prototype[qu]=P2),b}),Dl=vI();Ca?((Ca.exports=Dl)._=Dl,CC._=Dl):wo._=Dl}).call(RG)})(Rd,Rd.exports)),Rd.exports}var Ur=DG();const bG=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=bt({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)=>(k(!0),J(Ge,null,Jt(n.ifResult?o.element.True:o.element.False,(a,u)=>(k(),Pe(kn,{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))}}),$c=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"}),xG=Io,LG=t=>xG(t.width).Match({Auto:()=>"initial",Pixel:e=>e.Value+"px",Percentage:e=>e.Value+"%"}),EG=["align"],vG=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)=>(k(),J("table",{class:"heightContainerRender",style:fe([{"border-spacing":"0","border-collapse":"separate"},{width:j(LG)({width:o.element.Width})}])},[V("tbody",null,[V("tr",null,[V("td",{align:j(Zr)({containerAlign:o.element.ContainerAlign}),style:fe([j($c)({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(ls)({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})])},[(k(!0),J(Ge,null,Jt(o.element.Elements,(s,a)=>(k(),Pe(kn,{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,EG)])])],4))}}),NG=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()}}}),xu=t=>NG(t.contentAlign).Match({Left:()=>({display:"block",textAlign:"left"}),Center:()=>({display:"block",textAlign:"center"}),Right:()=>({display:"block",textAlign:"right"}),Inline:()=>({})});let t0;const fc={mounted(t,e){const o=e.value;t0=new ResizeObserver(i=>{i.forEach(n=>o(n.contentRect))}),t0.observe(t)},unmounted(t){t0.unobserve(t)}},PG=["href"],_G=["src","alt"],AG=["src","alt"],IG=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=bt({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?(k(),J("a",{key:0,href:r.href,style:fe([j(xu)({contentAlign:n.element.ContentAlign})]),onClick:f[0]||(f[0]=ci(()=>{},["prevent"]))},[r.isLoaded?ct((k(),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(ls)({border:n.element.Border,themeColors:n.theme.Colors}),{width:s.value,maxWidth:a.value},{verticalAlign:n.element.VerticalAlign}]),onLoad:o},null,46,_G)),[[j(fc),({width:p,height:C})=>i("onImageSizeAdjusted",{Path:n.path,AdjustedHeight:C,AdjustedWidth:p})]]):be("",!0)],12,PG)):(k(),J("span",{key:1,style:fe([j(xu)({contentAlign:n.element.ContentAlign})])},[r.isLoaded?ct((k(),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(ls)({border:n.element.Border,themeColors:n.theme.Colors}),{width:s.value,maxWidth:a.value},{verticalAlign:n.element.VerticalAlign}]),onLoad:o},null,46,AG)),[[j(fc),({width:p,height:C})=>i("onImageSizeAdjusted",{Path:n.path,AdjustedHeight:C,AdjustedWidth:p})]]):be("",!0)],4))}}),wG=Ne(IG,[["__scopeId","data-v-a9d47e92"]]),kG=Io,WG=t=>t.width===void 0?{}:kG(t.width).Match({Auto:()=>({width:"auto"}),Pixel:e=>({width:e.Value+"px"}),Percentage:e=>({width:e.Value+"%"})}),OG=t=>{switch(t){case"Auto":return{width:"auto"};case"FullWidth":return{width:"100%"};default:return Ei(t)}},MG=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)=>(k(),J("table",{class:"oneLineList",style:fe([{"border-spacing":"0","border-collapse":"collapse"},[j(OG)(o.element.ContainerWidth)]])},[V("tbody",null,[V("tr",null,[(k(!0),J(Ge,null,Jt(o.element.Elements,(s,a)=>(k(),J("td",{key:a,class:"oneLineListItem",style:fe([j($c)({paddings:o.element.ItemPaddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings}),j(WG)({width:o.element.ItemWidth}),{lineHeight:"normal"}])},[(k(),Pe(kn,{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))}}),HG={class:"Spacer",width:"100%",style:{"border-spacing":"0","border-collapse":"collapse",width:"100%"}},$G={style:{"border-spacing":"0","border-collapse":"collapse",width:"100%"}},zG=Me({__name:"Spacer",props:{theme:{},element:{}},setup(t){const e=t;return(o,i)=>(k(),J("table",HG,[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",$G,[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:SN,setPrototypeOf:Rb,isFrozen:UG,getPrototypeOf:jG,getOwnPropertyDescriptor:GG}=Object;let{freeze:hi,seal:Vn,create:LF}=Object,{apply:EF,construct:vF}=typeof Reflect<"u"&&Reflect;hi||(hi=function(e){return e});Vn||(Vn=function(e){return e});EF||(EF=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)});vF||(vF=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 ff=pi(Array.prototype.forEach),KG=pi(Array.prototype.lastIndexOf),Db=pi(Array.prototype.pop),hd=pi(Array.prototype.push),qG=pi(Array.prototype.splice),wf=pi(String.prototype.toLowerCase),o0=pi(String.prototype.toString),i0=pi(String.prototype.match),pd=pi(String.prototype.replace),YG=pi(String.prototype.indexOf),JG=pi(String.prototype.trim),_n=pi(Object.prototype.hasOwnProperty),si=pi(RegExp.prototype.test),Cd=ZG(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 EF(t,e,i)}}function ZG(t){return function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];return vF(t,o)}}function Ft(t,e){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:wf;Rb&&Rb(t,null);let i=e.length;for(;i--;){let n=e[i];if(typeof n=="string"){const r=o(n);r!==n&&(UG(e)||(e[i]=r),n=r)}t[n]=!0}return t}function XG(t){for(let e=0;e<t.length;e++)_n(t,e)||(t[e]=null);return t}function Hr(t){const e=LF(null);for(const[o,i]of SN(t))_n(t,o)&&(Array.isArray(i)?e[o]=XG(i):i&&typeof i=="object"&&i.constructor===Object?e[o]=Hr(i):e[o]=i);return e}function gd(t,e){for(;t!==null;){const i=GG(t,e);if(i){if(i.get)return pi(i.get);if(typeof i.value=="function")return pi(i.value)}t=jG(t)}function o(){return null}return o}const bb=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"]),n0=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"]),r0=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"]),QG=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"]),s0=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"]),eK=hi(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),xb=hi(["#text"]),Lb=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"]),a0=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"]),Eb=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"]),hf=hi(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),tK=Vn(/\{\{[\w\W]*|[\w\W]*\}\}/gm),oK=Vn(/<%[\w\W]*|[\w\W]*%>/gm),iK=Vn(/\$\{[\w\W]*/gm),nK=Vn(/^data-[\-\w.\u00B7-\uFFFF]+$/),rK=Vn(/^aria-[\-\w]+$/),BN=Vn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sK=Vn(/^(?:\w+script|data):/i),aK=Vn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),VN=Vn(/^html$/i),lK=Vn(/^[a-z][.\w]*(-[.\w]+)+$/i);var vb=Object.freeze({__proto__:null,ARIA_ATTR:rK,ATTR_WHITESPACE:aK,CUSTOM_ELEMENT:lK,DATA_ATTR:nK,DOCTYPE_NAME:VN,ERB_EXPR:oK,IS_ALLOWED_URI:BN,IS_SCRIPT_OR_DATA:sK,MUSTACHE_EXPR:tK,TMPLIT_EXPR:iK});const Fd={element:1,text:3,progressingInstruction:7,comment:8,document:9},uK=function(){return typeof window>"u"?null:window},dK=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}},Nb=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function RN(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:uK();const e=je=>RN(je);if(e.version="3.3.0",e.removed=[],!t||!t.document||t.document.nodeType!==Fd.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=gd(F,"cloneNode"),T=gd(F,"remove"),B=gd(F,"nextSibling"),v=gd(F,"childNodes"),D=gd(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:O,getElementsByTagName:W}=o,{importNode:ne}=i;let U=Nb();e.isSupported=typeof SN=="function"&&typeof D=="function"&&_&&_.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:H,ERB_EXPR:X,TMPLIT_EXPR:Ce,DATA_ATTR:pe,ARIA_ATTR:ie,IS_SCRIPT_OR_DATA:Re,ATTR_WHITESPACE:Ie,CUSTOM_ELEMENT:mt}=vb;let{IS_ALLOWED_URI:ke}=vb,ve=null;const lt=Ft({},[...bb,...n0,...r0,...s0,...xb]);let pt=null;const jt=Ft({},[...Lb,...a0,...Eb,...hf]);let $e=Object.seal(LF(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(LF(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let xt=!0,Gt=!0,to=!1,I=!0,$=!1,w=!0,Q=!1,ae=!1,re=!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 Xt=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,ps=null;const sC=Ft({},[Uo,Qi,wt],o0);let Fl=Ft({},["mi","mo","mn","ms","mtext"]),ha=Ft({},["annotation-xml"]);const Jc=Ft({},["title","style","font","a","script"]);let pa=null;const aC=["application/xhtml+xml","text/html"],lC="text/html";let Co=null,Br=null;const uC=o.createElement("form"),Zc=function(z){return z instanceof RegExp||z instanceof Function},zu=function(){let z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Br&&Br===z)){if((!z||typeof z!="object")&&(z={}),z=Hr(z),pa=aC.indexOf(z.PARSER_MEDIA_TYPE)===-1?lC:z.PARSER_MEDIA_TYPE,Co=pa==="application/xhtml+xml"?o0:wf,ve=_n(z,"ALLOWED_TAGS")?Ft({},z.ALLOWED_TAGS,Co):lt,pt=_n(z,"ALLOWED_ATTR")?Ft({},z.ALLOWED_ATTR,Co):jt,ps=_n(z,"ALLOWED_NAMESPACES")?Ft({},z.ALLOWED_NAMESPACES,o0):sC,oo=_n(z,"ADD_URI_SAFE_ATTR")?Ft(Hr(Xt),z.ADD_URI_SAFE_ATTR,Co):Xt,nt=_n(z,"ADD_DATA_URI_TAGS")?Ft(Hr(Nt),z.ADD_DATA_URI_TAGS,Co):Nt,te=_n(z,"FORBID_CONTENTS")?Ft({},z.FORBID_CONTENTS,Co):Ee,Qe=_n(z,"FORBID_TAGS")?Ft({},z.FORBID_TAGS,Co):Hr({}),We=_n(z,"FORBID_ATTR")?Ft({},z.FORBID_ATTR,Co):Hr({}),q=_n(z,"USE_PROFILES")?z.USE_PROFILES:!1,xt=z.ALLOW_ARIA_ATTR!==!1,Gt=z.ALLOW_DATA_ATTR!==!1,to=z.ALLOW_UNKNOWN_PROTOCOLS||!1,I=z.ALLOW_SELF_CLOSE_IN_ATTR!==!1,$=z.SAFE_FOR_TEMPLATES||!1,w=z.SAFE_FOR_XML!==!1,Q=z.WHOLE_DOCUMENT||!1,Te=z.RETURN_DOM||!1,Se=z.RETURN_DOM_FRAGMENT||!1,L=z.RETURN_TRUSTED_TYPE||!1,re=z.FORCE_BODY||!1,E=z.SANITIZE_DOM!==!1,Y=z.SANITIZE_NAMED_PROPS||!1,Be=z.KEEP_CONTENT!==!1,ce=z.IN_PLACE||!1,ke=z.ALLOWED_URI_REGEXP||BN,uo=z.NAMESPACE||wt,Fl=z.MATHML_TEXT_INTEGRATION_POINTS||Fl,ha=z.HTML_INTEGRATION_POINTS||ha,$e=z.CUSTOM_ELEMENT_HANDLING||{},z.CUSTOM_ELEMENT_HANDLING&&Zc(z.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&($e.tagNameCheck=z.CUSTOM_ELEMENT_HANDLING.tagNameCheck),z.CUSTOM_ELEMENT_HANDLING&&Zc(z.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&($e.attributeNameCheck=z.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),z.CUSTOM_ELEMENT_HANDLING&&typeof z.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&($e.allowCustomizedBuiltInElements=z.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),$&&(Gt=!1),Se&&(Te=!0),q&&(ve=Ft({},xb),pt=[],q.html===!0&&(Ft(ve,bb),Ft(pt,Lb)),q.svg===!0&&(Ft(ve,n0),Ft(pt,a0),Ft(pt,hf)),q.svgFilters===!0&&(Ft(ve,r0),Ft(pt,a0),Ft(pt,hf)),q.mathMl===!0&&(Ft(ve,s0),Ft(pt,Eb),Ft(pt,hf))),z.ADD_TAGS&&(typeof z.ADD_TAGS=="function"?Oe.tagCheck=z.ADD_TAGS:(ve===lt&&(ve=Hr(ve)),Ft(ve,z.ADD_TAGS,Co))),z.ADD_ATTR&&(typeof z.ADD_ATTR=="function"?Oe.attributeCheck=z.ADD_ATTR:(pt===jt&&(pt=Hr(pt)),Ft(pt,z.ADD_ATTR,Co))),z.ADD_URI_SAFE_ATTR&&Ft(oo,z.ADD_URI_SAFE_ATTR,Co),z.FORBID_CONTENTS&&(te===Ee&&(te=Hr(te)),Ft(te,z.FORBID_CONTENTS,Co)),Be&&(ve["#text"]=!0),Q&&Ft(ve,["html","head","body"]),ve.table&&(Ft(ve,["tbody"]),delete Qe.tbody),z.TRUSTED_TYPES_POLICY){if(typeof z.TRUSTED_TYPES_POLICY.createHTML!="function")throw Cd('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof z.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Cd('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');R=z.TRUSTED_TYPES_POLICY,N=R.createHTML("")}else R===void 0&&(R=dK(C,n)),R!==null&&typeof N=="string"&&(N=R.createHTML(""));hi&&hi(z),Br=z}},yl=Ft({},[...n0,...r0,...QG]),Xc=Ft({},[...s0,...eK]),Uu=function(z){let ye=D(z);(!ye||!ye.tagName)&&(ye={namespaceURI:uo,tagName:"template"});const we=wf(z.tagName),Ht=wf(ye.tagName);return ps[z.namespaceURI]?z.namespaceURI===Qi?ye.namespaceURI===wt?we==="svg":ye.namespaceURI===Uo?we==="svg"&&(Ht==="annotation-xml"||Fl[Ht]):!!yl[we]:z.namespaceURI===Uo?ye.namespaceURI===wt?we==="math":ye.namespaceURI===Qi?we==="math"&&ha[Ht]:!!Xc[we]:z.namespaceURI===wt?ye.namespaceURI===Qi&&!ha[Ht]||ye.namespaceURI===Uo&&!Fl[Ht]?!1:!Xc[we]&&(Jc[we]||!yl[we]):!!(pa==="application/xhtml+xml"&&ps[z.namespaceURI]):!1},en=function(z){hd(e.removed,{element:z});try{D(z).removeChild(z)}catch{T(z)}},Vr=function(z,ye){try{hd(e.removed,{attribute:ye.getAttributeNode(z),from:ye})}catch{hd(e.removed,{attribute:null,from:ye})}if(ye.removeAttribute(z),z==="is")if(Te||Se)try{en(ye)}catch{}else try{ye.setAttribute(z,"")}catch{}},Qc=function(z){let ye=null,we=null;if(re)z="<remove></remove>"+z;else{const ro=i0(z,/^[\r\n\t ]+/);we=ro&&ro[0]}pa==="application/xhtml+xml"&&uo===wt&&(z='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+z+"</body></html>");const Ht=R?R.createHTML(z):z;if(uo===wt)try{ye=new p().parseFromString(Ht,pa)}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 z&&we&&co.insertBefore(o.createTextNode(we),co.childNodes[0]||null),uo===wt?W.call(ye,Q?"html":"body")[0]:Q?ye.documentElement:co},em=function(z){return P.call(z.ownerDocument||z,z,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},ju=function(z){return z instanceof f&&(typeof z.nodeName!="string"||typeof z.textContent!="string"||typeof z.removeChild!="function"||!(z.attributes instanceof m)||typeof z.removeAttribute!="function"||typeof z.setAttribute!="function"||typeof z.namespaceURI!="string"||typeof z.insertBefore!="function"||typeof z.hasChildNodes!="function")},tm=function(z){return typeof a=="function"&&z instanceof a};function Dn(je,z,ye){ff(je,we=>{we.call(e,z,ye,Br)})}const om=function(z){let ye=null;if(Dn(U.beforeSanitizeElements,z,null),ju(z))return en(z),!0;const we=Co(z.nodeName);if(Dn(U.uponSanitizeElement,z,{tagName:we,allowedTags:ve}),w&&z.hasChildNodes()&&!tm(z.firstElementChild)&&si(/<[/\w!]/g,z.innerHTML)&&si(/<[/\w!]/g,z.textContent)||z.nodeType===Fd.progressingInstruction||w&&z.nodeType===Fd.comment&&si(/<[/\w]/g,z.data))return en(z),!0;if(!(Oe.tagCheck instanceof Function&&Oe.tagCheck(we))&&(!ve[we]||Qe[we])){if(!Qe[we]&&im(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(z)||z.parentNode,co=v(z)||z.childNodes;if(co&&Ht){const ro=co.length;for(let jo=ro-1;jo>=0;--jo){const bn=y(co[jo],!0);bn.__removalCount=(z.__removalCount||0)+1,Ht.insertBefore(bn,B(z))}}}return en(z),!0}return z instanceof u&&!Uu(z)||(we==="noscript"||we==="noembed"||we==="noframes")&&si(/<\/no(script|embed|frames)/i,z.innerHTML)?(en(z),!0):($&&z.nodeType===Fd.text&&(ye=z.textContent,ff([H,X,Ce],Ht=>{ye=pd(ye,Ht," ")}),z.textContent!==ye&&(hd(e.removed,{element:z.cloneNode()}),z.textContent=ye)),Dn(U.afterSanitizeElements,z,null),!1)},Gu=function(z,ye,we){if(E&&(ye==="id"||ye==="name")&&(we in o||we in uC))return!1;if(!(Gt&&!We[ye]&&si(pe,ye))){if(!(xt&&si(ie,ye))){if(!(Oe.attributeCheck instanceof Function&&Oe.attributeCheck(ye,z))){if(!pt[ye]||We[ye]){if(!(im(z)&&($e.tagNameCheck instanceof RegExp&&si($e.tagNameCheck,z)||$e.tagNameCheck instanceof Function&&$e.tagNameCheck(z))&&($e.attributeNameCheck instanceof RegExp&&si($e.attributeNameCheck,ye)||$e.attributeNameCheck instanceof Function&&$e.attributeNameCheck(ye,z))||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,pd(we,Ie,""))){if(!((ye==="src"||ye==="xlink:href"||ye==="href")&&z!=="script"&&YG(we,"data:")===0&&nt[z])){if(!(to&&!si(Re,pd(we,Ie,"")))){if(we)return!1}}}}}}}return!0},im=function(z){return z!=="annotation-xml"&&i0(z,mt)},nm=function(z){Dn(U.beforeSanitizeAttributes,z,null);const{attributes:ye}=z;if(!ye||ju(z))return;const we={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:pt,forceKeepAttr:void 0};let Ht=ye.length;for(;Ht--;){const co=ye[Ht],{name:ro,namespaceURI:jo,value:bn}=co,Rr=Co(ro),Tl=bn;let go=ro==="value"?Tl:JG(Tl);if(we.attrName=Rr,we.attrValue=go,we.keepAttr=!0,we.forceKeepAttr=void 0,Dn(U.uponSanitizeAttribute,z,we),go=we.attrValue,Y&&(Rr==="id"||Rr==="name")&&(Vr(ro,z),go=oe+go),w&&si(/((--!?|])>)|<\/(style|title|textarea)/i,go)){Vr(ro,z);continue}if(Rr==="attributename"&&i0(go,"href")){Vr(ro,z);continue}if(we.forceKeepAttr)continue;if(!we.keepAttr){Vr(ro,z);continue}if(!I&&si(/\/>/i,go)){Vr(ro,z);continue}$&&ff([H,X,Ce],sm=>{go=pd(go,sm," ")});const rm=Co(z.nodeName);if(!Gu(rm,Rr,go)){Vr(ro,z);continue}if(R&&typeof C=="object"&&typeof C.getAttributeType=="function"&&!jo)switch(C.getAttributeType(rm,Rr)){case"TrustedHTML":{go=R.createHTML(go);break}case"TrustedScriptURL":{go=R.createScriptURL(go);break}}if(go!==Tl)try{jo?z.setAttributeNS(jo,ro,go):z.setAttribute(ro,go),ju(z)?en(z):Db(e.removed)}catch{Vr(ro,z)}}Dn(U.afterSanitizeAttributes,z,null)},dC=function je(z){let ye=null;const we=em(z);for(Dn(U.beforeSanitizeShadowDOM,z,null);ye=we.nextNode();)Dn(U.uponSanitizeShadowNode,ye,null),om(ye),nm(ye),ye.content instanceof r&&je(ye.content);Dn(U.afterSanitizeShadowDOM,z,null)};return e.sanitize=function(je){let z=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"&&!tm(je))if(typeof je.toString=="function"){if(je=je.toString(),typeof je!="string")throw Cd("dirty is not a string, aborting")}else throw Cd("toString is not a function");if(!e.isSupported)return je;if(ae||zu(z),e.removed=[],typeof je=="string"&&(ce=!1),ce){if(je.nodeName){const bn=Co(je.nodeName);if(!ve[bn]||Qe[bn])throw Cd("root node is forbidden and cannot be sanitized in-place")}}else if(je instanceof a)ye=Qc("<!---->"),we=ye.ownerDocument.importNode(je,!0),we.nodeType===Fd.element&&we.nodeName==="BODY"||we.nodeName==="HTML"?ye=we:ye.appendChild(we);else{if(!Te&&!$&&!Q&&je.indexOf("<")===-1)return R&&L?R.createHTML(je):je;if(ye=Qc(je),!ye)return Te?null:L?N:""}ye&&re&&en(ye.firstChild);const ro=em(ce?je:ye);for(;Ht=ro.nextNode();)om(Ht),nm(Ht),Ht.content instanceof r&&dC(Ht.content);if(ce)return je;if(Te){if(Se)for(co=O.call(ye.ownerDocument);ye.firstChild;)co.appendChild(ye.firstChild);else co=ye;return(pt.shadowroot||pt.shadowrootmode)&&(co=ne.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(VN,ye.ownerDocument.doctype.name)&&(jo="<!DOCTYPE "+ye.ownerDocument.doctype.name+`>
92
- `+jo),$&&ff([H,X,Ce],bn=>{jo=pd(jo,bn," ")}),R&&L?R.createHTML(jo):jo},e.setConfig=function(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};zu(je),ae=!0},e.clearConfig=function(){Br=null,ae=!1},e.isValidAttribute=function(je,z,ye){Br||zu({});const we=Co(je),Ht=Co(z);return Gu(we,Ht,ye)},e.addHook=function(je,z){typeof z=="function"&&hd(U[je],z)},e.removeHook=function(je,z){if(z!==void 0){const ye=KG(U[je],z);return ye===-1?void 0:qG(U[je],ye,1)[0]}return Db(U[je])},e.removeHooks=function(je){U[je]=[]},e.removeAllHooks=function(){U=Nb()},e}var Pb=RN();const NF={beforeMount(t,e){t.innerHTML=Pb.sanitize(e.value)},beforeUpdate(t,e){t.innerHTML=Pb.sanitize(e.value)}},cK=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)}}}),Op=t=>cK(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}),mK=t=>({Match:e=>{switch(t){case"None":return e.None();case"Underline":return e.Underline();case"LineThrough":return e.LineThrough()}}}),uT=t=>mK(t.textDecoration).Match({None:()=>"none",Underline:()=>"underline",LineThrough:()=>"line-through"}),DN=t=>({fontSize:t.customFontSettings.FontSize,lineHeight:t.customFontSettings.LineHeight,fontWeight:t.customFontSettings.IsBold?"bold":"normal",fontStyle:t.customFontSettings.IsItalic?"italic":"normal",textDecoration:uT({textDecoration:t.customFontSettings.Decoration}),fontFamily:t.customFontSettings.FontFamily,color:Op({fontColor:t.customFontSettings.FontColor,themeColors:t.themeColors})}),bN=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 Ei(t.Discriminator)}}}),fK=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)}}}),hK=t=>fK(t.fontStyleColor).Match({FontStyle:()=>bN(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"],PF={Arial:"Arial",Georgia:"Georgia",Tahoma:"Tahoma",TimesNewRoman:"Times New Roman",Verdana:"Verdana"},dT=t=>({fontSize:t.fontSize+"px",lineHeight:t.lineHeight+"px",fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:PF[t.fontFamily],textDecoration:t.textDecoration,color:t.color}),cT=t=>{const e=o=>({fontSize:o.FontSize,lineHeight:o.LineHeight,fontWeight:o.IsBold?"bold":"normal",fontStyle:o.IsItalic?"italic":"normal",fontFamily:t.fontFamily,textDecoration:uT({textDecoration:o.Decoration}),color:hK({fontStyleColor:t.fontStyle.FontColor,fontStyle:t.fontStyle,themeColors:t.themeColors})});return bN(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=>DN({customFontSettings:o,themeColors:t.themeColors})})},pK=t=>({Match:e=>{switch(t.Discriminator){case"Theme":return e.Theme();case"Custom":return e.Custom(t.CustomValue);default:return Ei(t.Discriminator)}}}),CK=t=>pK(t.buttonPaddings).Match({Theme:()=>({TopBottom:t.themeButtonPaddings.TopBottom,LeftRight:t.themeButtonPaddings.LeftRight}),Custom:e=>({TopBottom:e.TopBottom,LeftRight:e.LeftRight})}),gK={style:{"border-spacing":"0","border-collapse":"collapse",width:"100%"}},FK=["align"],yK={class:"Button"},TK=["href"],SK=Me({__name:"ButtonVue",props:{deps:{},theme:{},element:{},context:{type:[String,Number,Boolean,Array,Object]}},setup(t){const e=t,o=Z(()=>dT(cT({fontFamily:e.theme.FontFamily,fontStyle:e.element.TextStyle,themeDefinedFontSettings:e.theme.FontSettingsPresets,themeColors:e.theme.Colors}))),i=Z(()=>If({borderColor:e.element.Border.Left.Color,themeColors:e.theme.Colors})),n=Z(()=>CK({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=bt({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)=>(k(),J("table",gK,[V("tbody",null,[V("tr",null,[V("td",{align:s.value},[V("div",yK,[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(ls)({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(NF),a.text]])],4)])])],4)],12,TK)])],8,FK)])])]))}}),BK=Ne(SK,[["__scopeId","data-v-5522ff93"]]),VK=["href"],RK=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=cT({fontFamily:e.theme.FontFamily,fontStyle:e.element.Style,themeDefinedFontSettings:e.theme.FontSettingsPresets,themeColors:e.theme.Colors});if(e.element.Style.Discriminator==="Custom"){const u=DN({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=bt({href:"",text:"",isLoading:!0}),r=a=>a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;"),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((k(),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(xu)({contentAlign:e.element.ContentAlign})]]),onClick:u[0]||(u[0]=ci(()=>{},["prevent"]))},null,14,VK)),[[j(NF),n.text]]):ct((k(),J("span",{key:1,class:Ve(["SpanText cursor-pointer user-select-none",e.element.Style.Discriminator]),style:fe([{margin:"0"},[i.value,j(xu)({contentAlign:e.element.ContentAlign})]])},null,6)),[[j(NF),n.text]])}}),DK=Ne(RK,[["__scopeId","data-v-854791a9"]]),_F=Math.min,lu=Math.max,Ch=Math.round,pf=Math.floor,fr=t=>({x:t,y:t});function bK(t,e){return typeof t=="function"?t(e):t}function mT(t){return t.split("-")[0]}function LN(t){return t.split("-")[1]}function xK(t){return t==="x"?"y":"x"}function LK(t){return t==="y"?"height":"width"}const EK=new Set(["top","bottom"]);function fT(t){return EK.has(mT(t))?"y":"x"}function vK(t){return xK(fT(t))}function EN(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 _b(t,e,o){let{reference:i,floating:n}=t;const r=fT(e),s=vK(e),a=LK(s),u=mT(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(LN(e)){case"start":C[s]-=p*(o&&c?-1:1);break;case"end":C[s]+=p*(o&&c?-1:1);break}return C}const NK=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}=_b(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}=_b(c,p,u)),y=-1)}return{x:m,y:f,placement:p,strategy:n,middlewareData:C}},PK=new Set(["left","top"]);async function _K(t,e){const{placement:o,platform:i,elements:n}=t,r=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=mT(o),a=LN(o),u=fT(o)==="y",c=PK.has(s)?-1:1,m=r&&u?-1:1,f=bK(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 AK=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 _K(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 Mp(){return typeof window<"u"}function pl(t){return hT(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=(hT(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function hT(t){return Mp()?t instanceof Node||t instanceof ji(t).Node:!1}function Un(t){return Mp()?t instanceof Element||t instanceof ji(t).Element:!1}function gr(t){return Mp()?t instanceof HTMLElement||t instanceof ji(t).HTMLElement:!1}function Ab(t){return!Mp()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ji(t).ShadowRoot}const IK=new Set(["inline","contents"]);function zc(t){const{overflow:e,overflowX:o,overflowY:i,display:n}=jn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!IK.has(n)}const wK=new Set(["table","td","th"]);function kK(t){return wK.has(pl(t))}const WK=[":popover-open",":modal"];function Hp(t){return WK.some(e=>{try{return t.matches(e)}catch{return!1}})}const OK=["transform","translate","scale","rotate","perspective"],MK=["transform","translate","scale","rotate","perspective","filter"],HK=["paint","layout","strict","content"];function pT(t){const e=CT(),o=Un(t)?jn(t):t;return OK.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)||MK.some(i=>(o.willChange||"").includes(i))||HK.some(i=>(o.contain||"").includes(i))}function $K(t){let e=Qs(t);for(;gr(e)&&!Lu(e);){if(pT(e))return e;if(Hp(e))return null;e=Qs(e)}return null}function CT(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const zK=new Set(["html","body","#document"]);function Lu(t){return zK.has(pl(t))}function jn(t){return ji(t).getComputedStyle(t)}function $p(t){return Un(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Qs(t){if(pl(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ab(t)&&t.host||Sr(t);return Ab(e)?e.host:e}function vN(t){const e=Qs(t);return Lu(e)?t.ownerDocument?t.ownerDocument.body:t.body:gr(e)&&zc(e)?e:vN(e)}function hc(t,e,o){var i;e===void 0&&(e=[]),o===void 0&&(o=!0);const n=vN(t),r=n===((i=t.ownerDocument)==null?void 0:i.body),s=ji(n);if(r){const a=AF(s);return e.concat(s,s.visualViewport||[],zc(n)?n:[],a&&o?hc(a):[])}return e.concat(n,hc(n,[],o))}function AF(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function NN(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=Ch(o)!==r||Ch(i)!==s;return a&&(o=r,i=s),{width:o,height:i,$:a}}function gT(t){return Un(t)?t:t.contextElement}function uu(t){const e=gT(t);if(!gr(e))return fr(1);const o=e.getBoundingClientRect(),{width:i,height:n,$:r}=NN(e);let s=(r?Ch(o.width):o.width)/i,a=(r?Ch(o.height):o.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const UK=fr(0);function PN(t){const e=ji(t);return!CT()||!e.visualViewport?UK:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jK(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==ji(t)?!1:e}function rl(t,e,o,i){e===void 0&&(e=!1),o===void 0&&(o=!1);const n=t.getBoundingClientRect(),r=gT(t);let s=fr(1);e&&(i?Un(i)&&(s=uu(i)):s=uu(t));const a=jK(r,o,i)?PN(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=AF(F);for(;y&&i&&C!==F;){const T=uu(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=AF(F)}}return EN({width:m,height:f,x:u,y:c})}function zp(t,e){const o=$p(t).scrollLeft;return e?e.left+o:rl(Sr(t)).left+o}function _N(t,e){const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-zp(t,o),n=o.top+e.scrollTop;return{x:i,y:n}}function GK(t){let{elements:e,rect:o,offsetParent:i,strategy:n}=t;const r=n==="fixed",s=Sr(i),a=e?Hp(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)&&((pl(i)!=="body"||zc(s))&&(u=$p(i)),gr(i))){const C=rl(i);c=uu(i),m.x=C.x+i.clientLeft,m.y=C.y+i.clientTop}const p=s&&!f&&!r?_N(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 KK(t){return Array.from(t.getClientRects())}function qK(t){const e=Sr(t),o=$p(t),i=t.ownerDocument.body,n=lu(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),r=lu(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+zp(t);const a=-o.scrollTop;return jn(i).direction==="rtl"&&(s+=lu(e.clientWidth,i.clientWidth)-n),{width:n,height:r,x:s,y:a}}const Ib=25;function YK(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=CT();(!m||m&&e==="fixed")&&(a=n.offsetLeft,u=n.offsetTop)}const c=zp(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<=Ib&&(r-=F)}else c<=Ib&&(r+=c);return{width:r,height:s,x:a,y:u}}const JK=new Set(["absolute","fixed"]);function ZK(t,e){const o=rl(t,!0,e==="fixed"),i=o.top+t.clientTop,n=o.left+t.clientLeft,r=gr(t)?uu(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 wb(t,e,o){let i;if(e==="viewport")i=YK(t,o);else if(e==="document")i=qK(Sr(t));else if(Un(e))i=ZK(e,o);else{const n=PN(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return EN(i)}function AN(t,e){const o=Qs(t);return o===e||!Un(o)||Lu(o)?!1:jn(o).position==="fixed"||AN(o,e)}function XK(t,e){const o=e.get(t);if(o)return o;let i=hc(t,[],!1).filter(a=>Un(a)&&pl(a)!=="body"),n=null;const r=jn(t).position==="fixed";let s=r?Qs(t):t;for(;Un(s)&&!Lu(s);){const a=jn(s),u=pT(s);!u&&a.position==="fixed"&&(n=null),(r?!u&&!n:!u&&a.position==="static"&&!!n&&JK.has(n.position)||zc(s)&&!u&&AN(t,s))?i=i.filter(m=>m!==s):n=a,s=Qs(s)}return e.set(t,i),i}function QK(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t;const s=[...o==="clippingAncestors"?Hp(e)?[]:XK(e,this._c):[].concat(o),i],a=s[0],u=s.reduce((c,m)=>{const f=wb(e,m,n);return c.top=lu(f.top,c.top),c.right=_F(f.right,c.right),c.bottom=_F(f.bottom,c.bottom),c.left=lu(f.left,c.left),c},wb(e,a,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function eq(t){const{width:e,height:o}=NN(t);return{width:e,height:o}}function tq(t,e,o){const i=gr(e),n=Sr(e),r=o==="fixed",s=rl(t,!0,r,e);let a={scrollLeft:0,scrollTop:0};const u=fr(0);function c(){u.x=zp(n)}if(i||!i&&!r)if((pl(e)!=="body"||zc(n))&&(a=$p(e)),i){const C=rl(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?_N(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 l0(t){return jn(t).position==="static"}function kb(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 IN(t,e){const o=ji(t);if(Hp(t))return o;if(!gr(t)){let n=Qs(t);for(;n&&!Lu(n);){if(Un(n)&&!l0(n))return n;n=Qs(n)}return o}let i=kb(t,e);for(;i&&kK(i)&&l0(i);)i=kb(i,e);return i&&Lu(i)&&l0(i)&&!pT(i)?o:i||$K(t)||o}const oq=async function(t){const e=this.getOffsetParent||IN,o=this.getDimensions,i=await o(t.floating);return{reference:tq(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function iq(t){return jn(t).direction==="rtl"}const nq={convertOffsetParentRelativeRectToViewportRelativeRect:GK,getDocumentElement:Sr,getClippingRect:QK,getOffsetParent:IN,getElementRects:oq,getClientRects:KK,getDimensions:eq,getScale:uu,isElement:Un,isRTL:iq};function wN(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function rq(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=pf(f),y=pf(n.clientWidth-(m+p)),T=pf(n.clientHeight-(f+C)),B=pf(m),D={rootMargin:-F+"px "+-y+"px "+-T+"px "+-B+"px",threshold:lu(0,_F(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&&!wN(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 kN(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=gT(t),m=n||r?[...c?hc(c):[],...hc(e)]:[];m.forEach(B=>{n&&B.addEventListener("scroll",o,{passive:!0}),r&&B.addEventListener("resize",o)});const f=c&&a?rq(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?rl(t):null;u&&T();function T(){const B=rl(t);y&&!wN(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 WN=AK,sq=(t,e,o)=>{const i=new Map,n={platform:nq,...o},r={...n.platform,_c:i};return NK(t,e,{...n,platform:r})};function aq(t){return t!=null&&typeof t=="object"&&"$el"in t}function Wb(t){if(aq(t)){const e=t.$el;return hT(e)&&pl(e)==="#comment"?null:e}return t}function yd(t){return typeof t=="function"?t():j(t)}function ON(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Ob(t,e){const o=ON(t);return Math.round(e*o)/o}function MN(t,e,o){o===void 0&&(o={});const i=o.whileElementsMounted,n=Z(()=>{var P;return(P=yd(o.open))!=null?P:!0}),r=Z(()=>yd(o.middleware)),s=Z(()=>{var P;return(P=yd(o.placement))!=null?P:"bottom"}),a=Z(()=>{var P;return(P=yd(o.strategy))!=null?P:"absolute"}),u=Z(()=>{var P;return(P=yd(o.transform))!=null?P:!0}),c=Z(()=>Wb(t.value)),m=Z(()=>Wb(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 O=Ob(m.value,f.value),W=Ob(m.value,p.value);return u.value?{...P,transform:"translate("+O+"px, "+W+"px)",...ON(m.value)>=1.5&&{willChange:"transform"}}:{position:C.value,left:O+"px",top:W+"px"}});let v;function D(){if(c.value==null||m.value==null)return;const P=n.value;sq(c.value,m.value,{middleware:r.value,placement:s.value,strategy:a.value}).then(O=>{f.value=O.x,p.value=O.y,C.value=O.strategy,F.value=O.placement,y.value=O.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"}),hy()&&xc(R),{x:wl(f),y:wl(p),strategy:wl(C),placement:wl(F),middlewareData:wl(y),isPositioned:wl(T),floatingStyles:B,update:D}}const Wi=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:uT({textDecoration:t.themeFontSettings.Decoration}),color:t.themeColor}),lq={class:"bootstrap-styles modal fade show d-block position-absolute"},uq={class:"bootstrap-styles modal-dialog modal-dialog-centered"},dq={class:"bootstrap-styles modal-content border rounded-3 shadow","data-test":"modal-window__content"},cq={class:"bootstrap-styles modal-header p-0"},mq={class:"bootstrap-styles container-fluid border-bottom g-0"},fq={class:"bootstrap-styles d-flex justify-content-between align-items-center px-11 py-7"},hq={class:"bootstrap-styles modal-title border-0","data-test":"modal-window__header-text"},pq={class:"bootstrap-styles modal-body p-0","data-test":"modal-window__body"},Cq={class:"bootstrap-styles modal-footer p-0 g-0"},gq={class:"bootstrap-styles container-fluid border-top"},Fq={class:"bootstrap-styles d-flex justify-content-end py-8 px-11"},yq={class:"bootstrap-styles col-6 d-flex justify-content-end","data-test":"modal-window__footer-actions"},Tq=Me({__name:"ModalWindow",props:{headerText:{}},emits:["close"],setup(t,{emit:e}){const o=t,i=e;return(n,r)=>(k(),J("div",lq,[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",uq,[V("div",dq,[V("div",cq,[V("div",mq,[V("div",fq,[V("h5",hq,Lt(o.headerText),1),ct((k(),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",pq,[Jf(n.$slots,"body",{},void 0,!0)]),V("div",Cq,[V("div",gq,[V("div",Fq,[V("div",yq,[Jf(n.$slots,"footer-actions",{},void 0,!0)])])])])])])]))}}),FT=Ne(Tq,[["__scopeId","data-v-fd7bc93f"]]),Sq={class:"bootstrap-styles px-11 py-7 text-start"},Bq=Me({__name:"RemoveConfirmModalWindow",props:{headerText:{}},emits:["cancel","confirmed"],setup(t,{emit:e}){const o=t,i=()=>{n("cancel")},n=e;return(r,s)=>(k(),Pe(FT,{headerText:o.headerText,class:"remove-element-confirm-modal-window",onClose:s[2]||(s[2]=()=>i())},{body:ur(()=>[V("div",Sq,[Jf(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 Wo(t){this.content=t}Wo.prototype={constructor:Wo,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 Wo(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 Wo(o)},addToStart:function(t,e){return new Wo([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var o=this.remove(t).content.slice();return o.push(t,e),new Wo(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 Wo(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=Wo.from(t),t.size?new Wo(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=Wo.from(t),t.size?new Wo(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=Wo.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}};Wo.from=function(t){if(t instanceof Wo)return t;var e=[];if(t)for(var o in t)e.push(o,t[o]);return new Wo(e)};function HN(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=HN(n.content,r.content,o+1);if(s!=null)return s}o+=n.nodeSize}}function $N(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=$N(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 HN(this,e,o)}findDiffEnd(e,o=this.size,i=e.size){return $N(this,e,o,i)}findIndex(e){if(e==0)return Cf(0,e);if(e==this.size)return Cf(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?Cf(o+1,r):Cf(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 u0={index:0,offset:0};function Cf(t,e){return u0.index=t,u0.offset=e,u0}function gh(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(!gh(t[i],e[i]))return!1}else{for(let i in t)if(!(i in e)||!gh(t[i],e[i]))return!1;for(let i in e)if(!(i in t))return!1}return!0}let Ot=class IF{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&&gh(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 IF.none;if(e instanceof IF)return[e];let o=e.slice();return o.sort((i,n)=>i.type.rank-n.type.rank),o}};Ot.none=[];class Fh 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=UN(this.content,e+this.openStart,o);return i&&new _e(i,this.openStart,this.openEnd)}removeBetween(e,o){return new _e(zN(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 zN(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(zN(r.content,e-n-1,o-n-1)))}function UN(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=UN(s.content,e-r-1,o,s);return a&&t.replaceChild(n,s.copy(a))}function Vq(t,e,o){if(o.openStart>t.depth)throw new Fh("Inserted content deeper than insertion position");if(t.depth-o.openStart!=e.depth-o.openEnd)throw new Fh("Inconsistent open depths");return jN(t,e,o,0)}function jN(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=jN(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 Ya(s,a.cut(0,t.parentOffset).append(o.content).append(a.cut(e.parentOffset)))}else{let{start:s,end:a}=Rq(o,t);return Ya(r,KN(t,s,a,e,i))}else return Ya(r,yh(t,e,i))}function GN(t,e){if(!e.type.compatibleContent(t.type))throw new Fh("Cannot join "+e.type.name+" onto "+t.type.name)}function wF(t,e,o){let i=t.node(o);return GN(i,e.node(o)),i}function qa(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 Od(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&&(qa(t.nodeAfter,i),r++));for(let a=r;a<s;a++)qa(n.child(a),i);e&&e.depth==o&&e.textOffset&&qa(e.nodeBefore,i)}function Ya(t,e){return t.type.checkContent(e),t.copy(e)}function KN(t,e,o,i,n){let r=t.depth>n&&wF(t,e,n+1),s=i.depth>n&&wF(o,i,n+1),a=[];return Od(null,t,n,a),r&&s&&e.index(n)==o.index(n)?(GN(r,s),qa(Ya(r,KN(t,e,o,i,n+1)),a)):(r&&qa(Ya(r,yh(t,e,n+1)),a),Od(e,o,n,a),s&&qa(Ya(s,yh(o,i,n+1)),a)),Od(i,null,n,a),new ge(a)}function yh(t,e,o){let i=[];if(Od(null,t,o,i),t.depth>o){let n=wF(t,e,o+1);qa(Ya(n,yh(t,e,o+1)),i)}return Od(e,null,o,i),new ge(i)}function Rq(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 pc{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 Th(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 pc(o,i,r)}static resolveCached(e,o){let i=Mb.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 Mb.set(e,i=new Dq);let n=i.elts[i.i]=pc.resolve(e,o);return i.i=(i.i+1)%bq,n}}class Dq{constructor(){this.elts=[],this.i=0}}const bq=12,Mb=new WeakMap;class Th{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 xq=Object.create(null);let zs=class kF{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&&gh(this.attrs,o||e.defaultAttrs||xq)&&Ot.sameSet(this.marks,i||Ot.none)}copy(e=null){return e==this.content?this:new kF(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new kF(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 Vq(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 pc.resolveCached(this,e)}resolveNoCache(e){return pc.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()+")"),qN(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}};zs.prototype.text=void 0;class Sh extends zs{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):qN(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 Sh(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Sh(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 qN(t,e){for(let o=t.length-1;o>=0;o--)e=t[o].type.name+"("+e+")";return e}class sl{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,o){let i=new Lq(e,o);if(i.next==null)return sl.empty;let n=YN(i);i.next&&i.err("Unexpected trailing text");let r=Iq(Aq(n));return wq(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(`
93
- `)}}sl.empty=new sl(!0);class Lq{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 YN(t){let e=[];do e.push(Eq(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function Eq(t){let e=[];do e.push(vq(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function vq(t){let e=_q(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=Nq(t,e);else break;return e}function Hb(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function Nq(t,e){let o=Hb(t),i=o;return t.eat(",")&&(t.next!="}"?i=Hb(t):i=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:o,max:i,expr:e}}function Pq(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 _q(t){if(t.eat("(")){let e=YN(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=Pq(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 Aq(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 JN(t,e){return e-t}function $b(t,e){let o=[];return i(e),o.sort(JN);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 Iq(t){let e=Object.create(null);return o($b(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]);$b(t,u).forEach(m=>{c||n.push([a,c=[]]),c.indexOf(m)==-1&&c.push(m)})})});let r=e[i.join(",")]=new sl(i.indexOf(t.length-1)>-1);for(let s=0;s<n.length;s++){let a=n[s][1].sort(JN);r.next.push({type:n[s][0],next:e[a.join(",")]||o(a)})}return r}}function wq(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 ZN(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 XN(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 QN(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 eP(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 zb=class tP{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=eP(e,i.attrs),this.defaultAttrs=ZN(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==sl.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:XN(this.attrs,e)}create(e=null,o,i){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new zs(this,this.computeAttrs(e),ge.from(o),Ot.setFrom(i))}createChecked(e=null,o,i){return o=ge.from(o),this.checkContent(o),new zs(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 zs(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){QN(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 tP(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 kq(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"?kq(e,o,i.validate):i.validate}get isRequired(){return!this.hasDefault}}class Up{constructor(e,o,i,n){this.name=e,this.rank=o,this.schema=i,this.spec=n,this.attrs=eP(e,n.attrs),this.excluded=null;let r=ZN(this.attrs);this.instance=r?new Ot(this,r):null}create(e=null){return!e&&this.instance?this.instance:new Ot(this,XN(this.attrs,e))}static compile(e,o){let i=Object.create(null),n=0;return e.forEach((r,s)=>i[r]=new Up(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){QN(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class oP{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=Wo.from(e.nodes),o.marks=Wo.from(e.marks||{}),this.nodes=zb.compile(this.spec.nodes,this),this.marks=Up.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]=sl.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?Ub(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==""?[]:Ub(this,s.split(" "))}this.nodeFromJSON=n=>zs.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 zb){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 Sh(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 Ub(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 Oq(t){return t.tag!=null}function Mq(t){return t.style!=null}class Us{constructor(e,o){this.schema=e,this.rules=o,this.tags=[],this.styles=[];let i=this.matchedStyles=[];o.forEach(n=>{if(Oq(n))this.tags.push(n);else if(Mq(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 Gb(this,o,!1);return i.addAll(e,Ot.none,o.from,o.to),i.finish()}parseSlice(e,o={}){let i=new Gb(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(zq(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=Kb(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=Kb(s)),s.node||s.ignore||s.mark||(s.node=n)})}return o}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Us(e,Us.schemaRules(e)))}}const iP={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},Hq={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},nP={ol:!0,ul:!0},Cc=1,WF=2,Md=4;function jb(t,e,o){return e!=null?(e?Cc:0)|(e==="full"?WF:0):t&&t.whitespace=="pre"?Cc|WF:o&~Md}class gf{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&Md?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&Cc)){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&&!iP.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Gb{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=jb(null,o.preserveWhitespace,0)|(i?Md:0);n?r=new gf(n.type,n.attrs,Ot.none,!0,o.topMatch||n.type.contentMatch,s):i?r=new gf(null,null,Ot.none,!0,null,s):r=new gf(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&WF?"full":this.localPreserveWS||(n.options&Cc)>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,`
94
- `);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;nP.hasOwnProperty(s)&&this.parser.normalizeLists&&$q(e);let u=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(a=this.parser.matchTag(e,this,i));e:if(u?u.ignore:Hq.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(iP.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(`
95
- `),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):qb(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=jb(e,r,s.options);s.options&Md&&s.content.length==0&&(a|=Md);let u=Ot.none;return i=i.filter(c=>(s.type?s.type.allowsMarkType(c.type):qb(c.type,e))?(u=c.addToSet(u),!1):!0),this.nodes.push(new gf(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|=Cc)}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 $q(t){for(let e=t.firstChild,o=null;e;e=e.nextSibling){let i=e.nodeType==1?e.nodeName.toLowerCase():null;i&&nP.hasOwnProperty(i)&&o?(o.appendChild(e),e=o):i=="li"?o=e:i&&(o=null)}}function zq(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function Kb(t){let e={};for(let o in t)e[o]=t[o];return e}function qb(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 Cl{constructor(e,o){this.nodes=e,this.marks=o}serializeFragment(e,o={},i){i||(i=d0(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}=kf(d0(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&&kf(d0(i),n(e,o),null,e.attrs)}static renderSpec(e,o,i=null,n){return kf(e,o,i,n)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Cl(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let o=Yb(e.nodes);return o.text||(o.text=i=>i.text),o}static marksFromSchema(e){return Yb(e.marks)}}function Yb(t){let e={};for(let o in t){let i=t[o].spec.toDOM;i&&(e[o]=i)}return e}function d0(t){return t.document||window.document}const Jb=new WeakMap;function Uq(t){let e=Jb.get(t);return e===void 0&&Jb.set(t,e=jq(t)),e}function jq(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 kf(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=Uq(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}=kf(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 rP=65535,sP=Math.pow(2,16);function Gq(t,e){return t+e*sP}function Zb(t){return t&rP}function Kq(t){return(t-(t&rP))/sP}const aP=1,lP=2,Wf=4,uP=8;class OF{constructor(e,o,i){this.pos=e,this.delInfo=o,this.recover=i}get deleted(){return(this.delInfo&uP)>0}get deletedBefore(){return(this.delInfo&(aP|Wf))>0}get deletedAfter(){return(this.delInfo&(lP|Wf))>0}get deletedAcross(){return(this.delInfo&Wf)>0}}class Mi{constructor(e,o=!1){if(this.ranges=e,this.inverted=o,!e.length&&Mi.empty)return Mi.empty}recover(e){let o=0,i=Zb(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+Kq(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:Gq(a/3,e-u),y=e==u?lP:e==f?aP:Wf;return(o<0?e!=u:e!=f)&&(y|=uP),new OF(C,y,F)}n+=m-c}return i?e+n:new OF(e+n,0,null)}touches(e,o){let i=0,n=Zb(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 Mi(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?Mi.empty:new Mi(e<0?[0,-e,0]:[0,0,e])}}Mi.empty=new Mi([]);class gc{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 gc(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 gc;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 OF(e,n,null)}}const c0=Object.create(null);class oi{getMap(){return Mi.empty}merge(e){return null}static fromJSON(e,o){if(!o||!o.stepType)throw new RangeError("Invalid input for Step.fromJSON");let i=c0[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 c0)throw new RangeError("Duplicate use of step JSON ID "+e);return c0[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 Fh)return yo.fail(r.message);throw r}}}function yT(t,e,o){let i=[];for(let n=0;n<t.childCount;n++){let r=t.child(n);r.content.size&&(r=r.copy(yT(r.content,e,r))),r.isInline&&(r=e(r,o,n)),i.push(r)}return ge.fromArray(i)}class Os 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(yT(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 Os(o.pos,i.pos,this.mark)}merge(e){return e instanceof Os&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Os(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 Os(o.from,o.to,e.markFromJSON(o.mark))}}oi.jsonID("addMark",Os);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(yT(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 Os(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 Ms 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 Ms(this.pos,o.marks[n]);return new Ms(this.pos,this.mark)}}return new al(this.pos,this.mark)}map(e){let o=e.mapResult(this.pos,1);return o.deletedAfter?null:new Ms(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 Ms(o.pos,e.markFromJSON(o.mark))}}oi.jsonID("addNodeMark",Ms);class al 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 Ms(this.pos,this.mark)}map(e){let o=e.mapResult(this.pos,1);return o.deletedAfter?null:new al(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 al(o.pos,e.markFromJSON(o.mark))}}oi.jsonID("removeNodeMark",al);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&&MF(e,this.from,this.to)?yo.fail("Structure replace would overwrite content"):yo.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Mi([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 Po 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&&(MF(e,this.from,this.gapFrom)||MF(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 Mi([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 Po(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 Po(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 Po(o.from,o.to,o.gapFrom,o.gapTo,_e.fromJSON(e,o.slice),o.insert,!!o.structure)}}oi.jsonID("replaceAround",Po);function MF(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 qq(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 Os(p,C,i))}}),n.forEach(u=>t.step(u)),r.forEach(u=>t.step(u))}function Yq(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 Up){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 TT(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 Jq(t,e,o){return(e==0||t.canReplace(e,t.childCount))&&(o==t.childCount||t.canReplace(0,o))}function $u(t){let o=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let i=t.depth,n=0,r=0;;--i){let s=t.$from.node(i),a=t.$from.index(i)+n,u=t.$to.indexAfter(i)-r;if(i<t.depth&&s.canReplace(a,u,o))return i;if(i==0||s.type.spec.isolating||!Jq(s,a,u))break;a&&(n=1),u<s.childCount&&(r=1)}return null}function Zq(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 Po(u,c,s,a,new _e(m.append(p),f,C),m.size-f,!0))}function ST(t,e,o=null,i=t){let n=Xq(t,e),r=n&&Qq(i,e);return r?n.map(Xb).concat({type:e,attrs:o}).concat(r.map(Xb)):null}function Xb(t){return{type:t,attrs:null}}function Xq(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 Qq(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 eY(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 Po(n,r,n,r,new _e(i,0,0),o.length,!0))}function tY(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)&&oY(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&&cP(t,s,a,r),TT(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 Po(f,p,f+1,p-1,new _e(ge.from(i.create(u,null,s.marks)),0,0),1,!0)),c===!0&&dP(t,s,a,r),!1}})}function dP(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 cP(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(`
96
- `))}})}function oY(t,e,o){let i=t.resolve(e),n=i.index();return i.parent.canReplaceWith(n,n+1,o)}function iY(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 Po(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 nY(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 ca(t,e){let o=t.resolve(e),i=o.index();return mP(o.nodeBefore,o.nodeAfter)&&o.parent.canReplace(i,i+1)}function rY(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 mP(t,e){return!!(t&&e&&!t.isLeaf&&rY(t,e))}function jp(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&&mP(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 sY(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);cP(t,m.node(),m.before(),a)}s.inlineContent&&TT(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);dP(t,m.node(),m.before(),t.steps.length)}return t}function aY(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 lY(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 Gp(t,e,o=e,i=_e.empty){if(e==o&&!i.size)return null;let n=t.resolve(e),r=t.resolve(o);return fP(n,r,i)?new Eo(e,o,i):new uY(n,r,i).fit()}function fP(t,e,o){return!o.openStart&&!o.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),o.content)}class uY{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 Po(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=m0(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=m0(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=m0(e,o);if(n.childCount<=1&&o>0){let r=e.size-o<=o+n.size;this.unplaced=new _e(Dd(e,o-1,1),o-1,r?o-1:i)}else this.unplaced=new _e(Dd(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(hP(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=bd(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(Dd(s.content,e-1,1),e-1,C<0?s.openEnd:e-1):new _e(Dd(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||!f0(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=f0(e,o,n,i,r);if(s){for(let a=o-1;a>=0;a--){let{match:u,type:c}=this.frontier[a],m=f0(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=bd(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=bd(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=bd(this.placed,this.frontier.length,o))}}function Dd(t,e,o){return e==0?t.cutByIndex(o,t.childCount):t.replaceChild(0,t.firstChild.copy(Dd(t.firstChild.content,e-1,o)))}function bd(t,e,o){return e==0?t.append(o):t.replaceChild(t.childCount-1,t.lastChild.copy(bd(t.lastChild.content,e-1,o)))}function m0(t,e){for(let o=0;o<e;o++)t=t.firstChild.content;return t}function hP(t,e,o){if(e<=0)return t;let i=t.content;return e>1&&(i=i.replaceChild(0,hP(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 f0(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&&!dY(o,r.content,s)?a:null}function dY(t,e,o){for(let i=o;i<e.childCount;i++)if(!t.allowsMarks(e.child(i).marks))return!0;return!1}function cY(t){return t.spec.defining||t.spec.definingForContent}function mY(t,e,o,i){if(!i.size)return t.deleteRange(e,o);let n=t.doc.resolve(e),r=t.doc.resolve(o);if(fP(n,r,i))return t.step(new Eo(e,o,i));let s=CP(n,r);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=cY(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(pP(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 pP(t,e,o,i,n){if(e<o){let r=t.firstChild;t=t.replaceChild(0,r.copy(pP(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 fY(t,e,o,i){if(!i.isInline&&e==o&&t.doc.resolve(e).parent.content.size){let n=aY(t.doc,e,i.type);n!=null&&(e=o=n)}t.replaceRange(e,o,new _e(ge.from(i),0,0))}function hY(t,e,o){let i=t.doc.resolve(e),n=t.doc.resolve(o),r=CP(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 CP(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 du 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 Mi.empty}invert(e){return new du(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 du(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 du(o.pos,o.attr,o.value)}}oi.jsonID("attr",du);class Fc 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 Mi.empty}invert(e){return new Fc(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 Fc(o.attr,o.value)}}oi.jsonID("docAttr",Fc);let Eu=class extends Error{};Eu=function t(e){let o=Error.call(this,e);return o.__proto__=t.prototype,o};Eu.prototype=Object.create(Error.prototype);Eu.prototype.constructor=Eu;Eu.prototype.name="TransformError";class gP{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new gc}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let o=this.maybeStep(e);if(o.failed)throw new Eu(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=Gp(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 mY(this,e,o,i),this}replaceRangeWith(e,o,i){return fY(this,e,o,i),this}deleteRange(e,o){return hY(this,e,o),this}lift(e,o){return Zq(this,e,o),this}join(e,o=1){return sY(this,e,o),this}wrap(e,o){return eY(this,e,o),this}setBlockType(e,o=e,i,n=null){return tY(this,e,o,i,n),this}setNodeMarkup(e,o,i=null,n){return iY(this,e,o,i,n),this}setNodeAttribute(e,o,i){return this.step(new du(e,o,i)),this}setDocAttribute(e,o){return this.step(new Fc(e,o)),this}addNodeMark(e,o){return this.step(new Ms(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 al(e,o));else{let n=i.marks,r,s=[];for(;r=o.isInSet(n);)s.push(new al(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 nY(this,e,o,i),this}addMark(e,o,i){return qq(this,e,o,i),this}removeMark(e,o,i){return Yq(this,e,o,i),this}clearIncompatible(e,o,i){return TT(this,e,o,i),this}}const h0=Object.create(null);class Bt{constructor(e,o,i){this.$anchor=e,this.$head=o,this.ranges=i||[new pY(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&&tx(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),tx(e,i,o.isInline?-1:1))}}static findFrom(e,o,i=!1){let n=e.parent.inlineContent?new ht(e):ql(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?ql(e.node(0),e.node(r),e.before(r+1),e.index(r),o,i):ql(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 ql(e,e,0,0,1)||new Gi(e)}static atEnd(e){return ql(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=h0[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 h0)throw new RangeError("Duplicate use of selection JSON ID "+e);return h0[e]=o,o.prototype.jsonID=e,o}getBookmark(){return ht.between(this.$anchor,this.$head).getBookmark()}}Bt.prototype.visible=!0;class pY{constructor(e,o){this.$from=e,this.$to=o}}let Qb=!1;function ex(t){!Qb&&!t.parent.inlineContent&&(Qb=!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){ex(e),ex(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 Kp(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 Kp{constructor(e,o){this.anchor=e,this.head=o}map(e){return new Kp(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 BT(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 BT{constructor(e){this.anchor=e}map(e){let{deleted:o,pos:i}=e.mapResult(this.anchor);return o?new Kp(i,i):new BT(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 CY}}Bt.jsonID("all",Gi);const CY={map(){return this},resolve(t){return new Gi(t)}};function ql(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=ql(t,a,o+n,n<0?a.childCount:0,n,r);if(u)return u}o+=a.nodeSize*n}return null}function tx(t,e,o){let i=t.steps.length-1;if(i<e)return;let n=t.steps[i];if(!(n instanceof Eo||n instanceof Po))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 ox=1,Ff=2,ix=4;class gY extends gP{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|ox)&~Ff,this.storedMarks=null,this}get selectionSet(){return(this.updated&ox)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Ff,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&Ff)>0}addStep(e,o){super.addStep(e,o),this.updated=this.updated&~Ff,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|=ix,this}get scrolledIntoView(){return(this.updated&ix)>0}}function nx(t,e){return!e||!t?t:t.bind(e)}class xd{constructor(e,o,i){this.name=e,this.init=nx(o.init,i),this.apply=nx(o.apply,i)}}const FY=[new xd("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new xd("selection",{init(t,e){return t.selection||Bt.atStart(e.doc)},apply(t){return t.selection}}),new xd("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,o,i){return i.selection.$cursor?t.storedMarks:null}}),new xd("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class p0{constructor(e,o){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=FY.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 xd(i.key,i.spec.state,i))})}}class Ql{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 Ql(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 gY(this)}static create(e){let o=new p0(e.doc?e.doc.type.schema:e.schema,e.plugins),i=new Ql(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 p0(this.schema,e.plugins),i=o.fields,n=new Ql(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 p0(e.schema,e.plugins),r=new Ql(n);return n.fields.forEach(s=>{if(s.name=="doc")r.doc=zs.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 FP(t,e,o){for(let i in t){let n=t[i];n instanceof Function?n=n.bind(e):i=="handleDOMEvents"&&(n=FP(n,e,{})),o[i]=n}return o}class zo{constructor(e){this.spec=e,this.props={},e.props&&FP(e.props,this,this.props),this.key=e.key?e.key.key:yP("plugin")}getState(e){return e[this.key]}}const C0=Object.create(null);function yP(t){return t in C0?t+"$"+ ++C0[t]:(C0[t]=0,t+"$")}class vi{constructor(e="key"){this.key=yP(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},vu=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let HF=null;const jr=function(t,e,o){let i=HF||(HF=document.createRange());return i.setEnd(t,o??t.nodeValue.length),i.setStart(t,e||0),i},yY=function(){HF=null},ll=function(t,e,o,i){return o&&(rx(t,e,o,i,-1)||rx(t,e,o,i,1))},TY=/^(img|br|input|textarea|hr)$/i;function rx(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||Uc(t)||TY.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 SY(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&&!Uc(t))e=Oo(t),t=t.parentNode;else return null}}function BY(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&&!Uc(t))e=Oo(t)+1,t=t.parentNode;else return null}}function VY(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 Uc(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 qp=function(t){return t.focusNode&&ll(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)};function Aa(t,e){let o=document.createEvent("Event");return o.initEvent("keydown",!0,!0),o.keyCode=t,o.key=o.code=e,o}function RY(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function DY(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,sx=typeof document<"u"?document:null,ma=Fr&&Fr.userAgent||"",$F=/Edge\/(\d+)/.exec(ma),TP=/MSIE \d/.exec(ma),zF=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ma),xi=!!(TP||zF||$F),js=TP?document.documentMode:zF?+zF[1]:$F?+$F[1]:0,Fn=!xi&&/gecko\/(\d+)/i.test(ma);Fn&&+(/Firefox\/(\d+)/.exec(ma)||[0,0])[1];const UF=!xi&&/Chrome\/(\d+)/.exec(ma),vo=!!UF,SP=UF?+UF[1]:0,ei=!xi&&!!Fr&&/Apple Computer/.test(Fr.vendor),Nu=ei&&(/Mobile\/\w+/.test(ma)||!!Fr&&Fr.maxTouchPoints>2),fn=Nu||(Fr?/Mac/.test(Fr.platform):!1),BP=Fr?/Win/.test(Fr.platform):!1,Xr=/Android \d/.test(ma),jc=!!sx&&"webkitFontSmoothing"in sx.documentElement.style,bY=jc?+(/\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 LY(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 ax(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=vu(s);continue}let a=s,u=a==r.body,c=u?xY(r):LY(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:vu(s)}}function EY(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:VP(t.dom)}}function VP(t){let e=[],o=t.ownerDocument;for(let i=t;i&&(e.push({dom:i,top:i.scrollTop,left:i.scrollLeft}),t!=o);i=vu(i));return e}function vY({refDOM:t,refTop:e,stack:o}){let i=t?t.getBoundingClientRect().top:0;RP(o,i==0?0:i-e)}function RP(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 Hl=null;function NY(t){if(t.setActive)return t.setActive();if(Hl)return t.focus(Hl);let e=VP(t);t.focus(Hl==null?{get preventScroll(){return Hl={preventScroll:!0},!0}}:void 0),Hl||(Hl=!1,RP(e,0))}function DP(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?PY(o,n):!o||i&&o.nodeType==1?{node:t,offset:r}:DP(o,n)}function PY(t,e){let o=t.nodeValue.length,i=document.createRange(),n;for(let r=0;r<o;r++){i.setEnd(t,r+1),i.setStart(t,r);let s=vs(i,1);if(s.top!=s.bottom&&VT(e,s)){n={node:t,offset:r+(e.left>=(s.left+s.right)/2?1:0)};break}}return i.detach(),n||{node:t,offset:0}}function VT(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function _Y(t,e){let o=t.parentNode;return o&&/^li$/i.test(o.nodeName)&&e.left<t.getBoundingClientRect().left?o:t}function AY(t,e,o){let{node:i,offset:n}=DP(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 IY(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 bP(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(VT(e,c))return bP(s,e,c)}}if((r=(r+1)%i)==n)break}return t}function wY(t,e){let o=t.dom.ownerDocument,i,n=0,r=DY(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(!VT(e,c)||(s=bP(t.dom,e,c),!s))return null}if(ei)for(let c=s;i&&c;c=vu(c))c.draggable&&(i=void 0);if(s=_Y(s,e),i){if(Fn&&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;jc&&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=IY(t,i,n,e))}a==null&&(a=AY(t,s,e));let u=t.docView.nearestDesc(s,!0);return{pos:a,inside:u?u.posAtStart-u.border:-1}}function lx(t){return t.top<t.bottom||t.left<t.right}function vs(t,e){let o=t.getClientRects();if(o.length){let i=o[e<0?0:o.length-1];if(lx(i))return i}return Array.prototype.find.call(o,lx)||t.getBoundingClientRect()}const kY=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function xP(t,e,o){let{node:i,offset:n,atom:r}=t.docView.domFromPos(e,o<0?-1:1),s=jc||Fn;if(i.nodeType==3)if(s&&(kY.test(i.nodeValue)||(o<0?!n:n==i.nodeValue.length))){let u=vs(jr(i,n,n),o);if(Fn&&n&&/\s/.test(i.nodeValue[n-1])&&n<i.nodeValue.length){let c=vs(jr(i,n-1,n-1),-1);if(c.top==u.top){let m=vs(jr(i,n,n+1),-1);if(m.top!=u.top)return Td(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++,Td(vs(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 g0(u.getBoundingClientRect(),!1)}if(r==null&&n<pn(i)){let u=i.childNodes[n];if(u.nodeType==1)return g0(u.getBoundingClientRect(),!0)}return g0(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 Td(vs(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 Td(vs(c,-1),!0)}return Td(vs(i.nodeType==3?jr(i):i,-o),o>=0)}function Td(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 g0(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 LP(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 WY(t,e,o){let i=e.selection,n=o=="up"?i.$from:i.$to;return LP(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=xP(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 OY=/[\u0590-\u08ac]/;function MY(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?!OY.test(i.parent.textContent)||!a.modify?o=="left"||o=="backward"?r:s:LP(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 ux=null,dx=null,cx=!1;function HY(t,e,o){return ux==e&&dx==o?cx:(ux=e,dx=o,cx=o=="up"||o=="down"?WY(t,e,o):MY(t,e,o))}const yn=0,mx=1,Oa=2,yr=3;class Gc{constructor(e,o,i,n){this.parent=e,this.children=o,this.dom=i,this.contentDOM=n,this.dirty=yn,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 vP){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 EP&&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((Fn||ei)&&e==o){let{node:C,offset:F}=a;if(C.nodeType==3){if(f=!!(F&&C.nodeValue[F-1]==`
97
- `),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(Fn&&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&&ei)&&ll(a.node,a.offset,m.anchorNode,m.anchorOffset)&&ll(u.node,u.offset,m.focusNode,m.focusOffset))return;let p=!1;if((c.extend||e==o)&&!(f&&Fn)){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?Oa:mx,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?Oa:yr}i=s}this.dirty=Oa}markParentsDirty(){let e=1;for(let o=this.parent;o;o=o.parent,e++){let i=e==1?Oa:mx;o.dirty<i&&(o.dirty=i)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}}class EP extends Gc{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==yn&&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 $Y extends Gc{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 ul extends Gc{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=Cl.renderSpec(document,o.type.spec.toDOM(o,i),null,o.attrs)),new ul(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!=yn){let i=this.parent;for(;!i.node;)i=i.parent;i.dirty<this.dirty&&(i.dirty=this.dirty),this.dirty=yn}}slice(e,o,i){let n=ul.create(this.parent,this.mark,!0,i),r=this.children,s=this.size;o<s&&(r=GF(r,o,s,i)),e>0&&(r=GF(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 Gs extends Gc{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}=Cl.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=_P(m,i,o),c?u=new zY(e,o,i,n,m,f||null,p,c,r,s+1):o.isText?new Yp(e,o,i,n,m,p,r):new Gs(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==yn&&e.eq(this.node)&&Bh(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 jY(this,s&&s.node,e);qY(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==Oa)&&(s&&this.protectLocalComposition(e,s),NP(this.contentDOM,this.children,e),Nu&&YY(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=JY(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 $Y(this,r,o,n);e.input.compositionNodes.push(s),this.children=GF(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=yn}updateOuterDeco(e){if(Bh(e,this.outerDeco))return;let o=this.nodeDOM.nodeType!=1,i=this.dom;this.dom=PP(this.dom,this.nodeDOM,jF(this.outerDeco,this.node,o),jF(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 fx(t,e,o,i,n){_P(i,e,t);let r=new Gs(void 0,t,e,o,i,i,i,n,0);return r.contentDOM&&r.updateChildren(n,0),r}class Yp extends Gs{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!=yn&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(o),(this.dirty!=yn||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=yn,!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 Yp(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 vP extends Gc{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==yn&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class zY extends Gs{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 NP(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=hx(i),n=!0;i=i.nextSibling}else n=!0,t.insertBefore(a,i);if(s instanceof ul){let u=i?i.previousSibling:t.lastChild;NP(s.contentDOM,s.children,o),i=u?u.nextSibling:t.firstChild}}for(;i;)i=hx(i),n=!0;n&&o.trackWrites==t&&(o.trackWrites=null)}const Hd=function(t){t&&(this.nodeName=t)};Hd.prototype=Object.create(null);const Ma=[new Hd];function jF(t,e,o){if(t.length==0)return Ma;let i=o?Ma[0]:new Hd,n=[i];for(let r=0;r<t.length;r++){let s=t[r].type.attrs;if(s){s.nodeName&&n.push(i=new Hd(s.nodeName));for(let a in s){let u=s[a];u!=null&&(o&&n.length==1&&n.push(i=new Hd(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 PP(t,e,o,i){if(o==Ma&&i==Ma)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=Ma[0]),n=u}UY(n,a||Ma[0],s)}return n}function UY(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 _P(t,e,o){return PP(t,t,Ma,jF(e,o,t.nodeType!=1))}function Bh(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 hx(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class jY{constructor(e,o,i){this.lock=o,this.view=i,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=GY(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=yn,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=ul.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=Oa),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 Gs){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&&Bh(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=Oa,f.updateChildren(n,s+1),f.dirty=yn),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)||!Bh(i,e.outerDeco)||!n.eq(e.innerDeco))return null;let a=Gs.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=Gs.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 EP(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 ul;)o=e,e=o.children[o.children.length-1];(!e||!(e instanceof Yp)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((ei||vo)&&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 vP(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 GY(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 ul)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 KY(t,e){return t.type.side-e.type.side}function qY(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(KY);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 YY(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 JY(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 GF(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 RT(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(qp(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&&VY(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=DT(t,m,a,f)}return c}function AP(t){return t.editable?t.hasFocus():wP(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function is(t,e=!1){let o=t.state.selection;if(IP(t,o),!!AP(t)){if(!e&&t.input.mouseDown&&t.input.mouseDown.allowDefault&&vo){let i=t.domSelectionRange(),n=t.domObserver.currentSelection;if(i.anchorNode&&n.anchorNode&&ll(i.anchorNode,i.anchorOffset,n.anchorNode,n.anchorOffset)){t.input.mouseDown.delayedSelectionSync=!0,t.domObserver.setCurSelection();return}}if(t.domObserver.disconnectSelection(),t.cursorWrapper)XY(t);else{let{anchor:i,head:n}=o,r,s;px&&!(o instanceof ht)&&(o.$from.parent.inlineContent||(r=Cx(t,o.from)),!o.empty&&!o.$from.parent.inlineContent&&(s=Cx(t,o.to))),t.docView.setSelection(i,n,t,e),px&&(r&&gx(r),s&&gx(s)),o.visible?t.dom.classList.remove("ProseMirror-hideselection"):(t.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&ZY(t))}t.domObserver.setCurSelection(),t.domObserver.connectSelection()}}const px=ei||vo&&SP<63;function Cx(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(ei&&n&&n.contentEditable=="false")return F0(n);if((!n||n.contentEditable=="false")&&(!r||r.contentEditable=="false")){if(n)return F0(n);if(r)return F0(r)}}function F0(t){return t.contentEditable="true",ei&&t.draggable&&(t.draggable=!1,t.wasDraggable=!0),t}function gx(t){t.contentEditable="false",t.wasDraggable&&(t.draggable=!0,t.wasDraggable=null)}function ZY(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(()=>{(!AP(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function XY(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&&xi&&js<=11&&(o.disabled=!0,o.disabled=!1)}function IP(t,e){if(e instanceof Xe){let o=t.docView.descAt(e.from);o!=t.lastSelectedViewDesc&&(Fx(t),o&&o.selectNode(),t.lastSelectedViewDesc=o)}else Fx(t)}function Fx(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function DT(t,e,o,i){return t.someProp("createSelectionBetween",n=>n(t,e,o))||ht.between(e,o,i)}function yx(t){return t.editable&&!t.hasFocus()?!1:wP(t)}function wP(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 QY(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),o=t.domSelectionRange();return ll(e.node,e.offset,o.anchorNode,o.anchorOffset)}function KF(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 As(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function Tx(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 As(t,new ht(i.$anchor,s))}else if(i.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let n=KF(t.state,e);return n&&n instanceof Xe?As(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)?As(t,new Xe(e<0?t.state.doc.resolve(n.pos-r.nodeSize):n)):jc?As(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 As(t,new ht(e>0?i.$to:i.$from));{let n=KF(t.state,e);return n?As(t,n):!1}}}function Vh(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function $d(t,e){let o=t.pmViewDesc;return o&&o.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function $l(t,e){return e<0?eJ(t):tJ(t)}function eJ(t){let e=t.domSelectionRange(),o=e.focusNode,i=e.focusOffset;if(!o)return;let n,r,s=!1;for(Fn&&o.nodeType==1&&i<Vh(o)&&$d(o.childNodes[i],-1)&&(s=!0);;)if(i>0){if(o.nodeType!=1)break;{let a=o.childNodes[i-1];if($d(a,-1))n=o,r=--i;else if(a.nodeType==3)o=a,i=o.nodeValue.length;else break}}else{if(kP(o))break;{let a=o.previousSibling;for(;a&&$d(a,-1);)n=o.parentNode,r=Oo(a),a=a.previousSibling;if(a)o=a,i=Vh(o);else{if(o=o.parentNode,o==t.dom)break;i=0}}}s?qF(t,o,i):n&&qF(t,n,r)}function tJ(t){let e=t.domSelectionRange(),o=e.focusNode,i=e.focusOffset;if(!o)return;let n=Vh(o),r,s;for(;;)if(i<n){if(o.nodeType!=1)break;let a=o.childNodes[i];if($d(a,1))r=o,s=++i;else break}else{if(kP(o))break;{let a=o.nextSibling;for(;a&&$d(a,1);)r=a.parentNode,s=Oo(a)+1,a=a.nextSibling;if(a)o=a,i=0,n=Vh(o);else{if(o=o.parentNode,o==t.dom)break;i=n=0}}}r&&qF(t,r,s)}function kP(t){let e=t.pmViewDesc;return e&&e.node&&e.node.isBlock}function oJ(t,e){for(;t&&e==t.childNodes.length&&!Uc(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 iJ(t,e){for(;t&&!e&&!Uc(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 qF(t,e,o){if(e.nodeType!=3){let r,s;(s=oJ(e,o))?(e=s,o=0):(r=iJ(e,o))&&(e=r,o=r.nodeValue.length)}let i=t.domSelection();if(!i)return;if(qp(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 Sx(t,e){let o=t.state.doc.resolve(e);if(!(vo||BP)&&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 Bx(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=KF(t.state,e);if(s&&s instanceof Xe)return As(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?As(t,a):!1}return!1}function Vx(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 Rx(t,e,o){t.domObserver.stop(),e.contentEditable=o,t.domObserver.start()}function nJ(t){if(!ei||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;Rx(t,i,"true"),setTimeout(()=>Rx(t,i,"false"),20)}return!1}function rJ(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function sJ(t,e){let o=e.keyCode,i=rJ(e);if(o==8||fn&&o==72&&i=="c")return Vx(t,-1)||$l(t,-1);if(o==46&&!e.shiftKey||fn&&o==68&&i=="c")return Vx(t,1)||$l(t,1);if(o==13||o==27)return!0;if(o==37||fn&&o==66&&i=="c"){let n=o==37?Sx(t,t.state.selection.from)=="ltr"?-1:1:-1;return Tx(t,n,i)||$l(t,n)}else if(o==39||fn&&o==70&&i=="c"){let n=o==39?Sx(t,t.state.selection.from)=="ltr"?1:-1:1;return Tx(t,n,i)||$l(t,n)}else{if(o==38||fn&&o==80&&i=="c")return Bx(t,-1,i)||$l(t,-1);if(o==40||fn&&o==78&&i=="c")return nJ(t)||Bx(t,1,i)||$l(t,1);if(i==(fn?"m":"c")&&(o==66||o==73||o==89||o==90))return!0}return!1}function bT(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")||Cl.fromSchema(t.state.schema),a=zP(),u=a.createElement("div");u.appendChild(s.serializeFragment(i,{document:a}));let c=u.firstChild,m,f=0;for(;c&&c.nodeType==1&&(m=$P[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,`
98
-
99
- `);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,`
100
- `))),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=Cl.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=dJ(o),jc&&cJ(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")||Us.fromSchema(t.state.schema)).parseSlice(s,{preserveWhitespace:!!(u||m),context:n,ruleFromNode(p){return p.nodeName=="BR"&&!p.nextSibling&&p.parentNode&&!aJ.test(p.parentNode.nodeName)?{ignore:!0}:null}})),m)a=mJ(Dx(a,+m[1],+m[2]),m[4]);else if(a=_e.maxOpen(lJ(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=Dx(a,f,p)}return t.someProp("transformPasted",f=>{a=f(a,t,u)}),a}const aJ=/^(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 lJ(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&&MP(u,r,a,s[s.length-1],0))s[s.length-1]=c;else{s.length&&(s[s.length-1]=HP(s[s.length-1],r.length));let m=OP(a,u);s.push(m),n=n.matchType(m.type),r=u}}),s)return ge.from(s)}return t}function OP(t,e,o=0){for(let i=e.length-1;i>=o;i--)t=e[i].create(null,ge.from(t));return t}function MP(t,e,o,i,n){if(n<t.length&&n<e.length&&t[n]==e[n]){let r=MP(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(OP(o,t,n+1))))}}function HP(t,e){if(e==0)return t;let o=t.content.replaceChild(t.childCount-1,HP(t.lastChild,e-1)),i=t.contentMatchAt(t.childCount).fillBefore(ge.empty,!0);return t.copy(o.append(i))}function YF(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=YF(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 Dx(t,e,o){return e<t.openStart&&(t=new _e(YF(t.content,-1,e,t.openStart,0,t.openEnd),e,t.openEnd)),o<t.openEnd&&(t=new _e(YF(t.content,1,o,t.openEnd,0,0),t.openStart,o)),t}const $P={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 bx=null;function zP(){return bx||(bx=document.implementation.createHTMLDocument("title"))}let y0=null;function uJ(t){let e=window.trustedTypes;return e?(y0||(y0=e.defaultPolicy||e.createPolicy("ProseMirrorClipboard",{createHTML:o=>o})),y0.createHTML(t)):t}function dJ(t){let e=/^(\s*<meta [^>]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let o=zP().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(t),n;if((n=i&&$P[i[1].toLowerCase()])&&(t=n.map(r=>"<"+r+">").join("")+t+n.map(r=>"</"+r+">").reverse().join("")),o.innerHTML=uJ(t),n)for(let r=0;r<n.length;r++)o=o.querySelector(n[r])||o;return o}function cJ(t){let e=t.querySelectorAll(vo?"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 mJ(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 Ci={},gi={},fJ={touchstart:!0,touchmove:!0};class hJ{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 pJ(t){for(let e in Ci){let o=Ci[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=i=>{gJ(t,i)&&!xT(t,i)&&(t.editable||!(i.type in gi))&&o(t,i)},fJ[e]?{passive:!0}:void 0)}ei&&t.dom.addEventListener("input",()=>null),JF(t)}function Hs(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function CJ(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 JF(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 gJ(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 FJ(t,e){!xT(t,e)&&Ci[e.type]&&(t.editable||!(e.type in gi))&&Ci[e.type](t,e)}gi.keydown=(t,e)=>{let o=e;if(t.input.shiftKey=o.keyCode==16||o.shiftKey,!jP(t,o)&&(t.input.lastKeyCode=o.keyCode,t.input.lastKeyCodeTime=Date.now(),!(Xr&&vo&&o.keyCode==13)))if(o.keyCode!=229&&t.domObserver.forceFlush(),Nu&&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,Aa(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",i=>i(t,o))||sJ(t,o)?o.preventDefault():Hs(t,"key")};gi.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};gi.keypress=(t,e)=>{let o=e;if(jP(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 Jp(t){return{left:t.clientX,top:t.clientY}}function yJ(t,e){let o=e.x-t.clientX,i=e.y-t.clientY;return o*o+i*i<100}function LT(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 cu(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 TJ(t,e){if(e==-1)return!1;let o=t.state.doc.resolve(e),i=o.nodeAfter;return i&&i.isAtom&&Xe.isSelectable(i)?(cu(t,new Xe(o)),!0):!1}function SJ(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?(cu(t,Xe.create(t.state.doc,n)),!0):!1}function BJ(t,e,o,i,n){return LT(t,"handleClickOn",e,o,i)||t.someProp("handleClick",r=>r(t,e,i))||(n?SJ(t,o):TJ(t,o))}function VJ(t,e,o,i){return LT(t,"handleDoubleClickOn",e,o,i)||t.someProp("handleDoubleClick",n=>n(t,e,i))}function RJ(t,e,o,i){return LT(t,"handleTripleClickOn",e,o,i)||t.someProp("handleTripleClick",n=>n(t,e,i))||DJ(t,o,i)}function DJ(t,e,o){if(o.button!=0)return!1;let i=t.state.doc;if(e==-1)return i.inlineContent?(cu(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)cu(t,ht.create(i,a+1,a+1+s.content.size));else if(Xe.isSelectable(s))cu(t,Xe.create(i,a));else continue;return!0}}function ET(t){return Rh(t)}const UP=fn?"metaKey":"ctrlKey";Ci.mousedown=(t,e)=>{let o=e;t.input.shiftKey=o.shiftKey;let i=ET(t),n=Date.now(),r="singleClick";n-t.input.lastClick.time<500&&yJ(o,t.input.lastClick)&&!o[UP]&&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(Jp(o));s&&(r=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new bJ(t,s,o,!!i)):(r=="doubleClick"?VJ:RJ)(t,s.pos,s.inside,o)?o.preventDefault():Hs(t,"pointer"))};class bJ{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[UP],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&&Fn&&!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)),Hs(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(Jp(e))),this.updateAllowDefault(e),this.allowDefault||!o?Hs(this.view,"pointer"):BJ(this.view,o.pos,o.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||ei&&this.mightDrag&&!this.mightDrag.node.isAtom||vo&&!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)?(cu(this.view,Bt.near(this.view.state.doc.resolve(o.pos))),e.preventDefault()):Hs(this.view,"pointer")}move(e){this.updateAllowDefault(e),Hs(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)}}Ci.touchstart=t=>{t.input.lastTouch=Date.now(),ET(t),Hs(t,"pointer")};Ci.touchmove=t=>{t.input.lastTouch=Date.now(),Hs(t,"pointer")};Ci.contextmenu=t=>ET(t);function jP(t,e){return t.composing?!0:ei&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const xJ=Xr?5e3:-1;gi.compositionstart=gi.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)||vo&&BP&&LJ(t)))t.markCursor=t.state.storedMarks||o.marks(),Rh(t,!0),t.markCursor=null;else if(Rh(t,!e.selection.empty),Fn&&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}GP(t,xJ)};function LJ(t){let{focusNode:e,focusOffset:o}=t.domSelectionRange();if(!e||e.nodeType!=1||o>=e.childNodes.length)return!1;let i=e.childNodes[o];return i.nodeType==1&&i.contentEditable=="false"}gi.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++,GP(t,20))};function GP(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>Rh(t),e))}function KP(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=vJ());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function EJ(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let o=SY(e.focusNode,e.focusOffset),i=BY(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 vJ(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function Rh(t,e=!1){if(!(Xr&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),KP(t),e||t.docView&&t.docView.dirty){let o=RT(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 NJ(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 yc=xi&&js<15||Nu&&bY<604;Ci.copy=gi.cut=(t,e)=>{let o=e,i=t.state.selection,n=o.type=="cut";if(i.empty)return;let r=yc?null:o.clipboardData,s=i.content(),{dom:a,text:u}=bT(t,s);r?(o.preventDefault(),r.clearData(),r.setData("text/html",a.innerHTML),r.setData("text/plain",u)):NJ(t,a),n&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function PJ(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function _J(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?Tc(t,i.value,null,n,e):Tc(t,i.textContent,i.innerHTML,n,e)},50)}function Tc(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=PJ(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 qP(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," "):""}gi.paste=(t,e)=>{let o=e;if(t.composing&&!Xr)return;let i=yc?null:o.clipboardData,n=t.input.shiftKey&&t.input.lastKeyCode!=45;i&&Tc(t,qP(i),i.getData("text/html"),n,o)?o.preventDefault():_J(t,o)};class YP{constructor(e,o,i){this.slice=e,this.move=o,this.node=i}}const AJ=fn?"altKey":"ctrlKey";function JP(t,e){let o=t.someProp("dragCopies",i=>!i(e));return o??!e[AJ]}Ci.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(Jp(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}=bT(t,a);(!o.dataTransfer.files.length||!vo||SP>120)&&o.dataTransfer.clearData(),o.dataTransfer.setData(yc?"Text":"text/html",u.innerHTML),o.dataTransfer.effectAllowed="copyMove",yc||o.dataTransfer.setData("text/plain",c),t.dragging=new YP(m,JP(t,o),s)};Ci.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};gi.dragover=gi.dragenter=(t,e)=>e.preventDefault();gi.drop=(t,e)=>{try{IJ(t,e,t.dragging)}finally{t.dragging=null}};function IJ(t,e,o){if(!e.dataTransfer)return;let i=t.posAtCoords(Jp(e));if(!i)return;let n=t.state.doc.resolve(i.pos),r=o&&o.slice;r?t.someProp("transformPasted",C=>{r=C(r,t,!1)}):r=WP(t,qP(e.dataTransfer),yc?null:e.dataTransfer.getData("text/html"),!1,n);let s=!!(o&&JP(t,e));if(t.someProp("handleDrop",C=>C(t,e,r||_e.empty,s))){e.preventDefault();return}if(!r)return;e.preventDefault();let a=r?lY(t.state.doc,n.pos,r):n.pos;a==null&&(a=n.pos);let u=t.state.tr;if(s){let{node:C}=o;C?C.replace(u):u.deleteSelection()}let c=u.mapping.map(a),m=r.openStart==0&&r.openEnd==0&&r.content.childCount==1,f=u.doc;if(m?u.replaceRangeWith(c,c,r.content.firstChild):u.replaceRange(c,c,r),u.doc.eq(f))return;let p=u.doc.resolve(c);if(m&&Xe.isSelectable(r.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(r.content.firstChild))u.setSelection(new Xe(p));else{let C=u.mapping.map(a);u.mapping.maps[u.mapping.maps.length-1].forEach((F,y,T,B)=>C=B),u.setSelection(DT(t,p,u.doc.resolve(C)))}t.focus(),t.dispatch(u.setMeta("uiEvent","drop"))}Ci.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))};Ci.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)};Ci.beforeinput=(t,e)=>{if(vo&&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,Aa(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 gi)Ci[t]=gi[t];function Sc(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 Dh{constructor(e,o){this.toDOM=e,this.spec=o||Ja,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 Dh&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Sc(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Ks{constructor(e,o){this.attrs=e,this.spec=o||Ja}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 Ks&&Sc(this.attrs,e.attrs)&&Sc(this.spec,e.spec)}static is(e){return e.type instanceof Ks}destroy(){}}class vT{constructor(e,o){this.attrs=e,this.spec=o||Ja}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 vT&&Sc(this.attrs,e.attrs)&&Sc(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 Dh(o,i))}static inline(e,o,i,n){return new Cn(e,o,new Ks(i,n))}static node(e,o,i,n){return new Cn(e,o,new vT(i,n))}get spec(){return this.type.spec}get inline(){return this.type instanceof Ks}get widget(){return this.type instanceof Dh}}const Yl=[],Ja={};class Fo{constructor(e,o){this.local=e.length?e:Yl,this.children=o.length?o:Yl}static create(e,o){return o.length?bh(o,e,0,Ja):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||Ja)}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?wJ(this.children,s||[],e,o,i,n,r):s?new Fo(s.sort(Za),Yl):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=XP(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,bh(m,a,c+1,Ja)),r+=3}});let s=ZP(r?QP(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(Za):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 Ks){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(Za),Yl);return i?new ks([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 NT(this.localsInner(e))}localsInner(e){if(this==Yo)return Yl;if(e.inlineContent||!this.local.some(Ks.is))return this.local;let o=[];for(let i=0;i<this.local.length;i++)this.local[i].type instanceof Ks||o.push(this.local[i]);return o}forEachSet(e){e(this)}}Fo.empty=new Fo([],[]);Fo.removeOverlap=NT;const Yo=Fo.empty;class ks{constructor(e){this.members=e}map(e,o){const i=this.members.map(n=>n.map(e,o,Ja));return ks.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 ks?i=i.concat(r.members):i.push(r))}return ks.from(i)}eq(e){if(!(e instanceof ks)||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?NT(i?o:o.sort(Za)):Yl}static from(e){switch(e.length){case 0:return Yo;case 1:return e[0];default:return new ks(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 wJ(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=kJ(a,t,e,o,n,r,s),m=bh(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(Za),a)}function ZP(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 kJ(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 XP(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 QP(t){let e=[];for(let o=0;o<t.length;o++)t[o]!=null&&e.push(t[o]);return e}function bh(t,e,o,i){let n=[],r=!1;e.forEach((a,u)=>{let c=XP(t,a,u+o);if(c){r=!0;let m=bh(c,a,o+u+1,i);m!=Yo&&n.push(u,u+a.nodeSize,m)}});let s=ZP(r?QP(t):t,-o).sort(Za);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 Za(t,e){return t.from-e.from||t.to-e.to}function NT(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),xx(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),xx(e,n,i.copy(r.from,i.to)));break}}}return e}function xx(t,e,o){for(;e<t.length&&Za(o,t[e])>0;)e++;t.splice(e,0,o)}function T0(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])),ks.from(e)}const WJ={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},OJ=xi&&js<=11;class MJ{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 HJ{constructor(e,o){this.view=e,this.handleDOMChange=o,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new MJ,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]);xi&&js<=11&&i.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),OJ&&(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,WJ)),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(yx(this.view)){if(this.suppressingSelectionUpdates)return is(this.view);if(xi&&js<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&ll(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=vu(r))o.add(r);for(let r=e.anchorNode;r;r=vu(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)&&yx(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(Fn&&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||UJ(e,f)!=C)&&p.remove()}}}else if((vo||ei)&&u.some(m=>m.nodeName=="BR")&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46)){for(let m of u)if(m.nodeName=="BR"&&m.parentNode){let f=m.nextSibling;f&&f.nodeType==1&&f.contentEditable=="false"&&m.parentNode.removeChild(m)}}let c=null;r<0&&n&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&qp(i)&&(c=RT(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),$J(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(xi&&js<=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 Lx=new WeakMap,Ex=!1;function $J(t){if(!Lx.has(t)&&(Lx.set(t,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace)!==-1)){if(t.requiresGeckoHackNode=Fn,Ex)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."),Ex=!0}}function vx(t,e){let o=e.startContainer,i=e.startOffset,n=e.endContainer,r=e.endOffset,s=t.domAtPos(t.state.selection.anchor);return ll(s.node,s.offset,n,r)&&([o,i,n,r]=[n,r,o,i]),{anchorNode:o,anchorOffset:i,focusNode:n,focusOffset:r}}function zJ(t,e){if(e.getComposedRanges){let n=e.getComposedRanges(t.root)[0];if(n)return vx(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?vx(t,o):null}function UJ(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 jJ(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}],qp(u)||c.push({node:u.focusNode,offset:u.focusOffset})),vo&&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")||Us.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:GJ,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 GJ(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(ei&&/^(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||ei&&/^(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 KJ=/^(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 qJ(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,O=RT(t,P);if(O&&!t.state.selection.eq(O)){if(vo&&Xr&&t.input.lastKeyCode===13&&Date.now()-100<t.input.lastKeyCodeTime&&t.someProp("handleKeyDown",ne=>ne(t,Aa(13,"Enter"))))return;let W=t.state.tr.setSelection(O);P=="pointer"?W.setMeta("pointer",!0):P=="key"&&W.scrollIntoView(),r&&W.setMeta("composition",r),t.dispatch(W)}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=jJ(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=ZJ(f.content,c.doc.content,c.from,p,C);if(F&&t.input.domChangeCount++,(Nu&&t.input.lastIOSEnter>Date.now()-225||Xr)&&n.some(P=>P.nodeType==1&&!KJ.test(P.nodeName))&&(!F||F.endA>=F.endB)&&t.someProp("handleKeyDown",P=>P(t,Aa(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=Nx(t,t.state.doc,c.sel);if(P&&!P.eq(t.state.selection)){let O=t.state.tr.setSelection(P);r&&O.setMeta("composition",r),t.dispatch(O)}}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)),xi&&js<=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((Nu&&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,Aa(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>F.start&&JJ(m,F.start,F.endA,y,T)&&t.someProp("handleKeyDown",P=>P(t,Aa(8,"Backspace")))){Xr&&vo&&t.domObserver.suppressSelectionUpdates();return}vo&&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,Aa(13,"Enter"))})},20));let D=F.start,R=F.endA,N=P=>{let O=P||t.state.tr.replace(D,R,c.doc.slice(F.start-c.from,F.endB-c.from));if(c.sel){let W=Nx(t,O.doc,c.sel);W&&!(vo&&t.composing&&W.empty&&(F.start!=F.endB||t.input.lastChromeDelete<Date.now()-100)&&(W.head==D||W.head==O.mapping.map(R)-1)||xi&&W.empty&&W.head==D)&&O.setSelection(W)}return r&&O.setMeta("composition",r),O.scrollIntoView()},_;if(v)if(y.pos==T.pos){xi&&js<=11&&y.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>is(t),20));let P=N(t.state.tr.delete(D,R)),O=m.resolve(F.start).marksAcross(m.resolve(F.endA));O&&P.ensureMarks(O),t.dispatch(P)}else if(F.endA==F.endB&&(_=YJ(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),O=()=>N(t.state.tr.insertText(P,D,R));t.someProp("handleTextInput",W=>W(t,D,R,P,O))||t.dispatch(O())}else t.dispatch(N());else t.dispatch(N())}function Nx(t,e,o){return Math.max(o.anchor,o.head)>e.content.size?null:DT(t,e.resolve(o.anchor),e.resolve(o.head))}function YJ(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 JJ(t,e,o,i,n){if(o-e<=n.pos-i.pos||S0(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(S0(r,!0,!0));return!s.parent.isTextblock||s.pos>o||S0(s,!0,!1)<o?!1:i.parent.content.cut(i.parentOffset).eq(s.parent.content)}function S0(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 ZJ(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&&Px(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&&Px(t.textBetween(r-1,r+1))&&(r+=u?1:-1),s=r+(s-a),a=r}return{start:r,endA:s,endB:a}}function Px(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 e_{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 hJ,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=o,this.state=o.state,this.directPlugins=o.plugins||[],this.directPlugins.forEach(kx),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=Ix(this),Ax(this),this.nodeViews=wx(this),this.docView=fx(this.state.doc,_x(this),T0(this),this.dom,this),this.domObserver=new HJ(this,(i,n,r,s)=>qJ(this,i,n,r,s)),this.domObserver.start(),pJ(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&&JF(this);let o=this._props;this._props=e,e.plugins&&(e.plugins.forEach(kx),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&&(KP(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=wx(this);QJ(C,this.nodeViews)&&(this.nodeViews=C,r=!0)}(a||o.handleDOMEvents!=this._props.handleDOMEvents)&&JF(this),this.editable=Ix(this),Ax(this);let u=T0(this),c=_x(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&&EY(this);if(s){this.domObserver.stop();let C=f&&(xi||vo)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&XJ(n.selection,e.selection);if(f){let F=vo?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=EJ(this)),(r||!this.docView.update(e.doc,c,u,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=fx(e.doc,c,u,this.dom,this)),F&&!this.trackWrites&&(C=!0)}C||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&QY(this))?is(this,C):(IP(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&&vY(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&&ax(this,o.getBoundingClientRect(),e)}else ax(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 YP(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(xi){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&&NY(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 wY(this,e)}coordsAtPos(e,o=1){return xP(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 HY(this,o||this.state,e)}pasteHTML(e,o){return Tc(this,"",e,!1,o||new ClipboardEvent("paste"))}pasteText(e,o){return Tc(this,e,null,!0,o||new ClipboardEvent("paste"))}serializeForClipboard(e){return bT(this,e)}destroy(){this.docView&&(CJ(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],T0(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,yY())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return FJ(this,e)}domSelectionRange(){let e=this.domSelection();return e?ei&&this.root.nodeType===11&&RY(this.dom.ownerDocument)==this.dom&&zJ(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}e_.prototype.dispatch=function(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))};function _x(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 Ax(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 Ix(t){return!t.someProp("editable",e=>e(t.state)===!1)}function XJ(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 wx(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 QJ(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 kx(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 ea={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:'"'},eZ=typeof navigator<"u"&&/Mac/.test(navigator.platform),tZ=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Mo=0;Mo<10;Mo++)ea[48+Mo]=ea[96+Mo]=String(Mo);for(var Mo=1;Mo<=24;Mo++)ea[Mo+111]="F"+Mo;for(var Mo=65;Mo<=90;Mo++)ea[Mo]=String.fromCharCode(Mo+32),xh[Mo]=String.fromCharCode(Mo);for(var B0 in ea)xh.hasOwnProperty(B0)||(xh[B0]=ea[B0]);function oZ(t){var e=eZ&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||tZ&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",o=!e&&t.key||(t.shiftKey?xh:ea)[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 iZ=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),nZ=typeof navigator<"u"&&/Win/.test(navigator.platform);function rZ(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))iZ?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 sZ(t){let e=Object.create(null);for(let o in t)e[rZ(o)]=t[o];return e}function V0(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 aZ(t){return new zo({props:{handleKeyDown:lZ(t)}})}function lZ(t){let e=sZ(t);return function(o,i){let n=oZ(i),r,s=e[V0(n,i)];if(s&&s(o.state,o.dispatch,o))return!0;if(n.length==1&&n!=" "){if(i.shiftKey){let a=e[V0(n,i,!1)];if(a&&a(o.state,o.dispatch,o))return!0}if((i.altKey||i.metaKey||i.ctrlKey)&&!(nZ&&i.ctrlKey&&i.altKey)&&(r=ea[i.keyCode])&&r!=n){let a=e[V0(r,i)];if(a&&a(o.state,o.dispatch,o))return!0}}return!1}}const PT=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function t_(t,e){let{$cursor:o}=t.selection;return!o||(e?!e.endOfTextblock("backward",t):o.parentOffset>0)?null:o}const o_=(t,e,o)=>{let i=t_(t,o);if(!i)return!1;let n=_T(i);if(!n){let s=i.blockRange(),a=s&&$u(s);return a==null?!1:(e&&e(t.tr.lift(s,a).scrollIntoView()),!0)}let r=n.nodeBefore;if(c_(t,n,e,-1))return!0;if(i.parent.content.size==0&&(Pu(r,"end")||Xe.isSelectable(r)))for(let s=i.depth;;s--){let a=Gp(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(Pu(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},uZ=(t,e,o)=>{let i=t_(t,o);if(!i)return!1;let n=_T(i);return n?i_(t,n,e):!1},dZ=(t,e,o)=>{let i=r_(t,o);if(!i)return!1;let n=AT(i);return n?i_(t,n,e):!1};function i_(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=Gp(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 Pu(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 n_=(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=_T(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 _T(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 r_(t,e){let{$cursor:o}=t.selection;return!o||(e?!e.endOfTextblock("forward",t):o.parentOffset<o.parent.content.size)?null:o}const s_=(t,e,o)=>{let i=r_(t,o);if(!i)return!1;let n=AT(i);if(!n)return!1;let r=n.nodeAfter;if(c_(t,n,e,1))return!0;if(i.parent.content.size==0&&(Pu(r,"start")||Xe.isSelectable(r))){let s=Gp(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(Pu(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},a_=(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=AT(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 AT(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 cZ=(t,e)=>{let o=t.selection,i=o instanceof Xe,n;if(i){if(o.node.isTextblock||!ca(t.doc,o.from))return!1;n=o.from}else if(n=jp(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},mZ=(t,e)=>{let o=t.selection,i;if(o instanceof Xe){if(o.node.isTextblock||!ca(t.doc,o.to))return!1;i=o.to}else if(i=jp(t.doc,o.to,1),i==null)return!1;return e&&e(t.tr.join(i).scrollIntoView()),!0},fZ=(t,e)=>{let{$from:o,$to:i}=t.selection,n=o.blockRange(i),r=n&&$u(n);return r==null?!1:(e&&e(t.tr.lift(n,r).scrollIntoView()),!0)},l_=(t,e)=>{let{$head:o,$anchor:i}=t.selection;return!o.parent.type.spec.code||!o.sameParent(i)?!1:(e&&e(t.tr.insertText(`
101
- `).scrollIntoView()),!0)};function IT(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 hZ=(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=IT(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},u_=(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=IT(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},d_=(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&&$u(i);return n==null?!1:(e&&e(t.tr.lift(i,n).scrollIntoView()),!0)};function pZ(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=IT(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 CZ=pZ(),gZ=(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 FZ(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||ca(t.doc,e.pos))?!1:(o&&o(t.tr.join(e.pos).scrollIntoView()),!0)}function c_(t,e,o,i){let n=e.nodeBefore,r=e.nodeAfter,s,a,u=n.type.spec.isolating||r.type.spec.isolating;if(!u&&FZ(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 Po(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&&ca(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&&$u(f);if(p!=null&&p>=e.depth)return o&&o(t.tr.lift(f,p).scrollIntoView()),!0;if(c&&Pu(r,"start",!0)&&Pu(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 Po(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 m_(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 yZ=m_(-1),TZ=m_(1);function SZ(t,e=null){return function(o,i){let{$from:n,$to:r}=o.selection,s=n.blockRange(r),a=s&&ST(s,t,e);return a?(i&&i(o.tr.wrap(s,a).scrollIntoView()),!0):!1}}function Wx(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 wT(...t){return function(e,o,i){for(let n=0;n<t.length;n++)if(t[n](e,o,i))return!0;return!1}}wT(PT,o_,n_);wT(PT,s_,a_);wT(l_,u_,d_,CZ);typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function BZ(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 VZ(a,s,t,e)?(i&&i(a.scrollIntoView()),!0):!1}}function VZ(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 Th(u,u,e.depth),e.endIndex<e.parent.childCount&&(e=new Th(e.$from,s.resolve(e.$to.end(e.depth)),e.depth)),n=!0}let a=ST(r,o,i,e);return a?(t&&RZ(t,e,a,n,o),!0):!1}function RZ(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 Po(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 DZ(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?bZ(e,o,t,r):xZ(e,o,r):!0:!1}}function bZ(t,e,o,i){let n=t.tr,r=i.end,s=i.$to.end(i.depth);r<s&&(n.step(new Po(r-1,s,r,s,new _e(ge.from(o.create(null,i.parent.copy())),1,0),1,!0)),i=new Th(n.doc.resolve(i.$from.pos),n.doc.resolve(s),i.depth));const a=$u(i);if(a==null)return!1;n.lift(i,a);let u=n.doc.resolve(n.mapping.map(r,-1)-1);return ca(n.doc,u.pos)&&u.nodeBefore.type==u.nodeAfter.type&&n.join(u.pos),e(n.scrollIntoView()),!0}function xZ(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 Po(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 LZ(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 Po(p-(c?3:1),C,p,C,f,1,!0)).scrollIntoView())}return!0}}function Zp(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 Xp{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:Zp({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 EZ{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 Qp(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 f_(t){const e=[],{nodeExtensions:o,markExtensions:i}=Qp(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 Ao(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 ZF(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 h_(t){return typeof t=="function"}function Tt(t,e=void 0,...o){return h_(t)?e?t.bind(e)(...o):t(...o):t}function vZ(t={}){return Object.keys(t).length===0&&t.constructor===Object}function NZ(t){return typeof t!="string"?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):t==="true"?!0:t==="false"?!1:t}function Ox(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):NZ(o.getAttribute(s.name));return a==null?r:{...r,[s.name]:a}},{});return{...i,...n}}}}function Mx(t){return Object.fromEntries(Object.entries(t).filter(([e,o])=>e==="attrs"&&vZ(o)?!1:o!=null))}function PZ(t,e){var o;const i=f_(t),{nodeExtensions:n,markExtensions:r}=Qp(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=Mx({...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=>Ox(B,m)));const y=He(c,"renderHTML",f);y&&(C.toDOM=B=>y({node:B,HTMLAttributes:ZF(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=Mx({...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=>Ox(T,m)));const y=He(c,"renderHTML",f);return y&&(C.toDOM=T=>y({mark:T,HTMLAttributes:ZF(T,m)})),[c.name,C]}));return new oP({topNode:s,nodes:a,marks:u})}function R0(t,e){return e.nodes[t]||e.marks[t]||null}function Hx(t,e){return Array.isArray(e)?e.some(o=>(typeof o=="string"?o:o.name)===t.name):e}function kT(t,e){const o=Cl.fromSchema(e).serializeFragment(t),n=document.implementation.createHTMLDocument().createElement("div");return n.appendChild(o),n.innerHTML}const _Z=(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 WT(t){return Object.prototype.toString.call(t)==="[object RegExp]"}class p_{constructor(e){this.find=e.find,this.handler=e.handler}}const AZ=(t,e)=>{if(WT(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 yf(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=_Z(c)+r;return s.forEach(p=>{if(m)return;const C=AZ(f,p.find);if(!C)return;const F=u.state.tr,y=Zp({state:u.state,transaction:F}),T={from:i-(C[0].length-r.length),to:n},{commands:B,chain:v,can:D}=new Xp({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 IZ(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=kT(ge.from(m),s.schema);const{from:f}=u,p=f+m.length;yf({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 yf({editor:e,from:r,to:s,text:a,rules:o,plugin:i})},handleDOMEvents:{compositionend:n=>(setTimeout(()=>{const{$cursor:r}=n.state.selection;r&&yf({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?yf({editor:e,from:s.pos,to:s.pos,text:`
102
- `,rules:o,plugin:i}):!1}},isInputRules:!0});return i}function wZ(t){return Object.prototype.toString.call(t).slice(8,-1)}function Tf(t){return wZ(t)!=="Object"?!1:t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype}function eC(t,e){const o={...t};return Tf(t)&&Tf(e)&&Object.keys(e).forEach(i=>{Tf(e[i])&&Tf(t[i])?o[i]=eC(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:()=>eC(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 kZ(t){return typeof t=="number"}class WZ{constructor(e){this.find=e.find,this.handler=e.handler}}const OZ=(t,e,o)=>{if(WT(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 MZ(t){const{editor:e,state:o,from:i,to:n,rule:r,pasteEvent:s,dropEvent:a}=t,{commands:u,chain:c,can:m}=new Xp({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,"");OZ(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 Sf=null;const HZ=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 $Z(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=Zp({state:m,transaction:y});if(!(!MZ({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&&(Sf=e)},C=()=>{Sf&&(Sf=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=Sf;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=kT(ge.from(N),C.schema);const{from:_}=B,P=_+N.length,O=HZ(N);return u({rule:m,state:C,from:_,to:{b:P},pasteEvt:O})}const D=p.doc.content.findDiffStart(C.doc.content),R=p.doc.content.findDiffEnd(C.doc.content);if(!(!kZ(D)||!R||D===R.b))return u({rule:m,state:C,from:D,to:R,pasteEvt:s})}}))}function zZ(t){const e=t.filter((o,i)=>t.indexOf(o)!==i);return Array.from(new Set(e))}class eu{constructor(e,o){this.splittableMarks=[],this.editor=o,this.extensions=eu.resolve(e),this.schema=PZ(this.extensions,o),this.setupExtensions()}static resolve(e){const o=eu.sort(eu.flatten(e)),i=zZ(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:R0(o.name,this.schema)},n=He(o,"addCommands",i);return n?{...e,...n()}:e},{})}get plugins(){const{editor:e}=this,o=eu.sort([...this.extensions].reverse()),i=[],n=[],r=o.map(s=>{const a={name:s.name,options:s.options,storage:s.storage,editor:e,type:R0(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=aZ(m);u.push(f);const p=He(s,"addInputRules",a);Hx(s,e.options.enableInputRules)&&p&&i.push(...p());const C=He(s,"addPasteRules",a);Hx(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[IZ({editor:e,rules:i}),...$Z({editor:e,rules:n}),...r]}get attributes(){return f_(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:o}=Qp(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:Ao(i.name,this.schema)},s=He(i,"addNodeView",r);if(!s)return[];const a=(u,c,m,f,p)=>{const C=ZF(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:R0(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:()=>eC(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 C_(t,e,o){const{from:i,to:n}=e,{blockSeparator:r=`
103
-
104
- `,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 g_(t){return Object.fromEntries(Object.entries(t.nodes).filter(([,e])=>e.spec.toText).map(([e,o])=>[e,o.spec.toText]))}const UZ=ti.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new zo({key:new vi("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=g_(o);return C_(i,{from:s,to:a},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:u})}}})]}}),jZ=()=>({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),GZ=(t=!1)=>({commands:e})=>e.setContent("",t),KZ=()=>({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=$u(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},qZ=t=>e=>t(e),YZ=()=>({state:t,dispatch:e})=>u_(t,e),JZ=(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},ZZ=()=>({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},XZ=t=>({tr:e,state:o,dispatch:i})=>{const n=Ao(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},QZ=t=>({tr:e,dispatch:o})=>{const{from:i,to:n}=t;return o&&e.delete(i,n),!0},eX=()=>({state:t,dispatch:e})=>PT(t,e),tX=()=>({commands:t})=>t.keyboardShortcut("Enter"),oX=()=>({state:t,dispatch:e})=>hZ(t,e);function Lh(t,e,o={strict:!0}){const i=Object.keys(e);return i.length?i.every(n=>o.strict?e[n]===t[n]:WT(e[n])?e[n].test(t[n]):e[n]===t[n]):!0}function F_(t,e,o={}){return t.find(i=>i.type===e&&Lh(Object.fromEntries(Object.keys(o).map(n=>[n,i.attrs[n]])),o))}function $x(t,e,o={}){return!!F_(t,e,o)}function OT(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),!F_([...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&&$x([...t.parent.child(s-1).marks],e,o);)s-=1,a-=t.parent.child(s).nodeSize;for(;u<t.parent.childCount&&$x([...t.parent.child(u).marks],e,o);)c+=t.parent.child(u).nodeSize,u+=1;return{from:a,to:c}}function fa(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 iX=(t,e={})=>({tr:o,state:i,dispatch:n})=>{const r=fa(t,i.schema),{doc:s,selection:a}=o,{$from:u,from:c,to:m}=a;if(n){const f=OT(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},nX=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 y_(t){return t instanceof ht}function Ha(t=0,e=0,o=0){return Math.min(Math.max(t,e),o)}function T_(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,Ha(0,n,r),Ha(t.content.size,n,r)):ht.create(t,Ha(e,n,r),Ha(e,n,r))}function rX(){return navigator.platform==="Android"||/android/i.test(navigator.userAgent)}function MT(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const sX=(t=null,e={})=>({editor:o,view:i,tr:n,dispatch:r})=>{e={scrollIntoView:!0,...e};const s=()=>{(MT()||rX())&&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&&!y_(o.state.selection))return s(),!0;const a=T_(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},aX=(t,e)=>o=>t.every((i,n)=>e(i,{...o,index:n})),lX=(t,e)=>({tr:o,commands:i})=>i.insertContentAt({from:o.selection.from,to:o.selection.to},t,e),S_=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&&S_(i)}return t};function Bf(t){const e=`<body>${t}</body>`,o=new window.DOMParser().parseFromString(e,"text/html").body;return S_(o)}function Bc(t,e,o){if(t instanceof zs||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),Bc("",e,o)}if(n){if(o.errorOnInvalidContent){let s=!1,a="";const u=new oP({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?Us.fromSchema(u).parseSlice(Bf(t),o.parseOptions):Us.fromSchema(u).parse(Bf(t),o.parseOptions),o.errorOnInvalidContent&&s)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${a}`)})}const r=Us.fromSchema(e);return o.slice?r.parseSlice(Bf(t),o.parseOptions).content:r.parse(Bf(t),o.parseOptions)}return Bc("",e,o)}function uX(t,e,o){const i=t.steps.length-1;if(i<e)return;const n=t.steps[i];if(!(n instanceof Eo||n instanceof Po))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 dX=t=>!("type"in t),cX=(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{Bc(e,r.schema,{parseOptions:c,errorOnInvalidContent:!0})}catch(T){u(T)}try{a=Bc(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((dX(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&&uX(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},mX=()=>({state:t,dispatch:e})=>cZ(t,e),fX=()=>({state:t,dispatch:e})=>mZ(t,e),hX=()=>({state:t,dispatch:e})=>o_(t,e),pX=()=>({state:t,dispatch:e})=>s_(t,e),CX=()=>({state:t,dispatch:e,tr:o})=>{try{const i=jp(t.doc,t.selection.$from.pos,-1);return i==null?!1:(o.join(i,2),e&&e(o),!0)}catch{return!1}},gX=()=>({state:t,dispatch:e,tr:o})=>{try{const i=jp(t.doc,t.selection.$from.pos,1);return i==null?!1:(o.join(i,2),e&&e(o),!0)}catch{return!1}},FX=()=>({state:t,dispatch:e})=>uZ(t,e),yX=()=>({state:t,dispatch:e})=>dZ(t,e);function B_(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function TX(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))MT()||B_()?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 SX=t=>({editor:e,view:o,tr:i,dispatch:n})=>{const r=TX(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 Vc(t,e,o={}){const{from:i,to:n,empty:r}=t.selection,s=e?Ao(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=>Lh(f.node.attrs,o,{strict:!1}));return r?!!c.length:c.reduce((f,p)=>f+p.to-p.from,0)>=u}const BX=(t,e={})=>({state:o,dispatch:i})=>{const n=Ao(t,o.schema);return Vc(o,n,e)?fZ(o,i):!1},VX=()=>({state:t,dispatch:e})=>d_(t,e),RX=t=>({state:e,dispatch:o})=>{const i=Ao(t,e.schema);return DZ(i)(e,o)},DX=()=>({state:t,dispatch:e})=>l_(t,e);function tC(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function zx(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 bX=(t,e)=>({tr:o,state:i,dispatch:n})=>{let r=null,s=null;const a=tC(typeof t=="string"?t:t.name,i.schema);return a?(a==="node"&&(r=Ao(t,i.schema)),a==="mark"&&(s=fa(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,zx(c.attrs,e)),s&&c.marks.length&&c.marks.forEach(f=>{s===f.type&&o.addMark(m,m+c.nodeSize,s.create(zx(f.attrs,e)))})})}),!0):!1},xX=()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),LX=()=>({tr:t,dispatch:e})=>{if(e){const o=new Gi(t.doc);t.setSelection(o)}return!0},EX=()=>({state:t,dispatch:e})=>n_(t,e),vX=()=>({state:t,dispatch:e})=>a_(t,e),NX=()=>({state:t,dispatch:e})=>gZ(t,e),PX=()=>({state:t,dispatch:e})=>TZ(t,e),_X=()=>({state:t,dispatch:e})=>yZ(t,e);function XF(t,e,o={},i={}){return Bc(t,e,{slice:!1,parseOptions:o,errorOnInvalidContent:i.errorOnInvalidContent})}const AX=(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=XF(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 V_(t,e){const o=fa(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 IX(t,e){const o=new gP(t);return e.forEach(i=>{i.steps.forEach(n=>{o.step(n)})}),o}function wX(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 kX(t,e,o){const i=[];return t.nodesBetween(e.from,e.to,(n,r)=>{o(n)&&i.push({node:n,pos:r})}),i}function WX(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 HT(t){return e=>WX(e.$from,t)}function OX(t,e){const o={from:0,to:t.content.size};return C_(t,o,e)}function MX(t,e){const o=Ao(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 R_(t,e){const o=tC(typeof e=="string"?e:e.name,t.schema);return o==="node"?MX(t,e):o==="mark"?V_(t,e):{}}function HX(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 $X(t){const e=HX(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 zX(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}})})}),$X(i)}function D_(t,e,o){const i=[];return t===e?o.resolve(t).marks().forEach(n=>{const r=o.resolve(t),s=OT(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 Of(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 QF(t,e,o={}){const{empty:i,ranges:n}=t.selection,r=e?fa(e,t.schema):null;if(i)return!!(t.storedMarks||t.selection.$from.marks()).filter(f=>r?r.name===f.type.name:!0).find(f=>Lh(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=>Lh(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 UX(t,e,o={}){if(!e)return Vc(t,null,o)||QF(t,null,o);const i=tC(e,t.schema);return i==="node"?Vc(t,e,o):i==="mark"?QF(t,e,o):!1}function Ux(t,e){const{nodeExtensions:o}=Qp(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 $T(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&&($T(r,{ignoreWhitespace:o,checkChildren:e})||(n=!1))}),n}return!1}function jX(t,e,o){var i;const{selection:n}=e;let r=null;if(y_(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 GX=(t,e={})=>({tr:o,state:i,dispatch:n})=>{const{selection:r}=o,{empty:s,ranges:a}=r,u=fa(t,i.schema);if(n)if(s){const c=V_(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 jX(i,o,u)},KX=(t,e)=>({tr:o})=>(o.setMeta(t,e),!0),qX=(t,e={})=>({state:o,dispatch:i,chain:n})=>{const r=Ao(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})=>Wx(r,{...s,...e})(o)?!0:a.clearNodes()).command(({state:a})=>Wx(r,{...s,...e})(a,i)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},YX=t=>({tr:e,dispatch:o})=>{if(o){const{doc:i}=e,n=Ha(t,0,i.content.size),r=Xe.create(i,n);e.setSelection(r)}return!0},JX=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=Ha(n,s,a),c=Ha(r,s,a),m=ht.create(i,u,c);e.setSelection(m)}return!0},ZX=t=>({state:e,dispatch:o})=>{const i=Ao(t,e.schema);return LZ(i)(e,o)};function jx(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 XX=({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=Of(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&&jx(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:wX(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&&jx(o,n.extensionManager.splittableMarks),e.scrollIntoView()}return F},QX=(t,e={})=>({tr:o,state:i,dispatch:n,editor:r})=>{var s;const a=Ao(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 O=u.depth-v;O>=u.depth-3;O-=1)B=ge.from(u.node(O).copy(B));const D=u.indexAfter(-1)<u.node(-2).childCount?1:u.indexAfter(-2)<u.node(-3).childCount?2:3,R={...Of(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,(O,W)=>{if(P>-1)return!1;O.isTextblock&&O.content.size===0&&(P=W+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={...Of(p,f.type.name,f.attrs),...e},y={...Of(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},D0=(t,e)=>{const o=HT(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)&&ca(t.doc,o.pos)&&t.join(o.pos),!0},b0=(t,e)=>{const o=HT(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)&&ca(t.doc,i)&&t.join(i),!0},eQ=(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=Ao(t,s.schema),F=Ao(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=HT(_=>Ux(_.type.name,f))(y);if(D.depth>=1&&N&&D.depth-N.depth<=1){if(N.node.type===C)return c.liftListItem(F);if(Ux(N.node.type.name,f)&&C.validContent(N.node.content)&&a)return u().command(()=>(r.setNodeMarkup(N.pos,C),!0)).command(()=>D0(r,C)).command(()=>b0(r,C)).run()}return!o||!R||!a?u().command(()=>m().wrapInList(C,i)?!0:c.clearNodes()).wrapInList(C,i).command(()=>D0(r,C)).command(()=>b0(r,C)).run():u().command(()=>{const _=m().wrapInList(C,i),P=R.filter(O=>p.includes(O.type.name));return r.ensureMarks(P),_?!0:c.clearNodes()}).wrapInList(C,i).command(()=>D0(r,C)).command(()=>b0(r,C)).run()},tQ=(t,e={},o={})=>({state:i,commands:n})=>{const{extendEmptyMarkRange:r=!1}=o,s=fa(t,i.schema);return QF(i,s,e)?n.unsetMark(s,{extendEmptyMarkRange:r}):n.setMark(s,e)},oQ=(t,e,o={})=>({state:i,commands:n})=>{const r=Ao(t,i.schema),s=Ao(e,i.schema),a=Vc(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})},iQ=(t,e={})=>({state:o,commands:i})=>{const n=Ao(t,o.schema);return Vc(o,n,e)?i.lift(n):i.wrapIn(n,e)},nQ=()=>({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},rQ=()=>({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},sQ=(t,e={})=>({tr:o,state:i,dispatch:n})=>{var r;const{extendEmptyMarkRange:s=!1}=e,{selection:a}=o,u=fa(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=OT(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},aQ=(t,e={})=>({tr:o,state:i,dispatch:n})=>{let r=null,s=null;const a=tC(typeof t=="string"?t:t.name,i.schema);return a?(a==="node"&&(r=Ao(t,i.schema)),a==="mark"&&(s=fa(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},lQ=(t,e={})=>({state:o,dispatch:i})=>{const n=Ao(t,o.schema);return SZ(n,e)(o,i)},uQ=(t,e={})=>({state:o,dispatch:i})=>{const n=Ao(t,o.schema);return BZ(n,e)(o,i)};var dQ=Object.freeze({__proto__:null,blur:jZ,clearContent:GZ,clearNodes:KZ,command:qZ,createParagraphNear:YZ,cut:JZ,deleteCurrentNode:ZZ,deleteNode:XZ,deleteRange:QZ,deleteSelection:eX,enter:tX,exitCode:oX,extendMarkRange:iX,first:nX,focus:sX,forEach:aX,insertContent:lX,insertContentAt:cX,joinBackward:hX,joinDown:fX,joinForward:pX,joinItemBackward:CX,joinItemForward:gX,joinTextblockBackward:FX,joinTextblockForward:yX,joinUp:mX,keyboardShortcut:SX,lift:BX,liftEmptyBlock:VX,liftListItem:RX,newlineInCode:DX,resetAttributes:bX,scrollIntoView:xX,selectAll:LX,selectNodeBackward:EX,selectNodeForward:vX,selectParentNode:NX,selectTextblockEnd:PX,selectTextblockStart:_X,setContent:AX,setMark:GX,setMeta:KX,setNode:qX,setNodeSelection:YX,setTextSelection:JX,sinkListItem:ZX,splitBlock:XX,splitListItem:QX,toggleList:eQ,toggleMark:tQ,toggleNode:oQ,toggleWrap:iQ,undoInputRule:nQ,unsetAllMarks:rQ,unsetMark:sQ,updateAttributes:aQ,wrapIn:lQ,wrapInList:uQ});const cQ=ti.create({name:"commands",addCommands(){return{...dQ}}}),mQ=ti.create({name:"drop",addProseMirrorPlugins(){return[new zo({key:new vi("tiptapDrop"),props:{handleDrop:(t,e,o,i)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:o,moved:i})}}})]}}),fQ=ti.create({name:"editable",addProseMirrorPlugins(){return[new zo({key:new vi("editable"),props:{editable:()=>this.editor.options.editable}})]}}),hQ=new vi("focusEvents"),pQ=ti.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new zo({key:hQ,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}}}})]}}),CQ=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 MT()||B_()?r:n},addProseMirrorPlugins(){return[new zo({key:new vi("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)||!$T(o.doc))return;const p=o.tr,C=Zp({state:o,transaction:p}),{commands:F}=new Xp({editor:this.editor,state:C});if(F.clearNodes(),!!p.steps.length)return p}})]}}),gQ=ti.create({name:"paste",addProseMirrorPlugins(){return[new zo({key:new vi("tiptapPaste"),props:{handlePaste:(t,e,o)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:o})}}})]}}),FQ=ti.create({name:"tabindex",addProseMirrorPlugins(){return[new zo({key:new vi("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class Ia{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 Ia(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 Ia(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 Ia(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 Ia(a,this.editor,n,n?o:null);n&&(u.actualDepth=this.depth+1),e.push(new Ia(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 yQ=`.ProseMirror {
105
- position: relative;
106
- }
107
-
108
- .ProseMirror {
109
- word-wrap: break-word;
110
- white-space: pre-wrap;
111
- white-space: break-spaces;
112
- -webkit-font-variant-ligatures: none;
113
- font-variant-ligatures: none;
114
- font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
115
- }
116
-
117
- .ProseMirror [contenteditable="false"] {
118
- white-space: normal;
119
- }
120
-
121
- .ProseMirror [contenteditable="false"] [contenteditable="true"] {
122
- white-space: pre-wrap;
123
- }
124
-
125
- .ProseMirror pre {
126
- white-space: pre-wrap;
127
- }
128
-
129
- img.ProseMirror-separator {
130
- display: inline !important;
131
- border: none !important;
132
- margin: 0 !important;
133
- width: 0 !important;
134
- height: 0 !important;
135
- }
136
-
137
- .ProseMirror-gapcursor {
138
- display: none;
139
- pointer-events: none;
140
- position: absolute;
141
- margin: 0;
142
- }
143
-
144
- .ProseMirror-gapcursor:after {
145
- content: "";
146
- display: block;
147
- position: absolute;
148
- top: -2px;
149
- width: 20px;
150
- border-top: 1px solid black;
151
- animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
152
- }
153
-
154
- @keyframes ProseMirror-cursor-blink {
155
- to {
156
- visibility: hidden;
157
- }
158
- }
159
-
160
- .ProseMirror-hideselection *::selection {
161
- background: transparent;
162
- }
163
-
164
- .ProseMirror-hideselection *::-moz-selection {
165
- background: transparent;
166
- }
167
-
168
- .ProseMirror-hideselection * {
169
- caret-color: transparent;
170
- }
171
-
172
- .ProseMirror-focused .ProseMirror-gapcursor {
173
- display: block;
174
- }
175
-
176
- .tippy-box[data-animation=fade][data-state=hidden] {
177
- opacity: 0
178
- }`;function TQ(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 SQ=class extends EZ{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=TQ(yQ,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=h_(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?[fQ,UZ.configure({blockSeparator:(o=(e=this.options.coreExtensionOptions)===null||e===void 0?void 0:e.clipboardTextSerializer)===null||o===void 0?void 0:o.blockSeparator}),cQ,pQ,CQ,FQ,mQ,gQ].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 eu(n,this)}createCommandManager(){this.commandManager=new Xp({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var e;let o;try{o=XF(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=XF(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const i=T_(o,this.options.autofocus);this.view=new e_(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:Ql.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 R_(this.state,e)}isActive(e,o){const i=typeof e=="string"?e:null,n=typeof e=="string"?o:e;return UX(this.state,i,n)}getJSON(){return this.state.doc.toJSON()}getHTML(){return kT(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:o=`
179
-
180
- `,textSerializers:i={}}=e||{};return OX(this.state.doc,{blockSeparator:o,textSerializers:{...g_(this.schema),...i}})}get isEmpty(){return $T(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 Ia(o,this)}get $doc(){return this.$pos(0)}};function BQ(t){return new p_({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 Eh(t){return new p_({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&&ST(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&&ca(s.doc,o.from-1)&&(!t.joinPredicate||t.joinPredicate(i,m))&&s.join(o.from-1)}})}let hs=class ey{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 ey(e)}configure(e={}){const o=this.extend({...this.config,addOptions:()=>eC(this.options,e)});return o.name=this.name,o.parent=this.parent,o}extend(e={}){const o=new ey(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 VQ(t){return new WZ({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(D_(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 Gx(t){return S3((e,o)=>({get(){return e(),t},set(i){t=i,requestAnimationFrame(()=>{requestAnimationFrame(()=>{o()})})}}))}class RQ extends SQ{constructor(e={}){return super(e),this.contentComponent=null,this.appContext=null,this.reactiveState=Gx(this.view.state),this.reactiveExtensionStorage=Gx(this.extensionStorage),this.on("beforeTransaction",({nextState:o})=>{this.reactiveState.value=o,this.reactiveExtensionStorage.value=this.extensionStorage}),nL(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 DQ=Me({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(t){const e=Vt(),o=Tn();return Au(()=>{const i=t.editor;i&&i.options.element&&e.value&&cl(()=>{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()})}),ta(()=>{const i=t.editor;i&&(i.contentComponent=null,i.appContext=null)}),{rootEl:e}},render(){return Gn("div",{ref:t=>{this.rootEl=t}})}}),bQ=(t={})=>{const e=lo();return cs(()=>{e.value=new RQ(t)}),ta(()=>{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},Kx=t=>({type:"doc",content:t.Content.map(xQ)}),xQ=t=>"ParagraphNode"in t?L_(t):"BulletListNode"in t?LQ(t):"OrderedListNode"in t?EQ(t):"DataFieldNode"in t?x_(t):Ei(t),b_=t=>({type:"listItem",content:t.Content.map(e=>"ParagraphNode"in e?L_(e):"ImageNode"in e?E_(e):Ei(e))}),x_=t=>({type:"dataField",marks:zT({textStyle:t.DataFieldNode.TextStyle,commonLinkMark:t.DataFieldNode.CommonLinkMark}),attrs:{stringExpression:t.DataFieldNode.StringExpression}}),LQ=t=>({type:"bulletList",content:t.BulletListNode.Content.map(b_),attrs:{themeName:t.BulletListNode.ListStyle}}),EQ=t=>({type:"orderedList",content:t.OrderedListNode.Content.map(b_),attrs:{themeName:t.OrderedListNode.ListStyle}}),L_=t=>({type:"paragraph",attrs:{themeName:t.ParagraphNode.ThemeName},content:t.ParagraphNode.Content.map(vQ)}),vQ=t=>"TextNode"in t?NQ(t):"HardBreakNode"in t?WQ():"ImageNode"in t?E_(t):"DataFieldNode"in t?x_(t):Ei(t),zT=t=>{const e=[];return t.textStyle&&e.push(wQ(t.textStyle)),t.commonLinkMark&&e.push(kQ(t.commonLinkMark)),e.filter(o=>o!==void 0)},NQ=t=>({type:"text",text:t.TextNode.Text,marks:zT({textStyle:t.TextNode.TextStyle,commonLinkMark:t.TextNode.CommonLinkMark})}),PQ=t=>{switch(t){case"Normal":return"normal";case"Bold":return"bold";default:return"normal"}},_Q=t=>{switch(t){case"Normal":return"normal";case"Italic":return"italic";default:return"normal"}},AQ=t=>{switch(t){case"None":return"none";case"Uppercase":return"uppercase";default:return"none"}},IQ=t=>{switch(t){case"None":return"none";case"Underline":return"underline";case"LineThrough":return"line-through";default:return"none"}},wQ=t=>({type:"textStyle",attrs:{themeName:t.ThemeName,color:t.Style.Color,fontWeight:t.Style.FontWeight?PQ(t.Style.FontWeight):void 0,fontStyle:t.Style.FontStyle?_Q(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?AQ(t.Style.TextTransform):void 0,textDecoration:t.Style.TextDecoration?IQ(t.Style.TextDecoration):void 0}}),kQ=t=>Io(t).Match({LinkMark:e=>OQ({LinkMark:e}),UnsubscribeLinkMark:()=>MQ()}),WQ=()=>({type:"hardBreak"}),E_=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:zT({commonLinkMark:t.ImageNode.CommonLinkMark})}),OQ=t=>({type:"link",attrs:{href:t.LinkMark.Href}}),MQ=()=>({type:"unsubscribeLink"}),HQ=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}`)})},UT=Zi.create({name:"textStyle",priority:101,addOptions(){return{HTMLAttributes:{},mergeNestedSpanStyles:!1}},parseHTML(){return[{tag:"span",getAttrs:t=>t.hasAttribute("style")?(this.options.mergeNestedSpanStyles&&HQ(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}}}}),$Q=ti.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new zo({key:new vi("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)}}})]}}),zQ=hs.create({name:"text",group:"inline"}),UQ=hs.create({name:"doc",topNode:!0,content:"block+"}),v_=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})}}}}),jQ=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()}}}),GQ=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()}}}),KQ=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 vi("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}})]}}),qQ=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})}}}}),YQ=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})}}}}),jT=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()}}}}),JQ="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",ZQ="ελ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",ty="numeric",oy="ascii",iy="alpha",zd="asciinumeric",Ld="alphanumeric",ny="domain",N_="emoji",XQ="scheme",QQ="slashscheme",x0="whitespace";function eee(t,e){return t in e||(e[t]=[]),e[t]}function $a(t,e,o){e[ty]&&(e[zd]=!0,e[Ld]=!0),e[oy]&&(e[zd]=!0,e[iy]=!0),e[zd]&&(e[Ld]=!0),e[iy]&&(e[Ld]=!0),e[Ld]&&(e[ny]=!0),e[N_]&&(e[ny]=!0);for(const i in e){const n=eee(i,o);n.indexOf(t)<0&&n.push(t)}}function tee(t,e){const o={};for(const i in e)e[i].indexOf(t)>=0&&(o[i]=!0);return o}function Ri(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}Ri.groups={};Ri.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||Ri.groups;let n;return e&&e.j?n=e:(n=new Ri(e),o&&i&&$a(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||Ri.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 Ri,Object.assign(s.j,a.j),s.jr.push.apply(s.jr,a.jr),s.jd=a.jd,s.t=a.t):s=new Ri,r){if(i)if(s.t&&typeof s.t=="string"){const u=Object.assign(tee(s.t,i),o);$a(r,u,i)}else o&&$a(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),ao=(t,e,o,i,n)=>t.tr(e,o,i,n),qx=(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",ry="UWORD",P_="ASCIINUMERICAL",__="ALPHANUMERICAL",Rc="LOCALHOST",sy="TLD",ay="UTLD",Mf="SCHEME",Jl="SLASH_SCHEME",GT="NUM",ly="WS",KT="NL",Ud="OPENBRACE",jd="CLOSEBRACE",vh="OPENBRACKET",Nh="CLOSEBRACKET",Ph="OPENPAREN",_h="CLOSEPAREN",Ah="OPENANGLEBRACKET",Ih="CLOSEANGLEBRACKET",wh="FULLWIDTHLEFTPAREN",kh="FULLWIDTHRIGHTPAREN",Wh="LEFTCORNERBRACKET",Oh="RIGHTCORNERBRACKET",Mh="LEFTWHITECORNERBRACKET",Hh="RIGHTWHITECORNERBRACKET",$h="FULLWIDTHLESSTHAN",zh="FULLWIDTHGREATERTHAN",Uh="AMPERSAND",jh="APOSTROPHE",Gh="ASTERISK",Is="AT",Kh="BACKSLASH",qh="BACKTICK",Yh="CARET",Ws="COLON",qT="COMMA",Jh="DOLLAR",or="DOT",Zh="EQUALS",YT="EXCLAMATION",mn="HYPHEN",Gd="PERCENT",Xh="PIPE",Qh="PLUS",ep="POUND",Kd="QUERY",JT="QUOTE",A_="FULLWIDTHMIDDLEDOT",ZT="SEMI",ir="SLASH",qd="TILDE",tp="UNDERSCORE",I_="EMOJI",op="SYM";var w_=Object.freeze({__proto__:null,ALPHANUMERICAL:__,AMPERSAND:Uh,APOSTROPHE:jh,ASCIINUMERICAL:P_,ASTERISK:Gh,AT:Is,BACKSLASH:Kh,BACKTICK:qh,CARET:Yh,CLOSEANGLEBRACKET:Ih,CLOSEBRACE:jd,CLOSEBRACKET:Nh,CLOSEPAREN:_h,COLON:Ws,COMMA:qT,DOLLAR:Jh,DOT:or,EMOJI:I_,EQUALS:Zh,EXCLAMATION:YT,FULLWIDTHGREATERTHAN:zh,FULLWIDTHLEFTPAREN:wh,FULLWIDTHLESSTHAN:$h,FULLWIDTHMIDDLEDOT:A_,FULLWIDTHRIGHTPAREN:kh,HYPHEN:mn,LEFTCORNERBRACKET:Wh,LEFTWHITECORNERBRACKET:Mh,LOCALHOST:Rc,NL:KT,NUM:GT,OPENANGLEBRACKET:Ah,OPENBRACE:Ud,OPENBRACKET:vh,OPENPAREN:Ph,PERCENT:Gd,PIPE:Xh,PLUS:Qh,POUND:ep,QUERY:Kd,QUOTE:JT,RIGHTCORNERBRACKET:Oh,RIGHTWHITECORNERBRACKET:Hh,SCHEME:Mf,SEMI:ZT,SLASH:ir,SLASH_SCHEME:Jl,SYM:op,TILDE:qd,TLD:sy,UNDERSCORE:tp,UTLD:ay,UWORD:ry,WORD:$r,WS:ly});const Or=/[a-z]/,Sd=new RegExp("\\p{L}","u"),L0=new RegExp("\\p{Emoji}","u"),Mr=/\d/,E0=/\s/,Yx="\r",v0=`
181
- `,oee="️",iee="‍",N0="";let Vf=null,Rf=null;function nee(t=[]){const e={};Ri.groups=e;const o=new Ri;Vf==null&&(Vf=Jx(JQ)),Rf==null&&(Rf=Jx(ZQ)),Fe(o,"'",jh),Fe(o,"{",Ud),Fe(o,"}",jd),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,"&",Uh),Fe(o,"*",Gh),Fe(o,"@",Is),Fe(o,"`",qh),Fe(o,"^",Yh),Fe(o,":",Ws),Fe(o,",",qT),Fe(o,"$",Jh),Fe(o,".",or),Fe(o,"=",Zh),Fe(o,"!",YT),Fe(o,"-",mn),Fe(o,"%",Gd),Fe(o,"|",Xh),Fe(o,"+",Qh),Fe(o,"#",ep),Fe(o,"?",Kd),Fe(o,'"',JT),Fe(o,"/",ir),Fe(o,";",ZT),Fe(o,"~",qd),Fe(o,"_",tp),Fe(o,"\\",Kh),Fe(o,"・",A_);const i=ao(o,Mr,GT,{[ty]:!0});ao(i,Mr,i);const n=ao(i,Or,P_,{[zd]:!0}),r=ao(i,Sd,__,{[Ld]:!0}),s=ao(o,Or,$r,{[oy]:!0});ao(s,Mr,n),ao(s,Or,s),ao(n,Mr,n),ao(n,Or,n);const a=ao(o,Sd,ry,{[iy]:!0});ao(a,Or),ao(a,Mr,r),ao(a,Sd,a),ao(r,Mr,r),ao(r,Or),ao(r,Sd,r);const u=Fe(o,v0,KT,{[x0]:!0}),c=Fe(o,Yx,ly,{[x0]:!0}),m=ao(o,E0,ly,{[x0]:!0});Fe(o,N0,m),Fe(c,v0,u),Fe(c,N0,m),ao(c,E0,m),Fe(m,Yx),Fe(m,v0),ao(m,E0,m),Fe(m,N0,m);const f=ao(o,L0,I_,{[N_]:!0});Fe(f,"#"),ao(f,L0,f),Fe(f,oee,f);const p=Fe(f,iee);Fe(p,"#"),ao(p,L0,f);const C=[[Or,s],[Mr,n]],F=[[Or,null],[Sd,a],[Mr,r]];for(let y=0;y<Vf.length;y++)Ls(o,Vf[y],sy,$r,C);for(let y=0;y<Rf.length;y++)Ls(o,Rf[y],ay,ry,F);$a(sy,{tld:!0,ascii:!0},e),$a(ay,{utld:!0,alpha:!0},e),Ls(o,"file",Mf,$r,C),Ls(o,"mailto",Mf,$r,C),Ls(o,"http",Jl,$r,C),Ls(o,"https",Jl,$r,C),Ls(o,"ftp",Jl,$r,C),Ls(o,"ftps",Jl,$r,C),$a(Mf,{scheme:!0,ascii:!0},e),$a(Jl,{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]?{[XQ]:!0}:{[QQ]:!0};T.indexOf("-")>=0?v[ny]=!0:Or.test(T)?Mr.test(T)?v[zd]=!0:v[oy]=!0:v[ty]=!0,qx(o,T,T,v)}return qx(o,"localhost",Rc,{ascii:!0}),o.jd=new Ri(op),{start:o,tokens:Object.assign({groups:e},w_)}}function k_(t,e){const o=ree(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 ree(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 Ls(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 Ri(i),r.jr=n.slice(),t.j[u]=r),t=r}return r=new Ri(o),r.jr=n.slice(),t.j[e[s-1]]=r,r}function Jx(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 Dc={defaultProtocol:"http",events:null,format:Zx,formatHref:Zx,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function XT(t,e=null){let o=Object.assign({},Dc);t&&(o=Object.assign(o,t instanceof XT?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}XT.prototype={o:Dc,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]:Dc[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 Zx(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=Dc.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 oC(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 Xx=oC("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Qx=oC("text"),see=oC("nl"),Df=oC("url",{isLink:!0,toHref(t=Dc.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==Rc&&t[1].t===Ws}}),cn=t=>new Ri(t);function aee({groups:t}){const e=t.domain.concat([Uh,Gh,Is,Kh,qh,Yh,Jh,Zh,mn,GT,Gd,Xh,Qh,ep,ir,op,qd,tp]),o=[jh,Ws,qT,or,YT,Gd,Kd,JT,ZT,Ah,Ih,Ud,jd,Nh,vh,Ph,_h,wh,kh,Wh,Oh,Mh,Hh,$h,zh],i=[Uh,jh,Gh,Kh,qh,Yh,Jh,Zh,mn,Ud,jd,Gd,Xh,Qh,ep,Kd,ir,op,qd,tp],n=cn(),r=Fe(n,qd);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,Is);Fe(r,Is,c),Fe(a,Is,c),Fe(u,Is,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(Xx);dt(p,t.tld,C),dt(p,t.utld,C),Fe(c,Rc,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,Xx);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(Df);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,Is,c);const D=Fe(v,Ws),R=cn(Df);dt(D,t.numeric,R);const N=cn(Df),_=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),O=Fe(u,Ws),W=Fe(O,ir),ne=Fe(W,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,Kd,N),dt(ne,t.domain,N),dt(ne,e,N),Fe(ne,ir,N);const U=[[Ud,jd],[vh,Nh],[Ph,_h],[Ah,Ih],[wh,kh],[Wh,Oh],[Mh,Hh],[$h,zh]];for(let H=0;H<U.length;H++){const[X,Ce]=U[H],pe=Fe(N,X);Fe(_,X,pe),Fe(pe,Ce,N);const ie=cn(Df);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,Rc,v),Fe(n,KT,see),{start:n,tokens:w_}}function lee(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(P0(Qx,e,s)),s=[]),n-=p,m-=p;const C=f.t,F=o.slice(n-m,n);r.push(P0(C,e,F))}}return s.length>0&&r.push(P0(Qx,e,s)),r}function P0(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 uee=typeof console<"u"&&console&&console.warn||(()=>{}),dee="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 cee(){return Ri.groups={},qt.scanner=null,qt.parser=null,qt.tokenQueue=[],qt.pluginQueue=[],qt.customSchemes=[],qt.initialized=!1,qt}function e1(t,e=!1){if(qt.initialized&&uee(`linkifyjs: already initialized - will not register custom scheme "${t}" ${dee}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format.
182
- 1. Must only contain digits, lowercase ASCII letters or "-"
183
- 2. Cannot start or end with "-"
184
- 3. "-" cannot repeat`);qt.customSchemes.push([t,e])}function mee(){qt.scanner=nee(qt.customSchemes);for(let t=0;t<qt.tokenQueue.length;t++)qt.tokenQueue[t][1]({scanner:qt.scanner});qt.parser=aee(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 QT(t){return qt.initialized||mee(),lee(qt.parser.start,t,k_(qt.scanner.start,t))}QT.scan=k_;function O_(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 XT(o),n=QT(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 eS="[\0-   ᠎ -\u2029  ]",fee=new RegExp(eS),hee=new RegExp(`${eS}$`),pee=new RegExp(eS,"g");function Cee(t){return t.length===1?t[0].isLink:t.length===3&&t[1].isLink?["()","[]"].includes(t[0].value+t[2].value):!1}function gee(t){return new zo({key:new vi("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=IX(o.doc,[...e]);if(zX(a).forEach(({newRange:c})=>{const m=kX(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(!hee.test(C))return;f=m[0],p=i.doc.textBetween(f.pos,c.to,void 0," ")}if(f&&p){const C=p.split(fee).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=QT(F).map(B=>B.toObject(t.defaultProtocol));if(!Cee(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=>{D_(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 Fee(t){return new zo({key:new vi("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=R_(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 yee(t){return new zo({key:new vi("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=O_(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 Na(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(pee,"").match(new RegExp(`^(?:(?:${o.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const tS=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"){e1(t);return}e1(t.scheme,t.optionalSlashes)})},onDestroy(){cee()},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)=>!!Na(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=>!!Na(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=>!!Na(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=>!!Na(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=>!!Na(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[VQ({find:t=>{const e=[];if(t){const{protocols:o,defaultProtocol:i}=this.options,n=O_(t).filter(r=>r.isLink&&this.options.isAllowedUri(r.value,{defaultValidate:s=>!!Na(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(gee({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:i=>this.options.isAllowedUri(i,{defaultValidate:n=>!!Na(n,e),protocols:e,defaultProtocol:o}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&t.push(Fee({type:this.type})),this.options.linkOnPaste&&t.push(yee({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),t}}),Tee=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})}}}}),See=hs.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()}}}),Bee="listItem",t1="textStyle",o1=/^\s*([-+*])\s$/,M_=hs.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(Bee,this.editor.getAttributes(t1)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=Eh({find:o1,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Eh({find:o1,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(t1),editor:this.editor})),[t]}}),Vee=hs.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)}}}),Ree="listItem",i1="textStyle",n1=/^(\d+)\.\s$/,H_=hs.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(Ree,this.editor.getAttributes(i1)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=Eh({find:n1,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=Eh({find:n1,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(i1)}),joinPredicate:(e,o)=>o.childCount+o.attrs.start===+e[1],editor:this.editor})),[t]}}),Dee=hs.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`
185
- `},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 ip=200,_o=function(){};_o.prototype.append=function(e){return e.length?(e=_o.from(e),!this.length&&e||e.length<ip&&this.leafAppend(e)||this.length<ip&&e.leafPrepend(this)||this.appendInner(e)):this};_o.prototype.prepend=function(e){return e.length?_o.from(e).append(this):this};_o.prototype.appendInner=function(e){return new bee(this,e)};_o.prototype.slice=function(e,o){return e===void 0&&(e=0),o===void 0&&(o=this.length),e>=o?_o.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,o))};_o.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};_o.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)};_o.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};_o.from=function(e){return e instanceof _o?e:e&&e.length?new $_(e):_o.empty};var $_=(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<=ip)return new e(this.values.concat(n.flatten()))},e.prototype.leafPrepend=function(n){if(this.length+n.length<=ip)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})(_o);_o.empty=new $_([]);var bee=(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})(_o);const xee=500;class An{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 An(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>Eee&&(a=Lee(a,c),s-=c),new An(a.append(r),s)}remapping(e,o){let i=new gc;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 An(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 An(m,a);return f.emptyItemCount()>xee&&(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 An(_o.from(n.reverse()),r)}}An.empty=new An(_o.empty,0);function Lee(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 ws{constructor(e,o,i,n,r){this.done=e,this.undone=o,this.prevRanges=i,this.prevTime=n,this.prevComposition=r}}const Eee=20;function vee(t,e,o,i){let n=o.getMeta(Xa),r;if(n)return n.historyState;o.getMeta(_ee)&&(t=new ws(t.done,t.undone,null,0,-1));let s=o.getMeta("appendedTransaction");if(o.steps.length==0)return t;if(s&&s.getMeta(Xa))return s.getMeta(Xa).redo?new ws(t.done.addTransform(o,void 0,i,Hf(e)),t.undone,r1(o.mapping.maps),t.prevTime,t.prevComposition):new ws(t.done,t.undone.addTransform(o,void 0,i,Hf(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||!Nee(o,t.prevRanges)),c=s?_0(t.prevRanges,o.mapping):r1(o.mapping.maps);return new ws(t.done.addTransform(o,u?e.selection.getBookmark():void 0,i,Hf(e)),An.empty,c,o.time,a??t.prevComposition)}else return(r=o.getMeta("rebased"))?new ws(t.done.rebased(o,r),t.undone.rebased(o,r),_0(t.prevRanges,o.mapping),t.prevTime,t.prevComposition):new ws(t.done.addMaps(o.mapping.maps),t.undone.addMaps(o.mapping.maps),_0(t.prevRanges,o.mapping),t.prevTime,t.prevComposition)}function Nee(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 r1(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 _0(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 Pee(t,e,o){let i=Hf(e),n=Xa.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 ws(o?a:r.remaining,o?r.remaining:a,null,0,-1);return r.transform.setSelection(s).setMeta(Xa,{redo:o,historyState:u})}let A0=!1,s1=null;function Hf(t){let e=t.plugins;if(s1!=e){A0=!1,s1=e;for(let o=0;o<e.length;o++)if(e[o].spec.historyPreserveItems){A0=!0;break}}return A0}const Xa=new vi("history"),_ee=new vi("closeHistory");function Aee(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new zo({key:Xa,state:{init(){return new ws(An.empty,An.empty,null,0,-1)},apply(e,o,i){return vee(o,i,e,t)}},config:t,props:{handleDOMEvents:{beforeinput(e,o){let i=o.inputType,n=i=="historyUndo"?U_:i=="historyRedo"?j_:null;return!n||!e.editable?!1:(o.preventDefault(),n(e.state,e.dispatch))}}}})}function z_(t,e){return(o,i)=>{let n=Xa.getState(o);if(!n||(t?n.undone:n.done).eventCount==0)return!1;if(i){let r=Pee(n,o,t);r&&i(e?r.scrollIntoView():r)}return!0}}const U_=z_(!1,!0),j_=z_(!0,!0),Iee=ti.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:e})=>U_(t,e),redo:()=>({state:t,dispatch:e})=>j_(t,e)}},addProseMirrorPlugins(){return[Aee(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()}}}),wee=t=>{if(!t.content)throw new Error("Invalid document: content is missing");return{Content:t.content.map(e=>{switch(e.type){case"paragraph":return G_(e);case"bulletList":return Oee(e);case"orderedList":return Mee(e);default:throw new Error(`Unknown node type: ${e.type}`)}})}},G_=t=>t.content?{ParagraphNode:{ThemeName:t.attrs?t.attrs.themeName:void 0,Content:t.content.map(e=>{switch(e.type){case"text":return kee(e);case"image":return q_(e);case"hardBreak":return a1();case"dataField":return Wee(e);default:throw new Error(`Unknown node type: ${e.type}`)}})}}:{ParagraphNode:{ThemeName:t.attrs?t.attrs.themeName:void 0,Content:[a1()]}},oS=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?Gee(e):void 0,CommonLinkMark:o?Kee(o):void 0}},kee=t=>{if(typeof t.text!="string")throw new Error("Invalid text node: text is missing or not a string");const{TextStyle:e,CommonLinkMark:o}=oS(t.marks);return{TextNode:{Text:t.text,TextStyle:e,CommonLinkMark:o}}},a1=()=>({HardBreakNode:{}}),Wee=t=>{if(!t.attrs)throw new Error("Invalid variable node: attrs is missing");const{TextStyle:e,CommonLinkMark:o}=oS(t.marks);return{DataFieldNode:{StringExpression:t.attrs.stringExpression,TextStyle:e,CommonLinkMark:o}}},Oee=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(K_)}}},Mee=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(K_)}}},K_=t=>{if(!t.content)throw new Error("Invalid listItem: content is missing");return{Content:t.content.map(e=>{switch(e.type){case"paragraph":return G_(e);case"image":return q_(e);default:throw new Error(`Unknown node type: ${e.type}`)}})}},q_=t=>{if(!t.attrs)throw new Error("Invalid image node: attrs is missing");const{CommonLinkMark:e}=oS(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}}},Hee=t=>t==="bold"?"Bold":"Normal",$ee=t=>t==="italic"?"Italic":"Normal",zee=t=>t,Uee=t=>{switch(t){case"uppercase":return"Uppercase";default:return"None"}},jee=t=>{switch(t){case"underline":return"Underline";case"line-through":return"LineThrough";default:return"None"}},l1=t=>{const o=t.replace(/px$/,"");return parseInt(o,10)},Gee=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?Hee(t.attrs.fontWeight):void 0,FontStyle:t.attrs.fontStyle?$ee(t.attrs.fontStyle):void 0,FontSize:t.attrs.fontSize?l1(t.attrs.fontSize):void 0,LineHeight:t.attrs.lineHeight?l1(t.attrs.lineHeight):void 0,FontFamily:t.attrs.fontFamily?zee(t.attrs.fontFamily):void 0,TextTransform:t.attrs.textTransform?Uee(t.attrs.textTransform):void 0,TextDecoration:t.attrs.textDecoration?jee(t.attrs.textDecoration):void 0}}},Kee=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}},Y_=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),Y_(i)}const e=document.createElement("canvas").getContext("2d");return e?(e.fillStyle=t,e.fillStyle):null},qee=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=Y_(e.style.color)??"#000000";return{Discriminator:o,CustomValue:i}},renderHTML:e=>{if(!e.color)return{};const o=Op({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()}}}),Yee=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()}}}),J_=t=>Io(t),Jee=t=>Io(t).Match({StringFromContactCustomData:e=>e.FieldName,StringFromContactCustomDataWithFallback:e=>e.FallbackValue,ProductImageUrlBuilderExpression:()=>"ImageResizer",NextCouponFromBatch:()=>"Coupon"}),Zee=()=>hs.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=J_(o).Match({RecipientEmailAddressExpression:()=>"recipientEmailAddress",UnsubscribeUrlExpression:()=>"unsubscribeUrl",ConstValueExpression:n=>n.Value,TruncateValueExpression:()=>"truncate",ConcatStringExpressions:()=>"concat",DataSource:n=>Jee(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()}}}}),Z_=t=>new Promise((e,o)=>{const i=new Image;i.onload=()=>{e({width:i.naturalWidth,height:i.naturalHeight})},i.onerror=o,i.src=t}),X_=hs.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[BQ({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)&&Z_(r).then(u=>{const c=e.tr.setNodeMarkup(n,void 0,{...i.attrs,width:u.width,height:u.height});o(c)})}})})(),{})})]}}),Xee=t=>[UQ,Iee,zQ,UT.configure({mergeNestedSpanStyles:!0}),See,Zee(),$Q.configure({className:"has-focus",mode:"all"}),M_.configure({keepMarks:!0,keepAttributes:!0}),H_.configure({keepMarks:!0,keepAttributes:!0}),Vee,Dee.configure({HTMLAttributes:{class:"hard-break"}}),tS.configure({HTMLAttributes:{class:"rich-text__link"},openOnClick:!1}),X_.configure({inline:!0,HTMLAttributes:{class:"rich-text__image"}}),qee({themeColors:t.themeColors}),KQ(t.initialThemeName),qQ,YQ,jQ,GQ,v_,Tee,jT,Yee],Qee=t=>wee(t.editor.getJSON()),ete=st({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Fi()},"VColorPickerCanvas"),tte=Tr({name:"VColorPickerCanvas",props:ete(),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:Yt(t.dotSize),height:Yt(t.dotSize),transform:`translate(${Yt(T-v)}, ${Yt(B-v)})`}}),{resizeRef:m}=LE(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=h4(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}),cs(()=>y()),bo(()=>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)])),{}}}),iS=st({border:[Boolean,Number,String]},"border");function nS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ms();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 ote=[null,"default","comfortable","compact"],rS=st({density:{type:String,default:"default",validator:t=>ote.includes(t)}},"density");function sS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ms();return{densityClasses:Ue(()=>`${e}--density-${t.density}`)}}const iC=st({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function nC(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ms();return{roundedClasses:Z(()=>{const i=no(t)?t.value:t.rounded,n=no(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 Kc=st({tag:{type:[String,Object,Function],default:"div"}},"tag"),ite=["elevated","flat","tonal","outlined","text","plain"];function nte(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 Q_=st({color:String,variant:{type:String,default:"elevated",validator:t=>ite.includes(t)}},"variant");function rte(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ms();const o=Ue(()=>{const{variant:r}=fu(t);return`${e}--variant-${r}`}),{colorClasses:i,colorStyles:n}=Uy(()=>{const{variant:r,color:s}=fu(t);return{[["elevated","flat"].includes(r)?"background":"text"]:s}});return{colorClasses:i,colorStyles:n,variantClasses:o}}const eA=st({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...iS(),...Fi(),...rS(),...Ac(),...iC(),...Kc(),...na(),...Q_()},"VBtnGroup"),u1=Do()({name:"VBtnGroup",props:eA(),setup(t,e){let{slots:o}=e;const{themeClasses:i}=ku(t),{densityClasses:n}=sS(t),{borderClasses:r}=nS(t),{elevationClasses:s}=Ic(t),{roundedClasses:a}=nC(t);Ay({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)}}),bo(()=>de(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))}}),ste=st({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),ate=st({value:null,disabled:Boolean,selectedClass:String},"group-item");function lte(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=pp();ml(Symbol.for(`${e.description}:id`),n);const r=Qo(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(),ta(()=>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 ute(t,e){let o=!1;const i=bt([]),n=ol(t,"modelValue",[],p=>p===void 0?[]:tA(i,p===null?[null]:au(p)),p=>{const C=cte(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=Vd(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])}cs(()=>{u()}),ta(()=>{o=!0}),Sy(()=>{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=>dte(i,p)};return ml(e,f),f}function dte(t,e){const o=tA(t,[e]);return o.length?t.findIndex(i=>i.id===o[0]):-1}function tA(t,e){const o=[];return e.forEach(i=>{const n=t.find(s=>Tp(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 cte(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 oA=Symbol.for("vuetify:v-btn-toggle"),mte=st({...eA(),...ste()},"VBtnToggle");Do()({name:"VBtnToggle",props:mte(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:o}=e;const{isSelected:i,next:n,prev:r,select:s,selected:a}=ute(t,oA);return bo(()=>{const u=u1.filterProps(t);return de(u1,$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 fte=st({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),$f=Do(!1)({name:"VDefaultsProvider",props:fte(),setup(t,e){let{slots:o}=e;const{defaults:i,disabled:n,reset:r,root:s,scoped:a}=aL(t);return Ay(i,{reset:r,root:s,scoped:a,disabled:n}),()=>{var u;return(u=o.default)==null?void 0:u.call(o)}}}),hte=["x-small","small","default","large","x-large"],aS=st({size:{type:[String,Number],default:"default"}},"size");function lS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ms();return uE(()=>{const o=t.size;let i,n;return iF(hte,o)?i=`${e}--size-${o}`:o&&(n={width:Yt(o),height:Yt(o)}),{sizeClasses:i,sizeStyles:n}})}const pte=st({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:tl,opacity:[String,Number],...Fi(),...aS(),...Kc({tag:"i"}),...na()},"VIcon"),Yd=Do()({name:"VIcon",props:pte(),setup(t,e){let{attrs:o,slots:i}=e;const n=lo(),{themeClasses:r}=n5(),{iconData:s}=Y4(()=>n.value||t.icon),{sizeClasses:a}=lS(t),{textColorClasses:u,textColorStyles:c}=cc(()=>t.color);return bo(()=>{var p,C;const m=(p=i.default)==null?void 0:p.call(i);m&&(n.value=(C=lE(m).filter(F=>F.type===Iu&&F.children&&typeof F.children=="string")[0])==null?void 0:C.children);const f=!!(o.onClick||o.onClickOnce);return de(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:Yt(t.size),height:Yt(t.size),width:Yt(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 Cte(t,e){const o=Vt(),i=lo(!1);if(l4){const n=new IntersectionObserver(r=>{i.value=!!r.find(s=>s.isIntersecting)},e);xc(()=>{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 gte=st({bgColor:String,color:String,indeterminate:[Boolean,String],rounded:Boolean,modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Fi(),...aS(),...Kc({tag:"div"}),...na()},"VProgressCircular"),Fte=Do()({name:"VProgressCircular",props:gte(),setup(t,e){let{slots:o}=e;const i=20,n=2*Math.PI*i,r=Vt(),{themeClasses:s}=ku(t),{sizeClasses:a,sizeStyles:u}=lS(t),{textColorClasses:c,textColorStyles:m}=cc(()=>t.color),{textColorClasses:f,textColorStyles:p}=cc(()=>t.bgColor),{intersectionRef:C,isIntersecting:F}=Cte(),{resizeRef:y,contentRect:T}=LE(),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(()=>{const O=(100-B.value)/100*n;return t.rounded&&B.value>0&&B.value<100?Yt(Math.min(n-.01,O+N.value)):Yt(O)}),P=Z(()=>{const O=Number(t.rotate);return t.rounded?O+N.value/2/n*360:O});return Au(()=>{C.value=r.value,y.value=r.value}),bo(()=>de(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"||aE())},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 + ${P.value}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,"stroke-linecap":t.rounded?"round":void 0},null)]),o.default&&V("div",{class:"v-progress-circular__content"},[o.default({value:B.value})])]})),{}}}),d1={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},iA=st({location:String},"location");function nA(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=arguments.length>2?arguments[2]:void 0;const{isRtl:i}=wu();return{locationStyles:Z(()=>{if(!t.location)return{};const{side:r,align:s}=T4(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[d1[r]]=`calc(100% - ${a(r)}px)`:u[r]=0),s!=="center"?e?u[d1[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 yte=st({loading:[Boolean,String]},"loader");function Tte(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ms();return{loaderClasses:Ue(()=>({[`${e}--loading`]:t.loading}))}}const Ste=["static","relative","fixed","absolute","sticky"],rA=st({position:{type:String,validator:t=>Ste.includes(t)}},"position");function sA(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ms();return{positionClasses:Ue(()=>t.position?`${e}--${t.position}`:void 0)}}function Bte(t,e){Rt(()=>{var o;return(o=t.isActive)==null?void 0:o.value},o=>{t.isLink.value&&o!=null&&e&&cl(()=>{e(o)})},{immediate:!0})}const Vte=st({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:oA},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:tl,appendIcon:tl,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,spaced:String,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...iS(),...Fi(),...rS(),...Lp(),...Ac(),...ate(),...yte(),...iA(),...rA(),...iC(),...e8(),...aS(),...Kc({tag:"button"}),...na(),...Q_({variant:"elevated"})},"VBtn"),aA=Do()({name:"VBtn",props:Vte(),emits:{"group:selected":t=>!0},setup(t,e){let{attrs:o,slots:i}=e;const{themeClasses:n}=ku(t),{borderClasses:r}=nS(t),{densityClasses:s}=sS(t),{dimensionStyles:a}=Ep(t),{elevationClasses:u}=Ic(t),{loaderClasses:c}=Tte(t),{locationStyles:m}=nA(t),{positionClasses:f}=sA(t),{roundedClasses:p}=nC(t),{sizeClasses:C,sizeStyles:F}=lS(t),y=lte(t,t.symbol,!1),T=Q7(t,o),B=Z(()=>{var U;return t.active!==void 0?t.active:T.isRouterLink.value?(U=T.isActive)==null?void 0:U.value:y==null?void 0:y.isSelected.value}),v=Ue(()=>B.value?t.activeColor??t.color:t.color),D=Z(()=>{var H,X;return{color:(y==null?void 0:y.isSelected.value)&&(!T.isLink.value||((H=T.isActive)==null?void 0:H.value))||!y||((X=T.isActive)==null?void 0:X.value)?v.value??t.baseColor:t.baseColor,variant:t.variant}}),{colorClasses:R,colorStyles:N,variantClasses:_}=rte(D),P=Z(()=>(y==null?void 0:y.disabled.value)||t.disabled),O=Ue(()=>t.variant==="elevated"&&!(t.disabled||t.flat||t.border)),W=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 ne(U){var H;P.value||T.isLink.value&&(U.metaKey||U.ctrlKey||U.shiftKey||U.button!==0||o.target==="_blank")||(T.isRouterLink.value?(H=T.navigate)==null||H.call(T,U):y==null||y.toggle())}return Bte(T,y==null?void 0:y.select),bo(()=>{const U=T.isLink.value?"a":t.tag,H=!!(t.prependIcon||i.prepend),X=!!(t.appendIcon||i.append),Ce=!!(t.icon&&t.icon!==!0);return ct(de(U,$n(T.linkProps,{type:U==="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":O.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&&U!=="a"||void 0,tabindex:t.loading||t.readonly?-1:void 0,onClick:ne,value:W.value}),{default:()=>{var pe;return[nte(!0,"v-btn"),!t.icon&&H&&V("span",{key:"prepend",class:"v-btn__prepend"},[i.prepend?de($f,{key:"prepend-defaults",disabled:!t.prependIcon,defaults:{VIcon:{icon:t.prependIcon}}},i.prepend):de(Yd,{key:"prepend-icon",icon:t.prependIcon},null)]),V("span",{class:"v-btn__content","data-no-activator":""},[!i.default&&Ce?de(Yd,{key:"content-icon",icon:t.icon},null):de($f,{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?de($f,{key:"append-defaults",disabled:!t.appendIcon,defaults:{VIcon:{icon:t.appendIcon}}},i.append):de(Yd,{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))??de(Fte,{color:typeof t.loading=="boolean"?void 0:t.loading,indeterminate:!0,width:"2"},null)])]}}),[[TF,!P.value&&t.ripple,"",{center:!!t.icon}]])}),{group:y}}});function Rte(t,e){if(e){const{a:o,...i}=t;return i}return t}function Dte(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}=rF(t);return`hsl(${n} ${Math.round(r*100)} ${Math.round(s*100)}`+(o?` / ${a})`:")")}const i=gE(t);return t.a===1?i.slice(0,7):i}if(typeof e=="object"){let o;return wa(e,["r","g","b"])?o=hr(t):wa(e,["h","s","l"])?o=rF(t):wa(e,["h","s","v"])&&(o=t),Rte(o,!wa(e,["a"])&&t.a===1)}return t}const tu={h:0,s:0,v:0,a:1},uy={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:Pc};var N1;const bte={...uy,inputs:(N1=uy.inputs)==null?void 0:N1.slice(0,3)},dy={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:rF,from:Py},xte={...dy,inputs:dy.inputs.slice(0,3)},lA={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:t=>t,getColor:(t,e)=>e,localeKey:"hexaInput"}],to:gE,from:w4},Lte={...lA,inputs:[{label:"HEX",getValue:t=>t.slice(0,7),getColor:(t,e)=>e,localeKey:"hexInput"}]},Qa={rgb:bte,rgba:uy,hsl:xte,hsla:dy,hex:Lte,hexa:lA},Ete=t=>{let{label:e,...o}=t;return V("div",{class:"v-color-picker-edit__input"},[V("input",qM(qL(o)),null),V("span",null,[e])])},vte=st({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:t=>Object.keys(Qa).includes(t)},modes:{type:Array,default:()=>Object.keys(Qa),validator:t=>Array.isArray(t)&&t.every(e=>Object.keys(Qa).includes(e))},...Fi()},"VColorPickerEdit"),Nte=Tr({name:"VColorPickerEdit",props:vte(),emits:{"update:color":t=>!0,"update:mode":t=>!0},setup(t,e){let{emit:o}=e;const{t:i}=Bp(),n=Z(()=>t.modes.map(s=>({...Qa[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(tu),y.value)))}}})});return bo(()=>{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=>de(Ete,a,null)),n.value.length>1&&de(aA,{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)])}),{}}}),Pte=Symbol.for("vuetify:form");function uA(t){const e=Qo(Pte,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 uS=Symbol.for("vuetify:v-slider");function _te(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 Ate(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 Ite=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,...iC(),...Ac({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),wte=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(SR(i.value),SR(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}},kte=t=>{let{props:e,steps:o,onSliderStart:i,onSliderMove:n,onSliderEnd:r,getActiveThumb:s}=t;const a=uA(e),{isRtl:u}=wu(),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),O=Z(()=>e.error||a.isDisabled.value?void 0:e.trackFillColor??e.color),W=lo(!1),ne=lo(0),U=Vt(),H=Vt();function X(We){var re;const Oe=(re=U.value)==null?void 0:re.$el;if(!Oe)return;const xt=e.direction==="vertical",Gt=xt?"top":"left",to=xt?"height":"width",I=xt?"clientY":"clientX",{[Gt]:$,[to]:w}=Oe.getBoundingClientRect(),Q=Ate(We,I);let ae=Jr((Q-$-ne.value)/w)||0;return(xt?f.value:f.value!==u.value)&&(ae=1-ae),T(p.value+ae*(C.value-p.value))}const Ce=We=>{const Oe=X(We);Oe!=null&&r({value:Oe}),W.value=!1,ne.value=0},pe=We=>{const Oe=X(We);H.value=s(We),H.value&&(W.value=!0,H.value.contains(We.target)?ne.value=_te(We,H.value,e.direction):(ne.value=0,Oe!=null&&n({value:Oe})),Oe!=null&&i({value:Oe}),cl(()=>{var xt;return(xt=H.value)==null?void 0:xt.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?Ey(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:H,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:W,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:ne,step:F,thumbSize:B,thumbColor:N,thumbLabelColor:_,thumbLabel:Ue(()=>e.thumbLabel),ticks:Ue(()=>e.ticks),tickSize:v,trackColor:P,trackContainerRef:U,trackFillColor:O,trackSize:D,vertical:m};return ml(uS,Qe),Qe},Wte=st({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Xi(t,e,o){return Do()({name:t,props:Wte({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?Ly:xy;return Gn(a,{name:i.disabled?"":t,css:!i.disabled,...i.group?void 0:{mode:i.mode},...i.disabled?{}:s},r.default)}}})}function dA(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:aE()},group:Boolean},setup(i,n){let{slots:r}=n;const s=i.group?Ly:xy;return()=>Gn(s,{name:i.disabled?"":t,css:!i.disabled,...i.disabled?{}:e},r.default)}})}function cA(){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=Li(`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 Ote=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 Mte=Xi("slide-y-transition");Xi("slide-y-reverse-transition");dA("expand-transition",cA());dA("expand-x-transition",cA("",!0));const Hte=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,...Fi()},"VSliderThumb"),$te=Do()({name:"VSliderThumb",directives:{vRipple:TF},props:Hte(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:o,emit:i}=e;const n=Qo(uS),{isRtl:r,rtlClasses:s}=wu();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:O}=Ic(P),{textColorClasses:W,textColorStyles:ne}=cc(c),{backgroundColorClasses:U,backgroundColorStyles:H}=yu(m),{pageup:X,pagedown:Ce,end:pe,home:ie,left:Re,right:Ie,down:mt,up:ke}=m4,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 xt=$e.key===Ce?1:-1;Qe=Qe-xt*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 bo(()=>{const $e=Yt(_.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":Yt(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",W.value,O.value]),style:fe(ne.value)},null),ct(V("div",{class:Ve(["v-slider-thumb__ripple",W.value]),style:fe(ne.value)},null),[[TF,t.ripple,null,{circle:!0,center:!0}]]),de(Ote,{origin:"bottom center"},{default:()=>{var Qe;return[ct(V("div",{class:"v-slider-thumb__label-container"},[V("div",{class:Ve(["v-slider-thumb__label",U.value]),style:fe(H.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)])]),[[eF,F.value&&t.focused||F.value==="always"]])]}})])}),{}}}),zte=st({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Fi()},"VSliderTrack"),Ute=Do()({name:"VSliderTrack",props:zte(),emits:{},setup(t,e){let{slots:o}=e;const i=Qo(uS);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}=nC(s),{backgroundColorClasses:B,backgroundColorStyles:v}=yu(m),{backgroundColorClasses:D,backgroundColorStyles:R}=yu(c),N=Z(()=>`inset-${p.value?"block":"inline"}-${y.value?"end":"start"}`),_=Z(()=>p.value?"height":"width"),P=Z(()=>({[N.value]:"0%",[_.value]:"100%"})),O=Z(()=>t.stop-t.start),W=Z(()=>({[N.value]:Yt(t.start,"%"),[_.value]:Yt(O.value,"%")})),ne=Z(()=>a.value?(p.value?r.value.slice().reverse():r.value).map((H,X)=>{var pe;const Ce=H.value!==C.value&&H.value!==F.value?Yt(H.position,"%"):void 0;return V("div",{key:H.value,class:Ve(["v-slider-track__tick",{"v-slider-track__tick--filled":H.position>=t.start&&H.position<=t.stop,"v-slider-track__tick--first":H.value===C.value,"v-slider-track__tick--last":H.value===F.value}]),style:{[N.value]:Ce}},[(H.label||o["tick-label"])&&V("div",{class:"v-slider-track__tick-label"},[((pe=o["tick-label"])==null?void 0:pe.call(o,{tick:H,index:X}))??H.label])])}):[]);return bo(()=>V("div",{class:Ve(["v-slider-track",T.value,t.class]),style:fe([{"--v-slider-track-size":Yt(f.value),"--v-slider-tick-size":Yt(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:{...W.value,...v.value}},null),a.value&&V("div",{class:Ve(["v-slider-track__ticks",{"v-slider-track__ticks--always-show":a.value==="always"}])},[ne.value])])),{}}});function jte(t){const{t:e}=Bp();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(),p4(u,new PointerEvent("click",f)))}const m=u&&a?e(`$vuetify.input.${a}`,t.label??""):void 0;return de(Yd,$n({icon:t[`${n}Icon`],"aria-label":m,onClick:u,onKeydown:c,color:r},s),null)}return{InputIcon:o}}const Gte=st({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Fi(),...t8({transition:{component:Mte,leaveAbsolute:!0,group:!0}})},"VMessages"),Kte=Do()({name:"VMessages",props:Gte(),setup(t,e){let{slots:o}=e;const i=Z(()=>au(t.messages)),{textColorClasses:n,textColorStyles:r}=cc(()=>t.color);return bo(()=>de(o8,{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]))]})),{}}}),mA=st({focused:Boolean,"onUpdate:focused":ih()},"focus");function qte(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ms();const o=ol(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 Yte=Symbol.for("vuetify:rules");function Jte(t){const e=Qo(Yte,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 Zte=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,...mA()},"validation");function Xte(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ms(),o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:pp();const i=ol(t,"modelValue"),n=Z(()=>t.validationValue===void 0?i.value:t.validationValue),r=uA(t),s=Jte(()=>t.rules),a=Vt([]),u=lo(!0),c=Z(()=>!!(au(i.value===""?null:i.value).length||au(n.value===""?null:n.value).length)),m=Z(()=>{var R;return(R=t.errorMessages)!=null&&R.length?au(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));Ec(()=>{var R;(R=r.register)==null||R.call(r,{id:T.value,vm:y,validate:D,reset:B,resetValidation:v})}),ta(()=>{var R;(R=r.unregister)==null||R.call(r,T.value)}),cs(async()=>{var R;f.value.lazy||await D(!f.value.eager),(R=r.update)==null||R.call(r,T.value,p.value,m.value)}),lF(()=>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()})}})}),lF(()=>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 cl(),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 O=await(typeof _=="function"?_:()=>_)(n.value);if(O!==!0){if(O!==!1&&typeof O!="string"){console.warn(`${O} is not a valid value. Rule functions must return boolean true or a string.`);continue}N.push(O||"")}}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 fA=st({id:String,appendIcon:tl,baseColor:String,centerAffix:{type:Boolean,default:!0},color:String,glow:Boolean,iconColor:[Boolean,String],prependIcon:tl,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":ih(),"onClick:append":ih(),...Fi(),...rS(),...vy(Lp(),["maxWidth","minWidth","width"]),...na(),...Zte()},"VInput"),c1=Do()({name:"VInput",props:{...fA()},emits:{"update:modelValue":t=>!0},setup(t,e){let{attrs:o,slots:i,emit:n}=e;const{densityClasses:r}=sS(t),{dimensionStyles:s}=Ep(t),{themeClasses:a}=ku(t),{rtlClasses:u}=wu(),{InputIcon:c}=jte(t),m=pp(),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:_}=Xte(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}),O=Ue(()=>P.value.length>0),W=Ue(()=>!t.hideDetails||t.hideDetails==="auto"&&(O.value||!!i.details)),ne=Z(()=>W.value?`${f.value}-messages`:void 0),U=Z(()=>({id:f,messagesId:ne,isDirty:C,isDisabled:F,isReadonly:y,isPristine:T,isValid:B,isValidating:v,hasDetails:W,reset:D,resetValidation:R,validate:N})),H=Ue(()=>t.error||t.disabled?void 0:t.focused?t.color:t.baseColor),X=Ue(()=>{if(t.iconColor)return t.iconColor===!0?H.value:t.iconColor});return bo(()=>{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,U.value),t.prependIcon&&de(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,U.value)]),pe&&V("div",{key:"append",class:"v-input__append"},[t.appendIcon&&de(c,{key:"append-icon",name:"append",color:X.value},null),(Ie=i.append)==null?void 0:Ie.call(i,U.value)]),W.value&&V("div",{id:ne.value,class:"v-input__details",role:"alert","aria-live":"polite"},[de(Kte,{active:O.value,messages:P.value},{message:i.message}),(mt=i.details)==null?void 0:mt.call(i,U.value)])])}),{reset:D,resetValidation:R,validate:N,isValid:B,errorMessages:p}}}),Qte=st({text:String,onClick:ih(),...Fi(),...na()},"VLabel"),eoe=Do()({name:"VLabel",props:Qte(),setup(t,e){let{slots:o}=e;return bo(()=>{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)])}),{}}}),toe=st({...mA(),...Ite(),...fA(),modelValue:{type:[Number,String],default:0}},"VSlider"),m1=Do()({name:"VSlider",props:toe(),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}=wu(),a=wte(t),u=ol(t,"modelValue",void 0,W=>a.roundValue(W??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}=kte({props:t,steps:a,onSliderStart:()=>{!v.value&&!D.value&&i("start",u.value)},onSliderEnd:W=>{let{value:ne}=W;const U=p(ne);!v.value&&!D.value&&(u.value=U),i("end",U)},onSliderMove:W=>{let{value:ne}=W;!v.value&&!D.value&&(u.value=p(ne))},getActiveThumb:()=>{var W;return(W=n.value)==null?void 0:W.$el}}),{isFocused:N,focus:_,blur:P}=qte(t),O=Z(()=>T(u.value));return bo(()=>{const W=c1.filterProps(t),ne=!!(t.label||o.label||o.prepend);return de(c1,$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},W,{focused:N.value}),{...o,prepend:ne?U=>{var H,X;return V(Ge,null,[((H=o.label)==null?void 0:H.call(o,U))??(t.label?de(eoe,{id:U.id.value,class:"v-slider__label",text:t.label},null):void 0),(X=o.prepend)==null?void 0:X.call(o,U)])}:void 0,default:U=>{let{id:H,messagesId:X}=U;return V("div",{class:"v-slider__container",onMousedown:D.value?void 0:C,onTouchstartPassive:D.value?void 0:F},[V("input",{id:H.value,name:t.name||H.value,disabled:v.value,readonly:D.value,tabindex:"-1",value:u.value},null),de(Ute,{ref:y,start:0,stop:O.value},{"tick-label":o["tick-label"]}),de($te,{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:O.value,elevation:t.elevation,onFocus:_,onBlur:P,ripple:t.ripple,name:t.name},{"thumb-label":o["thumb-label"]})])}})}),i8({focus:()=>{var W;return(W=n.value)==null?void 0:W.$el.focus()}},r)}}),hA=st({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,hideEyeDropper:Boolean,eyeDropperIcon:{type:tl,default:"$eyeDropper"},...Fi()},"VColorPickerPreview"),ooe=Tr({name:"VColorPickerPreview",props:hA(),emits:{"update:color":t=>!0},setup(t,e){let{emit:o}=e;const{t:i}=Bp(),n=new AbortController;vc(()=>n.abort());async function r(){if(!FR||t.disabled)return;const s=new window.EyeDropper;try{const a=await s.open({signal:n.signal}),u=Pc(zi(a.sRGBHex));o("update:color",{...t.color??tu,...u})}catch{}}return bo(()=>{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)},[FR&&!t.hideEyeDropper&&V("div",{class:"v-color-picker-preview__eye-dropper",key:"eyeDropper"},[de(aA,{"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:hE(t.color??tu)}},null)]),V("div",{class:"v-color-picker-preview__sliders"},[de(m1,{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??tu,h:u}),step:1,min:0,max:360,disabled:t.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!t.hideAlpha&&de(m1,{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??tu,a:u}),step:.01,min:0,max:1,disabled:t.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}}),ioe={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"},noe={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"},roe={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"},soe={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"},aoe={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"},loe={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"},uoe={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"},doe={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"},coe={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"},moe={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"},foe={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"},hoe={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"},poe={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"},Coe={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"},goe={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"},Foe={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"},yoe={base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"},Toe={base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"},Soe={base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"},Boe={black:"#000000",white:"#ffffff",transparent:"#ffffff00"},Voe={red:ioe,pink:noe,purple:roe,deepPurple:soe,indigo:aoe,blue:loe,lightBlue:uoe,cyan:doe,teal:coe,green:moe,lightGreen:foe,lime:hoe,yellow:poe,amber:Coe,orange:goe,deepOrange:Foe,brown:yoe,blueGrey:Toe,grey:Soe,shades:Boe},Roe=st({swatches:{type:Array,default:()=>Doe(Voe)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Fi()},"VColorPickerSwatches");function Doe(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 boe=Tr({name:"VColorPickerSwatches",props:Roe(),emits:{"update:color":t=>!0},setup(t,e){let{emit:o}=e;return bo(()=>V("div",{class:Ve(["v-color-picker-swatches",t.class]),style:fe([{maxHeight:Yt(t.maxHeight)},t.style])},[V("div",null,[t.swatches.map(i=>V("div",{class:"v-color-picker-swatches__swatch"},[i.map(n=>{const r=zi(n),s=Pc(r),a=fE(r);return V("div",{class:"v-color-picker-swatches__color",onClick:()=>s&&o("update:color",s)},[V("div",{style:{background:a}},[t.color&&Tp(t.color,s)?de(Yd,{size:"x-small",icon:"$success",color:M4(n,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}}),xoe=j4("v-picker-title"),pA=st({color:String,...iS(),...Fi(),...Lp(),...Ac(),...iA(),...rA(),...iC(),...Kc(),...na()},"VSheet"),f1=Do()({name:"VSheet",props:pA(),setup(t,e){let{slots:o}=e;const{themeClasses:i}=ku(t),{backgroundColorClasses:n,backgroundColorStyles:r}=yu(()=>t.color),{borderClasses:s}=nS(t),{dimensionStyles:a}=Ep(t),{elevationClasses:u}=Ic(t),{locationStyles:c}=nA(t),{positionClasses:m}=sA(t),{roundedClasses:f}=nC(t);return bo(()=>de(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)),{}}}),CA=st({bgColor:String,divided:Boolean,landscape:Boolean,title:String,hideHeader:Boolean,hideTitle:Boolean,...pA()},"VPicker"),h1=Do()({name:"VPicker",props:CA(),setup(t,e){let{slots:o}=e;const{backgroundColorClasses:i,backgroundColorStyles:n}=yu(()=>t.color);return bo(()=>{const r=f1.filterProps(t),s=!t.hideTitle&&!!(t.title||o.title);return de(f1,$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(["v-picker__header-wrapper",i.value]),style:fe([n.value])},[s&&de(xoe,{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&&de($f,{defaults:{VBtn:{slim:!0,variant:"text"}}},{default:()=>[V("div",{class:"v-picker__actions"},[o.actions()])]})]}})}),{}}}),Loe=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(Qa).includes(t)},modes:{type:Array,default:()=>Object.keys(Qa),validator:t=>Array.isArray(t)&&t.every(e=>Object.keys(Qa).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...CA({hideHeader:!0}),...vy(hA(),["hideEyeDropper","eyeDropperIcon"])},"VColorPicker"),Eoe=Tr({name:"VColorPicker",props:Loe(),emits:{"update:modelValue":t=>!0,"update:mode":t=>!0},setup(t,e){let{slots:o}=e;const i=ol(t,"mode"),n=Vt(null),r=ol(t,"modelValue",void 0,m=>{if(m==null||m==="")return null;let f;try{f=Pc(zi(m))}catch{return null}return f},m=>m?Dte(m,t.modelValue):null),s=Z(()=>r.value?{...r.value,h:n.value??r.value.h}:null),{rtlClasses:a}=wu();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 Ec(()=>{t.modes.includes(i.value)||(i.value=t.modes[0])}),Ay({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),bo(()=>{const m=h1.filterProps(t);return de(h1,$n(m,{class:["v-color-picker",a.value,t.class],style:[{"--v-color-picker-color-hsv":hE({...s.value??tu,a:1})},t.style]}),{...o,default:()=>V(Ge,null,[!t.hideCanvas&&de(tte,{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&&de(ooe,{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&&de(Nte,{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&&de(boe,{key:"swatches",color:s.value,"onUpdate:color":c,maxHeight:t.swatchesMaxHeight,swatches:t.swatches,disabled:t.disabled},null)])})}),{}}}),voe=Me({__name:"SelectItemColor",props:{isActive:{type:Boolean},color:{},label:{}},emits:["click"],setup(t,{emit:e}){const o=t,i=e;return(n,r)=>(k(),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),hu(" "+Lt(o.label),1)])],2))}}),gA=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 Ei(t)}}}),rC=t=>gA(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}),qc=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=Wi({fontFamily:e,themeFontSettings:o[a],themeColor:rC({themeName:a,themeFontColors:i})});return String(u[t.styleName])},FA=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=Wi({fontFamily:e,themeFontSettings:o[a],themeColor:rC({themeName:a,themeFontColors:i})});return{Discriminator:gA(a).Match({whenHeading:()=>"HeadingColor",whenTitle:()=>"TitleColor",whenSubHeading:()=>"SubHeadingColor",whenLargeText:()=>"LargeTextColor",whenNormalText:()=>"NormalTextColor",whenDescriptionText:()=>"DescriptionTextColor",whenLink:()=>"LinkColor",whenButton:()=>"ButtonTextColor"}),CustomValue:u.color}},Noe={class:"color-picker bootstrap-styles border rounded bg-white"},Poe={class:"bootstrap-styles p-1 mb-5 bg-white"},_oe=["value"],Aoe=["value"],Ioe=Me({__name:"ColorPickerModalWindow",props:{editor:{},theme:{}},emits:["onColorChanged","onColorPickerClosed"],setup(t,{emit:e}){const o=t,i=Z(()=>Op({fontColor:FA({editor:o.editor,theme:o.theme}),themeColors:o.theme.Colors})),n=bt({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=oa("click-outside");return ct((k(),J("div",null,[V("ul",Noe,[V("li",Poe,[de(j(Eoe),{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,_oe),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,Aoe)],2)]),(k(),J(Ge,null,Jt(s,F=>de(voe,{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")]])}}}),woe=Ne(Ioe,[["__scopeId","data-v-60ea3415"]]),koe=["value"],Woe=Me({__name:"ColorPicker",props:{editor:{},theme:{},isAllowToEdit:{type:Boolean}},setup(t){const e=t,o=bt({isColorPickerDropdownShown:!1}),i=Vt(),n=Vt(),{floatingStyles:r}=MN(n,i,{whileElementsMounted:kN,placement:"bottom",middleware:[WN(({rects:a})=>({alignmentAxis:-a.floating.width/2-a.floating.width/2,mainAxis:15}))]}),s=Z(()=>Op({fontColor:FA({editor:e.editor,theme:e.theme}),themeColors:e.theme.Colors}));return(a,u)=>(k(),J(Ge,null,[ct((k(),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,koe)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.colorEditorTooltip"),placement:"top"}]]),o.isColorPickerDropdownShown?(k(),Pe(woe,{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"])):be("",!0)],64))}}),Ooe=Ne(Woe,[["__scopeId","data-v-0faf382b"]]),Moe={},Hoe={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function $oe(t,e){return k(),J("svg",Hoe,[...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 dS=Ne(Moe,[["render",$oe]]),zoe={class:"bootstrap-styles dropdown"},Uoe={class:"bootstrap-styles me-14 overflow-hidden rich-text-toolbar__font-family-btn__text"},joe={class:"bootstrap-styles d-flex justify-content-center align-items-center"},Goe=["onClick"],Koe=Me({__name:"FontFamilySelector",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=UT.name,i=bt({isOpened:!1}),n=Z(()=>qc({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=oa("click-outside");return ct((k(),J("div",zoe,[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",Uoe,Lt(j(PF)[n.value]),1),V("i",joe,[de(dS)])],2),V("ul",{class:Ve([{show:i.isOpened},"bootstrap-styles dropdown-menu rounded-2 bg-white"]),"aria-labelledby":"richTextDropdownFontFamily"},[(k(!0),J(Ge,null,Jt(j(xN),c=>(k(),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(PF)[c]),5)],10,Goe))),128))],2)])),[[u,()=>i.isOpened=!1],[j(po),{title:j(Le)("emailTemplate.elements.richText.fontFamilyEditorTooltip"),placement:"top"}]])}}}),qoe=Ne(Koe,[["__scopeId","data-v-30bdb1a6"]]),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 k(),J("svg",Joe,[...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 yA=Ne(Yoe,[["render",Zoe],["__scopeId","data-v-f785d5aa"]]),Xoe={},Qoe={xmlns:"http://www.w3.org/2000/svg",width:"8",height:"8",viewBox:"0 0 8 8",fill:"none"};function eie(t,e){return k(),J("svg",Qoe,[...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 TA=Ne(Xoe,[["render",eie],["__scopeId","data-v-526bb3b0"]]),tie={},oie={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function iie(t,e){return k(),J("svg",oie,[...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 nie=Ne(tie,[["render",iie]]),rie=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):Wi({fontFamily:e,themeFontSettings:o[a],themeColor:rC({themeName:a,themeFontColors:i})}).fontSize},sie={class:"bootstrap-styles rich-text-toolbar__font-size-editor position-relative rounded-2 py-1 px-3 d-flex"},aie={class:"bootstrap-styles d-flex justify-content-center rich-text-icon me-14"},lie=["value"],uie={class:"bootstrap-styles rich-text-toolbar__input-button top-0 d-flex position-absolute align-items-end justify-content-center"},die={class:"bootstrap-styles rich-text-toolbar__input-button bottom-0 d-flex position-absolute align-items-start justify-content-center"},cie=Me({__name:"FontSizeEditor",props:{editor:{},theme:{}},setup(t){const e=t,o=Z(()=>rie({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((k(),J("div",sie,[V("i",aie,[de(nie)]),V("input",{type:"number",class:"bootstrap-styles rich-text-toolbar__input-number rich-text__handler",value:o.value,onInput:r},null,40,lie),V("div",uie,[V("input",{type:"button",class:"bootstrap-styles position-absolute rich-text__handler",onClick:i}),de(yA)]),V("div",die,[V("input",{type:"button",class:"bootstrap-styles position-absolute rich-text__handler",onClick:n}),de(TA)])])),[[j(po),{title:j(Le)("emailTemplate.elements.richText.fontSizeEditorTooltip"),placement:"top"}]])}}),mie=Ne(cie,[["__scopeId","data-v-d9e6efac"]]),fie=Me({__name:"SelectItemTextStyle",props:{isActive:{type:Boolean},label:{},themeFontStyle:{},themeFontColor:{}},emits:["click"],setup(t,{emit:e}){const o=t,i=e;return(n,r)=>(k(),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))}}),hie=Ne(fie,[["__scopeId","data-v-5e3a08dd"]]),pie={class:"bootstrap-styles dropdown"},Cie={class:"bootstrap-styles rich-text-toolbar__font-style-selector__text"},gie={class:"bootstrap-styles d-flex justify-content-center align-items-center rich-text-toolbar__icon"},Fie=Me({__name:"ThemeSettingsSelector",props:{editor:{},theme:{},isAllowToEdit:{type:Boolean},initialThemeName:{}},setup(t){const e=t,o=UT.name,i=bt({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=oa("click-outside");return ct((k(),J("div",pie,[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",Cie,Lt(a.value),1),V("i",gie,[de(dS)])],2),V("ul",{class:Ve([{show:i.isOpened},"bootstrap-styles rich-text-toolbar__font-style-dropdown dropdown-menu rounded-2"]),"aria-labelledby":"dropdownMenuButtonFontStyleList"},[(k(),J(Ge,null,Jt(r,(p,C)=>de(hie,{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"}]])}}}),yie=Ne(Fie,[["__scopeId","data-v-32464714"]]),Tie={},Sie={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function Bie(t,e){return k(),J("svg",Sie,[...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 Vie=Ne(Tie,[["render",Bie]]),Rie=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):Wi({fontFamily:e,themeFontSettings:o[a],themeColor:rC({themeName:a,themeFontColors:i})}).lineHeight},Die={class:"bootstrap-styles rich-text-toolbar__line-height-editor position-relative rounded-2 py-1 px-3 d-flex"},bie={class:"bootstrap-styles d-flex justify-content-center rich-text-icon me-14"},xie=["value"],Lie={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"}},Eie={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"}},vie=Me({__name:"LineHeightEditor",props:{editor:{},theme:{}},setup(t){const e=t,o=Z(()=>Rie({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((k(),J("div",Die,[V("i",bie,[de(Vie)]),V("input",{type:"number",class:"bootstrap-styles rich-text-toolbar__input-number rich-text__handler",value:o.value,onInput:r},null,40,xie),V("div",Lie,[V("input",{type:"button",class:"bootstrap-styles position-absolute rich-text__handler",onClick:i}),de(yA)]),V("div",Eie,[V("input",{type:"button",class:"bootstrap-styles position-absolute rich-text__handler",onClick:n}),de(TA)])])),[[j(po),{title:j(Le)("emailTemplate.elements.richText.lineHeightEditorTooltip"),placement:"top"}]])}}),Nie=Ne(vie,[["__scopeId","data-v-95432508"]]),Pie=["http:","https:","mailto:","tel:"],_ie={mounted(t,e){t.addEventListener("input",()=>{const o=t.value;let i=!1;try{const n=new URL(o);i=Pie.includes(n.protocol)}catch{i=!1}typeof e.value=="function"&&e.value(i)})}},SA={mounted(t,e){p1(t,e)},updated(t,e){e.value&&p1(t,e)}},p1=(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)}})},Aie={},Iie={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"};function wie(t,e){return k(),J("svg",Iie,[...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 BA=Ne(Aie,[["render",wie]]),kie={},Wie={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Oie(t,e){return k(),J("svg",Wie,[...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 VA=Ne(kie,[["render",Oie]]),Mie={class:"bootstrap-styles bg-white border rounded-2 add-text-link-modal-window"},Hie={class:"bootstrap-styles fw-bold mb-5 px-11 mt-10 d-block text-start"},$ie={class:"bootstrap-styles px-11 mb-2"},zie={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1"},Uie=["placeholder","value"],jie={class:"bootstrap-styles px-11 py-5 d-flex align-items-center justify-content-end border-top"},Gie=["disabled"],Kie=Me({__name:"AddLinkModalWindow",props:{isActive:{type:Boolean},currentHref:{}},emits:["onClosed","onHrefChanged","onRemoved"],setup(t,{emit:e}){const o=t,i=bt({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=oa("click-outside");return ct((k(),J("div",Mie,[V("label",Hie,Lt(r.label),1),V("div",$ie,[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",zie,[de(BA)]),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,Uie),[[j(_ie),m=>i.isValid=m],[j(SA),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",jie,[o.isActive?(k(),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,[de(VA)])])):be("",!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,Gie)])])),[[c,()=>s("onClosed")]])}}}),qie=Ne(Kie,[["__scopeId","data-v-ad8d20e3"]]),Yie={};function Jie(t,e){return k(),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 Zie=Ne(Yie,[["render",Jie],["__scopeId","data-v-23cb1950"]]),Xie={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},Qie=Me({__name:"LinkEditor",props:{editor:{},isAllowToEdit:{type:Boolean}},setup(t){const e=t,o=tS.name,i=jT.name,n=bt({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)=>(k(),J(Ge,null,[ct((k(),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",Xie,[e.editor.isActive(j(o))?(k(),Pe(Zie,{key:1})):(k(),Pe(BA,{key:0}))])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.linkEditorTooltip"),placement:"top"}]]),n.isAddTextLinkModalWindowShown?(k(),Pe(qie,{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"])):be("",!0)],64))}}),ene=Ne(Qie,[["__scopeId","data-v-643efa44"]]),tne={class:"bootstrap-styles bg-white border rounded-2 add-image-src-modal-window"},one={class:"bootstrap-styles fw-bold mb-5 px-11 mt-10 d-block text-start"},ine={class:"bootstrap-styles px-11 mb-11"},nne=["placeholder","value"],rne={class:"bootstrap-styles px-11 py-5 d-flex align-items-center justify-content-end border-top"},sne=["disabled"],ane=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=bt({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=>{Z_(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=oa("click-outside");return ct((k(),J("div",tne,[V("label",one,Lt(n.label),1),V("div",ine,[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,nne),[[j(SA),void 0,void 0,{selectAll:!0}]])],2)]),V("div",rne,[o.isActive?ct((k(),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,[de(VA)])])),[[j(po),{placement:"top",title:n.removeTooltip}]]):be("",!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,sne)])])),[[m,()=>a("onClosed")]])}}}),lne=Ne(ane,[["__scopeId","data-v-3aeaa5e0"]]),une={},dne={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function cne(t,e){return k(),J("svg",dne,[...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 mne=Ne(une,[["render",cne]]),fne={},hne={class:"bootstrap-styles me-1 cursor-pointer",type:"checkbox","aria-label":"Checkbox for following text input"};function pne(t,e){return k(),J("input",hne)}const Cne=Ne(fne,[["render",pne],["__scopeId","data-v-4b14b7c1"]]),gne={class:"bootstrap-styles rich-text-icon icon-hover d-flex"},Fne={key:0,class:"bootstrap-styles d-flex align-items-center ms-14 me-1"},yne={for:"rich-text__retina-checkbox",class:"bootstrap-styles label__checkbox-input text-nowrap"},Tne=Me({__name:"ImageEditor",props:{editor:{}},setup(t){const e=t,o=X_.name,i=bt({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)=>(k(),J(Ge,null,[ct((k(),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",gne,[de(mne)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.imageEditorTooltip"),placement:"top"}]]),e.editor.isActive(j(o))?(k(),J("div",Fne,[de(Cne,{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",yne,Lt(j(Le)("emailTemplateEditors.imageEditor.retinaLabel")),1)])):be("",!0),i.isAddImageSrcModalWindowShown?(k(),Pe(lne,{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"])):be("",!0)],64))}}),Sne=Ne(Tne,[["__scopeId","data-v-0d8c3506"]]),Bne={},Vne={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function Rne(t,e){return k(),J("svg",Vne,[...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 Dne=Ne(Bne,[["render",Rne]]),bne={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},xne=Me({__name:"FontWeightEditor",props:{editor:{},theme:{},isAllowToEdit:{type:Boolean}},setup(t){const e=t,o=Z(()=>qc({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((k(),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",bne,[de(Dne)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.fontWeightEditorTooltip"),placement:"top"}]])}}),Lne=Ne(xne,[["__scopeId","data-v-0977d11b"]]),Ene={},vne={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function Nne(t,e){return k(),J("svg",vne,[...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 Pne=Ne(Ene,[["render",Nne]]),_ne={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},Ane=Me({__name:"LineThroughEditor",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=Z(()=>qc({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((k(),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",_ne,[de(Pne)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.lineThroughEditorTooltip"),placement:"top"}]])}}),Ine=Ne(Ane,[["__scopeId","data-v-e05ecae9"]]),wne={},kne={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function Wne(t,e){return k(),J("svg",kne,[...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 One=Ne(wne,[["render",Wne]]),Mne={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},Hne=Me({__name:"UnderlineEditor",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=Z(()=>qc({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((k(),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",Mne,[de(One)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.underlineEditorTooltip"),placement:"top"}]])}}),$ne=Ne(Hne,[["__scopeId","data-v-07d5abe0"]]),zne={},Une={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function jne(t,e){return k(),J("svg",Une,[...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 Gne=Ne(zne,[["render",jne]]),Kne={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},qne=Me({__name:"FontStyleEditor",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=Z(()=>qc({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((k(),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,[de(Gne)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.fontStyleEditorTooltip"),placement:"top"}]])}}),Yne=Ne(qne,[["__scopeId","data-v-edd911e3"]]),Jne={},Zne={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Xne(t,e){return k(),J("svg",Zne,[...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 Qne=Ne(Jne,[["render",Xne]]),ere={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},tre=Me({__name:"TextTransformEditor",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=v_.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((k(),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",ere,[de(Qne)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.textTransformEditorTooltip"),placement:"top"}]])}}),ore=Ne(tre,[["__scopeId","data-v-1006ef23"]]),ire={},nre={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function rre(t,e){return k(),J("svg",nre,[...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 sre=Ne(ire,[["render",rre]]),are={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},lre=Me({__name:"UnsubscribeLinkEditor",props:{editor:{},isAllowToEdit:{type:Boolean},theme:{}},setup(t){const e=t,o=jT.name,i=tS.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((k(),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",are,[de(sre)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.unsubscribeLinkEditorTooltip"),placement:"top"}]])}}),ure=Ne(lre,[["__scopeId","data-v-a35c2049"]]),dre={},cre={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function mre(t,e){return k(),J("svg",cre,[...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 fre=Ne(dre,[["render",mre]]),hre={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},pre=Me({__name:"BulletListEditor",props:{editor:{}},setup(t){const e=t,o=M_.name,i=()=>{e.editor.chain().focus().toggleBulletList().run()};return(n,r)=>ct((k(),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",hre,[de(fre)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.bulletListEditorTooltip"),placement:"top"}]])}}),Cre=Ne(pre,[["__scopeId","data-v-a263b64d"]]),gre={},Fre={xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"};function yre(t,e){return k(),J("svg",Fre,[...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 Tre=Ne(gre,[["render",yre]]),Sre={class:"bootstrap-styles d-flex rich-text-icon icon-hover"},Bre=Me({__name:"OrderedListEditor",props:{editor:{}},setup(t){const e=t,o=H_.name,i=()=>{e.editor.chain().focus().toggleOrderedList().run()};return(n,r)=>ct((k(),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",Sre,[de(Tre)])],2)),[[j(po),{title:j(Le)("emailTemplate.elements.richText.orderedListEditorTooltip"),placement:"top"}]])}}),Vre=Ne(Bre,[["__scopeId","data-v-e0cfe504"]]),Rre={},Dre={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function bre(t,e){return k(),J("svg",Dre,[...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 C1=Ne(Rre,[["render",bre]]),xre={},Lre={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Ere(t,e){return k(),J("svg",Lre,[...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 g1=Ne(xre,[["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 k(),J("svg",Nre,[...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 F1=Ne(vre,[["render",Pre]]),_re={},Are={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Ire(t,e){return k(),J("svg",Are,[...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 y1=Ne(_re,[["render",Ire]]),wre={class:"bootstrap-styles vertical-align-editor dropdown rounded"},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={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},Mre={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},Hre={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},$re=Me({__name:"VerticalAlignEditor",props:{editor:{},currentVerticalAlign:{}},emits:["onVerticalAlignVariantChanged"],setup(t,{emit:e}){const o=t,i=bt({isOpened:!1}),n=s=>{r("onVerticalAlignVariantChanged",s),i.isOpened=!1},r=e;return(s,a)=>{const u=oa("click-outside");return ct((k(),J("div",wre,[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",kre,[o.currentVerticalAlign==="Baseline"?(k(),Pe(y1,{key:0})):be("",!0),o.currentVerticalAlign==="Top"?(k(),Pe(C1,{key:1})):be("",!0),o.currentVerticalAlign==="Middle"?(k(),Pe(g1,{key:2})):be("",!0),o.currentVerticalAlign==="Bottom"?(k(),Pe(F1,{key:3})):be("",!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",Wre,[de(y1)])],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",Ore,[de(C1)])],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",Mre,[de(g1)])],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",Hre,[de(F1)])],2)],2)])),[[u,()=>i.isOpened=!1],[j(po),{title:j(Le)("emailTemplate.elements.richText.verticalAlignEditorTooltip"),placement:"top"}]])}}}),zre=Ne($re,[["__scopeId","data-v-76afd096"]]),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 k(),J("svg",jre,[...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 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 k(),J("svg",qre,[...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 S1=Ne(Kre,[["render",Yre]]),Jre={},Zre={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function Xre(t,e){return k(),J("svg",Zre,[...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 B1=Ne(Jre,[["render",Xre]]),Qre={class:"bootstrap-styles content-align-editor dropdown rounded"},ese={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},tse={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},ose={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},ise={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},nse=Me({__name:"ContentAlignEditor",props:{editor:{},currentContentAlign:{}},emits:["onContentAlignVariantChanged"],setup(t,{emit:e}){const o=t,i=bt({isOpened:!1}),n=s=>{r("onContentAlignVariantChanged",s),i.isOpened=!1},r=e;return(s,a)=>{const u=oa("click-outside");return ct((k(),J("div",Qre,[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",ese,[o.currentContentAlign==="Left"?(k(),Pe(T1,{key:0})):be("",!0),o.currentContentAlign==="Center"?(k(),Pe(S1,{key:1})):be("",!0),o.currentContentAlign==="Right"?(k(),Pe(B1,{key:2})):be("",!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",tse,[de(T1)])],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",ose,[de(S1)])],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",ise,[de(B1)])],2)],2)])),[[u,()=>i.isOpened=!1],[j(po),{title:j(Le)("emailTemplate.elements.richText.contentAlignEditorTooltip"),placement:"top"}]])}}}),rse=Ne(nse,[["__scopeId","data-v-478edcf6"]]),sse={},ase={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function lse(t,e){return k(),J("svg",ase,[...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 use=Ne(sse,[["render",lse]]),dse={class:"bootstrap-styles dropdown rounded"},cse={class:"bootstrap-styles rich-text-icon icon-hover d-flex justify-content-center align-items-center"},mse=Me({__name:"VariableSelector",props:{editor:{},deps:{}},setup(t){const e=t,o=e.deps.stringExpressionBuilderPlugin,i=bt({isStringExpressionBuilderShown:!1}),n=r=>{e.editor.chain().focus().setVariable(r).run(),i.isStringExpressionBuilderShown=!1};return(r,s)=>ct((k(),J("div",dse,[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",cse,[de(use)])],2),(k(),Pe(yy,{to:"#app"},[i.isStringExpressionBuilderShown?(k(),Pe(j(o),{key:0,onOnStringExpressionUpdated:s[1]||(s[1]=a=>n(a)),onCancel:s[2]||(s[2]=a=>i.isStringExpressionBuilderShown=!1)})):be("",!0)]))])),[[j(po),{title:j(Le)("emailTemplate.elements.richText.variableEditorTooltip"),placement:"top"}]])}}),fse=Ne(mse,[["__scopeId","data-v-47e5bf51"]]),hse={class:"bootstrap-styles rich-text-toolbar d-flex align-items-center border gap-1 p-1"},pse={key:2,class:"bootstrap-styles position-relative h-100"},Cse={key:3,class:"bootstrap-styles position-relative h-100"},gse={key:4,class:"bootstrap-styles d-flex justify-content-center align-items-center"},Fse={key:7,class:"vl"},yse={key:13,class:"vl"},Tse={key:16,class:"vl"},Sse=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)=>(k(),J("div",hse,[n.value?be("",!0):(k(),Pe(yie,{key:0,editor:o.editor,theme:o.theme,isAllowToEdit:i.value,initialThemeName:o.initialThemeName},null,8,["editor","theme","isAllowToEdit","initialThemeName"])),n.value?be("",!0):(k(),Pe(qoe,{key:1,theme:o.theme,editor:o.editor,isAllowToEdit:i.value},null,8,["theme","editor","isAllowToEdit"])),n.value?be("",!0):(k(),J("div",pse,[de(mie,{editor:o.editor,theme:o.theme,class:Ve({disabled:!i.value})},null,8,["editor","theme","class"])])),n.value?be("",!0):(k(),J("div",Cse,[de(Nie,{editor:o.editor,theme:o.theme,class:Ve({disabled:!i.value})},null,8,["editor","theme","class"])])),n.value?be("",!0):(k(),J("div",gse,[de(Ooe,{editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])])),n.value?(k(),Pe(zre,{key:5,currentVerticalAlign:o.element.ImageVerticalAlign,editor:o.editor,onOnVerticalAlignVariantChanged:a[0]||(a[0]=u=>r("onVerticalAlignVariantChanged",u))},null,8,["currentVerticalAlign","editor"])):be("",!0),n.value?be("",!0):(k(),Pe(rse,{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?be("",!0):(k(),J("div",Fse)),n.value?be("",!0):(k(),Pe(Lne,{key:8,editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])),n.value?be("",!0):(k(),Pe(Yne,{key:9,editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])),n.value?be("",!0):(k(),Pe(Ine,{key:10,editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])),n.value?be("",!0):(k(),Pe($ne,{key:11,editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])),n.value?be("",!0):(k(),Pe(ore,{key:12,editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"])),n.value?be("",!0):(k(),J("div",yse)),n.value?be("",!0):(k(),Pe(Cre,{key:14,editor:o.editor},null,8,["editor"])),n.value?be("",!0):(k(),Pe(Vre,{key:15,editor:o.editor},null,8,["editor"])),n.value?be("",!0):(k(),J("div",Tse)),de(ene,{editor:o.editor,isAllowToEdit:i.value},null,8,["editor","isAllowToEdit"]),de(ure,{editor:o.editor,theme:o.theme,isAllowToEdit:i.value},null,8,["editor","theme","isAllowToEdit"]),de(Sne,{editor:o.editor},null,8,["editor"]),n.value?be("",!0):(k(),Pe(fse,{key:17,editor:o.editor,deps:o.deps.variableSelectorDeps,class:"bootstrap-styles d-none"},null,8,["editor","deps"]))]))}}),Bse=Ne(Sse,[["__scopeId","data-v-c3a2dc93"]]),Vse=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 Ei(t)}}}),Rse=t=>Vse(t.verticalAlign).Match({whenBaseline:()=>"baseline",whenTop:()=>"top",whenMiddle:()=>"middle",whenBottom:()=>"bottom"}),V1="NormalText",Dse=Me({__name:"RichText",props:{deps:{},theme:{},element:{},isSelected:{type:Boolean}},emits:["onRichTextUpdated","onRichTextRemoved"],setup(t,{emit:e}){ia(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=bt({isRemoveComponentWindowShown:!1,isEditing:!1}),n=Vt(null),r=Vt(null),{floatingStyles:s}=MN(r,n,{placement:"top",whileElementsMounted:kN,middleware:[WN(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=pp(),c=Z(()=>Wi({fontFamily:o.theme.FontFamily,themeFontSettings:o.theme.FontSettingsPresets.NormalText,themeColor:o.theme.Colors.NormalTextColor})),m=Z(()=>{const T={...dT(c.value)};return{fontSize:T.fontSize,lineHeight:T.lineHeight,fontFamily:T.fontFamily,fontWeight:T.fontWeight,fontStyle:T.fontStyle,color:T.color}}),f=bQ({content:Kx(o.element.Text),extensions:[...Xee({initialThemeName:V1,themeColors:o.theme.Colors})],editable:i.isEditing,autofocus:"all",onUpdate:({editor:T})=>{if(!i.isEditing)return;const B=Qee({editor:T});y("onRichTextUpdated",{...o.element,Text:B})}}),p=()=>{f.value&&(f.value.chain().focus().undo().run(),i.isRemoveComponentWindowShown=!1)},C=Z(()=>Rse({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(Kx(o.element.Text))});const y=e;return(T,B)=>{const v=oa("click-outside");return k(),J("span",{ref_key:"richTextElementRef",ref:r,class:Ve(["RichText cursor-pointer user-select-none",{selected:o.isSelected}]),style:fe([j(xu)({contentAlign:o.element.ContentAlign}),{...m.value,minHeight:o.element.MinHeight+"px"}])},[ct(de(j(DQ),{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?(k(),Pe(Bse,{key:0,ref_key:"richTextToolbarRef",ref:n,editor:j(f),deps:o.deps.richTextToolbarDeps,element:o.element,theme:o.theme,initialThemeName:V1,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"])):be("",!0),(k(),Pe(yy,{to:"#app"},[i.isRemoveComponentWindowShown?(k(),Pe(Bq,{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(()=>[hu(Lt(j(Le)("emailTemplate.elements.richText.removeWindowDescription")),1)]),_:1},8,["headerText"])):be("",!0)]))],6)}}}),bse=Ne(Dse,[["__scopeId","data-v-64dddc74"]]),xse=Me({__name:"UnsubscribeLink",props:{theme:{},element:{}},setup(t){const e=t,o=Z(()=>{const i=cT({fontFamily:e.theme.FontFamily,fontStyle:e.element.Style,themeDefinedFontSettings:e.theme.FontSettingsPresets,themeColors:e.theme.Colors});return{...dT(i)}});return(i,n)=>(k(),J("a",{href:"#",class:"cursor-pointer user-select-none",style:fe([{margin:"0"},[o.value,j(xu)({contentAlign:e.element.ContentAlign})]]),onClick:n[0]||(n[0]=ci(()=>{},["prevent"]))},Lt(e.element.Text),5))}}),Lse=Ne(xse,[["__scopeId","data-v-5377f699"]]),Ese=["src","alt"],vse={class:"bootstrap-styles position-absolute top-0 left-0",width:"100%",style:{"border-spacing":"0","border-collapse":"collapse",width:"100%",height:"100%"}},Nse={key:0},Pse=["align"],_se={style:{width:"auto","border-spacing":"0","border-collapse":"separate"}},Ase={align:"center",style:{width:"auto"}},Ise={key:0},wse={key:1},kse=["align"],Wse={style:{width:"auto","border-spacing":"0","border-collapse":"separate"}},Ose={align:"center",style:{width:"auto"}},Mse={key:2},Hse=["align"],$se={style:{width:"auto","border-spacing":"0","border-collapse":"separate"}},zse={align:"center",style:{width:"auto"}},Use={key:3},jse=["align"],Gse={style:{width:"auto","border-spacing":"0","border-collapse":"separate"}},Kse={align:"center",style:{width:"auto"}},qse=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=bt({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?(k(),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,Ese),[[j(fc),({width:c,height:m})=>{s("onImageSizeAdjusted",{Path:o.path,AdjustedHeight:m,AdjustedWidth:c}),i.isLoaded=!0}]]),V("table",vse,[V("tbody",null,[o.element.TopElementList.List.length>0&&o.element.TopElementList.Direction==="Vertical"?(k(),J("tr",Nse,[V("td",{valign:"top",align:j(Zr)({containerAlign:o.element.TopElementList.ContentAlign})},[V("table",_se,[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)]),(k(!0),J(Ge,null,Jt(o.element.TopElementList.List,(c,m)=>(k(),J(Ge,{key:m},[V("tr",null,[o.element.TopElementList.ContentAlign==="Left"?(k(),J("td",{key:0,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!0),V("td",Ase,[de(kn,{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"?(k(),J("td",{key:1,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!0)]),o.element.TopElementList.List.length-1!==m?(k(),J("tr",Ise,[V("td",{style:fe({height:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)])):be("",!0)],64))),128))])])],8,Pse)])):be("",!0),o.element.TopElementList.List.length>0&&o.element.TopElementList.Direction==="Horizontal"?(k(),J("tr",wse,[V("td",{valign:"top",align:j(Zr)({containerAlign:o.element.TopElementList.ContentAlign})},[V("table",Wse,[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,[(k(!0),J(Ge,null,Jt(o.element.TopElementList.List,(c,m)=>(k(),J(Ge,{key:m},[o.element.TopElementList.ContentAlign==="Left"&&m===0?(k(),J("td",{key:0,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!0),V("td",Ose,[de(kn,{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?(k(),J("td",{key:1,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!0),o.element.TopElementList.ContentAlign==="Right"?(k(),J("td",{key:2,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!0),o.element.TopElementList.ContentAlign==="Left"&&o.element.TopElementList.List.length-1!==m?(k(),J("td",{key:3,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!0)],64))),128))])])])],8,kse)])):be("",!0),o.element.BottomElementList.List.length>0&&o.element.BottomElementList.Direction==="Vertical"?(k(),J("tr",Mse,[V("td",{valign:"bottom",align:j(Zr)({containerAlign:o.element.BottomElementList.ContentAlign})},[V("table",$se,[V("tbody",null,[(k(!0),J(Ge,null,Jt(o.element.BottomElementList.List,(c,m)=>(k(),J(Ge,{key:m},[V("tr",null,[o.element.BottomElementList.ContentAlign==="Left"?(k(),J("td",{key:0,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!0),V("td",zse,[de(kn,{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"?(k(),J("td",{key:1,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!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,Hse)])):be("",!0),o.element.BottomElementList.List.length>0&&o.element.BottomElementList.Direction==="Horizontal"?(k(),J("tr",Use,[V("td",{valign:"bottom",align:j(Zr)({containerAlign:o.element.BottomElementList.ContentAlign})},[V("table",Gse,[V("tbody",null,[V("tr",null,[(k(!0),J(Ge,null,Jt(o.element.BottomElementList.List,(c,m)=>(k(),J(Ge,{key:m},[o.element.BottomElementList.ContentAlign==="Left"&&m===0?(k(),J("td",{key:0,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!0),V("td",Kse,[de(kn,{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?(k(),J("td",{key:1,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!0),o.element.BottomElementList.ContentAlign==="Right"?(k(),J("td",{key:2,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!0),o.element.BottomElementList.ContentAlign==="Left"&&o.element.BottomElementList.List.length-1!==m?(k(),J("td",{key:3,style:fe({width:o.element.ElementsSpacerSize+"px",fontSize:o.element.ElementsSpacerSize+"px",lineHeight:o.element.ElementsSpacerSize+"px"})},"   ",4)):be("",!0)],64))),128))])])])],8,jse)])):be("",!0)])])],4)])])])):be("",!0)}}),kn=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)=>(k(),J("span",{onClick:s[31]||(s[31]=ci(()=>{},["stop"]))},[o.element.Button!==void 0?(k(),Pe(BK,{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"])):be("",!0),o.element.HeightContainer!==void 0?(k(),Pe(vG,{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"])):be("",!0),o.element.Image!==void 0?(k(),Pe(wG,{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"])):be("",!0),o.element.Spacer!==void 0?(k(),Pe(zG,{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"])):be("",!0),o.element.SpanText!==void 0?(k(),Pe(DK,{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"])):be("",!0),o.element.RichText!==void 0?(k(),Pe(bse,{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"])):be("",!0),o.element.OneLineList!==void 0?(k(),Pe(MG,{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"])):be("",!0),o.element.If!==void 0?(k(),Pe(bG,{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"])):be("",!0),o.element.UnsubscribeLink!==void 0?(k(),Pe(Lse,{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"])):be("",!0),o.element.BackgroundImage!==void 0?(k(),Pe(qse,{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"])):be("",!0)]))}}),Yse=["align"],Jse=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}){ia(r=>({de2d6d1c:n.value}));const o=t,i=e,n=Z(()=>o.iteratedColumn.WidthInPercents*o.containerWidth+"px");return(r,s)=>(k(),J("div",{class:"iterated-column",style:fe({display:"inline-block",verticalAlign:o.iteratedColumn.VerticalAlign})},[V("table",{style:fe([[j(Hc)({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(ls)({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"}])},[(k(!0),J(Ge,null,Jt(o.iteratedColumn.Elements,(a,u)=>(k(),Pe(kn,{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-074a56c4"]]),Xse=["align"],Qse=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}){ia(r=>({b40df8fc:n.value}));const o=t,i=e,n=Z(()=>o.iteratedColumnN21.WidthInPercents*o.containerWidth+"px");return(r,s)=>(k(),J("div",{class:"iterated-column__N-2-1",style:fe({display:"inline-block",verticalAlign:o.iteratedColumnN21.VerticalAlign})},[V("table",{style:fe([[j(Hc)({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(ls)({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"}])},[(k(!0),J(Ge,null,Jt(o.iteratedColumnN21.Elements,(a,u)=>(k(),Pe(kn,{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-f4136804"]]),tae=["align"],oae=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}){ia(r=>({v1d32a774:n.value}));const o=t,i=e,n=Z(()=>o.iteratedColumnN22.WidthInPercents*o.containerWidth+"px");return(r,s)=>(k(),J("div",{class:"iterated-column__N-2-2",style:fe({display:"inline-block",verticalAlign:o.iteratedColumnN22.VerticalAlign})},[V("table",{style:fe([[j(Hc)({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(ls)({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"}])},[(k(!0),J(Ge,null,Jt(o.iteratedColumnN22.Elements,(a,u)=>(k(),Pe(kn,{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,tae)])])],4)],4))}}),iae=Ne(oae,[["__scopeId","data-v-27b3eab4"]]),nae={class:"iterated-column-container",style:{"border-spacing":"0","border-collapse":"collapse",width:"100%",margin:"0 auto"},width:"100%"},rae={align:"center",style:{"font-size":"0"}},sae=Me({__name:"IteratedColumnBodyRow",props:{deps:{},theme:{},iteratedColumnBodyRow:{},path:{},selectedElementPath:{},context:{},rowWidth:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){ia(u=>({v1d9c27e6:r.value}));const o=t,i=bt({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)=>(k(),J("table",nae,[V("tbody",null,[V("tr",null,[V("td",rae,[(k(!0),J(Ge,null,Jt(i.dataList,(m,f)=>(k(),J(Ge,{key:f},[s.iteratedColumn(o.iteratedColumnBodyRow.IteratedColumn)?(k(),Pe(Zse,{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(Af)({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"])):be("",!0),s.iteratedColumnVariant(o.iteratedColumnBodyRow.IteratedColumnVariant)?(k(),J(Ge,{key:1},[s.iteratedColumnN21(o.iteratedColumnBodyRow.IteratedColumnVariant.IteratedColumnN21)?(k(),Pe(eae,{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(Af)({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"])):be("",!0),s.iteratedColumnN22(o.iteratedColumnBodyRow.IteratedColumnVariant.IteratedColumnN22)?(k(),Pe(iae,{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(Af)({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"])):be("",!0)],64)):be("",!0)],64))),128))])])])]))}}),aae=Ne(sae,[["__scopeId","data-v-fc3ec530"]]),lae={style:{"border-spacing":"0","border-collapse":"collapse",width:"100%",margin:"0 auto"}},uae=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=bt({dataList:[]});o.deps.listExpressionEvaluator({listExpression:o.iteratedBodyRow.DataSource,context:o.context}).then(r=>i.dataList=r);const n=e;return(r,s)=>(k(),J("table",lae,[(k(!0),J(Ge,null,Jt(i.dataList,(a,u)=>(k(),J("tr",{key:u},[V("td",{style:fe([j($c)({paddings:o.iteratedBodyRow.Paddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings})])},[de(RA,{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 I0={},w0={},k0={},R1;function cS(){return R1||(R1=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})(k0)),k0}var D1;function dae(){return D1||(D1=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isRight=t.isLeft=t.Right=t.Left=t.EitherType=void 0;const e=cS();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})(w0)),w0}var W0={},b1;function cae(){return b1||(b1=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isErr=t.isOk=t.Err=t.Ok=t.ResultType=void 0;const e=cS();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})(W0)),W0}var x1;function mae(){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=dae();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=cS();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=cae();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}})})(I0)),I0}var O0=mae();const fae=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()}}}),hae=t=>fae(t).Match({Top:()=>"start",Middle:()=>"center",Bottom:()=>"end",Baseline:()=>"baseline"}),pae=Io,Cae=t=>({JustifyWidth:{WidthInPixels:t}}),gae=t=>({ShrinkToContentWidth:{WidthInPixels:t}}),Fae=hG,yae=["align"],Tae=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}){ia(u=>({a4b5d602:a.value,c89e587e:s.value,v6e55963e:r.value}));const o=t,i=e,n=u=>{pae(o.multipleColumn.Width).Match({JustifyWidth:()=>O0.Some(Cae(u)),ShrinkToContentWidth:()=>O0.Some(gae(u)),WidthInPercents:()=>O0.None}).map(c=>i("onColumnWidthAdjusted",{Path:o.path,Width:c}))},r=Z(()=>Fae(o.multipleColumn.Width).Match({default:()=>"",WidthInPercents:u=>u.Value*o.containerWidth+"px"})),s=Z(()=>hae(o.multipleColumn.VerticalAlign)),a=Z(()=>o.multipleColumn.VerticalAlign);return(u,c)=>ct((k(),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(Hc)({borderCollapse:o.multipleColumn.BorderCollapse})]]),width:"100%"},[V("tbody",null,[V("tr",null,[V("td",{align:j(Zr)({containerAlign:o.multipleColumn.ContainerAlign}),style:fe([[j(ls)({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($c)({paddings:o.multipleColumn.Paddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings})],{"line-height":"normal"}])},[(k(!0),J(Ge,null,Jt(o.multipleColumn.Elements,(m,f)=>(k(),Pe(kn,{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,yae)])])],4)],2)),[[j(fc),m=>n(m.width)]])}}),Sae=Ne(Tae,[["__scopeId","data-v-6a95f7ac"]]),Bae=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}){ia(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)=>(k(),J("table",{class:"multiple-column-container",style:fe([[j(Hc)({borderCollapse:o.multipleColumnBodyRow.BorderCollapse}),j(ls)({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(VG)({containerAlign:o.multipleColumnBodyRow.ContainerAlign}),j($c)({paddings:o.multipleColumnBodyRow.Paddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings}),o.multipleColumnBodyRow.DirectionRtl?{direction:"rtl"}:{direction:"ltr"}]])},[(k(!0),J(Ge,null,Jt(o.multipleColumnBodyRow.Columns,(a,u)=>(k(),Pe(Sae,{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(Af)({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))}}),Vae=Ne(Bae,[["__scopeId","data-v-b8b45d97"]]),RA=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)=>(k(),J("div",null,[i.multipleColumns(o.emailComponentBodyRow.MultipleColumnBodyRow)?(k(),Pe(Vae,{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"])):be("",!0),i.iteratedColumns(o.emailComponentBodyRow.IteratedColumnBodyRow)?(k(),Pe(aae,{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"])):be("",!0),i.iteratedBodyRow(o.emailComponentBodyRow.IteratedBodyRow)?(k(),Pe(uae,{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"])):be("",!0)]))}}),Rae={},Dae={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function bae(t,e){return k(),J("svg",Dae,[...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 xae=Ne(Rae,[["render",bae]]),Lae={key:0},Eae={key:0,class:"is-required-notification"},vae={class:"bootstrap-styles w-100 d-flex justify-content-center gap-5"},Nae=Me({__name:"EmailComponent",props:{deps:{},theme:{},emailComponent:{},path:{},selectedElementPath:{}},emits:["onElementClicked","onImageOriginalSizeAdjusted","onImageSizeAdjusted","onColumnWidthAdjusted","onElementUpdatedEvent","onElementRemoved"],setup(t,{emit:e}){const o=t,i=bt({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?(k(),J("div",Lae,[o.emailComponent.IsRequired?(k(),J("div",Eae,[V("i",null,[de(xae)]),V("span",null,"   "+Lt(n.requiredComponentNotification),1)])):be("",!0),i.ifResult?(k(),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(Bb)({paddings:o.emailComponent.Paddings,themeComponentPaddings:o.theme.ComponentPaddings,themeBodyPaddings:o.theme.BodyPaddings,fullWidth:o.emailComponent.FullWidth})])},[(k(!0),J(Ge,null,Jt(o.emailComponent.BodyRowList,(c,m)=>(k(),Pe(RA,{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)):(k(),J("div",{key:2,class:Ve(["empty-email-component",{"is-required-component__paddings":o.emailComponent.IsRequired}])},[hu(Lt(n.emptyEmailComponentText)+" ",1),ct((k(),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))])):(k(),J("div",{key:1,class:"bootstrap-styles w-100",style:fe([j(Bb)({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"}])},[de(j(WD),{type:"text"}),V("div",vae,[(k(),J(Ge,null,Jt(3,c=>de(j(WD),{key:c,type:"image, text, text, text, button",style:{width:"100%"}})),64))])],4))}}),DA=Ne(Nae,[["__scopeId","data-v-2533c843"]]),Pae={class:"scale-to-width-fit-component",style:{display:"inline-block","transform-origin":"left top"}},bA=Me({__name:"ScaleToWidthFit",emits:["scaledElement"],setup(t,{emit:e}){const o=e;return(i,n)=>ct((k(),J("div",Pae,[Jf(i.$slots,"default")])),[[j(fc),({width:r})=>{i.$el.style.transform=`scale(${i.$el.parentElement.clientWidth/r}`,o("scaledElement",i.$el)}]])}}),_ae={class:"email-template-preview__inner-padding scrollable"},Aae={class:"emailTemplate-border-top"},Iae={class:"emailTemplate-border-bottom"},wae=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)=>(k(),Pe(FT,{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})},[de(bA,{onScaledElement:s[0]||(s[0]=a=>i(a))},{default:ur(()=>[V("div",_ae,[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",Aae,[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)]),(k(!0),J(Ge,null,Jt(o.template.Components,(a,u)=>(k(),J("div",{key:u},[de(DA,{deps:t.deps.emailComponentDeps,theme:o.template.Theme,emailComponent:a,path:[],selectedElementPath:[]},null,8,["deps","theme","emailComponent"])]))),128)),V("div",Iae,[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"]))}}),kae=Ne(wae,[["__scopeId","data-v-3736862d"]]),Wae={class:"favorite-template-select__item-wrapper"},Oae={class:"favorite-template-select__item bootstrap-styles border rounded-3"},Mae={class:"email-template-preview__inner-padding scrollable"},Hae={class:"emailTemplate-border-top"},$ae={class:"emailTemplate-border-bottom"},zae=Me({__name:"EmailTemplatePreviewTile",props:{deps:{},template:{},templateName:{}},emits:["favoriteTemplateSelected"],setup(t,{emit:e}){ia(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=bt({isPreviewComponentModalWindowShown:!1}),n=P=>{const O=P.parentElement;O&&(O.style.height=P.getBoundingClientRect().height+"px")},r=Z(()=>{const{FontFamily:P,FontSettingsPresets:O,Colors:W}=o.template.Theme;return{Title:Wi({fontFamily:P,themeFontSettings:O.Title,themeColor:W.TitleColor}),Heading:Wi({fontFamily:P,themeFontSettings:O.Heading,themeColor:W.HeadingColor}),SubHeading:Wi({fontFamily:P,themeFontSettings:O.SubHeading,themeColor:W.SubHeadingColor}),LargeText:Wi({fontFamily:P,themeFontSettings:O.LargeText,themeColor:W.LargeTextColor}),NormalText:Wi({fontFamily:P,themeFontSettings:O.NormalText,themeColor:W.NormalTextColor}),DescriptionText:Wi({fontFamily:P,themeFontSettings:O.DescriptionText,themeColor:W.DescriptionTextColor}),Link:Wi({fontFamily:P,themeFontSettings:O.Link,themeColor:W.LinkColor}),Button:Wi({fontFamily:P,themeFontSettings:O.Button,themeColor:W.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,O)=>(k(),J("div",Wae,[V("div",Oae,[V("div",{class:"bootstrap-styles h-100",style:fe({backgroundColor:o.template.Theme.Colors.EmailBackgroundColor}),onClick:O[1]||(O[1]=()=>{i.isPreviewComponentModalWindowShown=!0})},[de(bA,{onScaledElement:O[0]||(O[0]=W=>n(W))},{default:ur(()=>[V("div",Mae,[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",Hae,[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)]),(k(!0),J(Ge,null,Jt(o.template.Components,(W,ne)=>(k(),J("div",{key:ne},[de(DA,{deps:o.deps.emailComponentDeps,theme:o.template.Theme,emailComponent:W,path:[],selectedElementPath:[]},null,8,["deps","theme","emailComponent"])]))),128)),V("div",$ae,[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),(k(),Pe(yy,{to:"#app"},[i.isPreviewComponentModalWindowShown?(k(),Pe(kae,{key:0,template:o.template,deps:o.deps.emailTemplatePreviewModalWindowDeps,onClose:O[2]||(O[2]=()=>i.isPreviewComponentModalWindowShown=!1),onFavoriteTemplateSelected:O[3]||(O[3]=()=>_("favoriteTemplateSelected"))},null,8,["template","deps"])):be("",!0)]))]),V("div",{class:"bootstrap-styles favorite-template__name mt-2",onClick:O[4]||(O[4]=()=>{i.isPreviewComponentModalWindowShown=!0})},Lt(o.templateName),1)]))}}),Uae=Ne(zae,[["__scopeId","data-v-605f0f6b"]]),jae=t=>Me((e,o)=>()=>Gn(Uae,{template:t.template,templateName:t.templateName,deps:t.emailTemplatePreviewTileDeps,onFavoriteTemplateSelected:t.onFavoriteTemplateSelected})),Gae=t=>({elementsDeps:t.elementsDeps}),Kae=t=>({elementsDeps:t.elementsDeps}),qae=t=>({elementsDeps:t.elementsDeps}),Yae=t=>({iteratedColumnN21Deps:Kae({elementsDeps:t.elementsDeps}),iteratedColumnN22Deps:qae({elementsDeps:t.elementsDeps})}),Jae=t=>({iteratedColumnDeps:Gae({elementsDeps:t.elementsDeps}),iteratedColumnVariantDeps:Yae({elementsDeps:t.elementsDeps}),listExpressionEvaluator:t.listExpressionEvaluator}),Zae=t=>({elementsDeps:t.elementsDeps}),Xae=t=>({multipleColumnDeps:Zae({elementsDeps:t.elementsDeps})}),Qae=t=>({iteratedColumnBodyRowDeps:Jae({elementsDeps:t.elementsDeps,listExpressionEvaluator:t.listExpressionEvaluator}),multipleColumnBodyRowDeps:Xae({elementsDeps:t.elementsDeps}),listExpressionEvaluator:t.listExpressionEvaluator}),xA=t=>({emailComponentBodyRowDeps:Qae({elementsDeps:t.elementsDeps,listExpressionEvaluator:t.listExpressionEvaluator}),boolExpressionEvaluatorDelegate:t.boolExpressionEvaluator,dataStructExpressionEvaluator:t.dataStructExpressionEvaluator}),ele=t=>({expressionEvaluator:t.expressionEvaluator}),tle=t=>({stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin}),ole=t=>({variableSelectorDeps:tle({stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin})}),ile=t=>({richTextToolbarDeps:ole({stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin})}),LA=t=>({richTextDeps:ile({stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin}),listExpressionEvaluator:t.listExpressionEvaluator,numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator,expressionVueDeps:ele({expressionEvaluator:t.expressionEvaluator}),boolExpressionEvaluator:t.boolExpressionEvaluator}),nle=t=>Io(t),rle=t=>Io(t),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=>Io(t),lle=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),ule=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),dle=t=>{const e=sle({numberExpressionEvaluator:t.numberExpressionEvaluator}),o=ule({numberExpressionEvaluator:t.numberExpressionEvaluator}),i=lle({numberExpressionEvaluator:t.numberExpressionEvaluator});return({numberPredicate:n,context:r})=>ale(n).Match({Equal:s=>e({predicate:s,context:r}),GreaterThan:s=>o({predicate:s,context:r}),LessThan:s=>i({predicate:s,context:r})})},cle=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),mle=t=>Io(t),fle=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)),hle=t=>{const e=cle({stringExpressionEvaluator:t.stringExpressionEvaluator}),o=fle({stringExpressionEvaluator:t.stringExpressionEvaluator});return({stringPredicate:i,context:n})=>mle(i).Match({Contains:r=>o({predicate:r,context:n}),Equal:r=>e({predicate:r,context:n})})},ple=t=>{const e=dle({numberExpressionEvaluator:t.numberExpressionEvaluator}),o=hle({stringExpressionEvaluator:t.stringExpressionEvaluator});return({predicate:i,context:n})=>rle(i).Match({NumberPredicate:r=>e({numberPredicate:r,context:n}),StringPredicate:r=>o({stringPredicate:r,context:n})})},EA=t=>{const e=ple({numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator}),o=({boolExpression:i,context:n})=>nle(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},Cle=t=>{const e=EA({numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator});return{emailComponentDeps:xA({elementsDeps:LA({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})}},gle=t=>{const e=EA({numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator});return{emailComponentDeps:xA({elementsDeps:LA({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:Cle({listExpressionEvaluator:t.listExpressionEvaluator,dataStructExpressionEvaluator:t.dataStructExpressionEvaluator,numberExpressionEvaluator:t.numberExpressionEvaluator,stringExpressionEvaluator:t.stringExpressionEvaluator,expressionEvaluator:t.expressionEvaluator,stringExpressionBuilderPlugin:t.stringExpressionBuilderPlugin})}},Fle=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},yle=t=>Io(t),bc=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 Tle(t)?(e.Array??e.defaultValue)(t):(e.Struct??e.defaultValue)(t);default:return Ei(t)}}}),Tle=t=>Array.isArray(t),Sle=Io,Yc=(t,e)=>{let o=e;for(const i of t)o=Sle(i).Match({PropertyName:n=>bc(o).Match({defaultValue:()=>{throw console.error("Property not found: "+n),new Error("Property not found: "+n)},Struct:r=>r[n]}),ArrayIndex:n=>bc(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},Ble=(t,e)=>bc(Yc(t,e)).Match({defaultValue:()=>{throw console.error("Value is not a list"),new Error("Value is not a list")},Array:o=>o}),Vle=t=>{const e=o=>yle(o.listExpression).Match({ContextValueExpression:i=>Promise.resolve(Ble(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},Rle=t=>Io(t),Dle=(t,e)=>bc(Yc(t,e)).Match({defaultValue:()=>{throw console.error("Value is not a number"),new Error("Value is not a number")},Number:o=>o}),vA=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 ble(t)?(e.Array??e.defaultValue)(t):(e.Struct??e.defaultValue)(t);default:return e.defaultValue()}}}),ble=t=>Array.isArray(t),xle=t=>vA(Yc(t.path,t.context)).Match({defaultValue:()=>t.fallbackValue,Number:e=>e}),Lle=t=>{const e=o=>{const i=t.numberExpressionDataSourceEvaluator;return Rle(o.numberExpression).Match({ContextValueExpressionWithFallback:n=>Promise.resolve(xle({fallbackValue:n.FallbackValue,path:n.Path,context:o.context})),ContextValueExpression:n=>Promise.resolve(Dle(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},Ele=(t,e)=>bc(Yc(t,e)).Match({defaultValue:()=>{throw console.error("Value is not a string "+e+t),new Error("Value is not a string")},String:o=>o}),vle=t=>vA(Yc(t.path,t.context)).Match({defaultValue:()=>t.fallbackValue,String:e=>e}),Nle=t=>{const e=o=>{const i=t.stringExpressionDataSourceEvaluatorFactory(e);return J_(o.stringExpression).Match({ConcatStringExpressions:n=>kle({concatStringExpressions:n,stringExpressionEvaluator:e,context:o.context}),ContextValueExpression:n=>Ple({contextValueExpression:n,context:o.context}),ContextValueExpressionWithFallback:n=>_le({contextValueExpressionWithFallback:n,context:o.context}),ConstValueExpression:n=>Wle({stringConstValueExpression:n}),TruncateValueExpression:n=>Ale({truncateValueExpression:n,context:o.context,stringExpressionEvaluator:e}),DataSource:n=>i({stringExpressionDataSource:n,context:o.context}),NumberToStringExpression:n=>wle({numberToStringExpression:n,context:o.context,numberExpressionEvaluator:t.numberExpressionEvaluator}),UnsubscribeUrlExpression:()=>Promise.resolve("#"),RecipientEmailAddressExpression:()=>Promise.resolve("RecipientEmailAddress")})};return e},Ple=t=>Promise.resolve(Ele(t.contextValueExpression.Path,t.context)),_le=t=>Promise.resolve(vle({path:t.contextValueExpressionWithFallback.Path,context:t.context,fallbackValue:t.contextValueExpressionWithFallback.FallbackValue})),Ale=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},Ile=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},wle=async t=>{const e=await t.numberExpressionEvaluator({numberExpression:t.numberToStringExpression.NumberExpression,context:t.context});if(t.numberToStringExpression.Format){const o=t.numberToStringExpression.Format;return Ile({value:e,decimalSeparator:o.DecimalSeparator,groupSeparator:o.GroupSeparator,groupSizes:o.GroupSizes})}return e.toString()},kle=t=>Promise.all(t.concatStringExpressions.StringExpressions.map(e=>t.stringExpressionEvaluator({stringExpression:e,context:t.context}))).then(e=>e.join("")),Wle=t=>Promise.resolve(t.stringConstValueExpression.Value),Ole=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"),L1=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]))),Mle=t=>Io(t),Hle=t=>{const e=({expression:o,context:i})=>{const n=t.dataStructBuilderExpressionEvaluatorFactory(e);return Mle(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},$le={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}}}]}}]}]},zle={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}}}]}}]}]},Ule={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}}}]}}]}]},jle={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}}}]}}]}]},Gle={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}}}]}}]}]},Kle={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}}}]}}]}]},qle={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}}}]}}]}]},Yle={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}}}]}}]}]},Jle={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:"&#xA0;"}}}},{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}}}]}}]}]},Zle={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:"&#xA0;"}}}},{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}}}]}}]}]},Xle=t=>{switch(t){case"en":return E1;case"ru":return Qle;default:return E1}},E1=[{defaultTemplate:Jle,favoriteTemplateName:"Standard Blue"},{defaultTemplate:$le,favoriteTemplateName:"Smooth Violet"},{defaultTemplate:zle,favoriteTemplateName:"Classic Black"},{defaultTemplate:Ule,favoriteTemplateName:"Calm Green"},{defaultTemplate:jle,favoriteTemplateName:"Crisp Yellow"}],Qle=[{defaultTemplate:Zle,favoriteTemplateName:"Стандартный синий"},{defaultTemplate:Gle,favoriteTemplateName:"Плавный фиолетовый"},{defaultTemplate:Kle,favoriteTemplateName:"Классический чёрный"},{defaultTemplate:qle,favoriteTemplateName:"Спокойная зелень"},{defaultTemplate:Yle,favoriteTemplateName:"Яркий жёлтый"}],NA=t=>t.reduce((e,o)=>(e[o.name]=o.value,e),{}),PA=t=>Object.fromEntries(Object.entries(t).filter(([e,o])=>o!==void 0)),gl=t=>PA({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:NA(t.parameters),DiscountPercentage:t.discountPercentage}),eue=async t=>(await t.getPopularProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(e=>gl(e)),tue=Io,Pn=t=>tue(t.stockSource).Match({CustomerStockId:()=>t.customerStockId,DefaultStoreStockId:()=>{},SpecificStockId:e=>e.Value}),oue=Io,_A=t=>PA({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:NA(t.parameters),DiscountPercentage:t.discountPercentage}),iue=async t=>(await t.getProductsByIDsHttpClient({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.products.map(e=>_A(e)),nue=async t=>(await t.getRelatedProducts({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.recommendations.map(e=>gl(e)),rue=async t=>(await t.getAlternativeProductsHttpClient({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.recommendations.map(e=>gl(e)),sue=async t=>(await t.getPopularProductsInCategoriesHttpClient({body:{partnerId:t.partnerId,categoryIds:t.categoryIds.concat([]),stockId:t.stockId}})).body.recommendations.map(e=>gl(e)),aue=async t=>(await t.getLatestProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(e=>gl(e)),lue=async t=>(await t.getSaleByPopularProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(e=>gl(e)),uue=async t=>(await t.getSaleByLatestProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(e=>gl(e)),M0=async t=>(await t.getSampleProductsForPreviewHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.products.map(e=>_A(e)),due=t=>{let e={};return o=>oue(o).Match({ProductBackInStockProductList:({StockSource:i})=>M0({partnerId:t.partnerId,stockId:Pn({stockSource:i,customerStockId:t.customerStockId}),getSampleProductsForPreviewHttpClient:t.listExpressionDataSourceBffClient.postGetSampleProductsForPreview}),RelatedProductsForProductBackInStockProductList:({StockSource:i})=>M0({partnerId:t.partnerId,stockId:Pn({stockSource:i,customerStockId:t.customerStockId}),getSampleProductsForPreviewHttpClient:t.listExpressionDataSourceBffClient.postGetSampleProductsForPreview}),AlternativeProductsForProductBackInStockProductList:({StockSource:i})=>M0({partnerId:t.partnerId,stockId:Pn({stockSource:i,customerStockId:t.customerStockId}),getSampleProductsForPreviewHttpClient:t.listExpressionDataSourceBffClient.postGetSampleProductsForPreview}),ProductList:({ProductIds:i,StockSource:n})=>iue({partnerId:t.partnerId,productIDs:i,stockId:Pn({stockSource:n,customerStockId:t.customerStockId}),productCache:e,getProductsByIDsHttpClient:t.listExpressionDataSourceBffClient.postGetProductsByIds}),RelatedProductsFor:({ProductIds:i,StockSource:n})=>nue({partnerId:t.partnerId,productIDs:i,stockId:Pn({stockSource:n,customerStockId:t.customerStockId}),getRelatedProducts:t.listExpressionDataSourceBffClient.postGetRelatedRecommendations}),AlternativeProductsFor:({ProductIds:i,StockSource:n})=>rue({partnerId:t.partnerId,productIDs:i,stockId:Pn({stockSource:n,customerStockId:t.customerStockId}),getAlternativeProductsHttpClient:t.listExpressionDataSourceBffClient.postGetAlternativeRecommendations}),PopularProductsInCategories:({CategoryIds:i,StockSource:n})=>sue({partnerId:t.partnerId,categoryIds:i,stockId:Pn({stockSource:n,customerStockId:t.customerStockId}),getPopularProductsInCategoriesHttpClient:t.listExpressionDataSourceBffClient.postGetPopularInCategoriesRecommendations}),Popular:({StockSource:i})=>eue({partnerId:t.partnerId,stockId:Pn({stockSource:i,customerStockId:t.customerStockId}),getPopularProductsHttpClient:t.listExpressionDataSourceBffClient.postGetPopularRecommendations}),Latest:({StockSource:i})=>aue({partnerId:t.partnerId,stockId:Pn({stockSource:i,customerStockId:t.customerStockId}),getLatestProductsHttpClient:t.listExpressionDataSourceBffClient.postGetLatestRecommendations}),SaleByPopular:({StockSource:i})=>lue({partnerId:t.partnerId,stockId:Pn({stockSource:i,customerStockId:t.customerStockId}),getSaleByPopularProductsHttpClient:t.listExpressionDataSourceBffClient.postGetSaleByPopularRecommendations}),SaleByLatest:({StockSource:i})=>uue({partnerId:t.partnerId,stockId:Pn({stockSource:i,customerStockId:t.customerStockId}),getSaleByLatestProductsHttpClient:t.listExpressionDataSourceBffClient.postGetSaleByLatestRecommendations})})},cue=()=>()=>Promise.resolve(0),mue=Io,fue=t=>{const e=t.contactCustomData;return o=>mue(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")})},hue={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}}}]}}]}]},pue={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}}}]}}]}]},Cue={class:"bootstrap-styles row g-0"},gue={class:"bootstrap-styles my-8"},Fue=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)=>(k(),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 row g-0"},Tue={class:"bootstrap-styles my-8"},Sue=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)=>(k(),J("div",yue,[V("div",Tue,[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)])]))}}),Bue={class:"bootstrap-styles container-fluid g-0 mt-8"},Vue={class:"bootstrap-styles container-fluid px-11"},Rue={class:"bootstrap-styles fw-bold mb-5"},Due={class:"bootstrap-styles row g-0"},bue={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},xue={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"},Lue={"data-test":"list-selector__current-value"},Eue={class:"bootstrap-styles dropdown-menu w-100 rounded-2","data-test":"list-selector__options","aria-labelledby":"stringExpressionBuilderSourceSelector"},vue=["onClick"],Nue={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},Pue=Me({__name:"StringExpressionBuilder",emits:["stringExpressionUpdated","cancel"],setup(t,{emit:e}){const o=["Context","ContactCustomData"],i=bt({currentValue:"ContactCustomData",stringExpression:{}}),n=e;return(r,s)=>(k(),Pe(FT,{class:"string-expression-builder-modal-window",headerText:"StringExpressionBuilderModalWindow",onClose:s[4]||(s[4]=()=>n("cancel"))},{body:ur(()=>[V("div",Bue,[V("div",Vue,[V("label",Rue,Lt(j(Le)("productShelfBuilderComponent.algorithmLabel")),1),V("div",Due,[V("div",bue,[V("button",xue,[V("span",Lue,Lt(i.currentValue),1),de(dS)]),V("ul",Eue,[(k(),J(Ge,null,Jt(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",Nue,Lt(a),1)],8,vue)),64))])])]),i.currentValue==="Context"?(k(),Pe(Fue,{key:0,onOnStringExpressionUpdated:s[0]||(s[0]=a=>i.stringExpression=a)})):be("",!0),i.currentValue==="ContactCustomData"?(k(),Pe(Sue,{key:1,onOnStringExpressionUpdated:s[1]||(s[1]=a=>i.stringExpression=a)})):be("",!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}))}}),_ue=()=>Me((t,e)=>()=>Gn(Pue,{onStringExpressionUpdated:o=>{e.emit("onStringExpressionUpdated",o)}}),{emits:{onStringExpressionUpdated:()=>!0}}),AA="#app",ki=document.querySelector(AA),Lo={partnerId:ki.getAttribute("data-partner-id"),wysiwygTemplateEditorBffBaseUrl:ki.getAttribute("data-wysiwyg-template-editor-bff-base-url"),wysiwygBffProxyBaseUrl:ki.getAttribute("data-wysiwyg-bff-proxy-base-url"),antiForgeryHeaderTokenName:ki.getAttribute("data-anti-forgery-header-token-name"),antiForgeryHeaderTokenValue:ki.getAttribute("data-anti-forgery-header-token-value"),antiForgeryFormTokenName:ki.getAttribute("data-anti-forgery-form-token-name"),antiForgeryFormTokenValue:ki.getAttribute("data-anti-forgery-form-token-value"),createEmailTemplateSubmitUrl:ki.getAttribute("data-create-email-template-submit-url"),initialEmailTemplateJson:ki.getAttribute("data-initial-product-back-in-stock-template"),productBackInStockFavoritesTemplates:JSON.parse(ki.getAttribute("data-product-back-in-stock-favorites-templates")),commonFavoritesTemplates:JSON.parse(ki.getAttribute("data-common-favorites-templates")),exitLink:ki.getAttribute("data-exit-link"),localeKey:ki.getAttribute("data-locale-key")},Aue=t=>a8({baseUrl:t.baseUrl,antiForgeryTokenHeaderName:Lo.antiForgeryHeaderTokenName,antiForgeryTokenValue:Lo.antiForgeryHeaderTokenValue}),Iue=u8.createApi(Aue({baseUrl:Lo.wysiwygBffProxyBaseUrl})),IA=t=>{const e=new FormData;e.append(Lo.antiForgeryFormTokenName,Lo.antiForgeryFormTokenValue),e.append("template",JSON.stringify(t.template));const o=Fle({method:"POST",action:Lo.createEmailTemplateSubmitUrl,formData:e});document.body.appendChild(o),o.submit()},wue={},kue={BatchId:""},H0=t=>{const e=due({partnerId:Lo.partnerId,listExpressionDataSourceBffClient:Iue,customerStockId:void 0}),o=Vle({listExpressionDataSourceEvaluator:e}),i=cue(),n=Lle({listExpressionEvaluator:o,numberExpressionDataSourceEvaluator:i}),r=Nle({listExpressionEvaluator:o,numberExpressionEvaluator:n,stringExpressionDataSourceEvaluatorFactory:()=>fue({productImageUrlBuilderExpressionEvaluator:Ole({partnerId:Lo.partnerId,numberExpressionEvaluator:n}),contactCustomData:wue,nextCouponFromBatch:kue})}),s=Hle({listExpressionEvaluator:o,numberExpressionEvaluator:n,stringExpressionEvaluator:r,dataStructBuilderExpressionEvaluatorFactory:c=>L1({expressionEvaluator:c})}),a=L1({expressionEvaluator:s}),u=_ue();return jae({template:t.template,templateName:t.templateName,emailTemplatePreviewTileDeps:gle({listExpressionEvaluator:o,numberExpressionEvaluator:n,stringExpressionEvaluator:r,dataStructExpressionEvaluator:a,expressionEvaluator:s,stringExpressionBuilderPlugin:u}),onFavoriteTemplateSelected:()=>{IA({template:t.template})}})},v1=Lo.localeKey==="ru"?hue:pue,mS=n4($7,{onInitialTemplateSelected:()=>{IA({template:Lo.initialEmailTemplateJson.length?JSON.parse(Lo.initialEmailTemplateJson):v1})},deps:s8({localeKey:Lo.localeKey,emailTemplatePreviews:{custom:[...Lo.commonFavoritesTemplates.map(t=>({templateName:t.favoriteTemplateName,previewTileComponent:H0({template:JSON.parse(t.templateJson),templateName:t.favoriteTemplateName})})),...Lo.productBackInStockFavoritesTemplates.map(t=>({templateName:t.favoriteTemplateName,previewTileComponent:H0({template:JSON.parse(t.templateJson),templateName:t.favoriteTemplateName})}))],default:[...Xle(Lo.localeKey).map(t=>({templateName:t.favoriteTemplateName,previewTileComponent:H0({template:t.defaultTemplate,templateName:t.favoriteTemplateName})}))]},initialEmailTemplate:Lo.initialEmailTemplateJson.length?JSON.parse(Lo.initialEmailTemplateJson):v1,exitLink:Lo.exitLink})});mS.use(EE({theme:!1,directives:{ClickOutside:j7}}));mS.use(dv);mS.mount(AA);