@hulkapps/app-manager-vue 3.1.12 → 3.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -20
- package/dist/app-manager-vue.esm.js +17 -10
- package/dist/app-manager-vue.min.js +1 -1
- package/dist/app-manager-vue.ssr.js +34 -27
- package/dist/hulkapps-app-manager.css +1 -1
- package/dist/hulkapps-app-manager.min.css +1 -1
- package/package.json +1 -1
- package/src/components/PolarisNew/PlanTable.vue +14 -5
|
@@ -6,4 +6,4 @@ var ni=2147483647,ai=/[^\x20-\x7E]/,ri=/[\x2E\u3002\uFF0E\uFF61]/g,ii={overflow:
|
|
|
6
6
|
* Copyright (c) 2014, Jason Chen
|
|
7
7
|
* Copyright (c) 2013, salesforce.com
|
|
8
8
|
*/
|
|
9
|
-
var n;"undefined"!=typeof self&&self,n=function(){return function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n(17),r=n(18),i=n(19),o=n(45),s=n(46),l=n(47),c=n(48),u=n(49),d=n(12),p=n(32),h=n(33),f=n(31),v=n(1),g={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:a.default,Format:r.default,Leaf:i.default,Embed:c.default,Scroll:o.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:d.default,Class:p.default,Style:h.default,Store:f.default}};t.default=g},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return r(t,e),t}(Error);t.ParchmentError=i;var o,s={},l={},c={},u={};function d(e,t){var n;if(void 0===t&&(t=o.ANY),"string"==typeof e)n=u[e]||s[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)n=u.text;else if("number"==typeof e)e&o.LEVEL&o.BLOCK?n=u.block:e&o.LEVEL&o.INLINE&&(n=u.inline);else if(e instanceof HTMLElement){var a=(e.getAttribute("class")||"").split(/\s+/);for(var r in a)if(n=l[a[r]])break;n=n||c[e.tagName]}return null==n?null:t&o.LEVEL&n.scope&&t&o.TYPE&n.scope?n:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(o=t.Scope||(t.Scope={})),t.create=function(e,t){var n=d(e);if(null==n)throw new i("Unable to create "+e+" blot");var a=n,r=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:a.create(t);return new a(r,t)},t.find=function e(n,a){return void 0===a&&(a=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:a?e(n.parentNode,a):null},t.query=d,t.register=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t.length>1)return t.map((function(t){return e(t)}));var a=t[0];if("string"!=typeof a.blotName&&"string"!=typeof a.attrName)throw new i("Invalid definition");if("abstract"===a.blotName)throw new i("Cannot register abstract class");if(u[a.blotName||a.attrName]=a,"string"==typeof a.keyName)s[a.keyName]=a;else if(null!=a.className&&(l[a.className]=a),null!=a.tagName){Array.isArray(a.tagName)?a.tagName=a.tagName.map((function(e){return e.toUpperCase()})):a.tagName=a.tagName.toUpperCase();var r=Array.isArray(a.tagName)?a.tagName:[a.tagName];r.forEach((function(e){null!=c[e]&&null!=a.className||(c[e]=a)}))}return a}},function(e,t,n){var a=n(51),r=n(11),i=n(3),o=n(20),s=String.fromCharCode(0),l=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};l.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},l.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},l.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},l.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=i(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(r(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},l.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},l.prototype.filter=function(e){return this.ops.filter(e)},l.prototype.forEach=function(e){this.ops.forEach(e)},l.prototype.map=function(e){return this.ops.map(e)},l.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(a){(e(a)?t:n).push(a)})),[t,n]},l.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},l.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+o.length(t):t.delete?e-t.delete:e}),0)},l.prototype.length=function(){return this.reduce((function(e,t){return e+o.length(t)}),0)},l.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],a=o.iterator(this.ops),r=0;r<t&&a.hasNext();){var i;r<e?i=a.next(e-r):(i=a.next(t-r),n.push(i)),r+=o.length(i)}return new l(n)},l.prototype.compose=function(e){var t=o.iterator(this.ops),n=o.iterator(e.ops),a=[],i=n.peek();if(null!=i&&"number"==typeof i.retain&&null==i.attributes){for(var s=i.retain;"insert"===t.peekType()&&t.peekLength()<=s;)s-=t.peekLength(),a.push(t.next());i.retain-s>0&&n.next(i.retain-s)}for(var c=new l(a);t.hasNext()||n.hasNext();)if("insert"===n.peekType())c.push(n.next());else if("delete"===t.peekType())c.push(t.next());else{var u=Math.min(t.peekLength(),n.peekLength()),d=t.next(u),p=n.next(u);if("number"==typeof p.retain){var h={};"number"==typeof d.retain?h.retain=u:h.insert=d.insert;var f=o.attributes.compose(d.attributes,p.attributes,"number"==typeof d.retain);if(f&&(h.attributes=f),c.push(h),!n.hasNext()&&r(c.ops[c.ops.length-1],h)){var v=new l(t.rest());return c.concat(v).chop()}}else"number"==typeof p.delete&&"number"==typeof d.retain&&c.push(p)}return c.chop()},l.prototype.concat=function(e){var t=new l(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},l.prototype.diff=function(e,t){if(this.ops===e.ops)return new l;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:s;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")})).join("")})),i=new l,c=a(n[0],n[1],t),u=o.iterator(this.ops),d=o.iterator(e.ops);return c.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case a.INSERT:n=Math.min(d.peekLength(),t),i.push(d.next(n));break;case a.DELETE:n=Math.min(t,u.peekLength()),u.next(n),i.delete(n);break;case a.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),t);var s=u.next(n),l=d.next(n);r(s.insert,l.insert)?i.retain(n,o.attributes.diff(s.attributes,l.attributes)):i.push(l).delete(n)}t-=n}})),i.chop()},l.prototype.eachLine=function(e,t){t=t||"\n";for(var n=o.iterator(this.ops),a=new l,r=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),s=o.length(i)-n.peekLength(),c="string"==typeof i.insert?i.insert.indexOf(t,s)-s:-1;if(c<0)a.push(n.next());else if(c>0)a.push(n.next(c));else{if(!1===e(a,n.next(1).attributes||{},r))return;r+=1,a=new l}}a.length()>0&&e(a,{},r)},l.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var n=o.iterator(this.ops),a=o.iterator(e.ops),r=new l;n.hasNext()||a.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===a.peekType())if("insert"===a.peekType())r.push(a.next());else{var i=Math.min(n.peekLength(),a.peekLength()),s=n.next(i),c=a.next(i);if(s.delete)continue;c.delete?r.push(c):r.retain(i,o.attributes.transform(s.attributes,c.attributes,t))}else r.retain(o.length(n.next()));return r.chop()},l.prototype.transformPosition=function(e,t){t=!!t;for(var n=o.iterator(this.ops),a=0;n.hasNext()&&a<=e;){var r=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(a<e||!t)&&(e+=r),a+=r):e-=Math.min(r,e-a)}return e},e.exports=l},function(e,t){var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===a.call(e)},s=function(e){if(!e||"[object Object]"!==a.call(e))return!1;var t,r=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;for(t in e);return void 0===t||n.call(e,t)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(i)return i(e,t).value}return e[t]};e.exports=function e(){var t,n,a,r,i,u,d=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<h;++p)if(null!=(t=arguments[p]))for(n in t)a=c(d,n),d!==(r=c(t,n))&&(f&&r&&(s(r)||(i=o(r)))?(i?(i=!1,u=a&&o(a)?a:[]):u=a&&s(a)?a:{},l(d,{name:n,newValue:e(f,u,r)})):void 0!==r&&l(d,{name:n,newValue:r}));return d}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=d(n(3)),o=d(n(2)),s=d(n(0)),l=d(n(16)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(){return p(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),a(t,[{key:"attach",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new o.default).insert(this.value(),(0,i.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=s.default.query(e,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,a){this.format(n,a)}},{key:"insertAt",value:function(e,n,a){if("string"==typeof n&&n.endsWith("\n")){var i=s.default.create(g.blotName);this.parent.insertBefore(i,0===e?this:this.next),i.insertAt(0,n.slice(0,-1))}else r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,a)}}]),t}(s.default.Embed);v.scope=s.default.Scope.BLOCK_BLOT;var g=function(e){function t(e){p(this,t);var n=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.cache={},n}return f(t,e),a(t,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce((function(e,t){return 0===t.length()?e:e.insert(t.value(),m(t))}),new o.default).insert("\n",m(this))),this.cache.delta}},{key:"deleteAt",value:function(e,n){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),this.cache={}}},{key:"formatAt",value:function(e,n,a,i){n<=0||(s.default.query(a,s.default.Scope.BLOCK)?e+n===this.length()&&this.format(a,i):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),a,i),this.cache={})}},{key:"insertAt",value:function(e,n,a){if(null!=a)return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,a);if(0!==n.length){var i=n.split("\n"),o=i.shift();o.length>0&&(e<this.length()-1||null==this.children.tail?r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),o):this.children.tail.insertAt(this.children.tail.length(),o),this.cache={});var s=this;i.reduce((function(e,t){return(s=s.split(e,!0)).insertAt(0,t),t.length}),e+o.length)}}},{key:"insertBefore",value:function(e,n){var a=this.children.head;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n),a instanceof l.default&&a.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(e,n){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,n),this.cache={}}},{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var a=this.clone();return 0===e?(this.parent.insertBefore(a,this),this):(this.parent.insertBefore(a,this.next),a)}var i=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},i}}]),t}(s.default.Block);function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,i.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:m(e.parent,t))}g.blotName="block",g.tagName="P",g.defaultChild="break",g.allowedChildren=[c.default,s.default.Embed,u.default],t.bubbleFormats=m,t.BlockEmbed=v,t.default=g},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n(50);var o=g(n(2)),s=g(n(14)),l=g(n(8)),c=g(n(9)),u=g(n(0)),d=n(15),p=g(d),h=g(n(3)),f=g(n(10)),v=g(n(34));function g(e){return e&&e.__esModule?e:{default:e}}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var y=(0,f.default)("quill"),b=function(){function e(t){var n=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(w(this,e),this.options=_(t,a),this.container=this.options.container,null==this.container)return y.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new p.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(e){e===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(l.default.events.SCROLL_UPDATE,(function(e,t){var a=n.selection.lastRange,r=a&&0===a.length?a.index:void 0;x.call(n,(function(){return n.editor.update(null,t,r)}),e)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),f.default.level(e)}},{key:"find",value:function(e){return e.__quill||u.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&y.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var r=e.attrName||e.blotName;"string"==typeof r?this.register("formats/"+r,e,t):Object.keys(e).forEach((function(a){n.register(a,e[a],t)}))}else null==this.imports[e]||a||y.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?u.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),i(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var a=this,i=M(e,t,n),o=r(i,4);return e=o[0],t=o[1],n=o[3],x.call(this,(function(){return a.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return x.call(this,(function(){var a=n.getSelection(!0),r=new o.default;if(null==a)return r;if(u.default.query(e,u.default.Scope.BLOCK))r=n.editor.formatLine(a.index,a.length,m({},e,t));else{if(0===a.length)return n.selection.format(e,t),r;r=n.editor.formatText(a.index,a.length,m({},e,t))}return n.setSelection(a,l.default.sources.SILENT),r}),a)}},{key:"formatLine",value:function(e,t,n,a,i){var o,s=this,l=M(e,t,n,a,i),c=r(l,4);return e=c[0],t=c[1],o=c[2],i=c[3],x.call(this,(function(){return s.editor.formatLine(e,t,o)}),i,e,0)}},{key:"formatText",value:function(e,t,n,a,i){var o,s=this,l=M(e,t,n,a,i),c=r(l,4);return e=c[0],t=c[1],o=c[2],i=c[3],x.call(this,(function(){return s.editor.formatText(e,t,o)}),i,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var a=this.container.getBoundingClientRect();return{bottom:n.bottom-a.top,height:n.height,left:n.left-a.left,right:n.right-a.left,top:n.top-a.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=M(e,t),a=r(n,2);return e=a[0],t=a[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=M(e,t),a=r(n,2);return e=a[0],t=a[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,a){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return x.call(this,(function(){return r.editor.insertEmbed(t,n,a)}),i,t)}},{key:"insertText",value:function(e,t,n,a,i){var o,s=this,l=M(e,0,n,a,i),c=r(l,4);return e=c[0],o=c[2],i=c[3],x.call(this,(function(){return s.editor.insertText(e,t,o)}),i,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var a=this,i=M(e,t,n),o=r(i,4);return e=o[0],t=o[1],n=o[3],x.call(this,(function(){return a.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return x.call(this,(function(){e=new o.default(e);var n=t.getLength(),a=t.editor.deleteText(0,n),r=t.editor.applyDelta(e),i=r.ops[r.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),r.delete(1)),a.compose(r)}),n)}},{key:"setSelection",value:function(t,n,a){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var i=M(t,n,a),o=r(i,4);t=o[0],n=o[1],a=o[3],this.selection.setRange(new d.Range(t,n),a),a!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new o.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return x.call(this,(function(){return e=new o.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function _(e,t){if((t=(0,h.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==b.DEFAULTS.theme){if(t.theme=b.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=v.default;var n=(0,h.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var a=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce((function(e,t){var n=b.import("modules/"+t);return null==n?y.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,h.default)(!0,{},b.DEFAULTS,{modules:a},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function x(e,t,n,a){if(this.options.strict&&!this.isEnabled()&&t===l.default.sources.USER)return new o.default;var r=null==n?null:this.getSelection(),i=this.editor.delta,s=e();if(null!=r&&(!0===n&&(n=r.index),null==a?r=C(r,s,t):0!==a&&(r=C(r,n,a,t)),this.setSelection(r,l.default.sources.SILENT)),s.length()>0){var c,u,d=[l.default.events.TEXT_CHANGE,s,i,t];(c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),t!==l.default.sources.SILENT&&(u=this.emitter).emit.apply(u,d)}return s}function M(e,t,n,r,i){var o={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(i=r,r=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(i=r,r=n,n=t,t=0),"object"===(void 0===n?"undefined":a(n))?(o=n,i=r):"string"==typeof n&&(null!=r?o[n]=r:i=n),[e,t,o,i=i||l.default.sources.API]}function C(e,t,n,a){if(null==e)return null;var i=void 0,s=void 0;if(t instanceof o.default){var c=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,a!==l.default.sources.USER)})),u=r(c,2);i=u[0],s=u[1]}else{var p=[e.index,e.index+e.length].map((function(e){return e<t||e===t&&a===l.default.sources.USER?e:n>=0?e+n:Math.max(t,e+n)})),h=r(p,2);i=h[0],s=h[1]}return new d.Range(i,s-i)}b.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},b.events=l.default.events,b.sources=l.default.sources,b.version="1.3.7",b.imports={delta:o.default,parchment:u.default,"core/module":c.default,"core/theme":v.default},t.expandConfig=_,t.overload=M,t.default=b},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=s(n(7)),o=s(n(0));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"formatAt",value:function(e,n,a,i){if(t.compare(this.statics.blotName,a)<0&&o.default.query(a,o.default.Scope.BLOT)){var s=this.isolate(e,n);i&&s.wrap(a,i)}else r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,a,i)}},{key:"optimize",value:function(e){if(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var a=t.order.indexOf(e),r=t.order.indexOf(n);return a>=0||r>=0?a-r:e===n?0:e<n?-1:1}}]),t}(o.default.Inline);u.allowedChildren=[u,o.default.Embed,i.default],u.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(0);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((a=r)&&a.__esModule?a:{default:a}).default.Text);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=o(n(54));function o(e){return e&&e.__esModule?e:{default:e}}var s=(0,o(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(e){document.addEventListener(e,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(e){var n;e.__quill&&e.__quill.emitter&&(n=e.__quill.emitter).handleDOM.apply(n,t)}))}))}));var l=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.listeners={},e.on("error",s.error),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"emit",value:function(){s.log.apply(s,arguments),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];(this.listeners[e.type]||[]).forEach((function(t){var a=t.node,r=t.handler;(e.target===a||a.contains(e.target))&&r.apply(void 0,[e].concat(n))}))}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}]),t}(i.default);l.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},l.sources={API:"api",SILENT:"silent",USER:"user"},t.default=l},function(e,t,n){function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a(this,e),this.quill=t,this.options=n};r.DEFAULTS={},t.default=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=["error","warn","log","info"],r="warn";function i(e){if(a.indexOf(e)<=a.indexOf(r)){for(var t,n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];(t=console)[e].apply(t,i)}}function o(e){return a.reduce((function(t,n){return t[n]=i.bind(console,n,e),t}),{})}i.level=o.level=function(e){r=e},t.default=o},function(e,t,n){var a=Array.prototype.slice,r=n(52),i=n(53),o=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var c,u;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e))return!!i(t)&&(e=a.call(e),t=a.call(t),o(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(c=0;c<e.length;c++)if(e[c]!==t[c])return!1;return!0}try{var d=r(e),p=r(t)}catch(e){return!1}if(d.length!=p.length)return!1;for(d.sort(),p.sort(),c=d.length-1;c>=0;c--)if(d[c]!=p[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!o(e[u],t[u],n))return!1;return typeof e==typeof t}(e,t,n))};function s(e){return null==e}function l(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),r=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var r=a.Scope.TYPE&a.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&a.Scope.LEVEL|r:this.scope=a.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=a.query(e,a.Scope.BLOT&(this.scope|a.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=d(n(2)),s=d(n(0)),l=d(n(4)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(){return p(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),t}(c.default);v.blotName="code",v.tagName="CODE";var g=function(e){function t(){return p(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),r(t,[{key:"delta",value:function(){var e=this,t=this.domNode.textContent;return t.endsWith("\n")&&(t=t.slice(0,-1)),t.split("\n").reduce((function(t,n){return t.insert(n).insert("\n",e.formats())}),new o.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var r=this.descendant(u.default,this.length()-1),o=a(r,1)[0];null!=o&&o.deleteAt(o.length()-1,1),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}},{key:"formatAt",value:function(e,n,a,r){if(0!==n&&null!=s.default.query(a,s.default.Scope.BLOCK)&&(a!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var i=this.newlineIndex(e);if(!(i<0||i>=e+n)){var o=this.newlineIndex(e,!0)+1,l=i-o+1,c=this.isolate(o,l),u=c.next;c.format(a,r),u instanceof t&&u.formatAt(0,e-o+n-l,a,r)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var r=this.descendant(u.default,e),i=a(r,2),o=i[0],s=i[1];o.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=s.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof s.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(l.default);g.blotName="code-block",g.tagName="PRE",g.TAB=" ",t.Code=v,t.default=g},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=m(n(2)),s=m(n(20)),l=m(n(0)),c=m(n(13)),u=m(n(24)),d=n(4),p=m(d),h=m(n(16)),f=m(n(21)),v=m(n(11)),g=m(n(3));function m(e){return e&&e.__esModule?e:{default:e}}var w=/^[ -~]*$/,y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scroll=t,this.delta=this.getDelta()}return i(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),e=function(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,f.default)(t.attributes);return delete n.image,e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||((t=(0,f.default)(t)).attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"==typeof t.insert){var a=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(a,t.attributes)}return e.push(t)}),new o.default)}(e),e.reduce((function(e,o){var c=o.retain||o.delete||o.insert.length||1,u=o.attributes||{};if(null!=o.insert){if("string"==typeof o.insert){var h=o.insert;h.endsWith("\n")&&n&&(n=!1,h=h.slice(0,-1)),e>=i&&!h.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,h);var f=t.scroll.line(e),v=r(f,2),m=v[0],w=v[1],y=(0,g.default)({},(0,d.bubbleFormats)(m));if(m instanceof p.default){var b=m.descendant(l.default.Leaf,w),_=r(b,1)[0];y=(0,g.default)(y,(0,d.bubbleFormats)(_))}u=s.default.attributes.diff(y,u)||{}}else if("object"===a(o.insert)){var x=Object.keys(o.insert)[0];if(null==x)return e;t.scroll.insertAt(e,x,o.insert[x])}i+=c}return Object.keys(u).forEach((function(n){t.scroll.formatAt(e,c,n,u[n])})),e+c}),0),e.reduce((function(e,n){return"number"==typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new o.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(a).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var i=n.scroll.lines(e,Math.max(t,1)),o=t;i.forEach((function(t){var i=t.length();if(t instanceof c.default){var s=e-t.offset(n.scroll),l=t.newlineIndex(s+o)-s+1;t.formatAt(s,l,r,a[r])}else t.format(r,a[r]);o-=i}))}})),this.scroll.optimize(),this.update((new o.default).retain(e).retain(t,(0,f.default)(a)))}},{key:"formatText",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(a).forEach((function(r){n.scroll.formatAt(e,t,r,a[r])})),this.update((new o.default).retain(e).retain(t,(0,f.default)(a)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new o.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],a=[];0===t?this.scroll.path(e).forEach((function(e){var t=r(e,1)[0];t instanceof p.default?n.push(t):t instanceof l.default.Leaf&&a.push(t)})):(n=this.scroll.lines(e,t),a=this.scroll.descendants(l.default.Leaf,e,t));var i=[n,a].map((function(e){if(0===e.length)return{};for(var t=(0,d.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=b((0,d.bubbleFormats)(n),t)}return t}));return g.default.apply(g.default,i)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"==typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new o.default).retain(e).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(a).forEach((function(r){n.scroll.formatAt(e,t.length,r,a[r])})),this.update((new o.default).retain(e).insert(t,(0,f.default)(a)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===p.default.blotName&&!(e.children.length>1)&&e.children.head instanceof h.default}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),a=this.scroll.line(e+t),i=r(a,2),s=i[0],l=i[1],u=0,d=new o.default;null!=s&&(u=s instanceof c.default?s.newlineIndex(l)-l+1:s.length()-l,d=s.delta().slice(l,l+u-1).insert("\n"));var p=this.getContents(e,t+u).diff((new o.default).insert(n).concat(d)),h=(new o.default).retain(e).concat(p);return this.applyDelta(h)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(w)&&l.default.find(t[0].target)){var r=l.default.find(t[0].target),i=(0,d.bubbleFormats)(r),s=r.offset(this.scroll),c=t[0].oldValue.replace(u.default.CONTENTS,""),p=(new o.default).insert(c),h=(new o.default).insert(r.value()),f=(new o.default).retain(s).concat(p.diff(h,n));e=f.reduce((function(e,t){return t.insert?e.insert(t.insert,i):e.push(t)}),new o.default),this.delta=a.compose(e)}else this.delta=this.getDelta(),e&&(0,v.default)(a.compose(e),this.delta)||(e=a.diff(this.delta,n));return e}}]),e}();function b(e,t){return Object.keys(t).reduce((function(n,a){return null==e[a]||(t[a]===e[a]?n[a]=t[a]:Array.isArray(t[a])?t[a].indexOf(e[a])<0&&(n[a]=t[a].concat([e[a]])):n[a]=[t[a],e[a]]),n}),{})}t.default=y},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=c(n(0)),o=c(n(21)),s=c(n(11)),l=c(n(8));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=(0,c(n(10)).default)("quill:selection"),h=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,e),this.index=t,this.length=n},f=function(){function e(t,n){var a=this;d(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=i.default.create("cursor",this),this.lastRange=this.savedRange=new h(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){a.mouseDown||setTimeout(a.update.bind(a,l.default.sources.USER),1)})),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(e,t){e===l.default.events.TEXT_CHANGE&&t.length()>0&&a.update(l.default.sources.SILENT)})),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,(function(){if(a.hasFocus()){var e=a.getNativeRange();null!=e&&e.start.node!==a.cursor.textNode&&a.emitter.once(l.default.events.SCROLL_UPDATE,(function(){try{a.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}}))}})),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,r=n.startNode,i=n.startOffset,o=n.endNode,s=n.endOffset;a.setNativeRange(r,i,o,s)}})),this.update(l.default.sources.SILENT)}return r(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(l.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!i.default.query(e,i.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var a=i.default.find(n.start.node,!1);if(null==a)return;if(a instanceof i.default.Leaf){var r=a.split(n.start.offset);a.parent.insertBefore(this.cursor,r)}else a.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var r=void 0,i=this.scroll.leaf(e),o=a(i,2),s=o[0],l=o[1];if(null==s)return null;var c=s.position(l,!0),u=a(c,2);r=u[0],l=u[1];var d=document.createRange();if(t>0){d.setStart(r,l);var p=this.scroll.leaf(e+t),h=a(p,2);if(s=h[0],l=h[1],null==s)return null;var f=s.position(l,!0),v=a(f,2);return r=v[0],l=v[1],d.setEnd(r,l),d.getBoundingClientRect()}var g="left",m=void 0;return r instanceof Text?(l<r.data.length?(d.setStart(r,l),d.setEnd(r,l+1)):(d.setStart(r,l-1),d.setEnd(r,l),g="right"),m=d.getBoundingClientRect()):(m=s.domNode.getBoundingClientRect(),l>0&&(g="right")),{bottom:m.top+m.height,height:m.height,left:m[g],right:m[g],top:m.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return p.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var r=n.map((function(e){var n=a(e,2),r=n[0],o=n[1],s=i.default.find(r,!0),l=s.offset(t.scroll);return 0===o?l:s instanceof i.default.Container?l+s.length():l+s.index(r,o)})),o=Math.min(Math.max.apply(Math,u(r)),this.scroll.length()-1),s=Math.min.apply(Math,[o].concat(u(r)));return new h(s,o-s)}},{key:"normalizeNative",value:function(e){if(!v(this.root,e.startContainer)||!e.collapsed&&!v(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],r=[],i=this.scroll.length();return n.forEach((function(e,n){e=Math.min(i-1,e);var o,s=t.scroll.leaf(e),l=a(s,2),c=l[0],u=l[1],d=c.position(u,0!==n),p=a(d,2);o=p[0],u=p[1],r.push(o,u)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var r=this.scroll.length()-1,i=this.scroll.line(Math.min(t.index,r)),o=a(i,1)[0],s=o;if(t.length>0){var l=this.scroll.line(Math.min(t.index+t.length,r));s=a(l,1)[0]}if(null!=o&&null!=s){var c=e.getBoundingClientRect();n.top<c.top?e.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(e.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(p.info("setNativeRange",e,t,n,a),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=e){this.hasFocus()||this.root.focus();var o=(this.getNativeRange()||{}).native;if(null==o||r||e!==o.startContainer||t!==o.startOffset||n!==o.endContainer||a!==o.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(a=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(n,a),i.removeAllRanges(),i.addRange(s)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof t&&(n=t,t=!1),p.info("setRange",e),null!=e){var a=this.rangeToNative(e);this.setNativeRange.apply(this,u(a).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,t=this.lastRange,n=this.getRange(),r=a(n,2),i=r[0],c=r[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(t,this.lastRange)){var u;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var d,p=[l.default.events.SELECTION_CHANGE,(0,o.default)(this.lastRange),(0,o.default)(t),e];(u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(p)),e!==l.default.sources.SILENT&&(d=this.emitter).emit.apply(d,p)}}}]),e}();function v(e,t){try{t.parentNode}catch(e){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=h,t.default=f},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(0);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"insertInto",value:function(e,n){0===e.children.length?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default.Embed);c.blotName="break",c.tagName="BR",t.default=c},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(44),o=n(30),s=n(1),l=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return r(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach((function(e){e.attach()}))},t.prototype.build=function(){var e=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(t){try{var n=c(t);e.insertBefore(n,e.children.head||void 0)}catch(e){if(e instanceof s.ParchmentError)return;throw e}}))},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(function(e,t,n){e.deleteAt(t,n)}))},t.prototype.descendant=function(e,n){var a=this.children.find(n),r=a[0],i=a[1];return null==e.blotName&&e(r)||null!=e.blotName&&r instanceof e?[r,i]:r instanceof t?r.descendant(e,i):[null,-1]},t.prototype.descendants=function(e,n,a){void 0===n&&(n=0),void 0===a&&(a=Number.MAX_VALUE);var r=[],i=a;return this.children.forEachAt(n,a,(function(n,a,o){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&r.push(n),n instanceof t&&(r=r.concat(n.descendants(e,a,i))),i-=o})),r},t.prototype.detach=function(){this.children.forEach((function(e){e.detach()})),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,a){this.children.forEachAt(e,t,(function(e,t,r){e.formatAt(t,r,n,a)}))},t.prototype.insertAt=function(e,t,n){var a=this.children.find(e),r=a[0],i=a[1];if(r)r.insertAt(i,t,n);else{var o=null==n?s.create("text",t):s.create(t,n);this.appendChild(o)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(t){return e instanceof t})))throw new s.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce((function(e,t){return e+t.length()}),0)},t.prototype.moveChildren=function(e,t){this.children.forEach((function(n){e.insertBefore(n,t)}))},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=s.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var a=this.children.find(e,n),r=a[0],i=a[1],o=[[this,e]];return r instanceof t?o.concat(r.path(i,n)):(null!=r&&o.push([r,i]),o)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),(function(e,a,r){e=e.split(a,t),n.appendChild(e)})),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,a=[],r=[];e.forEach((function(e){e.target===n.domNode&&"childList"===e.type&&(a.push.apply(a,e.addedNodes),r.push.apply(r,e.removedNodes))})),r.forEach((function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=s.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.detach())}})),a.filter((function(e){return e.parentNode==n.domNode})).sort((function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(e){var t=null;null!=e.nextSibling&&(t=s.find(e.nextSibling));var a=c(e);a.next==t&&null!=a.next||(null!=a.parent&&a.parent.removeChild(n),n.insertBefore(a,t||void 0))}))},t}(o.default);function c(e){var t=s.find(e);if(null==t)try{t=s.create(e)}catch(n){t=s.create(s.Scope.INLINE),[].slice.call(e.childNodes).forEach((function(e){t.domNode.appendChild(e)})),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),t.attach()}return t}t.default=l},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),o=n(31),s=n(17),l=n(1),c=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new o.default(n.domNode),n}return r(t,e),t.formats=function(e){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var n=l.query(e);n instanceof i.default?this.attributes.attribute(n,t):t&&(null==n||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,n){var a=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(a),a},t.prototype.update=function(t,n){var a=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===a.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.prototype.wrap=function(n,a){var r=e.prototype.wrap.call(this,n,a);return r instanceof t&&r.statics.scope===this.statics.scope&&this.attributes.move(r),r},t}(s.default);t.default=c},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(30),o=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=s},function(e,t,n){var a=n(11),r=n(3),i={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var a=r(!0,{},t);for(var i in n||(a=Object.keys(a).reduce((function(e,t){return null!=a[t]&&(e[t]=a[t]),e}),{})),e)void 0!==e[i]&&void 0===t[i]&&(a[i]=e[i]);return Object.keys(a).length>0?a:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,r){return a(e[r],t[r])||(n[r]=void 0===t[r]?null:t[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var a=Object.keys(t).reduce((function(n,a){return void 0===e[a]&&(n[a]=t[a]),n}),{});return Object.keys(a).length>0?a:void 0}}},iterator:function(e){return new o(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};function o(e){this.ops=e,this.index=0,this.offset=0}o.prototype.hasNext=function(){return this.peekLength()<1/0},o.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,a=i.length(t);if(e>=a-n?(e=a-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var r={};return t.attributes&&(r.attributes=t.attributes),"number"==typeof t.retain?r.retain=e:"string"==typeof t.insert?r.insert=t.insert.substr(n,e):r.insert=t.insert,r}return{retain:1/0}},o.prototype.peek=function(){return this.ops[this.index]},o.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},o.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},o.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),a=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(a)}return[]},e.exports=i},function(e,t){var n=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,a;try{t=Map}catch(e){t=function(){}}try{n=Set}catch(e){n=function(){}}try{a=Promise}catch(e){a=function(){}}function r(i,s,l,c,u){"object"==typeof s&&(l=s.depth,c=s.prototype,u=s.includeNonEnumerable,s=s.circular);var d=[],p=[];return void 0===s&&(s=!0),void 0===l&&(l=1/0),function i(l,h){if(null===l)return null;if(0===h)return l;var f,v;if("object"!=typeof l)return l;if(e(l,t))f=new t;else if(e(l,n))f=new n;else if(e(l,a))f=new a((function(e,t){l.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(r.__isArray(l))f=[];else if(r.__isRegExp(l))f=new RegExp(l.source,o(l)),l.lastIndex&&(f.lastIndex=l.lastIndex);else if(r.__isDate(l))f=new Date(l.getTime());else{if(yn.isBuffer(l))return f=yn.allocUnsafe?yn.allocUnsafe(l.length):new yn(l.length),l.copy(f),f;e(l,Error)?f=Object.create(l):void 0===c?(v=Object.getPrototypeOf(l),f=Object.create(v)):(f=Object.create(c),v=c)}if(s){var g=d.indexOf(l);if(-1!=g)return p[g];d.push(l),p.push(f)}for(var m in e(l,t)&&l.forEach((function(e,t){var n=i(t,h-1),a=i(e,h-1);f.set(n,a)})),e(l,n)&&l.forEach((function(e){var t=i(e,h-1);f.add(t)})),l){var w;v&&(w=Object.getOwnPropertyDescriptor(v,m)),w&&null==w.set||(f[m]=i(l[m],h-1))}if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(l);for(m=0;m<y.length;m++){var b=y[m];(!(x=Object.getOwnPropertyDescriptor(l,b))||x.enumerable||u)&&(f[b]=i(l[b],h-1),x.enumerable||Object.defineProperty(f,b,{enumerable:!1}))}}if(u){var _=Object.getOwnPropertyNames(l);for(m=0;m<_.length;m++){var x,M=_[m];(x=Object.getOwnPropertyDescriptor(l,M))&&x.enumerable||(f[M]=i(l[M],h-1),Object.defineProperty(f,M,{enumerable:!1}))}}return f}(i,l)}function i(e){return Object.prototype.toString.call(e)}function o(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return r.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},r.__objToStr=i,r.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},r.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},r.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},r.__getRegExpFlags=o,r}();"object"==typeof e&&e.exports&&(e.exports=n)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=h(n(0)),s=h(n(8)),l=n(4),c=h(l),u=h(n(16)),d=h(n(13)),p=h(n(25));function h(e){return e&&e.__esModule?e:{default:e}}function f(e){return e instanceof c.default||e instanceof l.BlockEmbed}var v=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.emitter=n.emitter,Array.isArray(n.whitelist)&&(a.whitelist=n.whitelist.reduce((function(e,t){return e[t]=!0,e}),{})),a.domNode.addEventListener("DOMNodeInserted",(function(){})),a.optimize(),a.enable(),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,n){var r=this.line(e),o=a(r,2),s=o[0],c=o[1],p=this.line(e+n),h=a(p,1)[0];if(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),null!=h&&s!==h&&c>0){if(s instanceof l.BlockEmbed||h instanceof l.BlockEmbed)return void this.optimize();if(s instanceof d.default){var f=s.newlineIndex(s.length(),!0);if(f>-1&&(s=s.split(f+1))===h)return void this.optimize()}else if(h instanceof d.default){var v=h.newlineIndex(0);v>-1&&h.split(v+1)}var g=h.children.head instanceof u.default?null:h.children.head;s.moveChildren(h,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,a,r){(null==this.whitelist||this.whitelist[a])&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,a,r),this.optimize())}},{key:"insertAt",value:function(e,n,a){if(null==a||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==a||null==o.default.query(n,o.default.Scope.BLOCK)){var r=o.default.create(this.statics.defaultChild);this.appendChild(r),null==a&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,a)}else{var s=o.default.create(n,a);this.appendChild(s)}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,a);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===o.default.Scope.INLINE_BLOT){var a=o.default.create(this.statics.defaultChild);a.appendChild(e),e=a}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(f,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,a){var r=[],i=a;return t.children.forEachAt(n,a,(function(t,n,a){f(t)?r.push(t):t instanceof o.default.Container&&(r=r.concat(e(t,n,i))),i-=a})),r};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=s.default.sources.USER;"string"==typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,e),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,e)}}}]),t}(o.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[c.default,l.BlockEmbed,p.default],t.default=v},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=v(n(21)),s=v(n(11)),l=v(n(3)),c=v(n(2)),u=v(n(20)),d=v(n(0)),p=v(n(5)),h=v(n(10)),f=v(n(9));function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=(0,h.default)("quill:keyboard"),w=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",y=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.bindings={},Object.keys(a.options.bindings).forEach((function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist.list)&&a.options.bindings[t]&&a.addBinding(a.options.bindings[t])})),a.addBinding({key:t.keys.ENTER,shiftKey:null},C),a.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(a.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},_),a.addBinding({key:t.keys.DELETE},{collapsed:!0},x)):(a.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},_),a.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},x)),a.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},M),a.addBinding({key:t.keys.DELETE},{collapsed:!1},M),a.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},_),a.listen(),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"match",value:function(e,t){return t=k(t),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!t[n]!==e[n]&&null!==t[n]}))&&t.key===(e.which||e.keyCode)}}]),i(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=k(e);if(null==a||null==a.key)return m.warn("Attempted to add invalid keyboard binding",a);"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),a=(0,l.default)(a,t,n),this.bindings[a.key]=this.bindings[a.key]||[],this.bindings[a.key].push(a)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var i=n.which||n.keyCode,o=(e.bindings[i]||[]).filter((function(e){return t.match(n,e)}));if(0!==o.length){var l=e.quill.getSelection();if(null!=l&&e.quill.hasFocus()){var c=e.quill.getLine(l.index),u=r(c,2),p=u[0],h=u[1],f=e.quill.getLeaf(l.index),v=r(f,2),g=v[0],m=v[1],w=0===l.length?[g,m]:e.quill.getLeaf(l.index+l.length),y=r(w,2),b=y[0],_=y[1],x=g instanceof d.default.Text?g.value().slice(0,m):"",M=b instanceof d.default.Text?b.value().slice(_):"",C={collapsed:0===l.length,empty:0===l.length&&p.length()<=1,format:e.quill.getFormat(l),offset:h,prefix:x,suffix:M},A=o.some((function(t){if(null!=t.collapsed&&t.collapsed!==C.collapsed)return!1;if(null!=t.empty&&t.empty!==C.empty)return!1;if(null!=t.offset&&t.offset!==C.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==C.format[e]})))return!1}else if("object"===a(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=C.format[e]:!1===t.format[e]?null==C.format[e]:(0,s.default)(t.format[e],C.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(C.prefix)||null!=t.suffix&&!t.suffix.test(C.suffix)||!0===t.handler.call(e,l,C))}));A&&n.preventDefault()}}}}))}}]),t}(f.default);function b(e,t){var n,a=e===y.keys.LEFT?"prefix":"suffix";return g(n={key:e,shiftKey:t,altKey:null},a,/^$/),g(n,"handler",(function(n){var a=n.index;e===y.keys.RIGHT&&(a+=n.length+1);var i=this.quill.getLeaf(a);return!(r(i,1)[0]instanceof d.default.Embed&&(e===y.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,p.default.sources.USER):this.quill.setSelection(n.index-1,p.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,p.default.sources.USER):this.quill.setSelection(n.index+n.length+1,p.default.sources.USER),1))})),n}function _(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),a=r(n,1)[0],i={};if(0===t.offset){var o=this.quill.getLine(e.index-1),s=r(o,1)[0];if(null!=s&&s.length()>1){var l=a.formats(),c=this.quill.getFormat(e.index-1,1);i=u.default.attributes.diff(l,c)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,p.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index-d,d,i,p.default.sources.USER),this.quill.focus()}}function x(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var a={},i=0,o=this.quill.getLine(e.index),s=r(o,1)[0];if(t.offset>=s.length()-1){var l=this.quill.getLine(e.index+1),c=r(l,1)[0];if(c){var d=s.formats(),h=this.quill.getFormat(e.index,1);a=u.default.attributes.diff(d,h)||{},i=c.length()}}this.quill.deleteText(e.index,n,p.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(e.index+i-1,n,a,p.default.sources.USER)}}function M(e){var t=this.quill.getLines(e),n={};if(t.length>1){var a=t[0].formats(),r=t[t.length-1].formats();n=u.default.attributes.diff(r,a)||{}}this.quill.deleteText(e,p.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,p.default.sources.USER),this.quill.setSelection(e.index,p.default.sources.SILENT),this.quill.focus()}function C(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var a=Object.keys(t.format).reduce((function(e,n){return d.default.query(n,d.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",a,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==a[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],p.default.sources.USER))}))}function A(e){return{key:y.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=d.default.query("code-block"),a=t.index,i=t.length,o=this.quill.scroll.descendant(n,a),s=r(o,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),h=l.newlineIndex(c,!0)+1,f=l.newlineIndex(u+c+i),v=l.domNode.textContent.slice(h,f).split("\n");c=0,v.forEach((function(t,r){e?(l.insertAt(h+c,n.TAB),c+=n.TAB.length,0===r?a+=n.TAB.length:i+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(h+c,n.TAB.length),c-=n.TAB.length,0===r?a-=n.TAB.length:i-=n.TAB.length),c+=t.length+1})),this.quill.update(p.default.sources.USER),this.quill.setSelection(a,i,p.default.sources.SILENT)}}}}function P(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],p.default.sources.USER)}}}function k(e){if("string"==typeof e||"number"==typeof e)return k({key:e});if("object"===(void 0===e?"undefined":a(e))&&(e=(0,o.default)(e,!1)),"string"==typeof e.key)if(null!=y.keys[e.key.toUpperCase()])e.key=y.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[w]=e.shortKey,delete e.shortKey),e}y.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},y.DEFAULTS={bindings:{bold:P("bold"),italic:P("italic"),underline:P("underline"),indent:{key:y.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",p.default.sources.USER)}},outdent:{key:y.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",p.default.sources.USER)}},"outdent backspace":{key:y.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",p.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,p.default.sources.USER)}},"indent code-block":A(!0),"outdent code-block":A(!1),"remove tab":{key:y.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,p.default.sources.USER)}},tab:{key:y.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new c.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,p.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,p.default.sources.SILENT)}},"list empty enter":{key:y.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,p.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,p.default.sources.USER)}},"checklist enter":{key:y.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),a=n[0],i=n[1],o=(0,l.default)({},a.formats(),{list:"checked"}),s=(new c.default).retain(e.index).insert("\n",o).retain(a.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:y.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),a=r(n,2),i=a[0],o=a[1],s=(new c.default).retain(e.index).insert("\n",t.format).retain(i.length()-o-1).retain(1,{header:null});this.quill.updateContents(s,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,a=this.quill.getLine(e.index),i=r(a,2),o=i[0],s=i[1];if(s>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",p.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(e.index-s).delete(n+1).retain(o.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,p.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,p.default.sources.SILENT)}},"code exit":{key:y.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),a=n[0],i=n[1],o=(new c.default).retain(e.index+a.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(o,p.default.sources.USER)}},"embed left":b(y.keys.LEFT,!1),"embed left shift":b(y.keys.LEFT,!0),"embed right":b(y.keys.RIGHT,!1),"embed right shift":b(y.keys.RIGHT,!0)}},t.default=y,t.SHORTKEY=w},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=l(n(0)),s=l(n(7));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.selection=n,a.textNode=document.createTextNode(t.CONTENTS),a.domNode.appendChild(a.textNode),a._length=0,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"value",value:function(){}}]),i(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,n){if(0!==this._length)return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);for(var a=this,i=0;null!=a&&a.statics.scope!==o.default.Scope.BLOCK_BLOT;)i+=a.offset(a.parent),a=a.parent;null!=a&&(this._length=t.CONTENTS.length,a.optimize(),a.formatAt(i,t.CONTENTS.length,e,n),this._length=0)}},{key:"index",value:function(e,n){return e===this.textNode?0:r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,n=this.selection.getNativeRange(),r=void 0,i=void 0,l=void 0;if(null!=n&&n.start.node===e&&n.end.node===e){var c=[e,n.start.offset,n.end.offset];r=c[0],i=c[1],l=c[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==t.CONTENTS){var u=this.textNode.data.split(t.CONTENTS).join("");this.next instanceof s.default?(r=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=t.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(o.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var d=[i,l].map((function(e){return Math.max(0,Math.min(r.data.length,e-1))})),p=a(d,2);return i=p[0],l=p[1],{startNode:r,startOffset:i,endNode:r,endOffset:l}}}}},{key:"update",value:function(e,t){var n=this;if(e.some((function(e){return"characterData"===e.type&&e.target===n.textNode}))){var a=this.restore();a&&(t.range=a)}}},{key:"value",value:function(){return""}}]),t}(o.default.Embed);c.blotName="cursor",c.className="ql-cursor",c.tagName="span",c.CONTENTS="\ufeff",t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(0)),r=n(4),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(a.default.Container);c.allowedChildren=[i.default,r.BlockEmbed,c],t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(0),s=(a=o)&&a.__esModule?a:{default:a};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"value",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(e){return("00"+parseInt(e).toString(16)).slice(-2)})).join("")):n}}]),t}(s.default.Attributor.Style),d=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),p=new u("color","color",{scope:s.default.Scope.INLINE});t.ColorAttributor=u,t.ColorClass=d,t.ColorStyle=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(6);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),n.setAttribute("href",e),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return u(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default);function u(e,t){var n=document.createElement("a");n.href=e;var a=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(a)>-1}c.blotName="link",c.tagName="A",c.SANITIZED_URL="about:blank",c.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=c,t.sanitize=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=s(n(23)),o=s(n(107));function s(e){return e&&e.__esModule?e:{default:e}}var l=0;function c(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var u=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:n.togglePicker();break;case i.default.keys.ESCAPE:n.escape(),e.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return r(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),c(this.label,"aria-expanded"),c(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",(function(){t.selectItem(n,!0)})),n.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case i.default.keys.ESCAPE:t.escape(),e.preventDefault()}})),n}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=o.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var e=this,t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach((function(n){var a=e.buildItem(n);t.appendChild(a),!0===n.selected&&e.selectItem(a)})),this.container.appendChild(t)}},{key:"buildPicker",value:function(){var e=this;[].slice.call(this.select.attributes).forEach((function(t){e.container.setAttribute(t.name,t.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout((function(){return e.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":a(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=m(n(0)),r=m(n(5)),i=n(4),o=m(i),s=m(n(16)),l=m(n(25)),c=m(n(24)),u=m(n(35)),d=m(n(6)),p=m(n(22)),h=m(n(7)),f=m(n(55)),v=m(n(42)),g=m(n(23));function m(e){return e&&e.__esModule?e:{default:e}}r.default.register({"blots/block":o.default,"blots/block/embed":i.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":d.default,"blots/scroll":p.default,"blots/text":h.default,"modules/clipboard":f.default,"modules/history":v.default,"modules/keyboard":g.default}),a.default.register(o.default,s.default,c.default,d.default,p.default,h.default),t.default=r.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),r=function(){function e(e){this.domNode=e,this.domNode[a.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new a.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return a.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[a.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,r){var i=this.isolate(e,t);if(null!=a.query(n,a.Scope.BLOT)&&r)i.wrap(n,r);else if(null!=a.query(n,a.Scope.ATTRIBUTE)){var o=a.create(this.statics.scope);i.wrap(o),o.format(n,r)}},e.prototype.insertAt=function(e,t,n){var r=null==n?a.create("text",t):a.create(t,n),i=this.split(e);this.parent.insertBefore(r,i)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[a.DATA_KEY]&&delete this.domNode[a.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"==typeof e?a.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"==typeof e?a.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n(12),r=n(32),i=n(33),o=n(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=a.default.keys(this.domNode),n=r.default.keys(this.domNode),s=i.default.keys(this.domNode);t.concat(n).concat(s).forEach((function(t){var n=o.query(t,o.Scope.ATTRIBUTE);n instanceof a.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var a=t.attributes[n].value(t.domNode);e.format(n,a)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=s},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){i(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(i(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=o},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[i(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[i(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[i(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n,this.modules={}}return a(e,[{key:"init",value:function(){var e=this;Object.keys(this.options.modules).forEach((function(t){null==e.modules[t]&&e.addModule(t)}))}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),e}();r.DEFAULTS={modules:{}},r.themes={default:r},t.default=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=s(n(0)),o=s(n(7));function s(e){return e&&e.__esModule?e:{default:e}}var l="\ufeff",c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(e){n.contentNode.appendChild(e)})),n.leftGuard=document.createTextNode(l),n.rightGuard=document.createTextNode(l),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"index",value:function(e,n){return e===this.leftGuard?0:e===this.rightGuard?1:r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"restore",value:function(e){var t=void 0,n=void 0,a=e.data.split(l).join("");if(e===this.leftGuard)if(this.prev instanceof o.default){var r=this.prev.length();this.prev.insertAt(r,a),t={startNode:this.prev.domNode,startOffset:r+a.length}}else n=document.createTextNode(a),this.parent.insertBefore(i.default.create(n),this),t={startNode:n,startOffset:a.length};else e===this.rightGuard&&(this.next instanceof o.default?(this.next.insertAt(0,a),t={startNode:this.next.domNode,startOffset:a.length}):(n=document.createTextNode(a),this.parent.insertBefore(i.default.create(n),this.next),t={startNode:n,startOffset:a.length}));return e.data=l,t}},{key:"update",value:function(e,t){var n=this;e.forEach((function(e){if("characterData"===e.type&&(e.target===n.leftGuard||e.target===n.rightGuard)){var a=n.restore(e.target);a&&(t.range=a)}}))}}]),t}(i.default.Embed);t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var a,r=n(0),i=(a=r)&&a.__esModule?a:{default:a},o={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new i.default.Attributor.Attribute("align","align",o),l=new i.default.Attributor.Class("align","ql-align",o),c=new i.default.Attributor.Style("align","text-align",o);t.AlignAttribute=s,t.AlignClass=l,t.AlignStyle=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var a,r=n(0),i=(a=r)&&a.__esModule?a:{default:a},o=n(26),s=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),l=new o.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});t.BackgroundClass=s,t.BackgroundStyle=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var a,r=n(0),i=(a=r)&&a.__esModule?a:{default:a},o={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},s=new i.default.Attributor.Attribute("direction","dir",o),l=new i.default.Attributor.Class("direction","ql-direction",o),c=new i.default.Attributor.Style("direction","direction",o);t.DirectionAttribute=s,t.DirectionClass=l,t.DirectionStyle=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(0),s=(a=o)&&a.__esModule?a:{default:a};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},d=new s.default.Attributor.Class("font","ql-font",u),p=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"value",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}(s.default.Attributor.Style),h=new p("font","font-family",u);t.FontStyle=h,t.FontClass=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var a,r=n(0),i=(a=r)&&a.__esModule?a:{default:a},o=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=o,t.SizeStyle=s},function(e,t,n){e.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=o(n(0)),i=o(n(5));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.lastRecorded=0,a.ignoreChange=!1,a.clear(),a.quill.on(i.default.events.EDITOR_CHANGE,(function(e,t,n,r){e!==i.default.events.TEXT_CHANGE||a.ignoreChange||(a.options.userOnly&&r!==i.default.sources.USER?a.transform(t):a.record(t,n))})),a.quill.keyboard.addBinding({key:"Z",shortKey:!0},a.undo.bind(a)),a.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},a.redo.bind(a)),/Win/i.test(navigator.platform)&&a.quill.keyboard.addBinding({key:"Y",shortKey:!0},a.redo.bind(a)),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"change",value:function(e,t){if(0!==this.stack[e].length){var n=this.stack[e].pop();this.stack[t].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],i.default.sources.USER),this.ignoreChange=!1;var a=l(n[e]);this.quill.setSelection(a)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){if(0!==e.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(t),a=Date.now();if(this.lastRecorded+this.options.delay>a&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),e=r.redo.compose(e)}else this.lastRecorded=a;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(o(n(9)).default);function l(e){var t=e.reduce((function(e,t){return e+=t.delete||0}),0),n=e.length()-t;return function(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"==typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=r.default.query(e,r.default.Scope.BLOCK)})))}(e)&&(n-=1),n}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=s,t.getLastChangeIndex=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=f(n(3)),o=f(n(2)),s=f(n(8)),l=f(n(23)),c=f(n(34)),u=f(n(59)),d=f(n(60)),p=f(n(28)),h=f(n(61));function f(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var w=[!1,"center","right","justify"],y=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],b=[!1,"serif","monospace"],_=["1","2","3",!1],x=["small",!1,"large","huge"],M=function(e){function t(e,n){v(this,t);var a=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return e.emitter.listenDOM("click",document.body,(function t(n){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==a.tooltip||a.tooltip.root.contains(n.target)||document.activeElement===a.tooltip.textbox||a.quill.hasFocus()||a.tooltip.hide(),null!=a.pickers&&a.pickers.forEach((function(e){e.container.contains(n.target)||e.close()}))})),a}return m(t,e),a(t,[{key:"addModule",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(e,t){e.forEach((function(e){(e.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"==typeof t[n])e.innerHTML=t[n];else{var a=e.value||"";null!=a&&t[n][a]&&(e.innerHTML=t[n][a])}}))}))}},{key:"buildPickers",value:function(e,t){var n=this;this.pickers=e.map((function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&A(e,w),new d.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&A(e,y,"background"===n?"#ffffff":"#000000"),new u.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?A(e,b):e.classList.contains("ql-header")?A(e,_):e.classList.contains("ql-size")&&A(e,x)),new p.default(e)})),this.quill.on(s.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(e){e.update()}))}))}}]),t}(c.default);M.DEFAULTS=(0,i.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var e=this,t=this.container.querySelector("input.ql-image[type=file]");null==t&&((t=document.createElement("input")).setAttribute("type","file"),t.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),t.classList.add("ql-image"),t.addEventListener("change",(function(){if(null!=t.files&&null!=t.files[0]){var n=new FileReader;n.onload=function(n){var a=e.quill.getSelection(!0);e.quill.updateContents((new o.default).retain(a.index).delete(a.length).insert({image:n.target.result}),s.default.sources.USER),e.quill.setSelection(a.index+1,s.default.sources.SILENT),t.value=""},n.readAsDataURL(t.files[0])}})),this.container.appendChild(t)),t.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var C=function(e){function t(e,n){v(this,t);var a=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.textbox=a.root.querySelector('input[type="text"]'),a.listen(),a}return m(t,e),a(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",(function(t){l.default.match(t,"enter")?(e.save(),t.preventDefault()):l.default.match(t,"escape")&&(e.cancel(),t.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,s.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=function(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var a=n.index+n.length;this.quill.insertEmbed(a,this.root.getAttribute("data-mode"),e,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(a+1," ",s.default.sources.USER),this.quill.setSelection(a+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(h.default);function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var a=document.createElement("option");t===n?a.setAttribute("selected","selected"):a.setAttribute("value",t),e.appendChild(a)}))}t.BaseTooltip=C,t.default=M},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,a=this.iterator();n=a();){var r=n.length();if(e<r||t&&e===r&&(null==n.next||0!==n.next.length()))return[n,e];e-=r}return[null,0]},e.prototype.forEach=function(e){for(var t,n=this.iterator();t=n();)e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0))for(var a,r=this.find(e),i=r[0],o=e-r[1],s=this.iterator(i);(a=s())&&o<e+t;){var l=a.length();e>o?n(a,e-o,Math.min(t,o+l-e)):n(a,0,Math.min(l,e+t-o)),o+=l}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n,a=this.iterator();n=a();)t=e(t,n);return t},e}();t.default=a},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),o=n(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,s),n.attach(),n}return r(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,a,r){this.update(),e.prototype.formatAt.call(this,t,n,a,r)},t.prototype.insertAt=function(t,n,a){this.update(),e.prototype.insertAt.call(this,t,n,a)},t.prototype.optimize=function(t,n){var a=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var r=[].slice.call(this.observer.takeRecords());r.length>0;)t.push(r.pop());for(var s=function(e,t){void 0===t&&(t=!0),null!=e&&e!==a&&null!=e.domNode.parentNode&&(null==e.domNode[o.DATA_KEY].mutations&&(e.domNode[o.DATA_KEY].mutations=[]),t&&s(e.parent))},l=function(e){null!=e.domNode[o.DATA_KEY]&&null!=e.domNode[o.DATA_KEY].mutations&&(e instanceof i.default&&e.children.forEach(l),e.optimize(n))},c=t,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach((function(e){var t=o.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(s(o.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=o.find(e,!1);s(t,!1),t instanceof i.default&&t.children.forEach((function(e){s(e,!1)}))}))):"attributes"===e.type&&s(t.prev)),s(t))})),this.children.forEach(l),r=(c=[].slice.call(this.observer.takeRecords())).slice();r.length>0;)t.push(r.pop())}},t.prototype.update=function(t,n){var a=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map((function(e){var t=o.find(e.target,!0);return null==t?null:null==t.domNode[o.DATA_KEY].mutations?(t.domNode[o.DATA_KEY].mutations=[e],t):(t.domNode[o.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==a&&null!=e.domNode[o.DATA_KEY]&&e.update(e.domNode[o.DATA_KEY].mutations||[],n)})),null!=this.domNode[o.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[o.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=l},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,a){var r=this;n!==this.statics.blotName||a?e.prototype.format.call(this,n,a):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),r.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,a,r){null!=this.formats()[a]||o.query(a,o.Scope.ATTRIBUTE)?this.isolate(t,n).format(a,r):e.prototype.formatAt.call(this,t,n,a,r)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var a=this.formats();if(0===Object.keys(a).length)return this.unwrap();var r=this.next;r instanceof t&&r.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(a,r.formats())&&(r.moveChildren(this),r.remove())},t.blotName="inline",t.scope=o.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=s},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){var a=o.query(t.blotName).tagName;if(n.tagName!==a)return e.formats.call(this,n)},t.prototype.format=function(n,a){null!=o.query(n,o.Scope.BLOCK)&&(n!==this.statics.blotName||a?e.prototype.format.call(this,n,a):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,a,r){null!=o.query(a,o.Scope.BLOCK)?this.format(a,r):e.prototype.formatAt.call(this,t,n,a,r)},t.prototype.insertAt=function(t,n,a){if(null==a||null!=o.query(n,o.Scope.INLINE))e.prototype.insertAt.call(this,t,n,a);else{var r=this.split(t),i=o.create(n,a);r.parent.insertBefore(i,r)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=s},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,a,r){0===t&&n===this.length()?this.format(a,r):e.prototype.formatAt.call(this,t,n,a,r)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=i},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=n(1),s=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return r(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,a){null==a?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,a)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=o.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=s},function(e,t,n){var a=document.createElement("div");if(a.classList.toggle("test-class",!1),a.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:r.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var a=n.indexOf(e,t);return-1!==a&&a===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),a=n.length>>>0,r=arguments[1],i=0;i<a;i++)if(t=n[i],e.call(r,t,i,n))return t}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(e,t){var n=-1;function a(e,t,l){if(e==t)return e?[[0,e]]:[];(l<0||e.length<l)&&(l=null);var u=i(e,t),d=e.substring(0,u);u=o(e=e.substring(u),t=t.substring(u));var p=e.substring(e.length-u),h=function(e,t){var s;if(!e)return[[1,t]];if(!t)return[[n,e]];var l=e.length>t.length?e:t,c=e.length>t.length?t:e,u=l.indexOf(c);if(-1!=u)return s=[[1,l.substring(0,u)],[0,c],[1,l.substring(u+c.length)]],e.length>t.length&&(s[0][0]=s[2][0]=n),s;if(1==c.length)return[[n,e],[1,t]];var d=function(e,t){var n=e.length>t.length?e:t,a=e.length>t.length?t:e;if(n.length<4||2*a.length<n.length)return null;function r(e,t,n){for(var a,r,s,l,c=e.substring(n,n+Math.floor(e.length/4)),u=-1,d="";-1!=(u=t.indexOf(c,u+1));){var p=i(e.substring(n),t.substring(u)),h=o(e.substring(0,n),t.substring(0,u));d.length<h+p&&(d=t.substring(u-h,u)+t.substring(u,u+p),a=e.substring(0,n-h),r=e.substring(n+p),s=t.substring(0,u-h),l=t.substring(u+p))}return 2*d.length>=e.length?[a,r,s,l,d]:null}var s,l,c,u,d,p=r(n,a,Math.ceil(n.length/4)),h=r(n,a,Math.ceil(n.length/2));if(!p&&!h)return null;s=h?p&&p[4].length>h[4].length?p:h:p,e.length>t.length?(l=s[0],c=s[1],u=s[2],d=s[3]):(u=s[0],d=s[1],l=s[2],c=s[3]);var f=s[4];return[l,c,u,d,f]}(e,t);if(d){var p=d[0],h=d[1],f=d[2],v=d[3],g=d[4],m=a(p,f),w=a(h,v);return m.concat([[0,g]],w)}return function(e,t){for(var a=e.length,i=t.length,o=Math.ceil((a+i)/2),s=o,l=2*o,c=new Array(l),u=new Array(l),d=0;d<l;d++)c[d]=-1,u[d]=-1;c[s+1]=0,u[s+1]=0;for(var p=a-i,h=p%2!=0,f=0,v=0,g=0,m=0,w=0;w<o;w++){for(var y=-w+f;y<=w-v;y+=2){for(var b=s+y,_=(P=y==-w||y!=w&&c[b-1]<c[b+1]?c[b+1]:c[b-1]+1)-y;P<a&&_<i&&e.charAt(P)==t.charAt(_);)P++,_++;if(c[b]=P,P>a)v+=2;else if(_>i)f+=2;else if(h&&(C=s+p-y)>=0&&C<l&&-1!=u[C]&&P>=(M=a-u[C]))return r(e,t,P,_)}for(var x=-w+g;x<=w-m;x+=2){for(var M,C=s+x,A=(M=x==-w||x!=w&&u[C-1]<u[C+1]?u[C+1]:u[C-1]+1)-x;M<a&&A<i&&e.charAt(a-M-1)==t.charAt(i-A-1);)M++,A++;if(u[C]=M,M>a)m+=2;else if(A>i)g+=2;else if(!h){var P;if((b=s+p-x)>=0&&b<l&&-1!=c[b])if(_=s+(P=c[b])-b,P>=(M=a-M))return r(e,t,P,_)}}}return[[n,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-u),t=t.substring(0,t.length-u));return d&&h.unshift([0,d]),p&&h.push([0,p]),s(h),null!=l&&(h=function(e,t){var a=function(e,t){if(0===t)return[0,e];for(var a=0,r=0;r<e.length;r++){var i=e[r];if(i[0]===n||0===i[0]){var o=a+i[1].length;if(t===o)return[r+1,e];if(t<o){e=e.slice();var s=t-a,l=[i[0],i[1].slice(0,s)],c=[i[0],i[1].slice(s)];return e.splice(r,1,l,c),[r+1,e]}a=o}}throw new Error("cursor_pos is out of bounds!")}(e,t),r=a[1],i=a[0],o=r[i],s=r[i+1];if(null==o)return e;if(0!==o[0])return e;if(null!=s&&o[1]+s[1]===s[1]+o[1])return r.splice(i,2,s,o),c(r,i,2);if(null!=s&&0===s[1].indexOf(o[1])){r.splice(i,2,[s[0],o[1]],[0,o[1]]);var l=s[1].slice(o[1].length);return l.length>0&&r.splice(i+2,0,[s[0],l]),c(r,i,3)}return e}(h,l)),h=function(e){for(var t=!1,a=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},r=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},i=2;i<e.length;i+=1)0===e[i-2][0]&&r(e[i-2][1])&&e[i-1][0]===n&&a(e[i-1][1])&&1===e[i][0]&&a(e[i][1])&&(t=!0,e[i-1][1]=e[i-2][1].slice(-1)+e[i-1][1],e[i][1]=e[i-2][1].slice(-1)+e[i][1],e[i-2][1]=e[i-2][1].slice(0,-1));if(!t)return e;var o=[];for(i=0;i<e.length;i+=1)e[i][1].length>0&&o.push(e[i]);return o}(h)}function r(e,t,n,r){var i=e.substring(0,n),o=t.substring(0,r),s=e.substring(n),l=t.substring(r),c=a(i,o),u=a(s,l);return c.concat(u)}function i(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,a=Math.min(e.length,t.length),r=a,i=0;n<r;)e.substring(i,r)==t.substring(i,r)?i=n=r:a=r,r=Math.floor((a-n)/2+n);return r}function o(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,a=Math.min(e.length,t.length),r=a,i=0;n<r;)e.substring(e.length-r,e.length-i)==t.substring(t.length-r,t.length-i)?i=n=r:a=r,r=Math.floor((a-n)/2+n);return r}function s(e){e.push([0,""]);for(var t,a=0,r=0,l=0,c="",u="";a<e.length;)switch(e[a][0]){case 1:l++,u+=e[a][1],a++;break;case n:r++,c+=e[a][1],a++;break;case 0:r+l>1?(0!==r&&0!==l&&(0!==(t=i(u,c))&&(a-r-l>0&&0==e[a-r-l-1][0]?e[a-r-l-1][1]+=u.substring(0,t):(e.splice(0,0,[0,u.substring(0,t)]),a++),u=u.substring(t),c=c.substring(t)),0!==(t=o(u,c))&&(e[a][1]=u.substring(u.length-t)+e[a][1],u=u.substring(0,u.length-t),c=c.substring(0,c.length-t))),0===r?e.splice(a-l,r+l,[1,u]):0===l?e.splice(a-r,r+l,[n,c]):e.splice(a-r-l,r+l,[n,c],[1,u]),a=a-r-l+(r?1:0)+(l?1:0)+1):0!==a&&0==e[a-1][0]?(e[a-1][1]+=e[a][1],e.splice(a,1)):a++,l=0,r=0,c="",u=""}""===e[e.length-1][1]&&e.pop();var d=!1;for(a=1;a<e.length-1;)0==e[a-1][0]&&0==e[a+1][0]&&(e[a][1].substring(e[a][1].length-e[a-1][1].length)==e[a-1][1]?(e[a][1]=e[a-1][1]+e[a][1].substring(0,e[a][1].length-e[a-1][1].length),e[a+1][1]=e[a-1][1]+e[a+1][1],e.splice(a-1,1),d=!0):e[a][1].substring(0,e[a+1][1].length)==e[a+1][1]&&(e[a-1][1]+=e[a+1][1],e[a][1]=e[a][1].substring(e[a+1][1].length)+e[a+1][1],e.splice(a+1,1),d=!0)),a++;d&&s(e)}var l=a;function c(e,t,n){for(var a=t+n-1;a>=0&&a>=t-1;a--)if(a+1<e.length){var r=e[a],i=e[a+1];r[0]===i[1]&&e.splice(a,2,[r[0],r[1]+i[1]])}return e}l.INSERT=1,l.DELETE=n,l.EQUAL=0,e.exports=l},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}(e.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function a(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=n?a:r).supported=a,t.unsupported=r},function(e,t){var n=Object.prototype.hasOwnProperty,a="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(a=!1)),o.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(a?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},o.prototype.listeners=function(e,t){var n=a?a+e:e,r=this._events[n];if(t)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,s=new Array(o);i<o;i++)s[i]=r[i].fn;return s},o.prototype.emit=function(e,t,n,r,i,o){var s=a?a+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,r),!0;case 5:return u.fn.call(u.context,t,n,r,i),!0;case 6:return u.fn.call(u.context,t,n,r,i,o),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var p,h=u.length;for(c=0;c<h;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,r);break;default:if(!l)for(p=1,l=new Array(d-1);p<d;p++)l[p-1]=arguments[p];u[c].fn.apply(u[c].context,l)}}return!0},o.prototype.on=function(e,t,n){var r=new i(t,n||this),o=a?a+e:e;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],r]:this._events[o].push(r):(this._events[o]=r,this._eventsCount++),this},o.prototype.once=function(e,t,n){var r=new i(t,n||this,!0),o=a?a+e:e;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],r]:this._events[o].push(r):(this._events[o]=r,this._eventsCount++),this},o.prototype.removeListener=function(e,t,n,i){var o=a?a+e:e;if(!this._events[o])return this;if(!t)return 0==--this._eventsCount?this._events=new r:delete this._events[o],this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||n&&s.context!==n||(0==--this._eventsCount?this._events=new r:delete this._events[o]);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||i&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[o]=1===c.length?c[0]:c:0==--this._eventsCount?this._events=new r:delete this._events[o]}return this},o.prototype.removeAllListeners=function(e){var t;return e?(t=a?a+e:e,this._events[t]&&(0==--this._eventsCount?this._events=new r:delete this._events[t])):(this._events=new r,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prototype.setMaxListeners=function(){return this},o.prefixed=a,o.EventEmitter=o,void 0!==e&&(e.exports=o)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=y(n(3)),s=y(n(2)),l=y(n(0)),c=y(n(5)),u=y(n(10)),d=y(n(9)),p=n(36),h=n(37),f=y(n(13)),v=n(26),g=n(38),m=n(39),w=n(40);function y(e){return e&&e.__esModule?e:{default:e}}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=(0,u.default)("quill:clipboard"),x="__ql-matcher",M=[[Node.TEXT_NODE,N],[Node.TEXT_NODE,B],["br",function(e,t){return z(t,"\n")||t.insert("\n"),t}],[Node.ELEMENT_NODE,B],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,H],[Node.ELEMENT_NODE,O],[Node.ELEMENT_NODE,function(e,t){var n={},a=e.style||{};return a.fontStyle&&"italic"===S(e).fontStyle&&(n.italic=!0),a.fontWeight&&(S(e).fontWeight.startsWith("bold")||parseInt(S(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=k(t,n)),parseFloat(a.textIndent||0)>0&&(t=(new s.default).insert("\t").concat(t)),t}],["li",function(e,t){var n=l.default.query(e);if(null==n||"list-item"!==n.blotName||!z(t,"\n"))return t;for(var a=-1,r=e.parentNode;!r.classList.contains("ql-clipboard");)"list"===(l.default.query(r)||{}).blotName&&(a+=1),r=r.parentNode;return a<=0?t:t.compose((new s.default).retain(t.length()-1).retain(1,{indent:a}))}],["b",j.bind(j,"bold")],["i",j.bind(j,"italic")],["style",function(){return new s.default}]],C=[p.AlignAttribute,g.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),A=[p.AlignStyle,h.BackgroundStyle,v.ColorStyle,g.DirectionStyle,m.FontStyle,w.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),P=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.quill.root.addEventListener("paste",a.onPaste.bind(a)),a.container=a.quill.addContainer("ql-clipboard"),a.container.setAttribute("contenteditable",!0),a.container.setAttribute("tabindex",-1),a.matchers=[],M.concat(a.options.matchers).forEach((function(e){var t=r(e,2),i=t[0],o=t[1];(n.matchVisual||o!==H)&&a.addMatcher(i,o)})),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"==typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[f.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,b({},f.default.blotName,t[f.default.blotName]))}var a=this.prepareMatching(),i=r(a,2),o=i[0],l=i[1],c=E(this.container,o,l);return z(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new s.default).retain(c.length()-1).delete(1))),_.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,c.default.sources.SILENT);else{var a=this.convert(t);this.quill.updateContents((new s.default).retain(e).concat(a),n),this.quill.setSelection(e+a.length(),c.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),a=(new s.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(c.default.sources.SILENT),setTimeout((function(){a=a.concat(t.convert()).delete(n.length),t.quill.updateContents(a,c.default.sources.USER),t.quill.setSelection(a.length()-n.length,c.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=r,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(a){var i=r(a,2),o=i[0],s=i[1];switch(o){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(o),(function(e){e[x]=e[x]||[],e[x].push(s)}))}})),[t,n]}}]),t}(d.default);function k(e,t,n){return"object"===(void 0===t?"undefined":a(t))?Object.keys(t).reduce((function(e,n){return k(e,n,t[n])}),e):e.reduce((function(e,a){return a.attributes&&a.attributes[t]?e.push(a):e.insert(a.insert,(0,o.default)({},b({},t,n),a.attributes))}),new s.default)}function S(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function z(e,t){for(var n="",a=e.ops.length-1;a>=0&&n.length<t.length;--a){var r=e.ops[a];if("string"!=typeof r.insert)break;n=r.insert+n}return n.slice(-1*t.length)===t}function T(e){if(0===e.childNodes.length)return!1;var t=S(e);return["block","list-item"].indexOf(t.display)>-1}function E(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new s.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(a,r){var i=E(r,t,n);return r.nodeType===e.ELEMENT_NODE&&(i=t.reduce((function(e,t){return t(r,e)}),i),i=(r[x]||[]).reduce((function(e,t){return t(r,e)}),i)),a.concat(i)}),new s.default):new s.default}function j(e,t,n){return k(n,e,!0)}function O(e,t){var n=l.default.Attributor.Attribute.keys(e),a=l.default.Attributor.Class.keys(e),r=l.default.Attributor.Style.keys(e),i={};return n.concat(a).concat(r).forEach((function(t){var n=l.default.query(t,l.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(e),i[n.attrName])||(null==(n=C[t])||n.attrName!==t&&n.keyName!==t||(i[n.attrName]=n.value(e)||void 0),null==(n=A[t])||n.attrName!==t&&n.keyName!==t||(n=A[t],i[n.attrName]=n.value(e)||void 0))})),Object.keys(i).length>0&&(t=k(t,i)),t}function L(e,t){var n=l.default.query(e);if(null==n)return t;if(n.prototype instanceof l.default.Embed){var a={},r=n.value(e);null!=r&&(a[n.blotName]=r,t=(new s.default).insert(a,n.formats(e)))}else"function"==typeof n.formats&&(t=k(t,n.blotName,n.formats(e)));return t}function B(e,t){return z(t,"\n")||(T(e)||t.length()>0&&e.nextSibling&&T(e.nextSibling))&&t.insert("\n"),t}function H(e,t){if(T(e)&&null!=e.nextElementSibling&&!z(t,"\n\n")){var n=e.offsetHeight+parseFloat(S(e).marginTop)+parseFloat(S(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function N(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!S(e.parentNode).whiteSpace.startsWith("pre")){var a=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,a.bind(a,!0)),(null==e.previousSibling&&T(e.parentNode)||null!=e.previousSibling&&T(e.previousSibling))&&(n=n.replace(/^\s+/,a.bind(a,!1))),(null==e.nextSibling&&T(e.parentNode)||null!=e.nextSibling&&T(e.nextSibling))&&(n=n.replace(/\s+$/,a.bind(a,!1)))}return t.insert(n)}P.DEFAULTS={matchers:[],matchVisual:!0},t.default=P,t.matchAttributor=O,t.matchBlot=L,t.matchNewline=B,t.matchSpacing=H,t.matchText=N},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(6);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default);c.blotName="bold",c.tagName=["STRONG","B"],t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=u(n(2)),o=u(n(0)),s=u(n(5)),l=u(n(10)),c=u(n(9));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=(0,l.default)("quill:toolbar"),h=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r,i=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(i.options.container)){var o=document.createElement("div");v(o,i.options.container),e.container.parentNode.insertBefore(o,e.container),i.container=o}else"string"==typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(e){i.addHandler(e,i.options.handlers[e])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(e){i.attach(e)})),i.quill.on(s.default.events.EDITOR_CHANGE,(function(e,t){e===s.default.events.SELECTION_CHANGE&&i.update(t)})),i.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){var e=i.quill.selection.getRange(),t=a(e,1)[0];i.update(t)})),i):(r=p.error("Container required for toolbar",i.options),d(i,r))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,n=[].find.call(e.classList,(function(e){return 0===e.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void p.warn("ignoring attaching to disabled format",n,e);if(null==o.default.query(n))return void p.warn("ignoring attaching to nonexistent format",n,e)}var r="SELECT"===e.tagName?"change":"click";e.addEventListener(r,(function(r){var l=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var c=e.options[e.selectedIndex];l=!c.hasAttribute("selected")&&(c.value||!1)}else l=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),r.preventDefault();t.quill.focus();var u=t.quill.selection.getRange(),d=a(u,1)[0];if(null!=t.handlers[n])t.handlers[n].call(t,l);else if(o.default.query(n).prototype instanceof o.default.Embed){if(!(l=prompt("Enter "+n)))return;t.quill.updateContents((new i.default).retain(d.index).delete(d.length).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,l)),s.default.sources.USER)}else t.quill.format(n,l,s.default.sources.USER);t.update(d)})),this.controls.push([n,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach((function(n){var r=a(n,2),i=r[0],o=r[1];if("SELECT"===o.tagName){var s=void 0;if(null==e)s=null;else if(null==t[i])s=o.querySelector("option[selected]");else if(!Array.isArray(t[i])){var l=t[i];"string"==typeof l&&(l=l.replace(/\"/g,'\\"')),s=o.querySelector('option[value="'+l+'"]')}null==s?(o.value="",o.selectedIndex=-1):s.selected=!0}else if(null==e)o.classList.remove("ql-active");else if(o.hasAttribute("value")){var c=t[i]===o.getAttribute("value")||null!=t[i]&&t[i].toString()===o.getAttribute("value")||null==t[i]&&!o.getAttribute("value");o.classList.toggle("ql-active",c)}else o.classList.toggle("ql-active",null!=t[i])}))}}]),t}(c.default);function f(e,t,n){var a=document.createElement("button");a.setAttribute("type","button"),a.classList.add("ql-"+t),null!=n&&(a.value=n),e.appendChild(a)}function v(e,t){Array.isArray(t[0])||(t=[t]),t.forEach((function(t){var n=document.createElement("span");n.classList.add("ql-formats"),t.forEach((function(e){if("string"==typeof e)f(n,e);else{var t=Object.keys(e)[0],a=e[t];Array.isArray(a)?function(e,t,n){var a=document.createElement("select");a.classList.add("ql-"+t),n.forEach((function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),a.appendChild(t)})),e.appendChild(a)}(n,t,a):f(n,t,a)}})),e.appendChild(n)}))}h.DEFAULTS={},h.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(t){null!=o.default.query(t,o.default.Scope.INLINE)&&e.quill.format(t,!1)}))}else this.quill.removeFormat(t,s.default.sources.USER)},direction:function(e){var t=this.quill.getFormat().align;"rtl"===e&&null==t?this.quill.format("align","right",s.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",e,s.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t),a=parseInt(n.indent||0);if("+1"===e||"-1"===e){var r="+1"===e?1:-1;"rtl"===n.direction&&(r*=-1),this.quill.format("indent",a+r,s.default.sources.USER)}},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,s.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",e,s.default.sources.USER)}}},t.default=h,t.addControls=v},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(28),s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.label.innerHTML=n,a.container.classList.add("ql-color-picker"),[].slice.call(a.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(e){e.classList.add("ql-primary")})),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"buildItem",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return n.style.backgroundColor=e.getAttribute("value")||"",n}},{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n);var a=this.label.querySelector(".ql-color-label"),r=e&&e.getAttribute("data-value")||"";a&&("line"===a.tagName?a.style.stroke=r:a.style.fill=r)}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(28),s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.container.classList.add("ql-icon-picker"),[].forEach.call(a.container.querySelectorAll(".ql-picker-item"),(function(e){e.innerHTML=n[e.getAttribute("data-value")||""]})),a.defaultItem=a.container.querySelector(".ql-selected"),a.selectItem(a.defaultItem),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function(){function e(t,n){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.boundsContainer=n||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){a.root.style.marginTop=-1*a.quill.root.scrollTop+"px"})),this.hide()}return a(e,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var a=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),i=0;if(r.right>a.right&&(i=a.right-r.right,this.root.style.left=t+i+"px"),r.left<a.left&&(i=a.left-r.left,this.root.style.left=t+i+"px"),r.bottom>a.bottom){var o=r.bottom-r.top,s=e.bottom-e.top+o;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=h(n(3)),s=h(n(8)),l=n(43),c=h(l),u=h(n(27)),d=n(15),p=h(n(41));function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],w=function(e){function t(e,n){f(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=m);var a=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.quill.container.classList.add("ql-snow"),a}return g(t,e),i(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),p.default),this.tooltip=new y(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(t,n){e.handlers.link.call(e,!n.format.link)}))}}]),t}(c.default);w.DEFAULTS=(0,o.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var n=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var y=function(e){function t(e,n){f(this,t);var a=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.preview=a.root.querySelector("a.ql-preview"),a}return g(t,e),i(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(t){e.root.classList.contains("ql-editing")?e.save():e.edit("link",e.preview.textContent),t.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(t){if(null!=e.linkRange){var n=e.linkRange;e.restoreFocus(),e.quill.formatText(n,"link",!1,s.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()})),this.quill.on(s.default.events.SELECTION_CHANGE,(function(t,n,r){if(null!=t){if(0===t.length&&r===s.default.sources.USER){var i=e.quill.scroll.descendant(u.default,t.index),o=a(i,2),l=o[0],c=o[1];if(null!=l){e.linkRange=new d.Range(t.index-c,l.length());var p=u.default.formats(l.domNode);return e.preview.textContent=p,e.preview.setAttribute("href",p),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}}))}},{key:"show",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}(l.BaseTooltip);y.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=w},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=B(n(29)),r=n(36),i=n(38),o=n(64),s=B(n(65)),l=B(n(66)),c=n(67),u=B(c),d=n(37),p=n(26),h=n(39),f=n(40),v=B(n(56)),g=B(n(68)),m=B(n(27)),w=B(n(69)),y=B(n(70)),b=B(n(71)),_=B(n(72)),x=B(n(73)),M=n(13),C=B(M),A=B(n(74)),P=B(n(75)),k=B(n(57)),S=B(n(41)),z=B(n(28)),T=B(n(59)),E=B(n(60)),j=B(n(61)),O=B(n(108)),L=B(n(62));function B(e){return e&&e.__esModule?e:{default:e}}a.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":r.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":p.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":h.FontClass,"attributors/class/size":f.SizeClass,"attributors/style/align":r.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":p.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":h.FontStyle,"attributors/style/size":f.SizeStyle},!0),a.default.register({"formats/align":r.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":o.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":p.ColorStyle,"formats/font":h.FontClass,"formats/size":f.SizeClass,"formats/blockquote":s.default,"formats/code-block":C.default,"formats/header":l.default,"formats/list":u.default,"formats/bold":v.default,"formats/code":M.Code,"formats/italic":g.default,"formats/link":m.default,"formats/script":w.default,"formats/strike":y.default,"formats/underline":b.default,"formats/image":_.default,"formats/video":x.default,"formats/list/item":c.ListItem,"modules/formula":A.default,"modules/syntax":P.default,"modules/toolbar":k.default,"themes/bubble":O.default,"themes/snow":L.default,"ui/icons":S.default,"ui/picker":z.default,"ui/icon-picker":E.default,"ui/color-picker":T.default,"ui/tooltip":j.default},!0),t.default=a.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(0),s=(a=o)&&a.__esModule?a:{default:a};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"add",value:function(e,n){if("+1"===n||"-1"===n){var a=this.value(e)||0;n="+1"===n?a+1:a-1}return 0===n?(this.remove(e),!0):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}(s.default.Attributor.Class),d=new u("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(4);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="blockquote",s.tagName="blockquote",t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=n(4);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){function t(){return o(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}(((a=i)&&a.__esModule?a:{default:a}).default);l.blotName="header",l.tagName=["H1","H2","H3","H4","H5","H6"],t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=l(n(0)),o=l(n(4)),s=l(n(25));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),a(t,[{key:"format",value:function(e,n){e!==h.blotName||n?r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n):this.replaceWith(i.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,n){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,n),this):(this.parent.unwrap(),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,n))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:r(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}(o.default);p.blotName="list-item",p.tagName="LI";var h=function(e){function t(e){c(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),a=function(t){if(t.target.parentNode===e){var a=n.statics.formats(e),r=i.default.find(t.target);"checked"===a?r.format("list","unchecked"):"unchecked"===a&&r.format("list","checked")}};return e.addEventListener("touchstart",a),e.addEventListener("mousedown",a),n}return d(t,e),a(t,null,[{key:"create",value:function(e){var n="ordered"===e?"OL":"UL",a=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);return"checked"!==e&&"unchecked"!==e||a.setAttribute("data-checked","checked"===e),a}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),a(t,[{key:"format",value:function(e,t){this.children.length>0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,n=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"insertBefore",value:function(e,n){if(e instanceof p)r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var a=null==n?this.length():n.offset(this),i=this.split(a);i.parent.insertBefore(e,i)}}},{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=i.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(s.default);h.blotName="list",h.scope=i.default.Scope.BLOCK_BLOT,h.tagName=["OL","UL"],h.defaultChild="list-item",h.allowedChildren=[p],t.ListItem=p,t.default=h},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(56);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="italic",s.tagName=["EM","I"],t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(6);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default);c.blotName="script",c.tagName=["SUB","SUP"],t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(6);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="strike",s.tagName="S",t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(6);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="underline",s.tagName="U",t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(0),s=(a=o)&&a.__esModule?a:{default:a},l=n(27);function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=["alt","height","width"],p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"format",value:function(e,n){d.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,l.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(s.default.Embed);p.blotName="image",p.tagName="IMG",t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(4),s=n(27),l=(a=s)&&a.__esModule?a:{default:a};function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=["height","width"],p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"format",value:function(e,n){d.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return l.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(o.BlockEmbed);p.blotName="video",p.className="ql-video",p.tagName="IFRAME",t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=l(n(35)),o=l(n(5)),s=l(n(9));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),a(t,null,[{key:"create",value:function(e){var n=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&(window.katex.render(e,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",e)),n}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}(i.default);p.blotName="formula",p.className="ql-formula",p.tagName="SPAN";var h=function(e){function t(){c(this,t);var e=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}return d(t,e),a(t,null,[{key:"register",value:function(){o.default.register(p,!0)}}]),t}(s.default);t.FormulaBlot=p,t.default=h},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=l(n(0)),o=l(n(5)),s=l(n(9));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),a(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((t.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(l(n(13)).default);p.className="ql-syntax";var h=new i.default.Attributor.Class("token","hljs",{scope:i.default.Scope.INLINE}),f=function(e){function t(e,n){c(this,t);var a=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!=typeof a.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return a.quill.on(o.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){a.highlight(),r=null}),a.options.interval)})),a.highlight(),a}return d(t,e),a(t,null,[{key:"register",value:function(){o.default.register(h,!0),o.default.register(p,!0)}}]),a(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(o.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(p).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(o.default.sources.SILENT),null!=t&&this.quill.setSelection(t,o.default.sources.SILENT)}}}]),t}(s.default);f.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=p,t.CodeToken=h,t.default=f},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var a=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=d(n(3)),o=d(n(8)),s=n(43),l=d(s),c=n(15),u=d(n(41));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=function(e){function t(e,n){p(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var a=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.quill.container.classList.add("ql-bubble"),a}return f(t,e),r(t,[{key:"extendToolbar",value:function(e){this.tooltip=new m(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),u.default)}}]),t}(l.default);g.DEFAULTS=(0,i.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var m=function(e){function t(e,n){p(this,t);var a=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.quill.on(o.default.events.EDITOR_CHANGE,(function(e,t,n,r){if(e===o.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&r===o.default.sources.USER){a.show(),a.root.style.left="0px",a.root.style.width="",a.root.style.width=a.root.offsetWidth+"px";var i=a.quill.getLines(t.index,t.length);if(1===i.length)a.position(a.quill.getBounds(t));else{var s=i[i.length-1],l=a.quill.getIndex(s),u=Math.min(s.length()-1,t.index+t.length-l),d=a.quill.getBounds(new c.Range(l,u));a.position(d)}}else document.activeElement!==a.textbox&&a.quill.hasFocus()&&a.hide()})),a}return f(t,e),r(t,[{key:"listen",value:function(){var e=this;a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(o.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),t}(s.BaseTooltip);m.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=m,t.default=g},function(e,t,n){e.exports=n(63)}]).default},e.exports=n()})),zd=io((function(e,t){var n;e.exports=(n=Sd,function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=2)}([function(e,t){e.exports=n},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n(4),r=n.n(a),i=n(6),o=n(5)(r.a,i.a,!1,null,null,null);t.default=o.exports},function(e,t,n){function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.install=t.quillEditor=t.Quill=void 0;var r=a(n(0)),i=a(n(1)),o=window.Quill||r.default,s=function(e,t){t&&(i.default.props.globalOptions.default=function(){return t}),e.component(i.default.name,i.default)},l={Quill:o,quillEditor:i.default,install:s};t.default=l,t.Quill=o,t.quillEditor=i.default,t.install=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert text here ...",readOnly:!1}},function(e,t,n){function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(0)),i=a(n(3)),o=window.Quill||r.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),a=1;a<arguments.length;a++){var r=arguments[a];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])}return n},writable:!0,configurable:!0}),t.default={name:"quill-editor",data:function(){return{_options:{},_content:"",defaultOptions:i.default}},props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},mounted:function(){this.initialize()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initialize:function(){var e=this;this.$el&&(this._options=Object.assign({},this.defaultOptions,this.globalOptions,this.options),this.quill=new o(this.$refs.editor,this._options),this.quill.enable(!1),(this.value||this.content)&&this.quill.pasteHTML(this.value||this.content),this.disabled||this.quill.enable(!0),this.quill.on("selection-change",(function(t){t?e.$emit("focus",e.quill):e.$emit("blur",e.quill)})),this.quill.on("text-change",(function(t,n,a){var r=e.$refs.editor.children[0].innerHTML,i=e.quill,o=e.quill.getText();"<p><br></p>"===r&&(r=""),e._content=r,e.$emit("input",e._content),e.$emit("change",{html:r,text:o,quill:i})})),this.$emit("ready",this.quill))}},watch:{content:function(e,t){this.quill&&(e&&e!==this._content?(this._content=e,this.quill.pasteHTML(e)):e||this.quill.setText(""))},value:function(e,t){this.quill&&(e&&e!==this._content?(this._content=e,this.quill.pasteHTML(e)):e||this.quill.setText(""))},disabled:function(e,t){this.quill&&this.quill.enable(!e)}}}},function(e,t){e.exports=function(e,t,n,a,r,i){var o,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(o=e,s=e.default);var c,u="function"==typeof s?s.options:s;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=c):a&&(c=a),c){var d=u.functional,p=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(e,t){return c.call(t),p(e,t)}):u.beforeCreate=p?[].concat(p,c):[c]}return{esModule:o,exports:s,options:u}}},function(e,t,n){var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"quill-editor"},[e._t("toolbar"),e._v(" "),n("div",{ref:"editor"})],2)},r={render:a,staticRenderFns:[]};t.a=r}]))})),Td={name:"PInput",components:{PFieldResizer:kd,PSpinner:_d,PIcon:k,quillEditor:zd.quillEditor},props:{id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},value:{type:[String,Number,Object,Array,Boolean,FileList],default:null},type:r({type:String},P("type",["text","email","number","password","search","tel","url","date","datetime-local","month","time","week","currency","file"])),align:{type:String},placeholder:{type:String},multiline:{type:[Boolean,Number]},richEditor:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},showInput:{type:Boolean,default:!0},clearable:{type:Boolean},showCharacterCount:{type:Boolean},prefixClass:{type:String},autoFocus:{type:Boolean},autoComplete:{type:Boolean},labelClass:{type:String},inputClass:{type:String},suffix:{type:String},prefix:{type:String},name:{type:String},hasError:{type:Boolean},maxLength:{type:[String,Number]},minLength:{type:[String,Number]},step:{type:Number},minHeight:{type:Number,default:0},min:{type:[String,Number]},max:{type:[String,Number]},describedBy:{type:String},multiple:{type:Boolean},accept:{type:String},label:{type:String},floatingLabel:{type:Boolean}},data:function(){return{content:null!==this.value?this.value:"",height:this.minHeight,editorConfig:{modules:{toolbar:[[{header:[1,2,3,4,5,6,!1]},"blockquote"],["bold","italic","underline",{color:[]},{background:[]}],[{align:[]}],["link","image","video"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},"clean"]],syntax:{highlight:function(e){return e}}}},characterCountLabel:this.maxLength||"characterCountLabel",characterCount:this.value&&this.value.length}},computed:{className:function(){return g("Polaris-TextField",Boolean(this.content)&&"Polaris-TextField--hasValue",this.disabled&&"Polaris-TextField--disabled",this.readOnly&&"Polaris-TextField--readOnly",this.hasError&&"Polaris-TextField--error")},inputClassName:function(){return g(this.floatingLabel?"Polaris-FloatingLabels__Input":"Polaris-TextField__Input",this.inputClass,this.align&&"Polaris-TextField__Input Polaris-TextField__Input--align".concat(this.textAlign),this.floatingLabel&&this.multiline&&"Polaris-FloatingLabel__TextArea",this.floatingLabel&&this.showPrefix&&"Polaris-FloatingLabels__Input--prefix",this.floatingLabel&&this.showSuffix&&"Polaris-FloatingLabels__Input--suffix",(this.showCharacterCount||"number"===this.type)&&"Polaris-FloatingLabels__Input--number",this.floatingLabel&&this.hasError&&"Polaris-FloatingLabels__Input--error")},characterCountClassName:function(){return g("Polaris-TextField__CharacterCount",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},clearButtonClassName:function(){return g("Polaris-TextField__ClearButton",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},floatingLabelClassName:function(){return g("Polaris-Floating--label","Polaris-Floating--label--visible",this.showPrefix&&"Polaris-Floating--label__prefix",this.showSuffix&&"Polaris-Floating--label__suffix")},characterCountText:function(){return this.maxLength?"".concat(this.characterCount,"/").concat(this.maxLength):this.characterCount},inputType:function(){return"currency"===this.type?"text":this.type},showPrefix:function(){return this.prefix||this.$slots.prefix},showSuffix:function(){return this.suffix||this.$slots.suffix},textAlign:function(){return this.align.replace(/^_*(.)|_+(.)/g,(function(e,t,n){return t?t.toUpperCase():" "+n.toUpperCase()}))},labelledBy:function(){var e=[this.id+"Label"];return this.showPrefix&&e.push(this.id+"Prefix"),this.showSuffix&&e.push(this.id+"Suffix"),e.join(" ")},computedHeight:{get:function(){return this.height},set:function(e){this.height=e}},computedValue:{get:function(){return"number"===this.type?Number(this.content):this.content},set:function(e){"number"===this.type?this.content=Number(e):this.content=e,this.$emit("input","number"===this.type?Number(e):e)}},computedStyle:function(){return{height:this.multiline&&this.computedHeight?this.computedHeight+"px":null,overflow:this.multiline&&this.computedHeight?"hidden":null}},computedPlaceholder:function(){return this.floatingLabel?"Enter input":this.placeholder}},methods:{onInput:function(e){"file"!==this.type?e.target&&(this.computedValue=e.target.value):this.computedValue=e.target.files},onClear:function(e){this.computedValue=void 0},handleNumberChange:function(e){var t=this.computedValue?parseFloat(this.computedValue):0,n=function(e){return(e.toString().split(".")[1]||[]).length};if(!isNaN(t)&&!this.disabled){var a=this.min||-1/0,r=this.max||1/0,i=this.step||1,o=Math.max(n(t),n(i)),s=Math.min(Number(r),Math.max(t+e*i,Number(a)));isNaN(s)||(this.computedValue=s.toFixed(o))}},handleExpandingResize:function(e){this.computedHeight=e<this.minHeight?this.minHeight:e},normalizeAutoComplete:function(e){return!0===e?"on":!1===e?"off":e}},watch:{value:function(e,t){this.content=e,this.characterCount=e?e.length:0}}},Ed=Td,jd=function(e){e&&e("data-v-1f41cf22_0",{source:'.ql-container.ql-snow{background:#fff}.ql-toolbar.ql-snow{background:#fafafa;padding:5px}.quill-editor.editor{width:100%}.ql-snow .ql-picker{font-weight:400}.ql-toolbar.ql-snow>.ql-formats:not(:first-child):before{content:"";height:calc(100% + 4px);width:1px;background:#c4c4c4;position:absolute;display:block;top:-2px;left:-10px}.ql-toolbar.ql-snow .ql-formats{position:relative;margin-right:10px;margin-left:10px}',map:void 0,media:void 0})},Od=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showInput,expression:"showInput"}],class:e.className},[e.showPrefix?n("div",{staticClass:"Polaris-TextField__Prefix",attrs:{id:e.id+"Prefix"}},[e._v("\n "+e._s(e.prefix)+"\n "),e.$slots.prefix?e._t("prefix"):e._e()],2):e._e(),e._v(" "),n("div",{staticStyle:{width:"100%"}},[e.richEditor?n("quill-editor",{ref:"myTextEditor",staticClass:"editor",attrs:{id:e.id,options:e.editorConfig,disabled:e.disabled,readonly:e.readOnly,autofocus:e.autoFocus,placeholder:e.computedPlaceholder,autocomplete:e.normalizeAutoComplete(e.autoComplete),"aria-describedby":e.describedBy,"aria-labelledby":e.labelledBy,"aria-invalid":e.hasError},on:{input:e.onInput},model:{value:e.computedValue,callback:function(t){e.computedValue=t},expression:"computedValue"}}):e.multiline?n("textarea",{class:e.inputClassName,style:e.computedStyle,attrs:{name:e.name,id:e.id,disabled:e.disabled,readonly:e.readOnly,autofocus:e.autoFocus,minlength:e.minLength,maxlength:e.maxLength,placeholder:e.computedPlaceholder,autocomplete:e.normalizeAutoComplete(e.autoComplete),"aria-describedby":e.describedBy,"aria-labelledby":e.labelledBy,"aria-invalid":e.hasError},domProps:{value:e.computedValue,textContent:e._s(e.multiline?e.computedValue:"")},on:{input:e.onInput}}):"file"===e.type?n("input",{ref:"input",class:e.inputClassName,attrs:{name:e.name,id:e.id,disabled:e.disabled,readonly:e.readOnly,type:"file",multiple:e.multiple,accept:e.accept,"aria-describedby":e.describedBy,"aria-labelledby":e.labelledBy,"aria-invalid":e.hasError},on:{change:e.onInput}}):n("input",{ref:"input",class:e.inputClassName,attrs:{name:e.name,id:e.id,disabled:e.disabled,readonly:e.readOnly,autofocus:e.autoFocus,placeholder:e.computedPlaceholder,autocomplete:e.normalizeAutoComplete(e.autoComplete),min:e.min,max:e.max,step:e.step,minlength:e.minLength,maxlength:e.maxLength,type:e.inputType,"aria-describedby":e.describedBy,"aria-labelledby":e.labelledBy,"aria-invalid":e.hasError},domProps:{value:e.computedValue},on:{input:e.onInput}}),e._v(" "),e.floatingLabel&&!e.richEditor&&"file"!==e.type?n("label",{class:e.floatingLabelClassName,attrs:{for:e.id}},[e._t("label",(function(){return[e._v("\n "+e._s(e.label)+"\n ")]}))],2):e._e(),e._v(" "),e.richEditor?e._e():n("div",{staticClass:"Polaris-TextField__Backdrop"})],1),e._v(" "),e.showSuffix?n("div",{staticClass:"Polaris-TextField__Suffix",attrs:{id:e.id+"Suffix"}},[e._v("\n "+e._s(e.suffix)+"\n "),e.$slots.suffix?e._t("suffix"):e._e()],2):e._e(),e._v(" "),e.showCharacterCount?n("div",{class:e.characterCountClassName,attrs:{id:"CharacterCounter","aria-label":e.characterCountLabel}},[e._v("\n "+e._s(e.characterCountText)+"\n ")]):e._e(),e._v(" "),e.computedValue&&e.clearable?n("button",{class:e.clearButtonClassName,attrs:{type:"button"},on:{click:e.onClear}},[n("span",{staticClass:"Polaris-VisuallyHidden"},[e._v("Clear")]),e._v(" "),n("PIcon",{attrs:{source:"CircleCancelMinor",color:"base"}})],1):e._e(),e._v(" "),"number"===e.type?n("PSpinner",{on:{change:e.handleNumberChange}}):e._e(),e._v(" "),e.multiline?n("PFieldResizer",{attrs:{contents:e.value||e.placeholder,"current-height":e.computedHeight,"minimum-lines":"number"==typeof e.multiline?e.multiline:1},on:{heightchange:e.handleExpandingResize}}):e._e()],1)},staticRenderFns:[]},jd,Ed,undefined,false,undefined,!1,Pc,void 0,void 0),Ld=Od,Bd={name:"PConnectedItem",props:{position:r({type:String},P("position",["Left","Primary","Right"])),children:{type:String},focused:{type:Boolean}},computed:{className:function(){return g("Polaris-Connected__Item",this.focused&&"Polaris-Connected__Item--focused","Primary"===this.position&&"Polaris-Connected__Item--primary","Primary"!==this.position&&"Polaris-Connected__Item--connection")}}},Hd=Bd,Nd=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.className,on:{blur:function(t){e.focused=!1},focus:function(t){e.focused=!0}}},[e.$slots.children?e._e():e._t("default",(function(){return[e._v(e._s(e.children))]})),e._v(" "),e._t("children")],2)},staticRenderFns:[]},undefined,Hd,undefined,false,undefined,!1,void 0,void 0,void 0),Rd=Nd,Vd={name:"PConnected",components:{PConnectedItem:Rd},props:{left:{type:String},right:{type:String},children:{type:String}}},Id=Vd,Dd=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Polaris-Connected"},[e.$slots.left||e.left?n("PConnectedItem",{attrs:{position:"Left"}},[e._t("left",(function(){return[e._v(e._s(e.left))]}))],2):e._e(),e._v(" "),n("PConnectedItem",{attrs:{position:"Primary"}},[e.$slots.children?e._e():e._t("default",(function(){return[e._v("\n "+e._s(e.children)+"\n ")]})),e._v(" "),e._t("children")],2),e._v(" "),e.$slots.right||e.right?n("PConnectedItem",{attrs:{position:"Right"}},[e._t("right",(function(){return[e._v(e._s(e.right))]}))],2):e._e()],1)},staticRenderFns:[]},undefined,Id,undefined,false,undefined,!1,void 0,void 0,void 0),Fd=Dd,qd={name:"PFieldError",components:{PIcon:k},props:{error:{type:String,default:null}}},$d=qd,Ud=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Polaris-Labelled__Error"},[n("div",{staticClass:"Polaris-InlineError",attrs:{id:"PolarisTextField6Error"}},[n("div",{staticClass:"Polaris-InlineError__Icon"},[n("PIcon",{attrs:{source:"AlertMinor"}})],1),e._v("\n "+e._s(e.error)+"\n ")])])},staticRenderFns:[]},undefined,$d,"data-v-4535eab1",false,undefined,!1,void 0,void 0,void 0),Gd=Ud,Wd={name:"PTextField",components:{PInput:Ld,PConnected:Fd,PFieldError:Gd},props:{label:{type:String,default:null},id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},labelClass:{type:String,default:null},helpText:{type:String,default:null},connectedLeft:{type:String,default:null},connectedRight:{type:String,default:null},connected:{type:Boolean,default:!1},error:{type:String,default:null},labelHidden:{type:Boolean,default:!1},emptyLabel:{type:Boolean,default:!1},richEditor:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},accept:{type:String,default:null},type:{type:String},floatingLabel:{type:Boolean,default:!1},readOnly:{type:Boolean}},computed:{className:function(){return g(this.computedLabelHidden&&"Polaris-Labelled--hidden",this.floatingLabel&&!this.richEditor&&"file"!==this.type&&"Polaris-Floating")},labelClassName:function(){return g(!this.floatingLabel&&"Polaris-Labelled__LabelWrapper")},computedLabelHidden:function(){return this.floatingLabel||this.labelHidden}},methods:{handleInput:function(e){this.$emit("input",e)}}},Zd=Wd,Yd=function(e){e&&e("data-v-0b34995c_0",{source:".ck.ck-editor{position:relative;width:100%}",map:void 0,media:void 0})},Kd=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.className},[!e.floatingLabel&&(e.label||e.emptyLabel||e.$slots.hasOwnProperty("label"))?n("div",{staticClass:"Polaris-Labelled__LabelWrapper",class:e.labelClass},[e._t("label",(function(){return[n("div",{staticClass:"Polaris-Label"},[n("label",{staticClass:"Polaris-Label__Text",attrs:{id:e.id+"Label",for:e.id},domProps:{innerHTML:e._s(e.emptyLabel?" ":e.label)}})])]}))],2):e._e(),e._v(" "),e.connected?n("PConnected",[e.$slots.hasOwnProperty("connectedLeft")?n("template",{slot:"left"},[e._t("connectedLeft",(function(){return[e._v(e._s(e.connectedLeft))]}))],2):e._e(),e._v(" "),e.$slots.hasOwnProperty("connectedRight")?n("template",{slot:"right"},[e._t("connectedRight",(function(){return[e._v(e._s(e.connectedRight))]}))],2):e._e(),e._v(" "),n("PInput",e._g(e._b({attrs:{hasError:!!e.error,id:e.id}},"PInput",[e.$attrs,e.$props],!1),e.$listeners),[e._t("prefix",null,{slot:"prefix"}),e._v(" "),e._t("suffix",null,{slot:"suffix"})],2)],2):n("PInput",e._g(e._b({attrs:{hasError:!!e.error,id:e.id,floatingLabel:e.floatingLabel,label:e.label}},"PInput",[e.$attrs,e.$props],!1),e.$listeners),[e._t("prefix",null,{slot:"prefix"}),e._v(" "),e._t("label",null,{slot:"label"}),e._v(" "),e._t("suffix",null,{slot:"suffix"})],2),e._v(" "),e.helpText?n("div",{staticClass:"Polaris-Labelled__HelpText"},[e._v(e._s(e.helpText))]):e._e(),e._v(" "),e._t("error",(function(){return[e.error?n("PFieldError",{attrs:{error:e.error}}):e._e()]}))],2)},staticRenderFns:[]},Yd,Zd,undefined,false,undefined,!1,Pc,void 0,void 0),Xd=Kd,Qd={value:{type:[String,Number],required:!0},key:{type:[String,Number],required:!0}},Jd={name:"PTag",components:{PIcon:k},props:{tag:r({type:Object,default:function(){return{}}},D("tag",Qd)),removable:{type:Boolean,default:!1},size:r({type:String,default:"medium"},P("size",["small","medium",null,""]))},computed:{className:function(){return g("Polaris-Tag",this.removable&&"Polaris-Tag--removable","small"===this.size&&"Polaris-Tag--small")}},methods:{handleRemove:function(){this.$emit("remove-tag",this.tag.key)}}},ep=Jd,tp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{class:e.className},[n("span",{staticClass:"Polaris-Tag__TagText",attrs:{title:e.tag.value}},[e._v(e._s(e.tag.value))]),e._v(" "),e.removable?n("button",{staticClass:"Polaris-Tag__Button",attrs:{type:"button","aria-label":"Remove "+e.tag.value},on:{click:e.handleRemove}},[n("PIcon",{attrs:{source:"CancelSmallMinor"}})],1):e._e()])},staticRenderFns:[]},undefined,ep,undefined,false,undefined,!1,void 0,void 0,void 0),np=tp,ap={name:"PFilterItem"},rp=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Item"},[e._t("default")],2)},staticRenderFns:[]},undefined,ap,undefined,false,undefined,!1,void 0,void 0,void 0),ip=rp,op={name:"PFilterItemWrapper",props:{position:{type:String}},computed:{className:function(){return g("center"===this.position&&"Polaris-Filters-ConnectedFilterControl__CenterContainer","right"===this.position&&"Polaris-Filters-ConnectedFilterControl__RightContainer")}},render:function(e){return e("div",{class:this.className},tt.wrapNodesWithComponent(e,this.$slots.default,ip))}},sp=op,lp=w({},undefined,sp,undefined,undefined,undefined,!1,void 0,void 0,void 0),cp=lp,up={singular:{type:String,required:!0},plural:{type:String,required:!0}},dp={key:{type:String,required:!0},label:{type:String,required:!0},filter:{type:String,required:!0},shortcut:Boolean,disabled:Boolean,hideClearButton:Boolean},pp={name:"PFilter",components:{PTextField:Xd,PIcon:k,PTag:np,PFilterItemWrapper:cp},props:{resourceName:r({type:Object,default:function(){return{}}},D("resourceName",up)),resourceTitle:{type:String,default:null},inputFilter:{type:String,default:null},appliedFilters:{type:Array,default:function(){return[]}},queryValue:{type:String,default:null},queryPlaceholder:{type:String,default:null},focused:{type:Boolean,default:!1},filters:r({type:Array,default:function(){return[]}},R("filters",dp)),disabled:{type:Boolean,default:!1},helpText:{type:String,default:null},hideTags:{type:Boolean,default:!1},hideQueryField:{type:Boolean,default:!1}},data:function(){return{appliedFiltersCount:this.appliedFilters?this.appliedFilters.length:0}},computed:{prefix:function(){return this.resourceName.plural?"".concat(this.resourceName.plural.toLowerCase()):this.resourceName.plural},resource:function(){var e=this.resourceName;return e.plural?"Filter "+e.plural.toLowerCase():e.singular?"Filter "+e.singular.toLowerCase():""}},methods:{handleQueryChange:function(e){this.$emit("queryChange",e)},handleQueryClear:function(){this.$emit("queryClear")},handleQueryClearAll:function(){this.$emit("queryClearAll")},handleQueryBlur:function(){this.$emit("queryBlur")},handleQueryFocus:function(){this.$emit("queryFocus")}},mounted:function(){null!=this.resourceTitle&&console.error("Deprecation Notice: `resourceTitle` will be removed in version 4.0.0, use `resourceName` instead."),null!=this.inputFilter&&console.error("Deprecation Notice: `inputFilter` will be removed in version 4.0.0, use `queryValue` instead.")}},hp=pp,fp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"Polaris-Filters"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Wrapper"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl Polaris-Filters-ConnectedFilterControl--right"},[e.hideQueryField?e._e():n("PFilterItemWrapper",{attrs:{position:"center"}},[n("PTextField",e._g({attrs:{id:"Polaris-Input-Filter",connected:"",labelHidden:"",showPrefix:"",showClearButton:"",placeholder:e.queryPlaceholder||e.resourceTitle||e.resource,value:e.queryValue||e.inputFilter,autoFocus:e.focused,label:e.queryPlaceholder||e.resourceTitle||e.resource,clearable:"",disabled:e.disabled},on:{input:e.handleQueryChange,blur:e.handleQueryBlur,focus:e.handleQueryFocus}},e.$listeners),[n("PIcon",{attrs:{slot:"prefix",source:"SearchMinor"},slot:"prefix"})],1)],1),e._v(" "),e.$slots.hasOwnProperty("default")?n("PFilterItemWrapper",{attrs:{position:"right"}},[e._t("default")],2):e._e()],1),e._v(" "),n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__AuxiliaryContainer"},[e._t("auxiliaryContainer")],2)]),e._v(" "),e.hideTags?e._e():n("div",{staticClass:"Polaris-Filters__TagsContainer"},e._l(e.appliedFilters,(function(t,a){return n("PTag",e._g({key:a,attrs:{removable:"",tag:t}},e.$listeners))})),1)])])},staticRenderFns:[]},undefined,hp,undefined,false,undefined,!1,void 0,void 0,void 0),vp=fp,gp={name:"PCardHeader",components:{PStack:Nu,PStackItem:Ou,PHeading:ae,PButtonGroup:at,PButton:ne,PLink:nd},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},actions:{type:[Array,String],default:null}}},mp=gp,wp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Polaris-Card__Header"},[n("PStack",{attrs:{alignment:"baseline"}},[n("PStackItem",{attrs:{fill:""}},[e._t("title",(function(){return[n("PHeading",[e._v(e._s(e.title))])]}))],2),e._v(" "),n("PStackItem",[e.actions?n("PButtonGroup",{attrs:{connectedTop:""}},e._l(e.actions,(function(t,a){return n(t.to?"PLink":"PButton",e._g({key:a,tag:"component",attrs:{plain:"",href:t.url?t.url:null,to:t.to?t.to:null}},t.onAction?{click:t.onAction}:{}),[e._v("\n "+e._s(t.content)+"\n ")])})),1):e._e()],1),e._v(" "),e.$slots.hasOwnProperty("children")?n("PStackItem",[e._t("children")],2):e._e()],1),e._v(" "),n("PStack",[n("PStackItem",[n("span",{staticClass:"Polaris-Card__TagLine"},[[e._t("short_description",(function(){return[e._v("\n "+e._s(e.shortDescription)+"\n ")]}))]],2)])],1)],1)},staticRenderFns:[]},undefined,mp,undefined,false,undefined,!1,void 0,void 0,void 0),yp=wp,bp={name:"PSubheading",props:{element:r({type:String,default:"h3"},P("element",["h1","h2","h3","h4","h5","h6","p"]))},computed:{className:function(){return"Polaris-Subheading"}}},_p=bp,xp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.className},[e.title||e.$slots.hasOwnProperty("title")?n("div",{staticClass:"Polaris-Card__SectionHeader"},[e._t("title",(function(){return[n("PSubheading",e._b({},"PSubheading",e.$attrs,!1),[e._v("\n "+e._s(e.title)+"\n ")])]}))],2):e._e(),e._v(" "),e._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardSection",components:{PSubheading:w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.element,{tag:"component",class:e.className},[e._t("default")],2)},staticRenderFns:[]},undefined,_p,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{title:{type:String},subdued:{type:Boolean},fullWidth:{type:Boolean}},computed:{className:function(){return g("Polaris-Card__Section",this.subdued&&"Polaris-Card__Section--subdued",this.fullWidth&&"Polaris-Card__Section--fullWidth")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Mp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.className},[e.$slots.hasOwnProperty("title")||e.title||e.$slots.hasOwnProperty("short_description")||e.shortDescription?[n("PCardHeader",{attrs:{actions:e.actions}},[e.$slots.hasOwnProperty("title")||e.title?e._t("title",(function(){return[n("PHeading",[e._v(e._s(e.title))])]}),{slot:"title"}):e._e(),e._v(" "),e.$slots.hasOwnProperty("short_description")||e.shortDescription?e._t("short_description",(function(){return[n("PCaption",[e._v(e._s(e.shortDescription))])]}),{slot:"short_description"}):e._e(),e._v(" "),e.$slots.hasOwnProperty("children")?n("template",{slot:"children"},[e._t("children")],2):e._e()],2)]:e._e(),e._v(" "),e.$slots.hasOwnProperty("default")?[e.sectioned?[n("PCardSection",[e._t("default")],2)]:[e._t("default")]]:n("div",[e._t("default")],2),e._v(" "),e.$slots.hasOwnProperty("footer")?[n("PCardFooter",[e._t("footer")],2)]:e._e()],2)},staticRenderFns:[]},undefined,{name:"PCard",components:{PCardFooter:w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"Polaris-Card__Footer"},[e._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardFooter"},undefined,false,undefined,!1,void 0,void 0,void 0),PCardHeader:yp,PCardSection:xp,PHeading:ae,PCaption:w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("p",{staticClass:"Polaris-Caption",attrs:{id:e.id}},[e._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCaption",props:{id:{type:[String,Number],default:null}}},undefined,false,undefined,!1,void 0,void 0,void 0),PButtonGroup:at,PLink:nd},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},subdued:{type:Boolean,default:!1},sectioned:{type:Boolean,default:!1},actions:{type:[Array,String],default:null}},computed:{className:function(){return g("Polaris-Card",this.subdued&&"Polaris-Card__Section--subdued")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Cp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PCard",[n("PCardSection",[n("div",{class:e.className},[n("div",{staticClass:"Polaris-EmptyState__Section"},[n("div",{staticClass:"Polaris-EmptyState__DetailsContainer"},[n("div",{staticClass:"Polaris-EmptyState__Details"},[n("PTextContainer",[n("PDisplayText",{attrs:{size:"small"}},[e._t("heading",(function(){return[e._v("\n "+e._s(e.heading)+"\n ")]}))],2),e._v(" "),n("div",{staticClass:"Polaris-EmptyState__Content"},[e._t("default")],2)],1),e._v(" "),e.hasAction?n("div",{staticClass:"Polaris-EmptyState__Actions"},[e._t("actions",(function(){return[n("PStack",{attrs:{spacing:"tight",distribution:"center",alignment:"center"}},[Object.keys(e.primaryAction).length>0?n("PStackItem",[n("PButton",{attrs:{primary:""},on:{click:function(t){return e.primaryAction.onAction()}}},[e._v(e._s(e.primaryAction.content))])],1):e._e(),e._v(" "),Object.keys(e.secondaryAction).length>0?n("PStackItem",[n("PButton",{on:{click:function(t){return e.secondaryAction.onAction()}}},[e._v(e._s(e.secondaryAction.content))])],1):e._e()],1)]}))],2):e._e(),e._v(" "),n("div",{staticClass:"Polaris-EmptyState__FooterContent"},[e._t("footer")],2)],1)]),e._v(" "),n("div",{staticClass:"Polaris-EmptyState__ImageContainer"},[e._t("image",(function(){return[n("PImage",{staticClass:"Polaris-EmptyState__Image",attrs:{source:e.image}})]}))],2)])])])],1)},staticRenderFns:[]},undefined,{name:"PEmptyState",components:{PImage:ou,PCard:Mp,PCardSection:xp,PTextContainer:Uu,PDisplayText:nu,PStack:Nu,PStackItem:Ou,PButton:ne},props:{heading:{type:String,default:null},fullWidth:{type:Boolean,default:!1},imageContained:{type:Boolean,default:!1},image:{type:String,default:null},primaryAction:r({type:Object,default:function(){return{}}},D("primaryAction",r(r({},$),U))),secondaryAction:r({type:Object,default:function(){return{}}},D("secondaryAction",X))},computed:{className:function(){return g("Polaris-EmptyState","Polaris-EmptyState--withinContentContainer",this.fullWidth&&"Polaris-EmptyState--fullWidth",this.imageContained&&"Polaris-EmptyState--imageContained")},hasAction:function(){return this.primaryAction||this.secondaryAction}},methods:{styleClass:function(e){if("string"==typeof e){var t=["one","two","three","four","five","six"];return e?t[e.charCodeAt(0)%t.length]:t[0]}}}},undefined,false,undefined,!1,void 0,void 0,void 0),Ap={content:{type:String,required:!0},value:{type:String,required:!0},type:{type:String,required:!0},sortable:Boolean,width:String},Pp={singular:{type:String,required:!0},plural:{type:String,required:!0}},kp=["ascending","descending","none"],Sp={value:{type:String,required:!0},direction:{type:String,required:!0,expectedValues:kp}},zp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.$slots.hasOwnProperty("filter")||e.hasFilter?n("PFilter",e._b({attrs:{resourceName:e.resource},on:{"remove-tag":e.onRemoveFilter,input:e.onFilterInputChanged}},"PFilter",e.$attrs,!1),[e.$slots.hasOwnProperty("filter")?e._t("filter"):e._e(),e._v(" "),n("template",{slot:"auxiliaryContainer"},[e._t("auxiliaryContainer")],2)],2):e._e(),e._v(" "),e.rows.length>0||e.$slots.hasOwnProperty("body")?n("div",{staticClass:"Polaris-DataTable"},[n("div",{staticClass:"Polaris-DataTable__ScrollContainer"},[n("table",{staticClass:"Polaris-DataTable__Table"},[n("thead",{ref:"thead"},[e._t("head",(function(){return[[n("tr",[e._l(e.headings,(function(t,a){return n("PDataTableCellNew",{key:"heading-cell-"+a,attrs:{header:"",content:t.content,value:t.value,width:t.width,sort:e.sort,sortable:t.sortable,"default-sort-direction":e.defaultSortDirection,"content-type":t.type?t.type:e.columnContentTypes[a],"first-column":0===a,truncate:e.truncate,verticalAlign:e.verticalAlign},on:{"sort-changed":e.handleSortChange}})})),e._v(" "),e.hasActions?n("PDataTableCell",{attrs:{header:"",content:"Actions",sortable:!1,contentType:"text",firstColumn:!1,truncate:!1,verticalAlign:e.verticalAlign}}):e._e()],2),e._v(" "),e.showTotalsInFooter?e._e():n("tr",[e._l(e.totals,(function(t,a){return n("PDataTableCellNew",{key:"total-cell-"+a,attrs:{total:"",value:0===a?e.totalsRowHeading:t,"content-type":""!==t&&a>0?"numeric":e.columnContentTypes[a],"first-column":0===a,truncate:e.truncate,"vertical-align":e.verticalAlign,sortable:!1}})})),e._v(" "),e.totals.length&&e.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:e.showTotalsInFooter,verticalAlign:e.verticalAlign}}):e._e()],2)]]}))],2),e._v(" "),e._t("tbody",(function(){return[n("tbody",{ref:"tbody"},[e.loading?[n("tr",{staticClass:"Polaris-ResourceList__SpinnerContainer",style:{"padding-top":e.topPadding+"px"}},[n("PSpinner",{attrs:{size:!e.$slots.hasOwnProperty("body")&&e.rows.length<2?"small":"large"}})],1),e._v(" "),n("tr",{staticClass:"Polaris-ResourceList__LoadingOverlay"})]:e._e(),e._v(" "),e._t("body",(function(){return[e.hasOldRows?e._l(e.rows,(function(t,a){return n("tr",{key:"row-"+a,staticClass:"Polaris-DataTable__TableRow"},[e._l(t,(function(t,r){return n("PDataTableCell",{key:"cell-"+r+"-row-"+a,attrs:{content:"object"!==i(t)?t:t.content,action:t.url||t.to||t.onAction?t:null,toggle:"boolean"==typeof t.status&&t.onAction?t:null,badge:"object"!==i(t)||t.url||t.to||t.onAction?null:t,contentType:e.headings[r].type?e.headings[r].type:e.columnContentTypes[r],firstColumn:0===r,truncate:e.truncate,verticalAlign:e.verticalAlign}})})),e._v(" "),e.hasActions?n("PDataTableCell",{attrs:{actions:e.actions,value:e.ids[a],verticalAlign:e.verticalAlign}}):e._e()],2)})):[e._l(e.rows,(function(t){return[e._t("item",(function(){return[n("tr",{staticClass:"Polaris-DataTable__TableRow"},[e._l(e.headings,(function(a,r){return[n("PDataTableCellNew",{attrs:{value:t[a.value],"header-value":a.value,"first-column":0===r,"content-type":e.headings[r].type?e.headings[r].type:e.columnContentTypes[r],truncate:e.truncate,"vertical-align":e.verticalAlign,sortable:!1},scopedSlots:e._u([{key:"item."+a.value,fn:function(n){return[e._t("item."+a.value,null,{item:t})]}}],null,!0)})]}))],2)]}),{item:t})]}))]]}))],2)]})),e._v(" "),e.showTotalsInFooter?n("tfoot",[n("tr",[e._l(e.totals,(function(t,a){return n("PDataTableCellNew",{key:"total-cell-"+a,attrs:{total:"","total-in-footer":e.showTotalsInFooter,value:0===a?e.totalsRowHeading:t,"content-type":""!==t&&a>0?"numeric":e.columnContentTypes[a],"first-column":0===a,truncate:e.truncate,"vertical-align":e.verticalAlign,sortable:!1}})})),e._v(" "),e.totals.length&&e.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:e.showTotalsInFooter,verticalAlign:e.verticalAlign}}):e._e()],2)]):e._e()],2)]),e._v(" "),e.footerContent||e.$slots.footer?n("div",{staticClass:"Polaris-DataTable__Footer"},[e._t("footer",(function(){return[e._v("\n "+e._s(e.footerContent)+"\n ")]}))],2):e._e(),e._v(" "),e.hasPagination?n("div",{staticClass:"Polaris-DataTable__Pagination"},[n("PPagination",e._b({},"PPagination",e.pagination,!1))],1):e._e()]):n("div",[e._t("emptyState",(function(){return[n("PEmptyState",{attrs:{heading:e.emptyStateTitle,image:e.emptyStateImage}})]}))],2)],1)},staticRenderFns:[]},(function(e){e&&e("data-v-157a18b9_0",{source:".Polaris-DataTable__Pagination[data-v-157a18b9]{text-align:center;padding:1.6rem;border-top:.1rem solid #e1e3e5;border-bottom-left-radius:.4rem;border-bottom-right-radius:.4rem}",map:void 0,media:void 0})}),{name:"PDataTable",components:{PDataTableCellNew:Qu,PPagination:Bc,PFilter:vp,PSpinner:z,PEmptyState:Cp,PDataTableCell:md},props:{columnContentTypes:{type:Array,default:function(){return[]}},defaultSortDirection:r({type:String,default:"ascending"},P("defaultSortDirection",kp)),footerContent:{type:[String,Number,Object,Array]},headings:r({type:Array,default:function(){return[]}},R("headings",Ap)),rows:{type:Array,default:function(){return[[]]}},showTotalsInFooter:{type:Boolean,default:!1},totals:{type:Array,default:function(){return[]}},totalsName:r({type:Object,default:function(){return{}}},D("totalsName",Pp)),truncate:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},P("verticalAlign",["top","bottom","middle","baseline"])),sort:r({type:Object,default:function(){return{}}},D("sort",Sp)),hasFilter:{type:Boolean,default:!1},hasPagination:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},pagination:{type:Object,default:function(){return{}}},emptyStateTitle:{type:String,default:"No record found!"},emptyStateImage:{type:String,default:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"},actions:{type:Array,default:function(){return[]}},ids:{type:Array,default:function(){return[]}},searchPlaceholder:{type:String,default:null}},data:function(){return{topPadding:8}},computed:{hasOldRows:function(){return this.rows.length>0&&this.rows[0].constructor===Array},hasActions:function(){return this.actions&&this.actions.length>0},resource:function(){return null!=this.searchPlaceholder?{singular:this.searchPlaceholder,plural:this.searchPlaceholder}:this.$attrs.resourceName},totalsRowHeading:function(){var e=Object.keys(this.totalsName).length>0?this.totalsName:{singular:"Total",plural:"Totals"};return this.totals.length>0&&this.totals.filter((function(e){return""!==e||i("number"!==e)})).length>1?e.plural:e.singular}},methods:{onRemoveFilter:function(e){this.$emit("filter-removed",e)},onFilterInputChanged:function(e){this.$emit("input-filter-changed",e)},handleSortChange:function(e,t){this.$emit("sort-changed",e,t)},handleDeprecations:function(){null!=this.searchPlaceholder&&console.error("Deprecation Notice: `searchPlaceholder` will be removed in version 4.0.0, use `resourceName` instead. Please check resourceName syntax here: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-filter--filter"),this.actions.length>0&&console.error("Deprecation Notice: `actions` will be removed in version 4.0.0, use `headings` with extra object. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row"),this.ids.length>0&&console.error("Deprecation Notice: `ids` will be removed in version 4.0.0. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row")}},mounted:function(){var e=0;if("undefined"!=typeof window&&this.$refs.hasOwnProperty("tbody")){var t=this.$refs.tbody.getBoundingClientRect(),n=Math.max(document.documentElement?document.documentElement.clientHeight:0,window.innerHeight||0),a=n-t.height,r=1===this.rows.length?28:45;e=a>0?(t.height-r)/2:(n-t.top-r)/2,e+=this.$refs.thead.getBoundingClientRect().height,this.topPadding=e>0?e:this.topPadding}this.handleDeprecations()}},"data-v-157a18b9",false,undefined,!1,Pc,void 0,void 0),Tp=zp,Ep=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.firstColumn?n("th",{class:e.className,attrs:{scope:"row"}},[e._t("default")],2):n("td",{class:e.className},[e._t("default")],2)},staticRenderFns:[]},(function(e){e&&e("data-v-7d902277_0",{source:"th[data-v-7d902277]:last-child{text-align:right}td[data-v-7d902277]:last-child{text-align:right}td:last-child>*[data-v-7d902277]{float:right}",map:void 0,media:void 0})}),{name:"PDataTableCol",props:{firstColumn:{type:Boolean,default:!1},truncate:{type:Boolean,default:!1},numeric:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},P("verticalAlign",["top","bottom","middle","baseline"]))},computed:{className:function(){return g("Polaris-DataTable__Cell",this.firstColumn&&"Polaris-DataTable__Cell--firstColumn",this.firstColumn&&this.truncate&&"Polaris-DataTable__Cell--truncated",this.numeric&&"Polaris-DataTable__Cell--numeric",this.verticalAlign&&"Polaris-DataTable__Cell--".concat(m("verticalAlign",this.verticalAlign)))}}},"data-v-7d902277",false,undefined,!1,Pc,void 0,void 0),jp=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("tr",{staticClass:"Polaris-DataTable__TableRow"},[e._t("default")],2)},staticRenderFns:[]},undefined,{name:"PDataTableRow"},"data-v-7a1bfd8a",false,undefined,!1,void 0,void 0,void 0),Op=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Polaris-SkeletonBodyText__SkeletonBodyTextContainer"},e._l(e.lines,(function(e,t){return n("div",{key:t,staticClass:"Polaris-SkeletonBodyText"})})),0)},staticRenderFns:[]},undefined,{name:"PSkeletonBodyText",props:{lines:{type:Number,default:3}}},undefined,false,undefined,!1,void 0,void 0,void 0),Lp=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.className})},staticRenderFns:[]},undefined,{name:"PSkeletonDisplayText",props:{size:r({type:String,default:"medium"},P("size",["small","medium","large","extraLarge"]))},computed:{className:function(){return g("Polaris-SkeletonDisplayText__DisplayText",this.size&&"Polaris-SkeletonDisplayText--".concat(m("size",this.size)))}}},undefined,false,undefined,!1,void 0,void 0,void 0),Bp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.className,attrs:{role:"status","aria-label":"Page loading"}},[n("div",{staticClass:"Polaris-SkeletonPage__Header"},[e.breadcrumbs?n("div",{staticClass:"Polaris-SkeletonPage__BreadcrumbAction",staticStyle:{width:"60px"}},[n("PSkeletonBodyText",{attrs:{lines:1}})],1):e._e(),e._v(" "),n("div",{staticClass:"Polaris-SkeletonPage__TitleAndPrimaryAction"},[n("div",{staticClass:"Polaris-SkeletonPage__TitleWrapper"},[null!==e.title?n("h1",{staticClass:"Polaris-SkeletonPage__Title"},[e._v("\n "+e._s(e.title)+"\n ")]):n("div",{staticClass:"Polaris-SkeletonPage__SkeletonTitle"})]),e._v(" "),e.primaryAction?n("div",{staticClass:"Polaris-SkeletonPage__PrimaryAction"},[n("PSkeletonDisplayText",{attrs:{size:"large"}})],1):e._e()]),e._v(" "),0!==e.secondaryActions?n("div",{staticClass:"Polaris-SkeletonPage__Actions"},e._l(e.renderSecondaryActions(e.secondaryActions),(function(e){return n("div",{key:e.key,staticClass:"Polaris-SkeletonPage__Action",style:e.width},[n("PSkeletonBodyText",{attrs:{lines:1}})],1)})),0):e._e()]),e._v(" "),n("div",{staticClass:"Polaris-SkeletonPage__Content"},[e._t("default")],2)])},staticRenderFns:[]},undefined,{name:"PSkeletonPage",components:{PSkeletonBodyText:Op,PSkeletonDisplayText:Lp},props:{title:{type:String,default:null},fullWidth:{type:Boolean,default:!1},narrowWidth:{type:Boolean,default:!1},primaryAction:{type:Boolean,default:!1},secondaryActions:{type:Number},breadcrumbs:{type:Boolean,default:!1}},computed:{className:function(){return g("Polaris-SkeletonPage__Page",this.fullWidth&&"Polaris-SkeletonPage--fullWidth",this.narrowWidth&&"Polaris-SkeletonPage--narrowWidth")}},methods:{renderSecondaryActions:function(e){if("number"==typeof e){for(var t=[],n=0;n<e;n++){var a=Math.round(40*Math.random()+60);t.push({width:{width:"".concat(a,"px")},key:n})}return t}}}},"data-v-538661fa",false,undefined,!1,void 0,void 0,void 0),Hp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"button",class:["button-"+e.variant,{disabled:e.disabled,"button-fullwidth":e.fullWidth,loading:e.loading}],attrs:{href:"#"},on:{click:e.handleClick}},[e.loading?n("div",{staticClass:"Polaris-Spinner Polaris-Spinner--sizeSmall"},[n("svg",{attrs:{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M7.229 1.173a9.25 9.25 0 1011.655 11.412 1.25 1.25 0 10-2.4-.698 6.75 6.75 0 11-8.506-8.329 1.25 1.25 0 10-.75-2.385z"}})])]):e._e(),e._v(" "),n("div",{class:{invisible:e.loading}},[e._t("default")],2),e._v(" "),e.additionalText?n("span",{class:["additional-info-"+e.variant,{invisible:e.loading}]},[e._v("\n "+e._s(e.translateMe(e.additionalText))+"\n ")]):e._e()])},staticRenderFns:[]},(function(e){e&&e("data-v-158d9240_0",{source:".button[data-v-158d9240]{display:flex;width:fit-content!important;justify-content:center;min-height:28px!important;align-items:center!important;gap:8px!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a;position:relative;text-align:center}.button[data-v-158d9240]:hover{background-color:#0000000d!important;border-radius:8px!important}.button-primary[data-v-158d9240]{padding:6px 12px;background-color:#303030;background-image:linear-gradient(#30303000 63.53%,#ffffff26);color:#fff;border-bottom-color:#fff;border-radius:8px;text-decoration:none;font-size:13px;font-weight:650;box-shadow:#000000cc 0 -1px 0 1px inset,#303030 0 0 0 1px inset,#ffffff40 0 .5px 0 1.5px inset}.button-primary[data-v-158d9240]:hover{background-color:#1a1a1a!important;color:#fff!important}.button-primary.disabled[data-v-158d9240],.button-primary[data-v-158d9240]:active,.button-secondary.disabled[data-v-158d9240],.button-secondary[data-v-158d9240]:active{background-color:#ccc!important;box-shadow:0 2px 1px 0 #1a1a1a33 inset}.button-secondary[data-v-158d9240]{background-color:#fff!important;color:#000!important;border-radius:8px!important;box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset}.button-secondary[data-v-158d9240]:hover{background-color:#fafafa!important}.button.button-fullwidth[data-v-158d9240]{width:100%!important}.additional-info-primary[data-v-158d9240]{background-color:rgba(0,0,0,.06)!important;color:#4a4a4a!important;padding:0 6px!important;border-radius:8px!important;font-size:13px!important;font-weight:550!important}.additional-info-secondary[data-v-158d9240]{background-color:rgba(0,0,0,.06)!important;color:#4a4a4a!important;padding:0 6px!important;border-radius:8px!important;font-weight:550!important}.disabled[data-v-158d9240]{background-color:rgba(0,0,0,.15)!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;cursor:not-allowed!important;pointer-events:none!important}.invisible[data-v-158d9240]{visibility:hidden}.loading[data-v-158d9240]{cursor:wait!important;position:relative}.Polaris-Spinner[data-v-158d9240]{animation:spin-data-v-158d9240 1s linear infinite;width:20px;height:20px;position:absolute}.Polaris-Spinner svg[data-v-158d9240]{fill:currentColor}.button-primary .Polaris-Spinner svg[data-v-158d9240]{fill:#fff}.button-secondary .Polaris-Spinner svg[data-v-158d9240]{fill:#000}@keyframes spin-data-v-158d9240{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.Polaris-Spinner[data-v-158d9240]{animation:spin-data-v-158d9240 .5s linear infinite,fade-data-v-158d9240 320ms ease-in}@keyframes fade-data-v-158d9240{from{opacity:0}to{opacity:1}}",map:void 0,media:void 0})}),{name:"VariantButton",props:{variant:{type:String,required:!0,default:function(){return"primary"}},additionalText:{type:String,required:!1},getPlanUrl:{type:Function,required:!1},plan:{type:Object,required:!1},disabled:{type:Boolean,required:!1,default:!1},fullWidth:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1}},methods:{handleClick:function(e){e.preventDefault(),this.$emit("click",e)},handlePlanClick:function(e){e.preventDefault(),this.$emit("plan-clicked",e)},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}}},"data-v-158d9240",false,undefined,!1,Pc,void 0,void 0),Np=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"app-card"},[n("div",{staticClass:"logo"},[n("img",{staticClass:"logo-image",attrs:{src:e.appData.app_logo_url,alt:"logo",width:"auto",height:"auto"}})]),e._v(" "),n("div",{staticClass:"details"},[n("div",{staticClass:"upper-details"},[n("h3",{staticClass:"app-name"},[e._v("\n "+e._s(e.translateMe(e.appData.app_name))+"\n ")]),e._v(" "),e.appData.app_bundle_details.built_for_shopify?n("div",{staticClass:"app-tags"},[n("span",{staticClass:"app-tag bfs-tag"},[n("svg",{attrs:{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_61_2350)"}},[n("path",{attrs:{d:"M13 0L12 5L8 14L16 4.5L13 0ZM3 0L4 5L8 14L0 4.5L3 0Z",fill:"#1495CC"}}),e._v(" "),n("path",{attrs:{d:"M3 0L4 5L8 14L12 5L13 0H3Z",fill:"#58B7DF"}}),e._v(" "),n("path",{attrs:{d:"M8 14L4 5L0 4.5L8 14ZM8 14L12 5L16 4.5L8 14Z",fill:"#035F86"}}),e._v(" "),n("path",{attrs:{d:"M8 5.5L4 5L8 14L12 5L8 5.5Z",fill:"#1495CC"}}),e._v(" "),n("path",{attrs:{d:"M4 5L8 0L12 5L7.999 5.5L4 5Z",fill:"#A9DEF4"}}),e._v(" "),n("path",{attrs:{d:"M4 5L3 0H8L4 5ZM12 5L13 0H8L12 5Z",fill:"#58B7DF"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_61_2350"}},[n("rect",{attrs:{width:"16",height:"14",fill:"white"}})])])]),e._v("\n "+e._s(e.translateMe("Built For Shopify"))+"\n ")])]):e._e(),e._v(" "),n("p",{staticClass:"app-reviews-count"},[e._v("\n "+e._s(e.appData.app_bundle_details.reviews)+"\n "+e._s(e.translateMe("Reviews"))+"\n ")]),e._v(" "),n("div",{staticClass:"app-tags"},e._l(e.appData.app_bundle_details.shopify_categories,(function(t){return n("span",{staticClass:"app-tag"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M9.99998 14C9.58577 14 9.24999 13.6642 9.25 13.25L9.25006 9.74999C9.25007 9.33577 9.58586 8.99999 10.0001 9C10.4143 9.00001 10.7501 9.3358 10.7501 9.75001L10.75 13.25C10.75 13.6642 10.4142 14 9.99998 14Z",fill:"#0094D5"}}),e._v(" "),n("path",{attrs:{d:"M9 7C9 6.44772 9.44772 6 10 6C10.5523 6 11 6.44772 11 7C11 7.55228 10.5523 8 10 8C9.44772 8 9 7.55228 9 7Z",fill:"#0094D5"}}),e._v(" "),n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10ZM15.5 10C15.5 13.0376 13.0376 15.5 10 15.5C6.96243 15.5 4.5 13.0376 4.5 10C4.5 6.96243 6.96243 4.5 10 4.5C13.0376 4.5 15.5 6.96243 15.5 10Z",fill:"#0094D5"}})]),e._v("\n "+e._s(e.translateMe(t))+"\n ")])})),0)]),e._v(" "),n("div",{staticClass:"lower-details"},e._l(e.appData.app_bundle_details.features,(function(t){return n("span",{staticClass:"featured-options"},[n("svg",{attrs:{width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("rect",{attrs:{width:"4",height:"4",rx:"2",fill:"#1A1A1A"}})]),e._v("\n "+e._s(e.translateMe(t)))])})),0)]),e._v(" "),n("div",{staticClass:"install-app-div"},[n("a",{staticClass:"button-link install-app-button",attrs:{href:e.appData.app_shopify_store_link,target:"_blank"}},[e._v("\n "+e._s(e.translateMe("Install"))+"\n ")])])]),e._v(" "),e._t("default")],2)},staticRenderFns:[]},(function(e){e&&e("data-v-58347901_0",{source:".app-card[data-v-58347901]{display:flex;padding:16px;background-color:#fff;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1);border-radius:12px;gap:16px;align-items:center}.logo[data-v-58347901],.logo-image[data-v-58347901]{width:40px;height:40px;border-radius:4px}.lower-details[data-v-58347901]{margin-top:8px}.lower-details[data-v-58347901],.upper-details[data-v-58347901]{display:flex;flex-wrap:wrap;row-gap:2px;column-gap:8px}.app-name[data-v-58347901]{font-size:14px;font-weight:650;line-height:20px}.app-reviews-count[data-v-58347901]{font-size:13px;font-weight:400;line-height:20px;color:#5c5c5c}.app-tag[data-v-58347901]{background-color:#e0f0ff;width:fit-content;margin-right:12px;padding:3px 6px 3px 3px;border-radius:8px;font-size:12px;color:#00527c;line-height:12px;font-weight:550;text-decoration:none;white-space:nowrap}.app-tag>svg[data-v-58347901]{margin-bottom:-5.5px}.bfs-tag[data-v-58347901]{margin-right:0;margin-bottom:0!important}.bfs-tag>svg[data-v-58347901]{margin-bottom:-3px}.app-option-type-count[data-v-58347901],.featured-options[data-v-58347901]{display:flex;gap:4px;align-items:center;font-size:13px;font-weight:450;line-height:20px;text-wrap:nowrap;color:#5c5c5c}.install-app-div[data-v-58347901]{margin-left:auto;display:flex;align-items:center;white-space:nowrap}.install-app-button[data-v-58347901]{display:flex;width:fit-content!important;height:28px!important;align-items:center!important;gap:8px!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;background-color:rgba(0,0,0,.08)!important;color:#1a1a1a!important;border-radius:8px!important;border:none;font-family:-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif}.install-app-button[data-v-58347901]:hover{background-color:rgba(0,0,0,.05)!important;border-radius:8px!important}.button-link[data-v-58347901]{text-decoration:none}@media (max-width:767px){.featured-options[data-v-58347901]{text-wrap:wrap}.details[data-v-58347901]{gap:8px;width:100%}.app-tags[data-v-58347901]{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.app-tag[data-v-58347901]{padding:1px 6px 5px 3px}.lower-details[data-v-58347901],.upper-details[data-v-58347901]{flex-direction:column;flex-wrap:wrap;row-gap:2px;column-gap:8px}.install-app-div[data-v-58347901]{justify-content:flex-start;width:100%;margin-top:12px}.install-app-button[data-v-58347901]{width:100%;justify-content:center}.app-card[data-v-58347901]{flex-direction:column;justify-content:center}.logo[data-v-58347901]{justify-content:flex-start;width:100%}}",map:void 0,media:void 0})}),{name:"AppCard",components:{VariantButton:Hp},props:{appData:{type:Object,required:!1,default:function(){return{app_name:"Releasit Form & Upsell",app_logo_url:"https://cdn.shopify.com/app-store/listing_images/59ff1b17b1415cf11af2ee0a00c68334/icon/CKKYs5695_ICEAE=.png",app_reviews_count:"3,881",app_tags:[{tag_name:"Cash/collect on delivery (COD)",tag_ext_url:"#"},{tag_name:"Upselling and cross-selling",tag_ext_url:"#"}],app_bfs:!1,app_option_types_count:"12",app_featured_option_types:["Dynamic Checkout Button","Color/Image Swatches","Color/Image Swatches"]}}}},methods:{translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}}},"data-v-58347901",false,undefined,!1,Pc,void 0,void 0),Rp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bundle-plan-showcase-banner banner-card"},[n("div",{class:["banner__inner","loose"===e.width?"loose-width":"","tight"===e.width?"tight-width":"","base"===e.width?"base-width":""]},[e.showDescription?n("div",{staticClass:"plan-left"},[n("p",{staticClass:"bundle-offer-label"},[e._v("\n "+e._s(e.translateMe("Bundle offer"))+"\n ")]),e._v(" "),n("p",{staticClass:"bundle-desc-label"},[e._v("\n "+e._s(e.translateMe("Get"))+"\n "+e._s(e.bundleApps)+"\n "+e._s(e.translateMe("Shopify apps and save more than"))+"\n "),n("strong",[e._v(e._s(e.translateMe("$800")))]),e._v("\n "+e._s(e.translateMe("per month!"))+"\n ")])]):e._e(),e._v(" "),n("div",{staticClass:"plan-right"},[n("div",{staticClass:"plan-content"},[n("h3",{staticClass:"plan-name"},[e._v(e._s(e.translateMe("Monthly bundle"))+":")]),e._v(" "),n("div",{staticClass:"prices"},[n("span",{staticClass:"discounted-amount"},[e._v("$"+e._s(e.translateMe(Number(e.realPrice).toFixed(2))))]),e._v(" "),e.realPrice<e.oldPrice?n("span",{staticClass:"original-amount"},[e._v("\n $"+e._s(e.translateMe(Number(e.oldPrice).toFixed(2)))+"\n ")]):e._e()])]),e._v(" "),e.isCurrentPlan?e._e():n("VariantButton",{attrs:{id:"choose-bundle",buttonData:{button_url:e.showcaseData.button_url},variant:"primary"},on:{click:e.handlePlanClick}},[e._v("\n "+e._s(e.translateMe("Choose this plan"))+"\n ")]),e._v(" "),e.isCurrentPlan?n("VariantButton",{attrs:{buttonData:{button_url:e.showcaseData.button_url},disabled:!0,variant:"primary"},on:{click:e.handlePlanClick}},[e._v("\n "+e._s(e.translateMe("Current plan"))+"\n ")]):e._e()],1)])])},staticRenderFns:[]},(function(e){e&&e("data-v-66eee883_0",{source:".banner-card[data-v-66eee883]{display:flex;padding:16px 0;background-color:#fff;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1);gap:16px}.bundle-plan-showcase-banner[data-v-66eee883]{display:none;justify-content:space-between;align-items:center;width:100%;margin-top:32px;position:sticky;top:0}.banner__inner[data-v-66eee883]{display:flex;justify-content:space-between;align-items:center;max-width:1190px!important;width:100%;margin-left:auto;margin-right:auto;padding:0 96px}.banner__inner.loose-width[data-v-66eee883]{max-width:1600px!important}.banner__inner.tight-width[data-v-66eee883]{max-width:840px!important}.plan-name[data-v-66eee883]{font-size:14px;font-weight:450;color:#1a1a1a}.plan-left[data-v-66eee883]{flex:1}.plan-right[data-v-66eee883]{display:flex;align-items:center;gap:16px}.prices[data-v-66eee883]{display:flex;gap:8px;align-items:center}.bundle-offer-label[data-v-66eee883]{font-size:20px;font-weight:600;color:#202223;margin-bottom:4px}.bundle-desc-label[data-v-66eee883]{font-size:14px;font-weight:450;color:#1a1a1a}.discounted-amount[data-v-66eee883]{font-size:30px;font-weight:700;color:#1a1a1a}.original-amount[data-v-66eee883]{text-decoration:line-through;color:#4a4a4a;font-size:14px;font-weight:650}.plan-content[data-v-66eee883]{display:flex;justify-content:center;align-items:center;gap:12px}.choose-button[data-v-66eee883]{padding:6px 12px;background-color:#303030;background-image:linear-gradient(rgba(48,48,48,0) 63.53%,rgba(255,255,255,.15)),none;color:#fff;border-bottom-color:#fff;box-shadow:rgba(0,0,0,.8) 0 -1px 0 1px inset,#303030 0 0 0 1px inset,rgba(255,255,255,.25) 0 .5px 0 1.5px inset;border-radius:8px;text-decoration:none;font-size:13px;font-weight:650}@media (max-width:992px){.banner__inner.loose-width[data-v-66eee883]{max-width:none!important}.banner__inner[data-v-66eee883]{flex-direction:column;gap:32px;align-items:flex-start}.plan-right[data-v-66eee883]{justify-content:space-between;width:100%}}@media (max-width:767px){.banner__inner[data-v-66eee883]{padding:16px}.banner__inner.loose-width[data-v-66eee883]{max-width:100%}.bundle-plan-showcase-banner[data-v-66eee883]{flex-direction:column;gap:12px}.bundle-plan-showcase-banner[data-v-66eee883]{align-items:unset}.choose-button[data-v-66eee883]{margin-right:0;margin-left:auto}}@media (max-width:480px){.plan-content[data-v-66eee883]{flex-direction:column;align-items:flex-start}.plan-right[data-v-66eee883]{flex-direction:column;gap:16px;align-items:flex-start}.bundle-plan-showcase-banner[data-v-66eee883]{flex-direction:column;gap:12px}.bundle-plan-showcase-banner[data-v-66eee883]{align-items:unset}.choose-button[data-v-66eee883]{margin-right:auto;margin-left:0}}",map:void 0,media:void 0})}),{name:"PlanShowcaseBanner",components:{VariantButton:Hp},props:{showcaseData:{type:Object,required:!1},realPrice:{type:String,required:!1},oldPrice:{type:Number,required:!1},showDescription:{type:Boolean,required:!1,default:!0},getPlanUrl:{type:Function,required:!1},plan:{type:Object,required:!1},isCurrentPlan:{type:Boolean,required:!1,default:!1},useCardStyle:{type:Boolean,required:!1,default:!1},width:{type:String,required:!1,default:"base",validator:function(e){return["tight","base","loose"].includes(e)}},bundleApps:{type:Number,required:!1,default:18}},methods:{handlePlanClick:function(){this.$emit("plan-clicked")},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}}},"data-v-66eee883",false,undefined,!1,Pc,void 0,void 0),Vp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"category-heading"},[n("h4",{staticClass:"category-name"},[e._v("\n "+e._s(e.translateMe(e.headingData.category_name))+"\n "),null!=e.headingData.apps_relation?n("span",[e._v("\n ("+e._s(e.translateMe(e.headingData.apps_relation.length))+")\n ")]):e._e()]),e._v(" "),n("p",{staticClass:"category-description"},[e._v("\n "+e._s(e.translateMe(e.headingData.category_description))+"\n ")])])])},staticRenderFns:[]},(function(e){e&&e("data-v-32892ca4_0",{source:'.category-heading[data-v-32892ca4]{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.category-name[data-v-32892ca4]{font-size:13px;font-weight:750;line-height:20px;color:#1a1a1a}.category-description[data-v-32892ca4]{font-size:12px;font-weight:450;font-variation-settings:"slnt" 0;color:#1a1a1a}@media (max-width:640px){.category-heading[data-v-32892ca4]{padding-left:16px}}',map:void 0,media:void 0})}),{name:"CategoryHeading",props:{headingData:{type:Object,required:!1,default:function(){return{category_name:"Bestsellers",category_description:"Make a big impact with our top-selling apps."}}}},methods:{translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}}},"data-v-32892ca4",false,undefined,!1,Pc,void 0,void 0),Ip=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"benefits-banner"},[n("div",{staticClass:"benefits"},[n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M36.9252 7.89245C31.5107 7.03095 26.2752 5.28311 21.429 2.71936C21.2959 2.66188 21.1517 2.63437 21.0068 2.63861C20.862 2.64284 20.7201 2.67899 20.5907 2.74414C15.73 5.27913 10.4938 7.01723 5.08209 7.89245C4.88445 7.9328 4.70678 8.03996 4.57922 8.19622C4.45166 8.35248 4.38179 8.54822 4.38184 8.74994V19.0555C4.38184 33.164 18.0004 38.4196 20.7304 39.3296C20.9099 39.3894 21.1042 39.3894 21.2837 39.3296C24.0137 38.4196 37.6318 33.164 37.6318 19.0555V8.74994C37.6316 8.54724 37.5613 8.35091 37.4323 8.19452C37.3034 8.03812 37.1241 7.93137 36.9252 7.89245ZM35.875 19.0555C35.875 31.5453 24.0572 36.5031 21 37.5758C17.9427 36.5031 6.125 31.5453 6.125 19.0555V9.46557C11.3183 8.57406 16.3444 6.8923 21.0282 4.47833C25.6889 6.89995 30.6975 8.58227 35.875 9.46557V19.0555ZM19.4252 13.2458L17.8499 16.4446L14.1453 16.98C13.8312 17.025 13.5361 17.1576 13.2933 17.3619C13.0506 17.5662 12.8701 17.8344 12.7721 18.1361C12.6741 18.4378 12.6625 18.7608 12.7388 19.0688C12.8151 19.3767 12.976 19.657 13.2036 19.878L15.8654 22.421L15.2565 25.9611C15.2007 26.2841 15.2366 26.6163 15.3604 26.9199C15.4841 27.2234 15.6906 27.4859 15.9564 27.6778C16.2215 27.8739 16.5367 27.991 16.8655 28.0157C17.1944 28.0405 17.5234 27.9721 17.8149 27.8179L20.9842 26.1414L24.1971 27.8179C24.4501 27.9495 24.7309 28.0185 25.0161 28.0192C25.3894 28.0196 25.753 27.9004 26.0539 27.6795C26.3203 27.4886 26.5273 27.2267 26.6512 26.9233C26.775 26.6199 26.8109 26.2873 26.7542 25.9645L26.1274 22.4645L28.8049 19.8746C29.0325 19.6535 29.1939 19.3733 29.2702 19.0654C29.3465 18.7574 29.3349 18.434 29.2369 18.1323C29.1388 17.8305 28.9579 17.5624 28.7152 17.3581C28.4725 17.1538 28.1777 17.0216 27.8637 16.9766L24.1885 16.469L22.5855 13.2441C22.4244 12.9679 22.1938 12.7386 21.9164 12.5793C21.6391 12.4201 21.3245 12.3365 21.0047 12.3367C20.6849 12.3368 20.3706 12.4207 20.0934 12.5802C19.8162 12.7397 19.586 12.9694 19.4252 13.2458ZM21.0124 14.0243L22.6171 17.2513C22.7404 17.4973 22.9209 17.71 23.1439 17.8712C23.3669 18.0324 23.6258 18.1373 23.898 18.1771L27.5732 18.6197L24.8956 21.208C24.6962 21.3998 24.5467 21.638 24.4607 21.901C24.3746 22.164 24.3547 22.444 24.4022 22.7166L24.9969 26.264L21.784 24.5892C21.541 24.4621 21.2709 24.3957 20.9966 24.3957C20.7223 24.3957 20.4522 24.4621 20.2092 24.5892L16.98 26.2568L17.5927 22.7166C17.6395 22.4441 17.6188 22.1645 17.5325 21.9019C17.4461 21.6392 17.2969 21.4017 17.0975 21.2101L14.3956 18.7108L18.102 18.1754C18.3742 18.136 18.6329 18.0312 18.8557 17.8699C19.0785 17.7087 19.2587 17.4958 19.3812 17.2496L21.0051 14.0175L21.0124 14.0243Z",fill:"#1A1A1A"}})]),e._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[e._v("\n "+e._s(e.translateMe("Unlimited"))+"\n ")]),e._v("\n "+e._s(e.translateMe("Access to enterprise features"))+"\n ")])]),e._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_96_352)"}},[n("path",{attrs:{d:"M35.9957 27.5818C35.5024 27.2981 34.942 27.1525 34.373 27.1599C33.804 27.1672 33.2474 27.3275 32.7617 27.6238L28.8173 29.9897C28.6688 29.1852 28.243 28.4582 27.6142 27.9349C26.9854 27.4115 26.1931 27.1249 25.375 27.125H15.75C14.6184 27.1241 13.5307 27.5633 12.7172 28.3499C12.481 27.9753 12.1538 27.6665 11.7661 27.4523C11.3785 27.2381 10.9429 27.1256 10.5 27.125H7C6.30381 27.125 5.63611 27.4016 5.14383 27.8939C4.65155 28.3861 4.375 29.0538 4.375 29.75V36.75C4.375 37.4462 4.65155 38.1139 5.14383 38.6062C5.63611 39.0985 6.30381 39.375 7 39.375H10.5C10.9429 39.3745 11.3785 39.2619 11.7661 39.0478C12.1538 38.8336 12.481 38.5248 12.7172 38.1501C13.5307 38.9368 14.6184 39.376 15.75 39.375H25.55C27.3377 39.3729 29.0719 38.7647 30.4693 37.6496L36.4193 32.8843C36.8288 32.5561 37.1516 32.1325 37.3597 31.6506C37.5677 31.1688 37.6546 30.6434 37.6126 30.1202C37.5707 29.5971 37.4011 29.0922 37.1189 28.6497C36.8368 28.2071 36.4523 27.8405 35.9957 27.5818ZM11.375 31.5V36.75C11.375 36.9821 11.2827 37.2046 11.1187 37.3687C10.9546 37.5328 10.7321 37.625 10.5 37.625H7C6.76794 37.625 6.54544 37.5328 6.38135 37.3687C6.21725 37.2046 6.125 36.9821 6.125 36.75V29.75C6.125 29.518 6.21725 29.2955 6.38135 29.1314C6.54544 28.9673 6.76794 28.875 7 28.875H10.5C10.7321 28.875 10.9546 28.9673 11.1187 29.1314C11.2827 29.2955 11.375 29.518 11.375 29.75V31.5ZM35.3273 31.5175L29.3772 36.2828C28.2909 37.1505 26.942 37.6237 25.5517 37.625H15.75C15.0538 37.625 14.3861 37.3485 13.8938 36.8562C13.4015 36.3639 13.125 35.6962 13.125 35V31.5C13.125 30.8038 13.4015 30.1361 13.8938 29.6439C14.3861 29.1516 15.0538 28.875 15.75 28.875H25.375C25.8391 28.875 26.2843 29.0593 26.6125 29.3875C26.9407 29.7157 27.125 30.1609 27.125 30.625C27.125 31.0892 26.9407 31.5344 26.6125 31.8625C26.2843 32.1907 25.8391 32.375 25.375 32.375H19.25C19.0179 32.375 18.7954 32.4673 18.6313 32.6314C18.4673 32.7955 18.375 33.018 18.375 33.25C18.375 33.4821 18.4673 33.7046 18.6313 33.8687C18.7954 34.0328 19.0179 34.125 19.25 34.125H25.375C26.0174 34.1249 26.6472 33.9479 27.1957 33.6136C27.7442 33.2793 28.1902 32.8006 28.4847 32.2298L33.6595 29.1235C33.9773 28.9361 34.354 28.8757 34.7144 28.9543C35.0748 29.0329 35.3922 29.2448 35.6031 29.5475C35.8139 29.8502 35.9027 30.2213 35.8515 30.5866C35.8003 30.9519 35.6132 31.2844 35.3273 31.5175ZM21.0088 10.5C21.7875 10.5 22.5487 10.2692 23.1963 9.83652C23.8438 9.40386 24.3485 8.78891 24.6465 8.06943C24.9446 7.34994 25.0226 6.55814 24.8706 5.79434C24.7187 5.03054 24.3436 4.32905 23.7929 3.77838C23.2422 3.22771 22.5407 2.85258 21.7769 2.70065C21.0131 2.54872 20.2213 2.62672 19.5019 2.92474C18.7824 3.22276 18.1674 3.72751 17.7348 4.37503C17.3021 5.02255 17.0713 5.78377 17.0713 6.56253C17.0726 7.60639 17.488 8.60706 18.2261 9.34518C18.9642 10.0833 19.9649 10.4986 21.0088 10.5ZM21.0088 4.37503C21.4414 4.37503 21.8643 4.50338 22.2241 4.74374C22.5838 4.98411 22.8641 5.32563 23.0296 5.72534C23.1952 6.12506 23.2386 6.56502 23.1542 6.98935C23.0698 7.41368 22.8615 7.80345 22.5556 8.10938C22.2497 8.4153 21.8599 8.62354 21.4356 8.70795C21.0112 8.79235 20.5713 8.74919 20.1716 8.58362C19.7719 8.41805 19.4303 8.13757 19.19 7.77783C18.9496 7.4181 18.8213 6.99518 18.8213 6.56253C18.8222 5.98265 19.0529 5.42679 19.463 5.01675C19.873 4.60672 20.4289 4.37596 21.0088 4.37503ZM17.5088 21.875H24.5088C24.9793 21.9251 25.455 21.8696 25.9014 21.7125C26.3477 21.5553 26.7533 21.3006 27.0887 20.9667C27.424 20.6329 27.6806 20.2282 27.8398 19.7826C27.9989 19.337 28.0567 18.8616 28.0088 18.3908C28.0566 17.6883 27.9538 16.9836 27.7071 16.324C27.4604 15.6645 27.0757 15.0654 26.5786 14.5668C26.0814 14.0681 25.4833 13.6815 24.8245 13.4329C24.1657 13.1842 23.4614 13.0793 22.7588 13.125H19.2588C18.5561 13.0793 17.8518 13.1842 17.193 13.4329C16.5342 13.6815 15.9361 14.0681 15.439 14.5668C14.9418 15.0654 14.5571 15.6645 14.3104 16.324C14.0637 16.9836 13.9609 17.6883 14.0088 18.3908C13.961 18.8608 14.0186 19.3353 14.1773 19.7802C14.336 20.2252 14.5917 20.6292 14.9261 20.9629C15.2604 21.2965 15.6649 21.5515 16.1102 21.7093C16.5554 21.867 17.0302 21.9237 17.5 21.875H17.5088ZM19.2588 14.875H22.7588C23.229 14.8388 23.7015 14.9049 24.1437 15.069C24.5858 15.2331 24.9871 15.4912 25.3199 15.8254C25.6526 16.1597 25.9089 16.5622 26.071 17.0051C26.2331 17.448 26.2971 17.9208 26.2588 18.3908C26.2588 19.6386 25.7688 20.125 24.5088 20.125H17.5088C16.247 20.125 15.7588 19.6386 15.7588 18.3908C15.7131 17.9199 15.7718 17.4447 15.9307 16.9991C16.0897 16.5535 16.345 16.1483 16.6784 15.8126C17.0118 15.4769 17.415 15.2189 17.8595 15.0568C18.304 14.8948 18.7788 14.8327 19.25 14.875H19.2588Z",fill:"#1A1A1A"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_96_352"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),e._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[e._v(e._s(e.translateMe("24/7")))]),e._v(e._s(e.translateMe("Live chat and email support"))+"\n "),n("strong",[e._v("+ "+e._s(e.translateMe("Priority status")))])])]),e._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_70_2551)"}},[n("path",{attrs:{d:"M39.9 14.0001H33.6V2.10027C33.6 0.940631 32.6598 0.000488281 31.5002 0.000488281H2.10039C0.940753 0.000488281 0.000610352 0.940631 0.000610352 2.10027V28.7002C0.000610352 29.8598 0.940753 30.7999 2.10039 30.7999H7.00041V39.8998C7.00041 41.0598 7.94055 41.9999 9.10051 41.9999H39.9C41.0599 41.9999 42.0001 41.0598 42.0001 39.8998V16.1002C42.0001 14.9406 41.0599 14.0001 39.9 14.0001ZM27.3003 14.0001C26.9136 14.0001 26.6002 14.3135 26.6002 14.7002C26.6002 15.0867 26.9136 15.4001 27.3003 15.4001H39.9C40.2867 15.4001 40.6001 15.7138 40.6001 16.1002V19.6003H27.3003C26.9136 19.6003 26.6002 19.9136 26.6002 20.3001C26.6002 20.6868 26.9136 21.0002 27.3003 21.0002H40.6001V34.9998H8.40037V21.0002H21.7002C22.0869 21.0002 22.4003 20.6868 22.4003 20.3001C22.4003 19.9136 22.0869 19.6003 21.7002 19.6003H8.40037V16.1002C8.40037 15.7138 8.71375 15.4001 9.10051 15.4001H21.7002C22.0869 15.4001 22.4003 15.0867 22.4003 14.7002C22.4003 14.3135 22.0869 14.0001 21.7002 14.0001H9.10051C7.94055 14.0001 7.00041 14.9406 7.00041 16.1002V23.8001H1.40057V7.00029H32.2V14.0001H27.3003ZM2.10039 1.40045H31.5002C31.8866 1.40045 32.2 1.71383 32.2 2.10027V5.60033H1.40057V2.10027C1.40057 1.71383 1.71395 1.40045 2.10039 1.40045ZM2.10039 29.4C1.71395 29.4 1.40057 29.0866 1.40057 28.7002V25.2001H7.00041V29.4H2.10039ZM39.9 40.6H9.10051C8.71375 40.6 8.40037 40.2866 8.40037 39.8998V36.3998H40.6001V39.8998C40.6001 40.2866 40.2867 40.6 39.9 40.6Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M11.2003 17.5001C11.2003 17.8869 10.8869 18.2003 10.5004 18.2003C10.1137 18.2003 9.80029 17.8869 9.80029 17.5001C9.80029 17.1137 10.1137 16.8003 10.5004 16.8003C10.8869 16.8003 11.2003 17.1137 11.2003 17.5001Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M14.0005 17.5001C14.0005 17.8869 13.6868 18.2003 13.3004 18.2003C12.9139 18.2003 12.6002 17.8869 12.6002 17.5001C12.6002 17.1137 12.9139 16.8003 13.3004 16.8003C13.6868 16.8003 14.0005 17.1137 14.0005 17.5001Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M16.8005 17.5001C16.8005 17.8869 16.4871 18.2003 16.1003 18.2003C15.7139 18.2003 15.4005 17.8869 15.4005 17.5001C15.4005 17.1137 15.7139 16.8003 16.1003 16.8003C16.4871 16.8003 16.8005 17.1137 16.8005 17.5001Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M4.2005 3.5006C4.2005 3.88736 3.88712 4.20074 3.50068 4.20074C3.11392 4.20074 2.80054 3.88736 2.80054 3.5006C2.80054 3.11416 3.11392 2.80078 3.50068 2.80078C3.88712 2.80078 4.2005 3.11416 4.2005 3.5006Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M7.00042 3.5006C7.00042 3.88736 6.68704 4.20074 6.3006 4.20074C5.91384 4.20074 5.60046 3.88736 5.60046 3.5006C5.60046 3.11416 5.91384 2.80078 6.3006 2.80078C6.68704 2.80078 7.00042 3.11416 7.00042 3.5006Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M9.80035 3.5006C9.80035 3.88736 9.48697 4.20074 9.10053 4.20074C8.71377 4.20074 8.40039 3.88736 8.40039 3.5006C8.40039 3.11416 8.71377 2.80078 9.10053 2.80078C9.48697 2.80078 9.80035 3.11416 9.80035 3.5006Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M25.2001 22.4005V11.9007C25.2001 10.7407 24.26 9.80056 23.1 9.80056H15.6901L15.8952 9.59548C16.1605 9.32087 16.1566 8.88412 15.8865 8.61432C15.6167 8.3442 15.18 8.34035 14.9054 8.60567L13.5054 10.0056C13.3737 10.137 13.2997 10.3155 13.2997 10.5013C13.2997 10.6872 13.3737 10.8657 13.5054 10.997L14.9054 12.397C15.18 12.662 15.6167 12.6585 15.8865 12.3884C16.1566 12.1182 16.1605 11.6818 15.8952 11.4072L15.6901 11.2005H23.1C23.4868 11.2005 23.8002 11.5139 23.8002 11.9007V22.4005H22.4002C21.627 22.4005 21.0003 23.0273 21.0003 23.8005V25.2004C21.0003 25.352 21.0493 25.4994 21.1403 25.6205L21.9801 26.7404C22.5364 27.4883 22.5364 28.5124 21.9801 29.2603L21.1403 30.3802C21.0493 30.5016 21.0003 30.649 21.0003 30.8003V32.2002C21.0003 32.9734 21.627 33.6002 22.4002 33.6002H26.6001C27.3733 33.6002 28.0001 32.9734 28.0001 32.2002V30.8003C28.0001 30.649 27.951 30.5016 27.86 30.3802L27.0202 29.2603C26.4636 28.5124 26.4636 27.4883 27.0202 26.7404L27.86 25.6205C27.951 25.4994 28.0001 25.352 28.0001 25.2004V23.8005C28.0001 23.0273 27.3733 22.4005 26.6001 22.4005H25.2001ZM26.6001 24.9672L25.9003 25.9003C24.9726 27.1467 24.9726 28.854 25.9003 30.1005L26.6001 31.0342V32.2002H22.4002V31.0336L23.1 30.1005C24.0274 28.854 24.0274 27.1471 23.1 25.9003L22.4002 24.9681V23.8005H26.6001V24.9672Z",fill:"#1A1A1A"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_70_2551"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),e._v(" "),n("p",{staticClass:"benefit-description"},[e._v("\n "+e._s(e.translateMe("Full"))+"\n "),n("strong",[e._v(e._s(e.translateMe("Onboarding")))]),e._v(","+e._s(e.translateMe("Setup and migration assistance"))+"\n ")])]),e._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"44",height:"43",viewBox:"0 0 44 43",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M25.1837 23.9888H18.8162C17.6301 23.9115 16.4411 24.0885 15.3291 24.5082C14.217 24.928 13.2078 25.5804 12.3686 26.4222C11.5294 27.2639 10.8798 28.2755 10.4634 29.3887C10.0471 30.502 9.87357 31.6913 9.95449 32.8772C9.86833 33.6424 9.9564 34.4172 10.2119 35.1436C10.4674 35.8701 10.8839 36.5292 11.4301 37.072C11.9763 37.6148 12.6381 38.0271 13.3661 38.278C14.0942 38.5289 14.8695 38.6119 15.6341 38.521H28.3657C29.1303 38.6119 29.9057 38.5289 30.6337 38.278C31.3617 38.0271 32.0235 37.6148 32.5697 37.072C33.1159 36.5292 33.5324 35.8701 33.7879 35.1436C34.0434 34.4172 34.1315 33.6424 34.0453 32.8772C34.1262 31.6913 33.9527 30.502 33.5364 29.3887C33.12 28.2755 32.4704 27.2639 31.6312 26.4222C30.792 25.5804 29.7828 24.928 28.6708 24.5082C27.5587 24.0885 26.3697 23.9115 25.1837 23.9888ZM28.3657 36.7293H15.6341C12.9467 36.7293 11.7462 35.5414 11.7462 32.8772C11.6686 31.9279 11.7981 30.9732 12.1256 30.0788C12.4531 29.1844 12.9708 28.3716 13.643 27.6968C14.3152 27.022 15.1259 26.5013 16.0191 26.1704C16.9122 25.8396 17.8666 25.7065 18.8162 25.7805H25.1837C26.1332 25.7065 27.0876 25.8396 27.9807 26.1704C28.8739 26.5013 29.6846 27.022 30.3568 27.6968C31.029 28.3716 31.5467 29.1844 31.8742 30.0788C32.2017 30.9732 32.3312 31.9279 32.2537 32.8772C32.2537 35.5414 31.0549 36.7293 28.3657 36.7293ZM22.0143 20.6257C23.2567 20.6257 24.4711 20.2574 25.5041 19.5672C26.5371 18.8769 27.3421 17.8958 27.8176 16.748C28.293 15.6002 28.4175 14.3372 28.1752 13.1187C27.9328 11.9002 27.3344 10.7809 26.4559 9.9024C25.5774 9.0239 24.4583 8.42572 23.2398 8.18334C22.0213 7.94097 20.7581 8.06528 19.6103 8.54072C18.4625 9.01615 17.4816 9.82144 16.7913 10.8544C16.1011 11.8874 15.7326 13.1018 15.7326 14.3442C15.7349 16.0094 16.3977 17.6058 17.5752 18.7833C18.7527 19.9608 20.3491 20.6233 22.0143 20.6257ZM22.0143 9.85428C22.9024 9.85428 23.7704 10.1177 24.5087 10.611C25.2471 11.1044 25.8225 11.8056 26.1624 12.626C26.5022 13.4464 26.5911 14.3491 26.4178 15.2201C26.2446 16.0911 25.817 16.891 25.1891 17.519C24.5612 18.1469 23.7612 18.5746 22.8903 18.7479C22.0193 18.9211 21.1164 18.8323 20.2959 18.4924C19.4755 18.1526 18.7743 17.5771 18.281 16.8388C17.7876 16.1004 17.5242 15.2322 17.5242 14.3442C17.5261 13.1539 17.9999 12.013 18.8415 11.1714C19.6831 10.3297 20.8241 9.85618 22.0143 9.85428ZM40.8124 22.6647C40.8791 23.2519 40.8121 23.8465 40.6167 24.4041C40.4212 24.9618 40.1023 25.468 39.6836 25.885C39.2649 26.302 38.7573 26.6189 38.1988 26.8121C37.6404 27.0053 37.0454 27.0696 36.4586 27.0004H35.8136C35.576 27.0004 35.3482 26.9062 35.1802 26.7382C35.0122 26.5702 34.9177 26.3422 34.9177 26.1046C34.9177 25.867 35.0122 25.6392 35.1802 25.4712C35.3482 25.3032 35.576 25.2088 35.8136 25.2088H36.4586C38.2789 25.2088 39.0207 24.4707 39.0207 22.6647C39.0741 22.0128 38.9851 21.357 38.7603 20.7427C38.5354 20.1285 38.1798 19.5704 37.7181 19.107C37.2564 18.6436 36.6997 18.2859 36.0863 18.0587C35.4729 17.8316 34.8175 17.7405 34.1654 17.7915H32.4273C32.1897 17.7915 31.9619 17.697 31.7939 17.529C31.6259 17.361 31.5315 17.1332 31.5315 16.8956C31.5315 16.658 31.6259 16.43 31.7939 16.262C31.9619 16.094 32.1897 15.9998 32.4273 15.9998H34.1654C35.0549 15.9418 35.9463 16.0746 36.7803 16.3893C37.6142 16.704 38.3714 17.1934 39.0008 17.8245C39.6303 18.4556 40.1174 19.214 40.4299 20.0488C40.7423 20.8836 40.8728 21.7754 40.8124 22.6647ZM28.5968 7.0395C28.431 6.86937 28.3394 6.64038 28.3425 6.40283C28.3455 6.16528 28.4429 5.9388 28.613 5.77295C29.4874 4.93064 30.658 4.46593 31.872 4.47928C33.0565 4.48161 34.1981 4.92278 35.0763 5.71762C35.9545 6.51245 36.5069 7.60466 36.627 8.78305C36.747 9.96143 36.4262 11.1424 35.7263 12.098C35.0265 13.0536 33.9973 13.7161 32.8376 13.9573C32.7787 13.9694 32.7187 13.9754 32.6585 13.9752C32.4363 13.9754 32.2221 13.8929 32.0572 13.744C31.8924 13.5951 31.7887 13.3903 31.7664 13.1693C31.744 12.9482 31.8045 12.7268 31.9363 12.5479C32.0681 12.369 32.2616 12.2457 32.4794 12.2015C33.2041 12.0487 33.8465 11.6329 34.2828 11.0344C34.7192 10.436 34.9186 9.69715 34.8425 8.96042C34.7664 8.22369 34.4203 7.54113 33.8708 7.04453C33.3213 6.54792 32.6072 6.27236 31.8665 6.27095C31.1202 6.25984 30.3992 6.54153 29.8581 7.05568C29.6882 7.21986 29.4603 7.31022 29.2241 7.3072C28.9879 7.30418 28.7625 7.20796 28.5968 7.0395ZM4.97907 22.6647C4.97907 24.4707 5.72092 25.2088 7.54125 25.2088H8.16829C8.40588 25.2088 8.63367 25.3032 8.80167 25.4712C8.96967 25.6392 9.06412 25.867 9.06412 26.1046C9.06412 26.3422 8.96967 26.5702 8.80167 26.7382C8.63367 26.9062 8.40588 27.0004 8.16829 27.0004H7.54125C6.95439 27.0696 6.35943 27.0053 5.80098 26.8121C5.24253 26.6189 4.73486 26.302 4.31616 25.885C3.89746 25.468 3.57863 24.9618 3.38315 24.4041C3.18767 23.8465 3.12069 23.2519 3.1874 22.6647C3.12705 21.7754 3.25748 20.8836 3.56993 20.0488C3.88238 19.214 4.36954 18.4556 4.99897 17.8245C5.6284 17.1934 6.38558 16.704 7.21953 16.3893C8.05348 16.0746 8.94495 15.9418 9.83442 15.9998H11.6081C11.8457 15.9998 12.0737 16.094 12.2417 16.262C12.4098 16.43 12.504 16.658 12.504 16.8956C12.504 17.1332 12.4098 17.361 12.2417 17.529C12.0737 17.697 11.8457 17.7915 11.6081 17.7915H9.83442C9.18228 17.7405 8.52691 17.8316 7.91349 18.0587C7.30007 18.2859 6.74339 18.6436 6.2817 19.107C5.82002 19.5704 5.46444 20.1285 5.23955 20.7427C5.01466 21.357 4.92573 22.0128 4.97907 22.6647ZM7.36191 9.26311C7.3657 7.99245 7.8735 6.77519 8.77368 5.87837C9.67386 4.98155 10.893 4.47833 12.1637 4.47928C13.3718 4.47433 14.5354 4.93438 15.4137 5.76398C15.5033 5.84371 15.5761 5.94059 15.6276 6.04896C15.6791 6.15733 15.7082 6.27488 15.7133 6.39474C15.7185 6.5146 15.6995 6.63425 15.6576 6.74664C15.6156 6.85904 15.5515 6.96198 15.469 7.04912C15.3866 7.13626 15.2876 7.20594 15.1777 7.25405C15.0678 7.30215 14.9493 7.32761 14.8293 7.32907C14.7093 7.33052 14.5902 7.30778 14.4791 7.26236C14.3681 7.21694 14.2673 7.14976 14.1828 7.06465C13.6359 6.55171 12.9135 6.2677 12.1637 6.27095C11.4206 6.26847 10.7032 6.5422 10.1507 7.03906C9.59814 7.53592 9.24985 8.22038 9.1737 8.95954C9.09755 9.6987 9.299 10.4397 9.73862 11.0388C10.1782 11.6379 10.8246 12.0524 11.5526 12.2015C11.7703 12.2457 11.9639 12.369 12.0957 12.5479C12.2274 12.7268 12.2881 12.9482 12.2658 13.1693C12.2435 13.3903 12.1398 13.5951 11.9749 13.744C11.8101 13.8929 11.5956 13.9754 11.3735 13.9752C11.3133 13.9756 11.2533 13.9695 11.1944 13.9573C10.1131 13.7351 9.14154 13.1469 8.44343 12.2918C7.74531 11.4367 7.36323 10.367 7.36191 9.26311Z",fill:"#1A1A1A"}})]),e._v(" "),n("p",{staticClass:"benefit-description"},[e._v("\n "+e._s(e.translateMe("Access to"))+"\n "),n("strong",[e._v(e._s(e.translateMe("200+")))]),e._v("\n "+e._s(e.translateMe("Tech and marketing professionals"))+"\n ")])]),e._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_96_362)"}},[n("path",{attrs:{d:"M17.5156 18.375C18.9001 18.375 20.2535 17.9645 21.4046 17.1953C22.5557 16.4262 23.4528 15.3329 23.9826 14.0538C24.5124 12.7747 24.6511 11.3671 24.381 10.0093C24.1109 8.6514 23.4442 7.40428 22.4652 6.42532C21.4863 5.44635 20.2389 4.77964 18.8811 4.50954C17.5232 4.23945 16.1158 4.37792 14.8368 4.90774C13.5577 5.43755 12.4644 6.33481 11.6952 7.48595C10.926 8.6371 10.5156 9.99049 10.5156 11.375C10.5156 13.2315 11.253 15.0119 12.5657 16.3246C13.8785 17.6374 15.6591 18.375 17.5156 18.375ZM17.5156 6.12496C18.5539 6.12496 19.5688 6.43291 20.4322 7.00979C21.2955 7.58667 21.9685 8.40652 22.3659 9.36584C22.7633 10.3251 22.8673 11.3809 22.6648 12.3993C22.4622 13.4177 21.9622 14.3531 21.2279 15.0873C20.4937 15.8215 19.5581 16.3216 18.5397 16.5241C17.5213 16.7267 16.4658 16.6226 15.5065 16.2253C14.5472 15.8279 13.7273 15.1551 13.1504 14.2918C12.5735 13.4284 12.2656 12.4133 12.2656 11.375C12.2656 9.98257 12.8187 8.64719 13.8033 7.66262C14.7878 6.67805 16.1232 6.12496 17.5156 6.12496ZM23.6126 23.0108C23.5756 23.2395 23.4495 23.4441 23.2618 23.5799C23.0742 23.7157 22.8403 23.7715 22.6116 23.7352C22.078 23.6565 21.5391 23.6196 20.9998 23.625H13.9998C12.9417 23.5429 11.8783 23.6915 10.8832 24.0605C9.88818 24.4295 8.98522 25.01 8.23645 25.762C7.48768 26.5141 6.91105 27.4198 6.54648 28.4165C6.1819 29.4132 6.03802 30.4773 6.12478 31.535C6.12478 34.5362 7.47403 35.875 10.4998 35.875H19.2498C19.4818 35.875 19.7043 35.9672 19.8684 36.1313C20.0325 36.2954 20.1248 36.5179 20.1248 36.75C20.1248 36.982 20.0325 37.2045 19.8684 37.3686C19.7043 37.5327 19.4818 37.625 19.2498 37.625H10.4998C9.67485 37.7231 8.83833 37.6334 8.05295 37.3626C7.26757 37.0918 6.55368 36.647 5.96457 36.0612C5.37545 35.4755 4.92652 34.7639 4.65121 33.9801C4.37591 33.1963 4.28135 32.3605 4.37478 31.535C4.37478 27.0795 6.89478 21.875 13.9998 21.875H20.9998C21.6317 21.8691 22.2631 21.9136 22.888 22.008C23.117 22.045 23.3221 22.1712 23.4579 22.3592C23.5938 22.5473 23.6494 22.7818 23.6126 23.0108ZM38.694 30.24L38.9268 30.1106C39.0291 30.0536 39.1188 29.9764 39.1909 29.8841C39.2629 29.7918 39.3156 29.686 39.3459 29.5729C39.3763 29.4598 39.3836 29.3417 39.3675 29.2257C39.3514 29.1097 39.3124 28.9982 39.2524 28.8976L37.6494 26.2062C37.5328 26.01 37.3442 25.8671 37.1238 25.808C36.9035 25.7488 36.6688 25.778 36.4697 25.8894L36.2388 26.0207C36.0005 26.1528 35.7324 26.222 35.4599 26.222C35.1875 26.222 34.9196 26.1528 34.6813 26.0207C34.4563 25.8958 34.2684 25.7136 34.1365 25.4927C34.0047 25.2717 33.9337 25.0198 33.9306 24.7625C33.9287 24.46 33.8071 24.1707 33.5922 23.9578C33.3774 23.7449 33.0868 23.6257 32.7843 23.6267H30.1172C29.815 23.6262 29.5251 23.7454 29.3106 23.9582C29.0961 24.1711 28.9747 24.4603 28.9728 24.7625C28.9697 25.0202 28.8981 25.2725 28.7656 25.4935C28.6331 25.7146 28.4444 25.8965 28.2185 26.0207C27.9805 26.1528 27.7129 26.2222 27.4407 26.2222C27.1685 26.2222 26.9007 26.1528 26.6627 26.0207C26.4025 25.8772 26.097 25.8396 25.8097 25.9159C25.5225 25.9921 25.2757 26.1765 25.121 26.4303L23.7859 28.672C23.7082 28.8007 23.657 28.9436 23.6357 29.0924C23.6143 29.2412 23.6231 29.3929 23.6615 29.5383C23.7009 29.6854 23.7693 29.8231 23.8628 29.9433C23.9562 30.0635 24.0729 30.1639 24.2058 30.2383C24.435 30.3601 24.6267 30.5418 24.7604 30.7642C24.8941 30.9867 24.9648 31.2413 24.9648 31.5008C24.9648 31.7603 24.8941 32.015 24.7604 32.2374C24.6267 32.4598 24.435 32.6418 24.2058 32.7635C23.9406 32.9164 23.7468 33.1679 23.6669 33.4634C23.6292 33.6087 23.6206 33.7601 23.6417 33.9088C23.6627 34.0574 23.7128 34.2004 23.7893 34.3296L25.1263 36.5733C25.2808 36.8279 25.5277 37.0126 25.8155 37.089C26.1033 37.1653 26.4095 37.1273 26.6698 36.9828C26.9073 36.8502 27.1747 36.7805 27.4467 36.7805C27.7187 36.7805 27.9864 36.8502 28.2239 36.9828C28.4493 37.1072 28.6376 37.2892 28.7695 37.5102C28.9014 37.7313 28.9722 37.9836 28.9745 38.2411C28.9759 38.5431 29.097 38.832 29.3112 39.0449C29.5254 39.2578 29.8152 39.3771 30.1172 39.3767H32.7896C33.0918 39.3771 33.3818 39.258 33.5963 39.0451C33.8108 38.8323 33.9322 38.5432 33.934 38.2411C33.9371 37.9835 34.0084 37.7315 34.1406 37.5105C34.2728 37.2894 34.4612 37.1074 34.6866 36.9828C34.9246 36.8507 35.1922 36.7814 35.4644 36.7814C35.7366 36.7814 36.0042 36.8507 36.2422 36.9828C36.502 37.1279 36.8078 37.1663 37.0954 37.0903C37.383 37.0142 37.6299 36.8295 37.7839 36.575L39.1246 34.3228C39.2014 34.1947 39.2514 34.0522 39.2718 33.9043C39.2923 33.7563 39.2828 33.6058 39.2436 33.4617C39.2058 33.3148 39.1385 33.1771 39.0462 33.0568C38.9539 32.9366 38.8384 32.8362 38.7064 32.7616L38.6765 32.746C38.4531 32.6206 38.2677 32.4375 38.1392 32.2158C38.0107 31.9942 37.9439 31.742 37.9461 31.4859C37.9482 31.2297 38.0192 30.9788 38.1514 30.7593C38.2835 30.5399 38.4722 30.36 38.6976 30.2383L38.694 30.24ZM37.3204 33.9254L36.5537 35.2117C36.107 35.0583 35.633 35.0009 35.1626 35.0431C34.6922 35.0853 34.2361 35.2263 33.8238 35.4567C33.4207 35.6835 33.0713 35.9947 32.7995 36.3689C32.5277 36.7431 32.3399 37.1715 32.2487 37.625H30.6737C30.5817 37.1719 30.3936 36.7438 30.1219 36.3697C29.8502 35.9956 29.5013 35.6843 29.0989 35.4567C28.6867 35.226 28.2303 35.0849 27.7599 35.0427C27.2894 35.0005 26.8154 35.058 26.3688 35.2117L25.6023 33.9254C25.956 33.6281 26.2403 33.2569 26.4354 32.8381C26.6305 32.4192 26.7315 31.9629 26.7315 31.5008C26.7315 31.0388 26.6305 30.5824 26.4354 30.1635C26.2403 29.7447 25.956 29.3735 25.6023 29.0762L26.3705 27.7883C26.817 27.9412 27.2907 27.9984 27.7607 27.9562C28.2308 27.914 28.6868 27.7733 29.0989 27.5432C29.5035 27.3173 29.8543 27.0066 30.1277 26.6323C30.401 26.2581 30.5903 25.8291 30.6825 25.375H32.2575C32.3488 25.8283 32.5369 26.2567 32.8087 26.6308C33.0804 27.005 33.4296 27.3162 33.8325 27.5432C34.2452 27.7735 34.7017 27.9142 35.1724 27.9564C35.643 27.9986 36.1173 27.9414 36.5644 27.7883L37.3308 29.0745C36.9777 29.3723 36.6937 29.7437 36.499 30.1627C36.3043 30.5816 36.2033 31.038 36.2033 31.5C36.2033 31.962 36.3043 32.4183 36.499 32.8372C36.6937 33.2562 36.9777 33.6276 37.3308 33.9254H37.3204ZM32.8123 31.5C32.8123 31.7587 32.7356 32.0117 32.5923 32.2271C32.4489 32.4425 32.2452 32.6107 32.0065 32.7106C31.7678 32.8104 31.5048 32.8376 31.2507 32.7885C30.9966 32.7394 30.7627 32.6162 30.5784 32.4346C30.3941 32.2529 30.2676 32.0209 30.2148 31.7676C30.162 31.5143 30.1853 31.2511 30.2817 31.011C30.3781 30.7708 30.5433 30.5645 30.7566 30.418C30.9699 30.2715 31.2218 30.1913 31.4806 30.1875H31.4998C31.6723 30.1868 31.8433 30.2202 32.0029 30.2859C32.1624 30.3517 32.3075 30.4483 32.4295 30.5703C32.5515 30.6923 32.6481 30.8373 32.7138 30.9969C32.7795 31.1564 32.813 31.3274 32.8123 31.5Z",fill:"#1A1A1A"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_96_362"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),e._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[e._v(e._s(e.translateMe("Dedicated")))]),e._v("\n "+e._s(e.translateMe("Account manager"))+"\n ")])])])])},staticRenderFns:[]},(function(e){e&&e("data-v-4b31061e_0",{source:".benefits-banner[data-v-4b31061e]{padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1)}.benefits[data-v-4b31061e]{display:flex;justify-content:space-around;align-items:center;gap:20px}.benefit[data-v-4b31061e]{display:flex;flex-basis:25%;flex-grow:0;flex-direction:column;justify-content:center;align-items:center;gap:10px;text-align:center}.benefit-description[data-v-4b31061e]{font-size:14px;font-weight:450;color:#1a1a1a}.benefit-image[data-v-4b31061e]{width:42px;height:42px}@media (max-width:767px){.benefits[data-v-4b31061e]{flex-direction:column}}",map:void 0,media:void 0})}),{name:"BenefitsBanner",props:{benefitsData:{type:Array,required:!1,default:function(){return[{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"}]}}},methods:{translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}}},"data-v-4b31061e",false,undefined,!1,Pc,void 0,void 0),Dp={name:"AppManagerGroupPlan",components:{YearlyPlanPromotion:Ec,PlanBanners:zc,PPage:zu,PStack:Nu,PStackItem:Ou,PButton:ne,PButtonGroup:at,PHeading:ae,PLayout:Du,PLayoutSection:_,PTextContainer:Uu,PDataTable:Tp,PDataTableCol:Ep,PDataTableRow:jp,PIcon:k,PTextStyle:Oc,PCard:Mp,PCardSection:xp,PSkeletonPage:Bp,PSkeletonBodyText:Op,PSkeletonDisplayText:Lp,PEmptyState:Cp,AppCard:Np,PlanShowcaseBanner:Rp,CategoryHeading:Vp,BenefitsBanner:Ip,VariantButton:Hp},props:["shop_domain","host","discount_code"],data:function(){return{plan:{},plans:[],valid_annual_plans:[],promotional_discount:[],features:[],featureValues:[],featuresByGroup:[],shopify_plan:"",default_plan_id:null,onboard:!0,choose_later:!1,has_active_charge:!1,global_plan_charge:!1,planLoading:!1,subtitleContent:"",checkList:["60 days free trial"],selectedPlan:"monthly",monthlySelectedStyle:{height:"60px",backgroundColor:"#257f60",color:"#fff",position:"relative",right:"-5px",borderRadius:"8px",zIndex:1},yearlySelectedStyle:{height:"60px",backgroundColor:"#257f60",position:"relative",left:"-5px",borderRadius:"8px"},monthlyStyle:{height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px",ZIndex:11},yearlyStyle:{color:"#258060",height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px"},bundleStyle:{color:"#258060",height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px"},additionalBenefitsHeading:{category_name:"Unlock Additional Benefits"},bundle_details:null,bundle_plan:null}},computed:{shop:function(){return{name:this.shop_domain,shopify_plan:this.shopify_plan,has_plan:!!this.plan,plan:this.plan,default_plan_id:this.default_plan_id}},headings:function(){var e=this,t=[this.translateMe("Plans & features")];return this.plans.forEach((function(n){var a=n.name;n.price>0&&(a+=" ($".concat(n.price,"/")+e.translateMe("mo")+")"),t.push(a)})),t},monthlyPlan:function(){var e=[];for(var t in this.plans)"EVERY_30_DAYS"===this.plans[t].interval&&e.push(this.plans[t]);return e},yearlyPlan:function(){var e=[];for(var t in this.plans)"ANNUAL"===this.plans[t].interval&&e.push(this.plans[t]);return e},totalBundleApps:function(){var e=0;return this.bundle_details&&this.bundle_details.forEach((function(t){e+=t.apps_relation.length})),e}},methods:{translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e},activePlanStyle:function(e){return[e.shopify_plans.includes(this.shop.shopify_plan)||!e.store_base_plan?{backgroundColor:"#FFF",color:"#202223"}:{}]},isCurrentPlan:function(e){return this.has_active_charge&&this.shop.plan&&(e.id===this.shop.plan.id||!e.is_custom&&e.base_plan===this.shop.plan.id)},isCurrentPlanId:function(e){return this.shop.plan&&e.id===this.shop.plan.id},isActivePlanGlobal:function(){var e;return Boolean(null===(e=this.shop.plan)||void 0===e?void 0:e.is_global)},isActiveGlobalCharge:function(){return Boolean(this.global_plan_charge)},isSamePlanInOtherInterval:function(e){return this.shop.plan&&e.shopify_plans===this.shop.plan.shopify_plans},format:function(e){if(["double","integer"].includes(null==e?void 0:e.value_type))return"percentage"===e.format?"".concat(e.value,"%"):"count"===e.format&&e.value<0?this.translateMe("Unlimited"):e.value;if("array"===(null==e?void 0:e.value_type)){var t=JSON.parse(e.value),n=this;return(t=t.map((function(t){return n.translateMe(n.featureValues[e.feature_id][t])}))).join(", ")}return"string"===(null==e?void 0:e.value_type)?this.translateMe(e.value.replace('"',"").replace('"',"")):void 0},calculateDiscountedPrice:function(e){return"percentage"===e.discount_type?e.price-e.price*e.discount/100:"amount"===e.discount_type?e.discount>e.price?0:e.price-e.discount:void 0},calculatePromotionalDiscountedPrice:function(e,t){return"percentage"===t.type?e.price-e.price*t.value/100:"amount"===t.type?t.value>e.price?0:e.price-t.value:void 0},headerClasses:function(e){return{"Polaris-DataTable__Cell":!0,"Polaris-DataTable__Cell--header":!0,"Polaris-DataTable__Cell--verticalAlignMiddle":!0,"Polaris-DataTable__Cell--firstColumn":Boolean(e)}},groupBy:function(e,t){return e.reduce((function(e,n){var a=n[t];return e[a]||(e[a]=[]),e[a].push(n),e}),{})},getPlanUrl:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){var a,r,i,o,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=t.shop.name,r=t.host,i=t.discount_code,o="shop=".concat(a),null!=r&&(o+="&host=".concat(r)),null!=i&&(o+="&discount_code=".concat(i)),n.next=8,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plan/process/").concat(e.id,"?").concat(o)).catch((function(e){console.error(e)}));case 8:"free_plan"===(s=n.sent).data.plan_type?t.$emit("handlePlanSelect",{free_plan:!0}):(l=s.data.redirect_url)&&(window.top.location.href=l);case 10:case"end":return n.stop()}}),n)})))()},activePlan:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.activeWithoutPlan();case 2:!0===t.sent.data.status&&e.onboard&&(e.$emit("handlePlanSelect",{choose_later:!0}),e.onboard=!1);case 4:case"end":return t.stop()}}),t)})))()},activeWithoutPlan:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_c.post("".concat(e.app_manager_config.baseUrl,"/api/app-manager/active-without-plan"),{shop_domain:e.shop.name,plan_id:e.shop.default_plan_id}).catch((function(e){console.error(e)}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},selectPlan:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){var a,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.selectedPlan=e,null!==t.bundle_plan&&(a=document.querySelector(".custom-plan"),r=document.querySelector(".bundle-plan"),"bundle"==t.selectedPlan?(a.style.display="none",r.style.display="flex"):(r.style.display="none",a.style.display="flex"));case 2:case"end":return n.stop()}}),n)})))()},fetchFeatures:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,a,r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plan-features")).catch((function(e){console.error(e)}));case 2:n=t.sent,(a=n.data).features.length&&(e.features=a.features,e.features=null===(r=e.features)||void 0===r?void 0:r.filter((function(e){return!0!==e.hidden_feature})),e.features=null===(i=e.features)||void 0===i?void 0:i.sort((function(e,t){return parseInt(e.display_order)-parseInt(t.display_order)})),e.features=null===(o=e.features)||void 0===o?void 0:o.sort((function(e,t){return parseInt(e.group_order)-parseInt(t.group_order)})),e.featuresByGroup=e.groupBy(e.features,"group"),e.features.forEach((function(t){"array"==t.value_type&&(e.featureValues[t.uuid]=t.values)})));case 5:case"end":return t.stop()}}),t)})))()},fetchPlans:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,a,r,i,o,s,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={shop_domain:e.shop_domain},null!==e.discount_code&&(n.discount_code=e.discount_code),t.next=4,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plans"),{params:n}).catch((function(e){console.error(e)}));case 4:if(a=t.sent,(r=a.data).plans.length){for(l=0;l<r.plans.length;l++)"ANNUAL"===r.plans[l].interval&&e.valid_annual_plans.push(r.plans[l]);e.plans=r.plans,e.plans=null===(i=e.plans)||void 0===i?void 0:i.sort((function(e,t){return parseFloat(e.price)-parseFloat(t.price)})),e.plans[0].store_base_plan&&(e.subtitleContent=e.translateMe("App plans are based on your existing shopify plan")),e.plan=r.plan,"ANNUAL"===(null===(o=e.plan)||void 0===o?void 0:o.interval)&&(e.selectedPlan="annually"),null!==(s=e.plan)&&void 0!==s&&s.is_global&&(e.selectedPlan="bundle"),e.shopify_plan=r.shopify_plan,e.default_plan_id=r.default_plan_id,e.choose_later=r.choose_later,e.onboard=e.default_plan_id&&e.choose_later,e.has_active_charge=r.has_active_charge,e.global_plan_charge=r.global_plan_charge,e.promotional_discount=void 0!==r.promotional_discount?r.promotional_discount:[],r.bundle_plan&&(e.bundle_plan=r.bundle_plan),r.bundle_details&&(e.bundle_details=r.bundle_details)}case 7:case"end":return t.stop()}}),t)})))()},isPlanButtonColor:function(e){return!!(this.has_active_charge&&this.shop.plan&&e.price>this.shop.plan.price)},planChooseButtonClass:function(e){return this.has_active_charge&&this.shop.plan&&e.price>this.shop.plan.price?"":"custom-choose-button"},handlePlanBannerClose:function(e){this.$emit("handlePlanBannerClose",e),this.$emit("handle-plan-banner-close",e)},handlePlanClicked:function(e){this.getPlanUrl(e)}},mounted:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.planLoading=!0,t.next=3,e.fetchFeatures();case 3:return t.next=5,e.fetchPlans();case 5:e.planLoading=!1,e.$nextTick((function(){e.selectPlan(e.selectedPlan)}));case 7:case"end":return t.stop()}}),t)})))()}},Fp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return this.planLoading||0!==this.plans.length?!this.planLoading&&this.plans.length>0?n("div",[n("PlanBanners",{attrs:{position:"header"},on:{handlePlanBannerClose:e.handlePlanBannerClose}}),e._v(" "),n("PPage",{staticClass:"app-manager-plan-page custom-title",attrs:{title:"bundle"===e.selectedPlan?"":e.translateMe("Plans"),subtitle:"bundle"===e.selectedPlan?"":e.subtitleContent}},[n("PStack",{attrs:{slot:"primaryAction"},slot:"primaryAction"},[n("PStackItem",{staticStyle:{"margin-top":"20px"}},[n("div",{staticClass:"button-group-new"},[n("VariantButton",{attrs:{id:"pricing-tab",variant:"monthly"===e.selectedPlan?"primary":"secondary",additionalText:"1 App"},on:{click:function(t){return e.selectPlan("monthly")}}},[e._v("\n "+e._s(e.translateMe("Monthly"))+"\n ")]),e._v(" "),e.valid_annual_plans.length>0?n("VariantButton",{attrs:{id:"pricing-tab",variant:"annually"===e.selectedPlan?"primary":"secondary"},on:{click:function(t){return e.selectPlan("annually")}}},[e._v("\n "+e._s(e.translateMe("Annually"))+"\n ")]):e._e(),e._v(" "),null!==e.bundle_plan?n("VariantButton",{attrs:{id:"pricing-tab",variant:"bundle"===e.selectedPlan?"primary":"secondary",additionalText:e.totalBundleApps+" Apps"},on:{click:function(t){return e.selectPlan("bundle")}}},[e._v("\n "+e._s(e.translateMe("Bundle"))+"\n ")]):e._e()],1)])],1),e._v(" "),n("div",{staticClass:"light-divider",staticStyle:{margin:"20px 0"}}),e._v(" "),n("PLayout",{staticClass:"custom-plan"},[n("PLayoutSection",[[[n("PDataTable",{staticClass:"plan-table"},[n("template",{slot:"head"},["monthly"===e.selectedPlan?n("PDataTableRow",{staticStyle:{"box-shadow":"none!important"}},[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[e._v(e._s(e.translateMe("features")))])]),e._v(" "),e._l(e.monthlyPlan,(function(t,a){return[n("PDataTableCol",{class:{"first-column":0===a,"plan-heading":!0,"last-column":a+1===e.monthlyPlan.length},style:e.activePlanStyle(t)},["Free"!==t.name?n("b",{staticStyle:{"font-size":"16px"}},[e._v(e._s(e.translateMe(t.name)))]):e._e(),e._v(" "),0===t.price?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v(e._s(e.translateMe("Free")))])],1)]):t.discount&&t.discount>0&&!e.isCurrentPlan(t)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(e.calculateDiscountedPrice(t)).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("mo")))])],1),e._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[e._v("/"+e._s(e.translateMe("mo")))])],1)]):e.promotional_discount&&0!==e.promotional_discount.length&&!e.promotional_discount.errors&&!t.is_global&&e.promotional_discount.plan_relation.length>0&&e.promotional_discount.plan_relation.includes(t.id)&&!e.isCurrentPlan(t)||e.promotional_discount&&0!==e.promotional_discount.length&&!e.promotional_discount.errors&&!t.is_global&&0===e.promotional_discount.plan_relation.length&&e.promotional_discount.value>0&&!e.isCurrentPlan(t)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(e.calculatePromotionalDiscountedPrice(t,e.promotional_discount)).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("mo")))])],1),e._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[e._v("/"+e._s(e.translateMe("mo")))])],1)]):n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("mo")))])],1)])])]}))],2):n("PDataTableRow",[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[e._v(e._s(e.translateMe("features")))])]),e._v(" "),e._l(e.yearlyPlan,(function(t,a){return[n("PDataTableCol",{class:{"first-column":0===a,"plan-heading":!0,"last-column":a+1===e.yearlyPlan.length},style:e.activePlanStyle(t)},["Free"!==t.name?n("b",{staticStyle:{"font-size":"16px"}},[e._v(e._s(e.translateMe(t.name)))]):e._e(),e._v(" "),0===t.price?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v(e._s(e.translateMe("Free")))])],1)]):t.discount&&t.discount>0&&!e.isCurrentPlan(t)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(e.calculateDiscountedPrice(t)).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("year")))])],1),e._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[e._v("/"+e._s(e.translateMe("year")))])],1)]):e.promotional_discount&&0!==e.promotional_discount.length&&!e.promotional_discount.errors&&e.promotional_discount.plan_relation.length>0&&e.promotional_discount.plan_relation.includes(t.id)&&!e.isCurrentPlan(t)||e.promotional_discount&&0!==e.promotional_discount.length&&!e.promotional_discount.errors&&0===e.promotional_discount.plan_relation.length&&e.promotional_discount.value>0&&!e.isCurrentPlan(t)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(e.calculatePromotionalDiscountedPrice(t,e.promotional_discount)).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("year")))])],1),e._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[e._v("/"+e._s(e.translateMe("year")))])],1)]):n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("year")))])],1)])])]}))],2)],1),e._v(" "),n("template",{slot:"body"},[e._l(e.featuresByGroup,(function(t,a){return["null"!==a?n("PDataTableRow",{staticClass:"app-manager-group-row"},[n("PDataTableCol",{staticClass:"app-manager-group-cell",attrs:{colspan:"monthly"===e.selectedPlan?e.monthlyPlan.length+1:e.yearlyPlan.length+1}},[e._v(e._s(e.translateMe(a)))])],1):e._e(),e._v(" "),e._l(t,(function(t,r){return n("PDataTableRow",{key:"row-"+(r+a)},[n("PDataTableCol",{class:"feature__type__"+t.value_type+" feature__class"},[e._v(e._s(e.translateMe(t.name)))]),e._v(" "),e._l("monthly"===e.selectedPlan?e.monthlyPlan:e.yearlyPlan,(function(a,i){return n("PDataTableCol",{key:"cell-"+i+"-row-"+r,class:"feature__type__"+t.value_type,style:e.activePlanStyle(a)},[a.features?["boolean"===t.value_type?[a.features[t.uuid]?n("PIcon",{attrs:{color:"success",source:"TickMinor"}}):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]:[a.features[t.uuid]?n("span",[e._v(e._s(e.translateMe(e.format(a.features[t.uuid]))))]):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]]:[n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]],2)}))],2)}))]})),e._v(" "),e.plans.length?n("PDataTableRow",{staticClass:"row-alignment"},[n("PDataTableCol"),e._v(" "),e._l("monthly"===e.selectedPlan?e.monthlyPlan:e.yearlyPlan,(function(t,a){return n("PDataTableCol",{key:"cell-"+a+"-row-plan",staticStyle:{"max-width":"0"}},[e.isCurrentPlan(t)?n("PButton",{attrs:{disabled:e.isCurrentPlan(t),"full-width":"",pressed:e.isCurrentPlan(t)}},[e._v("\n "+e._s(e.translateMe("Current plan"))+"\n ")]):!t.store_base_plan||t.shopify_plans.includes(e.shop.shopify_plan)?n("PButton",{staticClass:"custom-choose-button",attrs:{"full-width":"",disabled:e.isActivePlanGlobal()&&!e.isActiveGlobalCharge()},on:{click:function(n){!t||e.getPlanUrl(t)}}},[e._v("\n "+e._s(e.isActivePlanGlobal()?e.isActiveGlobalCharge()?e.translateMe("Choose plan"):e.translateMe("Not applicable"):e.translateMe("Choose plan"))+"\n ")]):n("PButton",{attrs:{disabled:!0,"full-width":"",pressed:!0}},[e._v("\n "+e._s(e.translateMe("Not applicable"))+"\n ")]),e._v(" "),t.store_base_plan&&e.shop.plan&&t.shopify_plans.includes(e.shop.shopify_plan)&&!e.isCurrentPlan(t)?n("PTextContainer",{staticClass:"footer-note-container"},[!t.store_base_plan||t.shopify_plans.includes(e.shop.shopify_plan)||e.isCurrentPlan(t)||e.isSamePlanInOtherInterval(t)?e._e():n("PTextStyle",{staticClass:"text-break"},[e._v(e._s(e.translateMe("Note: On account of your recent Shopify plan upgrade, you should consider upgrading your current app plan")))])],1):e._e()],1)}))],2):e._e()],2)],2)]],e._v(" "),e.onboard?n("PStack",{staticClass:"choose-plan-btn",attrs:{alignment:"center",distribution:"center",vertical:""}},[n("PStackItem",{attrs:{fill:""}},[n("PButton",{attrs:{plain:""},on:{click:e.activePlan}},[e._v(e._s(e.translateMe("I will choose the plan later")))])],1)],1):e._e(),e._v(" "),n("PlanBanners",{attrs:{position:"footer"},on:{handlePlanBannerClose:e.handlePlanBannerClose}})],2)],1),e._v(" "),null!==e.bundle_plan?n("div",{staticClass:"bundle-plan"},[n("PlanShowcaseBanner",{attrs:{useCardStyle:"true",bundleApps:e.totalBundleApps,showcaseData:e.bundle_plan,realPrice:parseFloat(e.calculateDiscountedPrice(e.bundle_plan)).toFixed(0),oldPrice:e.bundle_plan.price,isCurrentPlan:e.isCurrentPlanId(e.bundle_plan)},on:{"plan-clicked":function(t){return e.handlePlanClicked(e.bundle_plan)}}}),e._v(" "),n("div",{staticClass:"light-divider"}),e._v(" "),e._l(e.bundle_details,(function(t){return n("div",{staticClass:"bundle-category"},[n("CategoryHeading",{attrs:{headingData:t}}),e._v(" "),n("div",{staticClass:"bundle-category-apps"},e._l(t.apps_relation,(function(e){return n("AppCard",{attrs:{appData:e}})})),1)],1)})),e._v(" "),n("CategoryHeading",{attrs:{headingData:e.additionalBenefitsHeading}}),e._v(" "),n("BenefitsBanner"),e._v(" "),n("PlanShowcaseBanner",{staticStyle:{"margin-top":"20px"},attrs:{bundleApps:e.totalBundleApps,showcaseData:e.bundle_plan,realPrice:parseFloat(e.calculateDiscountedPrice(e.bundle_plan)).toFixed(0),oldPrice:e.bundle_plan.price,showDescription:!1,isCurrentPlan:e.isCurrentPlanId(e.bundle_plan)},on:{"plan-clicked":function(t){return e.handlePlanClicked(e.bundle_plan)}}})],2):e._e()],1)],1):e._e():n("PEmptyState",{attrs:{heading:e.translateMe("No plans"),image:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"}})},staticRenderFns:[]},(function(e){e&&e("data-v-2aea4b20_0",{source:"@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-5a078dbb],.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-7d902277]{float:none}.app-manager .app-manager-plan-page .active{background:#f0f8f5}.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-0d1b0d63]{float:none}.app-manager .app-manager-plan-page .plan-table td{border:.01px solid #ececee!important;border-collapse:collapse!important}.app-manager .app-manager-plan-page .plan-table .Polaris-DataTable__ScrollContainer{border-radius:12px;overflow:visible}.app-manager .app-manager-plan-page .plan-table table{border-collapse:collapse!important}.app-manager .app-manager-plan-page .custom-plan table{border-collapse:collapse!important}.app-manager .app-manager-plan-page .custom-plan table thead .first-column{border-radius:12px 0 0 0;border-top:0!important;border-left:0!important}.app-manager .app-manager-plan-page .custom-plan table thead .plan-heading.last-column{text-align:left!important;border-radius:0 12px 0 0;border-top:0!important}.app-manager .app-manager-plan-page .custom-plan table thead .plan-heading{background-color:#fff;box-shadow:rgba(23,24,24,.05) 1px 0 8px,rgba(0,0,0,.15) 0 0 2px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:first-child{background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);border-radius:12px 0 0 0;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){background-color:#fff;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){border-bottom:0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child{border-bottom:0;background-color:transparent!important;box-shadow:none!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:last-child){pointer-events:none}.app-manager .app-manager-plan-page .custom-plan table thead tr td{pointer-events:none}.app-manager .app-manager-plan-page .custom-plan table tbody tr:first-child td:first-child{overflow:hidden;border-radius:12px 0 0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2){overflow:hidden;border-bottom-right-radius:0;border-bottom-left-radius:12px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:first-child{overflow:hidden;border-bottom:0!important;border-radius:0 0 0 12px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:last-child{overflow:hidden;border-radius:0 0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr td:first-child{border-left:0!important;border-top:0!important;padding-left:20px}.app-manager .app-manager-plan-page .custom-plan table tbody tr td:last-child{text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table thead tr td:last-child{text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table tbody td:not(:first-child){text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:last-child{background:0 0;border-radius:0 0 12px 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:nth-child(2){border-radius:0 0 0 12px!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td{background:0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:hover{border:0!important;background:0 0}.app-manager .app-manager-plan-page .custom-plan tbody tr:last-child td.Polaris-DataTable__Cell--verticalAlignTop{background:0 0!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child{background:#fff!important;opacity:1}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:first-child{visibility:hidden;border-bottom:none!important}.app-manager .app-manager-plan-page .plan-heading{padding-top:30px}.app-manager .app-manager-plan-page .custom-plan .Polaris-Layout__Section{max-width:calc(100% - 2rem)!important}.app-manager .app-manager-plan-page .later-link{text-align:center;clear:both;padding-top:15px}.app-manager .app-manager-plan-page .plan-badge ul{text-align:center;padding-top:2rem;border-top:.1rem solid #e1e3e5}.app-manager .app-manager-plan-page .plan-badge ul li{list-style:none;display:inline-block;padding-right:25px}.app-manager .app-manager-plan-page .plan-badge ul li img{max-width:133px}.app-manager .app-manager-plan-page .btn-group .Polaris-ButtonGroup__Item{margin-left:0!important;z-index:unset!important}.app-manager .Polaris-Button::after{box-shadow:none!important}.app-manager .Polaris-Button:focus{box-shadow:none!important;border-color:#000!important}.app-manager .app-manager-plan-page.custom-title .Polaris-HorizontalDivider{background-color:#e2e3e4}.app-manager .app-manager-plan-page .Polaris-Page__Content hr{border:1px solid #e2e3e4}.app-manager .app-manager-plan-page .app-manager-group-row{background:0 0!important;padding:16px 16px 16px 20px!important}.app-manager .app-manager-plan-page .feature__type__array{vertical-align:middle!important;word-spacing:999px;white-space:pre-line!important}.app-manager .app-manager-plan-page .Polaris-DataTable__Table{table-layout:fixed!important}.app-manager .app-manager-plan-page td{vertical-align:middle!important}.app-manager .app-manager-plan-page td.feature__class{word-wrap:break-word!important;white-space:normal!important}.app-manager .app-manager-plan-page .light-green-cell{background-color:#f0f8f5;color:#257f60}.app-manager .app-manager-plan-page .plan-heading b{overflow-wrap:break-word;word-wrap:break-word;white-space:initial}.bundle-plan{display:none;flex-direction:column;gap:20px}.bundle-category{display:flex;flex-direction:column;gap:20px;margin-bottom:10px}.bundle-category-apps{display:flex;flex-direction:column;gap:10px}.light-divider{border-top:1px solid #e3e3e3;margin-top:10px;margin-bottom:10px}.app-manager .Polaris-Icon--colorSuccess svg{fill:#000!important}.button-group-new{display:flex;align-items:center;justify-content:center;gap:4px}@media (max-width:700px){.app-manager .Polaris-DataTable__Table{width:auto!important}}",map:void 0,media:void 0})}),Dp,undefined,false,undefined,!1,Pc,void 0,void 0),qp=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("a",{staticClass:"button",class:"button-"+e.variant,on:{click:e.handleClick}},[e._t("default")],2)},staticRenderFns:[]},(function(e){e&&e("data-v-5ac91f62_0",{source:".button[data-v-5ac91f62]{display:flex;width:fit-content!important;height:28px!important;align-items:center!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;border-radius:40px!important;transition:all .3s!important}.button[data-v-5ac91f62]:hover{background-color:#0000000d!important;border-radius:8px!important}.button-primary[data-v-5ac91f62]{background-color:#3f3f3f!important;color:#fafafa!important}.button-primary[data-v-5ac91f62]:hover{cursor:pointer!important;background-color:rgba(0,0,0,.5)!important;border-radius:40px!important}.button-secondary[data-v-5ac91f62]{color:#1a1a1a!important;background-color:none}.button-secondary[data-v-5ac91f62]:hover{cursor:pointer!important;background-color:rgba(0,0,0,.08)!important;border-radius:40px!important}.additional-info-primary[data-v-5ac91f62]{background-color:rgba(0,0,0,.06)!important;color:#4a4a4a!important;padding:0 6px!important;border-radius:8px!important;font-size:13px!important;font-weight:550!important}.additional-info-secondary[data-v-5ac91f62]{background-color:rgba(0,0,0,.06)!important;color:#4a4a4a!important;padding:0 6px!important;border-radius:8px!important;font-weight:550!important}.disabled[data-v-5ac91f62]{background-color:rgba(0,0,0,.08)!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;cursor:not-allowed!important;pointer-events:none!important}",map:void 0,media:void 0})}),{name:"SelectButton",props:{variant:{type:String,required:!0,default:function(){return"primary"}}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},handlePlanClick:function(){event.preventDefault(),this.$emit("plan-clicked",event)}}},"data-v-5ac91f62",false,undefined,!1,Pc,void 0,void 0),$p=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"button",class:{"is-toggled":e.toggled},on:{click:e.handleClick}},[n("svg",{attrs:{width:"18",height:"18",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_855_6470)"}},[n("path",{attrs:{d:"M6.00512 1.50562C6.43112 1.50562 6.83912 1.67562 7.13862 1.97662L7.48762 2.32562C7.59992 2.43725 7.75178 2.49998 7.91012 2.50012H8.41012C8.83447 2.50012 9.24144 2.66869 9.54149 2.96874C9.84155 3.2688 10.0101 3.67577 10.0101 4.10012V4.60012C10.0101 4.75812 10.0731 4.91012 10.1836 5.02162L10.5326 5.37062C10.6821 5.51922 10.8007 5.69588 10.8816 5.89045C10.9626 6.08502 11.0043 6.29367 11.0044 6.50441C11.0045 6.71515 10.9629 6.92383 10.8822 7.11847C10.8014 7.31312 10.6829 7.48988 10.5336 7.63862L10.1846 7.98762C10.073 8.09991 10.0103 8.25177 10.0101 8.41012V8.91012C10.0101 9.33446 9.84155 9.74143 9.54149 10.0415C9.24144 10.3415 8.83447 10.5101 8.41012 10.5101H7.91012C7.75227 10.5103 7.60083 10.5726 7.48862 10.6836L7.13962 11.0326C6.99102 11.182 6.81436 11.3006 6.61979 11.3816C6.42522 11.4626 6.21657 11.5043 6.00583 11.5044C5.79509 11.5045 5.58641 11.4629 5.39177 11.3821C5.19712 11.3014 5.02036 11.1829 4.87162 11.0336L4.52262 10.6846C4.41033 10.573 4.25847 10.5103 4.10012 10.5101H3.60012C3.17578 10.5101 2.76881 10.3415 2.46875 10.0415C2.16869 9.74143 2.00012 9.33446 2.00012 8.91012V8.41012C1.99999 8.25226 1.93765 8.10082 1.82662 7.98862L1.47762 7.63962C1.3282 7.49101 1.2096 7.31435 1.12864 7.11978C1.04768 6.92521 1.00595 6.71656 1.00586 6.50582C1.00577 6.29508 1.04731 6.0864 1.12809 5.89176C1.20888 5.69711 1.32733 5.52035 1.47662 5.37162L1.82562 5.02262C1.93726 4.91032 1.99999 4.75846 2.00012 4.60012V4.10012L2.00262 4.00912C2.02586 3.60117 2.2043 3.21757 2.50134 2.93699C2.79838 2.6564 3.19152 2.50009 3.60012 2.50012H4.10012C4.25798 2.49998 4.40942 2.43764 4.52162 2.32662L4.87062 1.97762C5.01929 1.82806 5.19606 1.70937 5.39076 1.62836C5.58546 1.54736 5.79425 1.50565 6.00512 1.50562ZM7.25012 7.00012C7.05121 7.00012 6.86045 7.07913 6.71979 7.21979C6.57914 7.36044 6.50012 7.5512 6.50012 7.75012C6.50012 7.94903 6.57914 8.13979 6.71979 8.28045C6.86045 8.4211 7.05121 8.50012 7.25012 8.50012C7.44904 8.50012 7.6398 8.4211 7.78045 8.28045C7.92111 8.13979 8.00012 7.94903 8.00012 7.75012C8.00012 7.5512 7.92111 7.36044 7.78045 7.21979C7.6398 7.07913 7.44904 7.00012 7.25012 7.00012ZM7.85362 4.64662C7.75986 4.55288 7.63271 4.50022 7.50012 4.50022C7.36754 4.50022 7.24039 4.55288 7.14662 4.64662L4.14662 7.64662C4.05555 7.74092 4.00515 7.86722 4.00629 7.99832C4.00743 8.12941 4.06001 8.25482 4.15271 8.34752C4.24542 8.44023 4.37083 8.49281 4.50192 8.49395C4.63302 8.49509 4.75932 8.44469 4.85362 8.35362L7.85362 5.35362C7.94736 5.25985 8.00002 5.1327 8.00002 5.00012C8.00002 4.86753 7.94736 4.74038 7.85362 4.64662ZM4.75012 4.50012C4.55121 4.50012 4.36045 4.57913 4.21979 4.71979C4.07914 4.86044 4.00012 5.0512 4.00012 5.25012C4.00012 5.44903 4.07914 5.63979 4.21979 5.78045C4.36045 5.9211 4.55121 6.00012 4.75012 6.00012C4.94904 6.00012 5.1398 5.9211 5.28045 5.78045C5.42111 5.63979 5.50012 5.44903 5.50012 5.25012C5.50012 5.0512 5.42111 4.86044 5.28045 4.71979C5.1398 4.57913 4.94904 4.50012 4.75012 4.50012Z",fill:"#1A1A1A"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_855_6470"}},[n("rect",{attrs:{width:"12",height:"12",fill:"white",transform:"translate(0 0.5)"}})])])]),e._v(" "),e._t("default")],2)},staticRenderFns:[]},(function(e){e&&e("data-v-37221a45_0",{source:".button[data-v-37221a45]{display:flex;width:fit-content!important;align-items:center!important;gap:3px!important;padding:10px 12px!important;text-decoration:none!important;font-size:12px!important;font-weight:550!important;color:#1a1a1a!important;border-left:1px solid #e3e3e3;border-top:1px solid #e3e3e3;border-right:1px solid #e3e3e3;background-color:#fff!important;border-radius:8px!important;transition:all .3s!important;box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset;cursor:pointer}.button.is-toggled[data-v-37221a45],.button[data-v-37221a45]:hover{background-color:#ccc!important;color:#1a1a1a!important;box-shadow:#1a1a1a33 0 2px 1px 0 inset,#1a1a1a1f 1px 0 1px 0 inset,#1a1a1a1f -1px 0 1px 0 inset}",map:void 0,media:void 0})}),{name:"ToggleButton",props:{toggled:{type:Boolean,required:!0,default:function(){return!1}}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},handlePlanClick:function(){event.preventDefault(),this.$emit("plan-clicked",event)}}},"data-v-37221a45",false,undefined,!1,Pc,void 0,void 0);function Up(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function Gp(e={},t={}){Object.keys(t).forEach((n=>{void 0===e[n]?e[n]=t[n]:Up(t[n])&&Up(e[n])&&Object.keys(t[n]).length>0&&Gp(e[n],t[n])}))}const Wp={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Zp(){const e="undefined"!=typeof document?document:{};return Gp(e,Wp),e}const Yp={document:Wp,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function Kp(){const e="undefined"!=typeof window?window:{};return Gp(e,Yp),e}class Xp extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function Qp(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...Qp(e)):t.push(e)})),t}function Jp(e,t){return Array.prototype.filter.call(e,t)}function eh(e,t){const n=Kp(),a=Zp();let r=[];if(!t&&e instanceof Xp)return e;if(!e)return new Xp(r);if("string"==typeof e){const n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let e="div";0===n.indexOf("<li")&&(e="ul"),0===n.indexOf("<tr")&&(e="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(e="tr"),0===n.indexOf("<tbody")&&(e="table"),0===n.indexOf("<option")&&(e="select");const t=a.createElement(e);t.innerHTML=n;for(let e=0;e<t.childNodes.length;e+=1)r.push(t.childNodes[e])}else r=function(e,t){if("string"!=typeof e)return[e];const n=[],a=t.querySelectorAll(e);for(let e=0;e<a.length;e+=1)n.push(a[e]);return n}(e.trim(),t||a)}else if(e.nodeType||e===n||e===a)r.push(e);else if(Array.isArray(e)){if(e instanceof Xp)return e;r=e}return new Xp(function(e){const t=[];for(let n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(r))}eh.fn=Xp.prototype;const th={addClass:function(...e){const t=Qp(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=Qp(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=Qp(e.map((e=>e.split(" "))));return Jp(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=Qp(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,n,a,r]=e;function i(e){const t=e.target;if(!t)return;const r=e.target.dom7EventData||[];if(r.indexOf(e)<0&&r.unshift(e),eh(t).is(n))a.apply(t,r);else{const e=eh(t).parents();for(let t=0;t<e.length;t+=1)eh(e[t]).is(n)&&a.apply(e[t],r)}}function o(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"==typeof e[1]&&([t,a,r]=e,n=void 0),r||(r=!1);const s=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(n)for(l=0;l<s.length;l+=1){const e=s[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:a,proxyListener:i}),t.addEventListener(e,i,r)}else for(l=0;l<s.length;l+=1){const e=s[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:a,proxyListener:o}),t.addEventListener(e,o,r)}}return this},off:function(...e){let[t,n,a,r]=e;"function"==typeof e[1]&&([t,a,r]=e,n=void 0),r||(r=!1);const i=t.split(" ");for(let e=0;e<i.length;e+=1){const t=i[e];for(let e=0;e<this.length;e+=1){const i=this[e];let o;if(!n&&i.dom7Listeners?o=i.dom7Listeners[t]:n&&i.dom7LiveListeners&&(o=i.dom7LiveListeners[t]),o&&o.length)for(let e=o.length-1;e>=0;e-=1){const n=o[e];a&&n.listener===a||a&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===a?(i.removeEventListener(t,n.proxyListener,r),o.splice(e,1)):a||(i.removeEventListener(t,n.proxyListener,r),o.splice(e,1))}}}return this},trigger:function(...e){const t=Kp(),n=e[0].split(" "),a=e[1];for(let r=0;r<n.length;r+=1){const i=n[r];for(let n=0;n<this.length;n+=1){const r=this[n];if(t.CustomEvent){const n=new t.CustomEvent(i,{detail:a,bubbles:!0,cancelable:!0});r.dom7EventData=e.filter(((e,t)=>t>0)),r.dispatchEvent(n),r.dom7EventData=[],delete r.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function n(a){a.target===this&&(e.call(this,a),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=Kp();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=Kp(),t=Zp(),n=this[0],a=n.getBoundingClientRect(),r=t.body,i=n.clientTop||r.clientTop||0,o=n.clientLeft||r.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:a.top+s-i,left:a.left+l-o}}return null},css:function(e,t){const n=Kp();let a;if(1===arguments.length){if("string"!=typeof e){for(a=0;a<this.length;a+=1)for(const t in e)this[a].style[t]=e[t];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,n)=>{e.apply(t,[t,n])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=Kp(),n=Zp(),a=this[0];let r,i;if(!a||void 0===e)return!1;if("string"==typeof e){if(a.matches)return a.matches(e);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(e);if(a.msMatchesSelector)return a.msMatchesSelector(e);for(r=eh(e),i=0;i<r.length;i+=1)if(r[i]===a)return!0;return!1}if(e===n)return a===n;if(e===t)return a===t;if(e.nodeType||e instanceof Xp){for(r=e.nodeType?[e]:e,i=0;i<r.length;i+=1)if(r[i]===a)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return eh([]);if(e<0){const n=t+e;return eh(n<0?[]:[this[n]])}return eh([this[e]])},append:function(...e){let t;const n=Zp();for(let a=0;a<e.length;a+=1){t=e[a];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const a=n.createElement("div");for(a.innerHTML=t;a.firstChild;)this[e].appendChild(a.firstChild)}else if(t instanceof Xp)for(let n=0;n<t.length;n+=1)this[e].appendChild(t[n]);else this[e].appendChild(t)}return this},prepend:function(e){const t=Zp();let n,a;for(n=0;n<this.length;n+=1)if("string"==typeof e){const r=t.createElement("div");for(r.innerHTML=e,a=r.childNodes.length-1;a>=0;a-=1)this[n].insertBefore(r.childNodes[a],this[n].childNodes[0])}else if(e instanceof Xp)for(a=0;a<e.length;a+=1)this[n].insertBefore(e[a],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&eh(this[0].nextElementSibling).is(e)?eh([this[0].nextElementSibling]):eh([]):this[0].nextElementSibling?eh([this[0].nextElementSibling]):eh([]):eh([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return eh([]);for(;n.nextElementSibling;){const a=n.nextElementSibling;e?eh(a).is(e)&&t.push(a):t.push(a),n=a}return eh(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&eh(t.previousElementSibling).is(e)?eh([t.previousElementSibling]):eh([]):t.previousElementSibling?eh([t.previousElementSibling]):eh([])}return eh([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return eh([]);for(;n.previousElementSibling;){const a=n.previousElementSibling;e?eh(a).is(e)&&t.push(a):t.push(a),n=a}return eh(t)},parent:function(e){const t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?eh(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return eh(t)},parents:function(e){const t=[];for(let n=0;n<this.length;n+=1){let a=this[n].parentNode;for(;a;)e?eh(a).is(e)&&t.push(a):t.push(a),a=a.parentNode}return eh(t)},closest:function(e){let t=this;return void 0===e?eh([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let n=0;n<this.length;n+=1){const a=this[n].querySelectorAll(e);for(let e=0;e<a.length;e+=1)t.push(a[e])}return eh(t)},children:function(e){const t=[];for(let n=0;n<this.length;n+=1){const a=this[n].children;for(let n=0;n<a.length;n+=1)e&&!eh(a[n]).is(e)||t.push(a[n])}return eh(t)},filter:function(e){return eh(Jp(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};function nh(e,t=0){return setTimeout(e,t)}function ah(){return Date.now()}function rh(e,t="x"){const n=Kp();let a,r,i;const o=function(e){const t=Kp();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),i=new n.WebKitCSSMatrix("none"===r?"":r)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=i.toString().split(",")),"x"===t&&(r=n.WebKitCSSMatrix?i.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(r=n.WebKitCSSMatrix?i.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),r||0}function ih(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function oh(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function sh(...e){const t=Object(e[0]),n=["__proto__","constructor","prototype"];for(let a=1;a<e.length;a+=1){const r=e[a];if(null!=r&&!oh(r)){const e=Object.keys(Object(r)).filter((e=>n.indexOf(e)<0));for(let n=0,a=e.length;n<a;n+=1){const a=e[n],i=Object.getOwnPropertyDescriptor(r,a);void 0!==i&&i.enumerable&&(ih(t[a])&&ih(r[a])?r[a].__swiper__?t[a]=r[a]:sh(t[a],r[a]):!ih(t[a])&&ih(r[a])?(t[a]={},r[a].__swiper__?t[a]=r[a]:sh(t[a],r[a])):t[a]=r[a])}}}return t}function lh(e,t,n){e.style.setProperty(t,n)}function ch({swiper:e,targetPosition:t,side:n}){const a=Kp(),r=-e.translate;let i,o=null;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);const l=t>r?"next":"prev",c=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,u=()=>{i=(new Date).getTime(),null===o&&(o=i);const l=Math.max(Math.min((i-o)/s,1),0),d=.5-Math.cos(l*Math.PI)/2;let p=r+d*(t-r);if(c(p,t)&&(p=t),e.wrapperEl.scrollTo({[n]:p}),c(p,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:p})})),void a.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=a.requestAnimationFrame(u)};u()}let uh,dh,ph;function hh(){return uh||(uh=function(){const e=Kp(),t=Zp();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const n=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),uh}function fh(e={}){return dh||(dh=function({userAgent:e}={}){const t=hh(),n=Kp(),a=n.navigator.platform,r=e||n.navigator.userAgent,i={ios:!1,android:!1},o=n.screen.width,s=n.screen.height,l=r.match(/(Android);?[\s\/]+([\d.]+)?/);let c=r.match(/(iPad).*OS\s([\d_]+)/);const u=r.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===a;let h="MacIntel"===a;return!c&&h&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${s}`)>=0&&(c=r.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),l&&!p&&(i.os="android",i.android=!0),(c||d||u)&&(i.os="ios",i.ios=!0),i}(e)),dh}function vh(){return ph||(ph=function(){const e=Kp();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),ph}Object.keys(th).forEach((e=>{Object.defineProperty(eh.fn,e,{value:th[e],writable:!0})}));var gh={on(e,t,n){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const r=n?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][r](t)})),a},once(e,t,n){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function r(...n){a.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(a,n)}return r.__emitterProxy=t,a.on(e,r,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const a=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[a](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((a,r)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)}))})),n):n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let n,a,r;"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],a=e.slice(1,e.length),r=t):(n=e[0].events,a=e[0].data,r=e[0].context||t),a.unshift(r);return(Array.isArray(n)?n:n.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(r,[e,...a])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(r,a)}))})),t}};var mh={updateSize:function(){const e=this;let t,n;const a=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a[0].clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:a[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),n=n-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}const a=e.params,{$wrapperEl:r,size:i,rtlTranslate:o,wrongRTL:s}=e,l=e.virtual&&a.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=r.children(`.${e.params.slideClass}`),d=l?e.virtual.slides.length:u.length;let p=[];const h=[],f=[];let v=a.slidesOffsetBefore;"function"==typeof v&&(v=a.slidesOffsetBefore.call(e));let g=a.slidesOffsetAfter;"function"==typeof g&&(g=a.slidesOffsetAfter.call(e));const m=e.snapGrid.length,w=e.slidesGrid.length;let y=a.spaceBetween,b=-v,_=0,x=0;if(void 0===i)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*i),e.virtualSize=-y,o?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),a.centeredSlides&&a.cssMode&&(lh(e.wrapperEl,"--swiper-centered-offset-before",""),lh(e.wrapperEl,"--swiper-centered-offset-after",""));const M=a.grid&&a.grid.rows>1&&e.grid;let C;M&&e.grid.initSlides(d);const A="auto"===a.slidesPerView&&a.breakpoints&&Object.keys(a.breakpoints).filter((e=>void 0!==a.breakpoints[e].slidesPerView)).length>0;for(let r=0;r<d;r+=1){C=0;const o=u.eq(r);if(M&&e.grid.updateSlide(r,o,d,t),"none"!==o.css("display")){if("auto"===a.slidesPerView){A&&(u[r].style[t("width")]="");const i=getComputedStyle(o[0]),s=o[0].style.transform,l=o[0].style.webkitTransform;if(s&&(o[0].style.transform="none"),l&&(o[0].style.webkitTransform="none"),a.roundLengths)C=e.isHorizontal()?o.outerWidth(!0):o.outerHeight(!0);else{const e=n(i,"width"),t=n(i,"padding-left"),a=n(i,"padding-right"),r=n(i,"margin-left"),s=n(i,"margin-right"),l=i.getPropertyValue("box-sizing");if(l&&"border-box"===l)C=e+r+s;else{const{clientWidth:n,offsetWidth:i}=o[0];C=e+t+a+r+s+(i-n)}}s&&(o[0].style.transform=s),l&&(o[0].style.webkitTransform=l),a.roundLengths&&(C=Math.floor(C))}else C=(i-(a.slidesPerView-1)*y)/a.slidesPerView,a.roundLengths&&(C=Math.floor(C)),u[r]&&(u[r].style[t("width")]=`${C}px`);u[r]&&(u[r].swiperSlideSize=C),f.push(C),a.centeredSlides?(b=b+C/2+_/2+y,0===_&&0!==r&&(b=b-i/2-y),0===r&&(b=b-i/2-y),Math.abs(b)<.001&&(b=0),a.roundLengths&&(b=Math.floor(b)),x%a.slidesPerGroup==0&&p.push(b),h.push(b)):(a.roundLengths&&(b=Math.floor(b)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&p.push(b),h.push(b),b=b+C+y),e.virtualSize+=C+y,_=C,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+g,o&&s&&("slide"===a.effect||"coverflow"===a.effect)&&r.css({width:`${e.virtualSize+a.spaceBetween}px`}),a.setWrapperSize&&r.css({[t("width")]:`${e.virtualSize+a.spaceBetween}px`}),M&&e.grid.updateWrapperSize(C,p,t),!a.centeredSlides){const t=[];for(let n=0;n<p.length;n+=1){let r=p[n];a.roundLengths&&(r=Math.floor(r)),p[n]<=e.virtualSize-i&&t.push(r)}p=t,Math.floor(e.virtualSize-i)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-i)}if(0===p.length&&(p=[0]),0!==a.spaceBetween){const n=e.isHorizontal()&&o?"marginLeft":t("marginRight");u.filter(((e,t)=>!a.cssMode||t!==u.length-1)).css({[n]:`${y}px`})}if(a.centeredSlides&&a.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween;const t=e-i;p=p.map((e=>e<0?-v:e>t?t+g:e))}if(a.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween,e<i){const t=(i-e)/2;p.forEach(((e,n)=>{p[n]=e-t})),h.forEach(((e,n)=>{h[n]=e+t}))}}if(Object.assign(e,{slides:u,snapGrid:p,slidesGrid:h,slidesSizesGrid:f}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){lh(e.wrapperEl,"--swiper-centered-offset-before",-p[0]+"px"),lh(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(d!==c&&e.emit("slidesLengthChange"),p.length!==m&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==w&&e.emit("slidesGridLengthChange"),a.watchSlidesProgress&&e.updateSlidesOffset(),!(l||a.cssMode||"slide"!==a.effect&&"fade"!==a.effect)){const t=`${a.containerModifierClass}backface-hidden`,n=e.$el.hasClass(t);d<=a.maxBackfaceHiddenSlides?n||e.$el.addClass(t):n&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,n=[],a=t.virtual&&t.params.virtual.enabled;let r,i=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>a?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||eh([])).each((e=>{n.push(e)}));else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!a)break;n.push(o(e))}else n.push(o(t.activeIndex));for(r=0;r<n.length;r+=1)if(void 0!==n[r]){const e=n[r].offsetHeight;i=e>i?e:i}(i||0===i)&&t.$wrapperEl.css("height",`${i}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:a,rtlTranslate:r,snapGrid:i}=t;if(0===a.length)return;void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;r&&(o=e),a.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<a.length;e+=1){const s=a[e];let l=s.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=a[0].swiperSlideOffset);const c=(o+(n.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),u=(o-i[0]+(n.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),d=-(o-l),p=d+t.slidesSizesGrid[e];(d>=0&&d<t.size-1||p>1&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e),a.eq(e).addClass(n.slideVisibleClass)),s.progress=r?-c:c,s.originalProgress=r?-u:u}t.visibleSlides=eh(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:i,isEnd:o}=t;const s=i,l=o;0===a?(r=0,i=!0,o=!0):(r=(e-t.minTranslate())/a,i=r<=0,o=r>=1),Object.assign(t,{progress:r,isBeginning:i,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),i&&!s&&t.emit("reachBeginning toEdge"),o&&!l&&t.emit("reachEnd toEdge"),(s&&!i||l&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:a,activeIndex:r,realIndex:i}=e,o=e.virtual&&n.virtual.enabled;let s;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),s=o?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${r}"]`):t.eq(r),s.addClass(n.slideActiveClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${i}"]`).addClass(n.slideDuplicateActiveClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${i}"]`).addClass(n.slideDuplicateActiveClass));let l=s.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=t.eq(0),l.addClass(n.slideNextClass));let c=s.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:a,snapGrid:r,params:i,activeIndex:o,realIndex:s,snapIndex:l}=t;let c,u=e;if(void 0===u){for(let e=0;e<a.length;e+=1)void 0!==a[e+1]?n>=a[e]&&n<a[e+1]-(a[e+1]-a[e])/2?u=e:n>=a[e]&&n<a[e+1]&&(u=e+1):n>=a[e]&&(u=e);i.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(n)>=0)c=r.indexOf(n);else{const e=Math.min(i.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/i.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),u===o)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(t,{snapIndex:c,realIndex:d,previousIndex:o,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),s!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,a=eh(e).closest(`.${n.slideClass}`)[0];let r,i=!1;if(a)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===a){i=!0,r=e;break}if(!a||!i)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=a,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(eh(a).attr("data-swiper-slide-index"),10):t.clickedIndex=r,n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var wh={getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:a,$wrapperEl:r}=this;if(t.virtualTranslate)return n?-a:a;if(t.cssMode)return a;let i=rh(r[0],e);return n&&(i=-i),i||0},setTranslate:function(e,t){const n=this,{rtlTranslate:a,params:r,$wrapperEl:i,wrapperEl:o,progress:s}=n;let l,c=0,u=0;n.isHorizontal()?c=a?-e:e:u=e,r.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),r.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-u:r.virtualTranslate||i.transform(`translate3d(${c}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:u;const d=n.maxTranslate()-n.minTranslate();l=0===d?0:(e-n.minTranslate())/d,l!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,a=!0,r){const i=this,{params:o,wrapperEl:s}=i;if(i.animating&&o.preventInteractionOnTransition)return!1;const l=i.minTranslate(),c=i.maxTranslate();let u;if(u=a&&e>l?l:a&&e<c?c:e,i.updateProgress(u),o.cssMode){const e=i.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-u;else{if(!i.support.smoothScroll)return ch({swiper:i,targetPosition:-u,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(i.setTransition(0),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",t,r),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",t,r),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,n&&i.emit("transitionEnd"))}),i.$wrapperEl[0].addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onTranslateToWrapperTransitionEnd))),!0}};function yh({swiper:e,runCallbacks:t,direction:n,step:a}){const{activeIndex:r,previousIndex:i}=e;let o=n;if(o||(o=r>i?"next":r<i?"prev":"reset"),e.emit(`transition${a}`),t&&r!==i){if("reset"===o)return void e.emit(`slideResetTransition${a}`);e.emit(`slideChangeTransition${a}`),"next"===o?e.emit(`slideNextTransition${a}`):e.emit(`slidePrevTransition${a}`)}}var bh={slideTo:function(e=0,t=this.params.speed,n=!0,a,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let o=e;o<0&&(o=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:p,wrapperEl:h,enabled:f}=i;if(i.animating&&s.preventInteractionOnTransition||!f&&!a&&!r)return!1;const v=Math.min(i.params.slidesPerGroupSkip,o);let g=v+Math.floor((o-v)/i.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const m=-l[g];if(s.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*m),n=Math.floor(100*c[e]),a=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<a-(a-n)/2?o=e:t>=n&&t<a&&(o=e+1):t>=n&&(o=e)}if(i.initialized&&o!==d){if(!i.allowSlideNext&&m<i.translate&&m<i.minTranslate())return!1;if(!i.allowSlidePrev&&m>i.translate&&m>i.maxTranslate()&&(d||0)!==o)return!1}let w;if(o!==(u||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(m),w=o>d?"next":o<d?"prev":"reset",p&&-m===i.translate||!p&&m===i.translate)return i.updateActiveIndex(o),s.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==s.effect&&i.setTranslate(m),"reset"!==w&&(i.transitionStart(n,w),i.transitionEnd(n,w)),!1;if(s.cssMode){const e=i.isHorizontal(),n=p?m:-m;if(0===t){const t=i.virtual&&i.params.virtual.enabled;t&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),h[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{i.wrapperEl.style.scrollSnapType="",i._swiperImmediateVirtual=!1}))}else{if(!i.support.smoothScroll)return ch({swiper:i,targetPosition:n,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(m),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,a),i.transitionStart(n,w),0===t?i.transitionEnd(n,w):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,w))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,a){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const r=this;let i=e;return r.params.loop&&(i+=r.loopedSlides),r.slideTo(i,t,n,a)},slideNext:function(e=this.params.speed,t=!0,n){const a=this,{animating:r,enabled:i,params:o}=a;if(!i)return a;let s=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(s=Math.max(a.slidesPerViewDynamic("current",!0),1));const l=a.activeIndex<o.slidesPerGroupSkip?1:s;if(o.loop){if(r&&o.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}return o.rewind&&a.isEnd?a.slideTo(0,e,t,n):a.slideTo(a.activeIndex+l,e,t,n)},slidePrev:function(e=this.params.speed,t=!0,n){const a=this,{params:r,animating:i,snapGrid:o,slidesGrid:s,rtlTranslate:l,enabled:c}=a;if(!c)return a;if(r.loop){if(i&&r.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=u(l?a.translate:-a.translate),p=o.map((e=>u(e)));let h=o[p.indexOf(d)-1];if(void 0===h&&r.cssMode){let e;o.forEach(((t,n)=>{d>=t&&(e=n)})),void 0!==e&&(h=o[e>0?e-1:e])}let f=0;if(void 0!==h&&(f=s.indexOf(h),f<0&&(f=a.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(f=f-a.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),r.rewind&&a.isBeginning){const r=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(r,e,t,n)}return a.slideTo(f,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,a=.5){const r=this;let i=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,i),s=o+Math.floor((i-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[s]){const e=r.snapGrid[s];l-e>(r.snapGrid[s+1]-e)*a&&(i+=r.params.slidesPerGroup)}else{const e=r.snapGrid[s-1];l-e<=(r.snapGrid[s]-e)*a&&(i-=r.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,r.slidesGrid.length-1),r.slideTo(i,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,i=e.clickedIndex;if(t.loop){if(e.animating)return;r=parseInt(eh(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?i<e.loopedSlides-a/2||i>e.slides.length-e.loopedSlides+a/2?(e.loopFix(),i=n.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),nh((()=>{e.slideTo(i)}))):e.slideTo(i):i>e.slides.length-a?(e.loopFix(),i=n.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),nh((()=>{e.slideTo(i)}))):e.slideTo(i)}else e.slideTo(i)}};var _h={loopCreate:function(){const e=this,t=Zp(),{params:n,$wrapperEl:a}=e,r=a.children().length>0?eh(a.children()[0].parentNode):a;r.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let i=r.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){const e=n.slidesPerGroup-i.length%n.slidesPerGroup;if(e!==n.slidesPerGroup){for(let a=0;a<e;a+=1){const e=eh(t.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);r.append(e)}i=r.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=i.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>i.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=i.length);const o=[],s=[];i.each(((e,t)=>{eh(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/i.length)*i.length;s.push(i.eq(e)[0]),o.unshift(i.eq(i.length-e-1)[0])}for(let e=0;e<s.length;e+=1)r.append(eh(s[e].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let e=o.length-1;e>=0;e-=1)r.prepend(eh(o[e].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:a,allowSlidePrev:r,allowSlideNext:i,snapGrid:o,rtlTranslate:s}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-o[t]-e.getTranslate();if(t<a){l=n.length-3*a+t,l+=a;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)}else if(t>=n.length-a){l=-n.length+t+a,l+=a;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)}e.allowSlidePrev=r,e.allowSlideNext=i,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}};function xh(e){const t=this,n=Zp(),a=Kp(),r=t.touchEventsData,{params:i,touches:o,enabled:s}=t;if(!s)return;if(t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let l=e;l.originalEvent&&(l=l.originalEvent);let c=eh(l.target);if("wrapper"===i.touchEventsTarget&&!c.closest(t.wrapperEl).length)return;if(r.isTouchEvent="touchstart"===l.type,!r.isTouchEvent&&"which"in l&&3===l.which)return;if(!r.isTouchEvent&&"button"in l&&l.button>0)return;if(r.isTouched&&r.isMoved)return;const u=!!i.noSwipingClass&&""!==i.noSwipingClass,d=e.composedPath?e.composedPath():e.path;u&&l.target&&l.target.shadowRoot&&d&&(c=eh(d[0]));const p=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,h=!(!l.target||!l.target.shadowRoot);if(i.noSwiping&&(h?function(e,t=this){return function t(n){if(!n||n===Zp()||n===Kp())return null;n.assignedSlot&&(n=n.assignedSlot);const a=n.closest(e);return a||n.getRootNode?a||t(n.getRootNode().host):null}(t)}(p,c[0]):c.closest(p)[0]))return void(t.allowClick=!0);if(i.swipeHandler&&!c.closest(i.swipeHandler)[0])return;o.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,o.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const f=o.currentX,v=o.currentY,g=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,m=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(g&&(f<=m||f>=a.innerWidth-m)){if("prevent"!==g)return;e.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=f,o.startY=v,r.touchStartTime=ah(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==l.type){let e=!0;c.is(r.focusableElements)&&(e=!1,"SELECT"===c[0].nodeName&&(r.isTouched=!1)),n.activeElement&&eh(n.activeElement).is(r.focusableElements)&&n.activeElement!==c[0]&&n.activeElement.blur();const a=e&&t.allowTouchMove&&i.touchStartPreventDefault;!i.touchStartForcePreventDefault&&!a||c[0].isContentEditable||l.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l)}function Mh(e){const t=Zp(),n=this,a=n.touchEventsData,{params:r,touches:i,rtlTranslate:o,enabled:s}=n;if(!s)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!a.isTouched)return void(a.startMoving&&a.isScrolling&&n.emit("touchMoveOpposite",l));if(a.isTouchEvent&&"touchmove"!==l.type)return;const c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?c.pageX:l.pageX,d="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return i.startX=u,void(i.startY=d);if(!n.allowTouchMove)return eh(l.target).is(a.focusableElements)||(n.allowClick=!1),void(a.isTouched&&(Object.assign(i,{startX:u,startY:d,currentX:u,currentY:d}),a.touchStartTime=ah()));if(a.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(d<i.startY&&n.translate<=n.maxTranslate()||d>i.startY&&n.translate>=n.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(u<i.startX&&n.translate<=n.maxTranslate()||u>i.startX&&n.translate>=n.minTranslate())return;if(a.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&eh(l.target).is(a.focusableElements))return a.isMoved=!0,void(n.allowClick=!1);if(a.allowTouchCallbacks&&n.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;i.currentX=u,i.currentY=d;const p=i.currentX-i.startX,h=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(p**2+h**2)<n.params.threshold)return;if(void 0===a.isScrolling){let e;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?a.isScrolling=!1:p*p+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(p))/Math.PI,a.isScrolling=n.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(a.isScrolling&&n.emit("touchMoveOpposite",l),void 0===a.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(a.startMoving=!0)),a.isScrolling)return void(a.isTouched=!1);if(!a.startMoving)return;n.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation(),a.isMoved||(r.loop&&!r.cssMode&&n.loopFix(),a.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",l)),n.emit("sliderMove",l),a.isMoved=!0;let f=n.isHorizontal()?p:h;i.diff=f,f*=r.touchRatio,o&&(f=-f),n.swipeDirection=f>0?"prev":"next",a.currentTranslate=f+a.startTranslate;let v=!0,g=r.resistanceRatio;if(r.touchReleaseOnEdges&&(g=0),f>0&&a.currentTranslate>n.minTranslate()?(v=!1,r.resistance&&(a.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+a.startTranslate+f)**g)):f<0&&a.currentTranslate<n.maxTranslate()&&(v=!1,r.resistance&&(a.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-a.startTranslate-f)**g)),v&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),n.allowSlidePrev||n.allowSlideNext||(a.currentTranslate=a.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,a.currentTranslate=a.startTranslate,void(i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(a.currentTranslate),n.setTranslate(a.currentTranslate))}function Ch(e){const t=this,n=t.touchEventsData,{params:a,touches:r,rtlTranslate:i,slidesGrid:o,enabled:s}=t;if(!s)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=ah(),u=c-n.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),u<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(n.lastClickTime=ah(),nh((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let d;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=a.followFinger?i?t.translate:-t.translate:-n.currentTranslate,a.cssMode)return;if(t.params.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:d});let p=0,h=t.slidesSizesGrid[0];for(let e=0;e<o.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){const t=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==o[e+t]?d>=o[e]&&d<o[e+t]&&(p=e,h=o[e+t]-o[e]):d>=o[e]&&(p=e,h=o[o.length-1]-o[o.length-2])}let f=null,v=null;a.rewind&&(t.isBeginning?v=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const g=(d-o[p])/h,m=p<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(u>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?f:p+m):t.slideTo(p)),"prev"===t.swipeDirection&&(g>1-a.longSwipesRatio?t.slideTo(p+m):null!==v&&g<0&&Math.abs(g)>a.longSwipesRatio?t.slideTo(v):t.slideTo(p))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(p+m):t.slideTo(p):("next"===t.swipeDirection&&t.slideTo(null!==f?f:p+m),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:p))}}function Ah(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:r,snapGrid:i}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=r,e.allowSlideNext=a,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function Ph(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function kh(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:a}=e;if(!a)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();r=0===i?0:(e.translate-e.minTranslate())/i,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let Sh=!1;function zh(){}const Th=(e,t)=>{const n=Zp(),{params:a,touchEvents:r,el:i,wrapperEl:o,device:s,support:l}=e,c=!!a.nested,u="on"===t?"addEventListener":"removeEventListener",d=t;if(l.touch){const t=!("touchstart"!==r.start||!l.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};i[u](r.start,e.onTouchStart,t),i[u](r.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),i[u](r.end,e.onTouchEnd,t),r.cancel&&i[u](r.cancel,e.onTouchEnd,t)}else i[u](r.start,e.onTouchStart,!1),n[u](r.move,e.onTouchMove,c),n[u](r.end,e.onTouchEnd,!1);(a.preventClicks||a.preventClicksPropagation)&&i[u]("click",e.onClick,!0),a.cssMode&&o[u]("scroll",e.onScroll),a.updateOnWindowResize?e[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ah,!0):e[d]("observerUpdate",Ah,!0)};var Eh={attachEvents:function(){const e=this,t=Zp(),{params:n,support:a}=e;e.onTouchStart=xh.bind(e),e.onTouchMove=Mh.bind(e),e.onTouchEnd=Ch.bind(e),n.cssMode&&(e.onScroll=kh.bind(e)),e.onClick=Ph.bind(e),a.touch&&!Sh&&(t.addEventListener("touchstart",zh),Sh=!0),Th(e,"on")},detachEvents:function(){Th(this,"off")}};const jh=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var Oh={setBreakpoint:function(){const e=this,{activeIndex:t,initialized:n,loopedSlides:a=0,params:r,$el:i}=e,o=r.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const s=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const l=(s in o?o[s]:void 0)||e.originalParams,c=jh(e,r),u=jh(e,l),d=r.enabled;c&&!u?(i.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(i.addClass(`${r.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===r.grid.fill)&&i.addClass(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const n=r[t]&&r[t].enabled,a=l[t]&&l[t].enabled;n&&!a&&e[t].disable(),!n&&a&&e[t].enable()}));const p=l.direction&&l.direction!==r.direction,h=r.loop&&(l.slidesPerView!==r.slidesPerView||p);p&&n&&e.changeDirection(),sh(e.params,l);const f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!f?e.disable():!d&&f&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",l),h&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let a=!1;const r=Kp(),i="window"===t?r.innerHeight:n.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<o.length;e+=1){const{point:i,value:s}=o[e];"window"===t?r.matchMedia(`(min-width: ${s}px)`).matches&&(a=i):s<=n.clientWidth&&(a=i)}return a||"max"}};var Lh={addClasses:function(){const e=this,{classNames:t,params:n,rtl:a,$el:r,device:i,support:o}=e,s=function(e,t){const n=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&n.push(t+a)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"pointer-events":!o.touch},{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:a},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),r.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}};var Bh={loadImage:function(e,t,n,a,r,i){const o=Kp();let s;function l(){i&&i()}eh(e).parent("picture")[0]||e.complete&&r?l():t?(s=new o.Image,s.onload=l,s.onerror=l,a&&(s.sizes=a),n&&(s.srcset=n),t&&(s.src=t)):l()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n<e.imagesToLoad.length;n+=1){const a=e.imagesToLoad[n];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,t)}}};var Hh={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Nh(e,t){return function(n={}){const a=Object.keys(n)[0],r=n[a];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(a)>=0&&!0===e[a]&&(e[a]={auto:!0}),a in e&&"enabled"in r?(!0===e[a]&&(e[a]={enabled:!0}),"object"!=typeof e[a]||"enabled"in e[a]||(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),sh(t,n)):sh(t,n)):sh(t,n)}}const Rh={eventsEmitter:gh,update:mh,translate:wh,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{params:a}=n;a.cssMode||(a.autoHeight&&n.updateAutoHeight(),yh({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const n=this,{params:a}=n;n.animating=!1,a.cssMode||(n.setTransition(0),yh({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:bh,loop:_h,grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:Eh,breakpoints:Oh,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:a}=n;if(a){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:Lh,images:Bh},Vh={};class Ih{constructor(...e){let t,n;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=sh({},n),t&&!n.el&&(n.el=t),n.el&&eh(n.el).length>1){const e=[];return eh(n.el).each((t=>{const a=sh({},n,{el:t});e.push(new Ih(a))})),e}const a=this;a.__swiper__=!0,a.support=hh(),a.device=fh({userAgent:n.userAgent}),a.browser=vh(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const r={};a.modules.forEach((e=>{e({swiper:a,extendParams:Nh(n,r),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const i=sh({},Hh,r);return a.params=sh({},i,Vh,n),a.originalParams=sh({},a.params),a.passedParams=sh({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=eh,Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:eh(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return a.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},a.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:ah(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const a=n.minTranslate(),r=(n.maxTranslate()-a)*e+a;n.translateTo(r,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((n=>{const a=e.getSlideClasses(n);t.push({slideEl:n,classNames:a}),e.emit("_slideClass",n,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:n,slides:a,slidesGrid:r,slidesSizesGrid:i,size:o,activeIndex:s}=this;let l=1;if(n.centeredSlides){let e,t=a[s].swiperSlideSize;for(let n=s+1;n<a.length;n+=1)a[n]&&!e&&(t+=a[n].swiperSlideSize,l+=1,t>o&&(e=!0));for(let n=s-1;n>=0;n-=1)a[n]&&!e&&(t+=a[n].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=s+1;e<a.length;e+=1){(t?r[e]+i[e]-r[s]<o:r[e]-r[s]<o)&&(l+=1)}else for(let e=s-1;e>=0;e-=1){r[s]-r[e]<o&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function a(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let r;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(a(),e.params.autoHeight&&e.updateAutoHeight()):(r=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),r||a()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,a=n.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${a}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const n=eh(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;const a=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=eh(e.shadowRoot.querySelector(a()));return t.children=e=>n.children(e),t}return n.children?n.children(a()):eh(n).children(a())})();if(0===r.length&&t.params.createElements){const e=Zp().createElement("div");r=eh(e),e.className=t.params.wrapperClass,n.append(e),n.children(`.${t.params.slideClass}`).each((e=>{r.append(e)}))}return Object.assign(t,{$el:n,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const n=this,{params:a,$el:r,$wrapperEl:i,slides:o}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),i.removeAttr("style"),o&&o.length&&o.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){sh(Vh,e)}static get extendedDefaults(){return Vh}static get defaults(){return Hh}static installModule(e){Ih.prototype.__modules__||(Ih.prototype.__modules__=[]);const t=Ih.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>Ih.installModule(e))),Ih):(Ih.installModule(e),Ih)}}function Dh(e,t,n,a){const r=Zp();return e.params.createElements&&Object.keys(a).forEach((i=>{if(!n[i]&&!0===n.auto){let o=e.$el.children(`.${a[i]}`)[0];o||(o=r.createElement("div"),o.className=a[i],e.$el.append(o)),n[i]=o,t[i]=o}})),n}function Fh({swiper:e,extendParams:t,on:n,emit:a}){function r(t){let n;return t&&(n=eh(t),e.params.uniqueNavElements&&"string"==typeof t&&n.length>1&&1===e.$el.find(t).length&&(n=e.$el.find(t))),n}function i(t,n){const a=e.params.navigation;t&&t.length>0&&(t[n?"addClass":"removeClass"](a.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=n),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](a.lockClass))}function o(){if(e.params.loop)return;const{$nextEl:t,$prevEl:n}=e.navigation;i(n,e.isBeginning&&!e.params.rewind),i(t,e.isEnd&&!e.params.rewind)}function s(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),a("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),a("navigationNext"))}function c(){const t=e.params.navigation;if(e.params.navigation=Dh(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const n=r(t.nextEl),a=r(t.prevEl);n&&n.length>0&&n.on("click",l),a&&a.length>0&&a.on("click",s),Object.assign(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:a,prevEl:a&&a[0]}),e.enabled||(n&&n.addClass(t.lockClass),a&&a.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",s),n.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",(()=>{!1===e.params.navigation.enabled?d():(c(),o())})),n("toEdge fromEdge lock unlock",(()=>{o()})),n("destroy",(()=>{u()})),n("enable disable",(()=>{const{$nextEl:t,$prevEl:n}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),n&&n[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),n("click",((t,n)=>{const{$nextEl:r,$prevEl:i}=e.navigation,o=n.target;if(e.params.navigation.hideOnClick&&!eh(o).is(i)&&!eh(o).is(r)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;r?t=r.hasClass(e.params.navigation.hiddenClass):i&&(t=i.hasClass(e.params.navigation.hiddenClass)),a(!0===t?"navigationShow":"navigationHide"),r&&r.toggleClass(e.params.navigation.hiddenClass),i&&i.toggleClass(e.params.navigation.hiddenClass)}}));const d=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),c(),o()},disable:d,update:o,init:c,destroy:u})}function qh(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function $h({swiper:e,extendParams:t,on:n,emit:a}){const r="swiper-pagination";let i;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let o=0;function s(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function l(t,n){const{bulletActiveClass:a}=e.params.pagination;t[n]().addClass(`${a}-${n}`)[n]().addClass(`${a}-${n}-${n}`)}function c(){const t=e.rtl,n=e.params.pagination;if(s())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,c=e.pagination.$el;let u;const d=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>r-1-2*e.loopedSlides&&(u-=r-2*e.loopedSlides),u>d-1&&(u-=d),u<0&&"bullets"!==e.params.paginationType&&(u=d+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const a=e.pagination.bullets;let r,s,d;if(n.dynamicBullets&&(i=a.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(e.isHorizontal()?"width":"height",i*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(o+=u-(e.previousIndex-e.loopedSlides||0),o>n.dynamicMainBullets-1?o=n.dynamicMainBullets-1:o<0&&(o=0)),r=Math.max(u-o,0),s=r+(Math.min(a.length,n.dynamicMainBullets)-1),d=(s+r)/2),a.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${n.bulletActiveClass}${e}`)).join(" ")),c.length>1)a.each((e=>{const t=eh(e),a=t.index();a===u&&t.addClass(n.bulletActiveClass),n.dynamicBullets&&(a>=r&&a<=s&&t.addClass(`${n.bulletActiveClass}-main`),a===r&&l(t,"prev"),a===s&&l(t,"next"))}));else{const t=a.eq(u),i=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){const t=a.eq(r),o=a.eq(s);for(let e=r;e<=s;e+=1)a.eq(e).addClass(`${n.bulletActiveClass}-main`);if(e.params.loop)if(i>=a.length){for(let e=n.dynamicMainBullets;e>=0;e-=1)a.eq(a.length-e).addClass(`${n.bulletActiveClass}-main`);a.eq(a.length-n.dynamicMainBullets-1).addClass(`${n.bulletActiveClass}-prev`)}else l(t,"prev"),l(o,"next");else l(t,"prev"),l(o,"next")}}if(n.dynamicBullets){const r=Math.min(a.length,n.dynamicMainBullets+4),o=(i*r-i)/2-d*i,s=t?"right":"left";a.css(e.isHorizontal()?s:"top",`${o}px`)}}if("fraction"===n.type&&(c.find(qh(n.currentClass)).text(n.formatFractionCurrent(u+1)),c.find(qh(n.totalClass)).text(n.formatFractionTotal(d))),"progressbar"===n.type){let t;t=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const a=(u+1)/d;let r=1,i=1;"horizontal"===t?r=a:i=a,c.find(qh(n.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${i})`).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(c.html(n.renderCustom(e,u+1,d)),a("paginationRender",c[0])):a("paginationUpdate",c[0]),e.params.watchOverflow&&e.enabled&&c[e.isLocked?"addClass":"removeClass"](n.lockClass)}function u(){const t=e.params.pagination;if(s())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el;let i="";if("bullets"===t.type){let a=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&a>n&&(a=n);for(let n=0;n<a;n+=1)t.renderBullet?i+=t.renderBullet.call(e,n,t.bulletClass):i+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;r.html(i),e.pagination.bullets=r.find(qh(t.bulletClass))}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,r.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,r.html(i)),"custom"!==t.type&&a("paginationRender",e.pagination.$el[0])}function d(){e.params.pagination=Dh(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let n=eh(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el),n.length>1&&(n=n.filter((t=>eh(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),n.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),o=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click",qh(t.bulletClass),(function(t){t.preventDefault();let n=eh(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),Object.assign(e.pagination,{$el:n,el:n[0]}),e.enabled||n.addClass(t.lockClass))}function p(){const t=e.params.pagination;if(s())return;const n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),n.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click",qh(t.bulletClass))}n("init",(()=>{!1===e.params.pagination.enabled?h():(d(),u(),c())})),n("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&c()})),n("snapIndexChange",(()=>{e.params.loop||c()})),n("slidesLengthChange",(()=>{e.params.loop&&(u(),c())})),n("snapGridLengthChange",(()=>{e.params.loop||(u(),c())})),n("destroy",(()=>{p()})),n("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),n("lock unlock",(()=>{c()})),n("click",((t,n)=>{const r=n.target,{$el:i}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&i&&i.length>0&&!eh(r).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&r===e.navigation.nextEl||e.navigation.prevEl&&r===e.navigation.prevEl))return;const t=i.hasClass(e.params.pagination.hiddenClass);a(!0===t?"paginationShow":"paginationHide"),i.toggleClass(e.params.pagination.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),p()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),d(),u(),c()},disable:h,render:u,update:c,init:d,destroy:p})}Object.keys(Rh).forEach((e=>{Object.keys(Rh[e]).forEach((t=>{Ih.prototype[t]=Rh[e][t]}))})),Ih.use([function({swiper:e,on:t,emit:n}){const a=Kp();let r=null,i=null;const o=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},s=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==a.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{i=a.requestAnimationFrame((()=>{const{width:n,height:a}=e;let r=n,i=a;t.forEach((({contentBoxSize:t,contentRect:n,target:a})=>{a&&a!==e.el||(r=n?n.width:(t[0]||t).inlineSize,i=n?n.height:(t[0]||t).blockSize)})),r===n&&i===a||o()}))})),r.observe(e.el)):(a.addEventListener("resize",o),a.addEventListener("orientationchange",s))})),t("destroy",(()=>{i&&a.cancelAnimationFrame(i),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),a.removeEventListener("resize",o),a.removeEventListener("orientationchange",s)}))},function({swiper:e,extendParams:t,on:n,emit:a}){const r=[],i=Kp(),o=(e,t={})=>{const n=new(i.MutationObserver||i.WebkitMutationObserver)((e=>{if(1===e.length)return void a("observerUpdate",e[0]);const t=function(){a("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(n)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)o(t[e])}o(e.$el[0],{childList:e.params.observeSlideChildren}),o(e.$wrapperEl[0],{attributes:!1})}})),n("destroy",(()=>{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}]);var Uh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.price,a=n,i=!1;return(null==t?void 0:t.value)>0&&t.plan_relation.includes(e.id)?(i=!0,a="percentage"===t.type?n-n*t.value/100:Math.max(0,n-t.value)):e.discount>0&&(i=!0,a="percentage"===e.discount_type?n-n*e.discount/100:Math.max(0,n-e.discount)),r(r({},e),{},{price:parseFloat(a.toFixed(2)),strike_price:i?parseFloat(n.toFixed(2)):null,has_discount:i})},Gh=function(e){if(!e)return"";if(["double","integer"].includes(null==e?void 0:e.value_type))return"percentage"===e.format?"".concat(e.value,"%"):"count"===e.format&&parseInt(e.value)<0?"Unlimited":e.value;if("array"===(null==e?void 0:e.value_type)){var t=[];try{t=Array.isArray(e.value)?e.value:JSON.parse(e.value)}catch(t){return console.error("Invalid array feature value:",e.value),""}return t.join(",")}var n;return"string"===(null==e?void 0:e.value_type)?(null===(n=e.value)||void 0===n?void 0:n.replace(/"/g,""))||"":e.value},Wh=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n&&t&&(t.id===e.id||!e.is_custom&&e.base_plan===t.id)},Zh=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return!!Wh(t,n,a)||!(!t.store_base_plan||t.shopify_plans.includes(e))},Yh=function(e,t,n,a){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=Wh(t,a,i);return o?n("Selected plan"):t.store_base_plan&&!t.shopify_plans.includes(e)?n("Not applicable"):o?t.price>a.price?n("Upgrade"):n(r?"Switch to this plan":"Choose plan"):n("Choose plan")},Kh=function(e,t,n,a){return!(!(t.store_base_plan&&n&&t.shopify_plans.includes(e))||Wh(t,n,a)||function(e,t,n){return n&&t.shopify_plans===e}(e,t,n))},Xh={name:"PlanCardsHighlights",components:{VariantButton:Hp},props:{plans:{type:Array,required:!0},currentPlan:{type:Object,required:!1},hasActiveCharge:{type:Boolean,required:!1},shopifyPlan:{type:String,required:!1},promotionalDiscount:{type:Object,required:!1},selectedInterval:{type:String,required:!1},features:{type:Array,required:!1,default:function(){return[]}}},data:function(){return{interval:"annually"===this.selectedInterval?"ANNUAL":"EVERY_30_DAYS",placeholder:{description:"Perfect for everything"},remainingPlansMonthly:{before:0,after:0},remainingPlansAnnually:{before:0,after:0},anyMonthlyPlanHasDiscount:!1,anyAnnuallyPlanHasDiscount:!1,anyMonthlyPlanHasNote:!1,anyAnnuallyPlanHasNote:!1,loadingPlanId:null}},computed:{monthlyPlans:function(){var e=this;return this.plans.filter((function(e){return"EVERY_30_DAYS"===e.interval})).map((function(t){var n=Uh(t,e.promotionalDiscount);return n.has_discount&&!e.anyMonthlyPlanHasDiscount&&(e.anyMonthlyPlanHasDiscount=!0),t.store_base_plan&&!1===e.anyMonthlyPlanHasNote&&Kh(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge)&&(e.anyMonthlyPlanHasNote=!0),n}))},annualPlans:function(){var e=this;return this.plans.filter((function(e){return"ANNUAL"===e.interval})).map((function(t){var n=Uh(t,e.promotionalDiscount);return n.has_discount&&!e.anyAnnuallyPlanHasDiscount&&(e.anyAnnuallyPlanHasDiscount=!0),t.store_base_plan&&!1===e.anyAnnuallyPlanHasNote&&Kh(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge)&&(e.anyAnnuallyPlanHasNote=!0),n}))},sortedPlanFeatures:function(){var e=this;return function(t){var n=Object.keys(t.features);return e.features.filter((function(e){return n.includes(e.uuid)&&!e.hidden_feature})).sort((function(e,t){var n=parseInt(e.popularity)||999,a=parseInt(t.popularity)||999;return n!==a?n-a:(parseInt(e.display_order)||999)-(parseInt(t.display_order)||999)})).slice(0,4).map((function(e){return r(r({},e),{},{value:t.features[e.uuid].value||t.features[e.uuid]})}))}},isMonthlyVisible:function(){return"monthly"===this.selectedInterval},isAnnuallyVisible:function(){return"annually"===this.selectedInterval}},methods:{getPlanButtonText:Yh,isPlanNote:Kh,isPlanButtonDisabled:Zh,formatFeature:Gh,handlePlanClick:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loadingPlanId=e.id,n.prev=1,n.next=4,t.$emit("plan-clicked",e);case 4:n.next=10;break;case 6:n.prev=6,n.t0=n.catch(1),console.error("Error handling plan click:",n.t0),t.loadingPlanId=null;case 10:case"end":return n.stop()}}),n,null,[[1,6]])})))()},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e},syncNavigationWidth:function(){var e=document.querySelectorAll(".swiper-plan-h-navigation"),t=document.querySelector(".plans-h-cards");t?e.forEach((function(e){e.style.width="".concat(t.offsetWidth+130,"px"),e.style.left="".concat(t.offsetLeft-65,"px")})):console.error("No `.plans-h-cards` element found.")},updateRemainingPlans:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"monthly";if(e){var n=e.slides.length,a=e.activeIndex,r=1;if("number"==typeof e.params.slidesPerView)r=e.params.slidesPerView;else if(e.params.breakpoints){var i,o=window.innerWidth,s=e.params.breakpoints,l=Object.keys(s).map(Number).sort((function(e,t){return e-t})),c=v(l);try{for(c.s();!(i=c.n()).done;){var u=i.value;o>=u&&"number"==typeof s[u].slidesPerView&&(r=s[u].slidesPerView)}}catch(e){c.e(e)}finally{c.f()}}var d=Math.max(n-(a+r),0),p=a;"annually"===t?this.remainingPlansAnnually={after:d,before:p}:this.remainingPlansMonthly={after:d,before:p}}},updateSliderVisibility:function(){var e=document.querySelector(".monthly"),t=document.querySelector(".annually"),n=document.querySelector(".nav-monthly"),a=document.querySelector(".nav-annually");this.isMonthlyVisible?(e.style.visibility="visible",e.style.height="auto",e.style.border="1px solid #e5e5e5",t.style.visibility="hidden",t.style.height="0px",t.style.border="0px",n.style.display="flex",a.style.display="none",this.interval="EVERY_30_DAYS"):this.isAnnuallyVisible&&(e.style.visibility="hidden",e.style.height="0px",e.style.border="0px",t.style.visibility="visible",t.style.height="auto",t.style.border="1px solid #e5e5e5",n.style.display="none",a.style.display="flex",this.interval="ANNUAL")}},watch:{selectedInterval:function(){this.updateSliderVisibility()}},mounted:function(){var e=this;this.updateSliderVisibility(),new Ih(this.$refs.swiperMonthly,{modules:[Fh,$h],loop:!1,slidesPerView:1,speed:500,pagination:{el:".swiper-pagination-h-monthly",clickable:!0},navigation:{nextEl:".swiper-plan-h-next-monthly",prevEl:".swiper-plan-h-prev-monthly"},breakpoints:{375:{slidesPerView:Math.min(this.monthlyPlans.length,1)},640:{slidesPerView:Math.min(this.monthlyPlans.length,2)},840:{slidesPerView:Math.min(this.monthlyPlans.length,3)},1152:{slidesPerView:Math.min(this.monthlyPlans.length,4)}},on:{slideChange:function(t){e.updateRemainingPlans(t)},afterInit:function(t){e.updateRemainingPlans(t)}}}),new Ih(this.$refs.swiperAnnually,{modules:[Fh,$h],loop:!1,slidesPerView:1,speed:500,pagination:{el:".swiper-pagination-h-annually",clickable:!0},navigation:{nextEl:".swiper-plan-h-next-annually",prevEl:".swiper-plan-h-prev-annually"},breakpoints:{375:{slidesPerView:Math.min(this.annualPlans.length,1)},640:{slidesPerView:Math.min(this.annualPlans.length,2)},840:{slidesPerView:Math.min(this.annualPlans.length,3)},1152:{slidesPerView:Math.min(this.annualPlans.length,4)}},on:{slideChange:function(t){e.updateRemainingPlans(t,"annually")},afterInit:function(t){e.updateRemainingPlans(t,"annually")}}}),this.syncNavigationWidth(),window.addEventListener("resize",this.syncNavigationWidth)},beforeUnmount:function(){window.removeEventListener("resize",this.syncNavigationWidth)}},Qh=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("div",{staticClass:"swiper-plan-h-navigation nav-monthly"},[n("button",{staticClass:"swiper-plan-h-prev-monthly"},[this.remainingPlansMonthly.before>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansMonthly.before+" "+(1===this.remainingPlansMonthly.before?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),e._v(" "),n("button",{staticClass:"swiper-plan-h-next-monthly"},[this.remainingPlansMonthly.after>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansMonthly.after+" "+(1===this.remainingPlansMonthly.after?e.translateMe("plan"):e.translateMe("plans"))))]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),e._v(" "),n("div",{staticClass:"swiper-plan-h-navigation nav-annually"},[n("button",{staticClass:"swiper-plan-h-prev-annually"},[this.remainingPlansAnnually.before>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansAnnually.before+" "+(1===this.remainingPlansAnnually.before?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),e._v(" "),n("button",{staticClass:"swiper-plan-h-next-annually"},[this.remainingPlansAnnually.after>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansAnnually.after+" "+(1===this.remainingPlansAnnually.after?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),e._v(" "),n("div",{ref:"swiperMonthly",staticClass:"swiper cards monthly plans-h-cards"},[n("div",{staticClass:"swiper-wrapper"},e._l(e.monthlyPlans,(function(t,a){return"EVERY_30_DAYS"===t.interval?n("div",{key:t.id,staticClass:"swiper-slide",staticStyle:{height:"auto !important"}},[n("div",{class:["card","card-border",a===e.monthlyPlans.length-1?"last-card":""]},[t.most_popular?n("div",{staticClass:"most-popular"},[n("div",{staticClass:"most-popular-label"},[e._v("\n "+e._s(e.translateMe("Most popular"))+"\n ")])]):e._e(),e._v(" "),n("h3",{staticClass:"title"},[e._v("\n "+e._s(e.translateMe(t.name))+"\n ")]),e._v(" "),n("div",{class:["price-wrapper",e.anyMonthlyPlanHasDiscount?"has-discount":""]},[t.strike_price?[n("h5",{staticClass:"strike-price"},[n("span",{staticStyle:{"text-decoration":"line-through"}},[e._v("$"+e._s(Number(t.strike_price).toFixed(2)))]),e._v(" "),0!==t.strike_price?n("span",[e._v("\n /"+e._s(e.translateMe("mo"))+"\n ")]):e._e()])]:e._e(),e._v(" "),n("h2",{staticClass:"price"},[e._v("\n "+e._s(0!==t.price?"$"+Number(t.price).toFixed(2):e.translateMe("Free"))+"\n "),0!==t.price?n("span",[e._v("\n /"+e._s(e.translateMe("mo"))+"\n ")]):e._e()])],2),e._v(" "),n("h6",{staticClass:"description",style:{visibility:t.description&&"monthly"===e.selectedInterval?"visible":"hidden"}},[e._v("\n "+e._s(t.description?e.translateMe(t.description):e.translateMe(e.placeholder.description))+"\n ")]),e._v(" "),n("VariantButton",{attrs:{variant:"secondary",disabled:e.isPlanButtonDisabled(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge),loading:e.loadingPlanId===t.id},on:{click:function(n){return e.handlePlanClick(t)}}},[e._v(e._s(e.getPlanButtonText(e.shopifyPlan,t,e.translateMe,e.currentPlan,!1,e.hasActiveCharge))+"\n ")]),e._v(" "),n("h6",{staticClass:"trial_days",style:{visibility:t.trial_days>0&&"monthly"===e.selectedInterval?"visible":"hidden"}},[e._v("\n "+e._s(t.trial_days+e.translateMe("-")+e.translateMe("day free trial"))+"\n ")]),e._v(" "),n("div",{staticClass:"features"},[n("ul",e._l(e.sortedPlanFeatures(t),(function(t){return n("li",{key:t.uuid,staticClass:"feature"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.7803 5.96967C16.0732 6.26256 16.0732 6.73744 15.7803 7.03033L9.28033 13.5303C8.98744 13.8232 8.51256 13.8232 8.21967 13.5303L4.96967 10.2803C4.67678 9.98744 4.67678 9.51256 4.96967 9.21967C5.26256 8.92678 5.73744 8.92678 6.03033 9.21967L8.75 11.9393L14.7197 5.96967C15.0126 5.67678 15.4874 5.67678 15.7803 5.96967Z",fill:"#1A1A1A"}})]),e._v(" "),n("span",[e._v("\n "+e._s("boolean"!==t.value_type?e.translateMe(e.formatFeature(t)):"")+"\n "+e._s(e.translateMe(t.name))+"\n ")])])})),0)]),e._v(" "),e.anyMonthlyPlanHasNote?n("p",{staticClass:"plan-note",style:{visibility:"monthly"===e.selectedInterval&&e.isPlanNote(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge)?"visible":"hidden"}},[e._v("\n "+e._s(e.translateMe("Note: On account of your recent Shopify plan upgrade, you should consider upgrading your current app plan"))+"\n ")]):e._e()],1)]):e._e()})),0)]),e._v(" "),n("div",{staticClass:"swiper-pagination swiper-pagination-h-monthly",style:{display:"annually"===e.selectedInterval?"none":"block"}}),e._v(" "),n("div",{ref:"swiperAnnually",staticClass:"swiper cards annually plans-h-cards"},[n("div",{staticClass:"swiper-wrapper"},e._l(e.annualPlans,(function(t,a){return"ANNUAL"===t.interval?n("div",{key:t.id,staticClass:"swiper-slide",staticStyle:{height:"auto !important"}},[n("div",{class:["card","card-border",a===e.annualPlans.length-1?"last-card":""]},[t.most_popular?n("div",{staticClass:"most-popular"},[n("div",{staticClass:"most-popular-label"},[e._v("\n "+e._s(e.translateMe("Most popular"))+"\n ")])]):e._e(),e._v(" "),n("h3",{staticClass:"title"},[e._v("\n "+e._s(e.translateMe(t.name))+"\n ")]),e._v(" "),n("div",{class:["price-wrapper",e.anyAnnuallyPlanHasDiscount?"has-discount":""]},[t.strike_price?[n("h5",{staticClass:"strike-price"},[n("span",{staticStyle:{"text-decoration":"line-through"}},[e._v("$"+e._s(Number(t.strike_price).toFixed(2)))]),e._v(" "),0!==t.strike_price?n("span",[e._v("\n /"+e._s(e.translateMe("yr"))+"\n ")]):e._e()])]:e._e(),e._v(" "),n("h2",{staticClass:"price"},[e._v("\n "+e._s(0!==t.price?"$"+Number(t.price).toFixed(2):e.translateMe("Free"))+"\n "),0!==t.price?n("span",[e._v("\n /"+e._s(e.translateMe("yr"))+"\n ")]):e._e()])],2),e._v(" "),n("h6",{staticClass:"description",style:{visibility:t.description&&"annually"===e.selectedInterval?"visible":"hidden"}},[e._v("\n "+e._s(t.description?e.translateMe(t.description):e.translateMe(e.placeholder.description))+"\n ")]),e._v(" "),n("VariantButton",{attrs:{variant:"secondary",disabled:e.isPlanButtonDisabled(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge),loading:e.loadingPlanId===t.id},on:{click:function(n){return e.handlePlanClick(t)}}},[e._v(e._s(e.getPlanButtonText(e.shopifyPlan,t,e.translateMe,e.currentPlan,!1,e.hasActiveCharge))+"\n ")]),e._v(" "),n("h6",{staticClass:"trial_days",style:{visibility:t.trial_days>0&&"annually"===e.selectedInterval?"visible":"hidden"}},[e._v("\n "+e._s(t.trial_days+e.translateMe("-")+e.translateMe("day free trial"))+"\n ")]),e._v(" "),n("div",{staticClass:"features"},[n("ul",e._l(e.sortedPlanFeatures(t),(function(t){return n("li",{key:t.uuid,staticClass:"feature"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.7803 5.96967C16.0732 6.26256 16.0732 6.73744 15.7803 7.03033L9.28033 13.5303C8.98744 13.8232 8.51256 13.8232 8.21967 13.5303L4.96967 10.2803C4.67678 9.98744 4.67678 9.51256 4.96967 9.21967C5.26256 8.92678 5.73744 8.92678 6.03033 9.21967L8.75 11.9393L14.7197 5.96967C15.0126 5.67678 15.4874 5.67678 15.7803 5.96967Z",fill:"#1A1A1A"}})]),e._v(" "),n("span",[e._v("\n "+e._s("boolean"!==t.value_type?e.translateMe(e.formatFeature(t)):"")+"\n "+e._s(e.translateMe(t.name))+"\n ")])])})),0)]),e._v(" "),e.anyAnnuallyPlanHasNote?n("p",{staticClass:"plan-note",style:{visibility:"annually"===e.selectedInterval&&e.isPlanNote(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge)?"visible":"hidden"}},[e._v("\n "+e._s(e.translateMe("Note: On account of your recent Shopify plan upgrade, you should consider upgrading your current app plan"))+"\n ")]):e._e()],1)]):e._e()})),0)]),e._v(" "),n("div",{staticClass:"swiper-pagination-h-annually swiper-pagination",style:{display:"monthly"===e.selectedInterval?"none":"block"}})])},staticRenderFns:[]},(function(e){e&&(e("data-v-de65f680_0",{source:".container[data-v-de65f680]{padding-top:40px;width:100%}.swiper.cards.annually[data-v-de65f680]{visibility:hidden;height:0;position:relative}.swiper-pagination[data-v-de65f680]{height:12px;position:relative;display:flex;justify-content:center;align-items:flex-end;gap:0;margin-top:26px}.cards[data-v-de65f680]{display:flex;background-color:#fff;flex-grow:1;border:1px solid #e5e5e5;border-radius:12px;overflow-x:clip;overflow-y:visible;box-shadow:0 4px 6px -1px #0000001a}.card[data-v-de65f680]{height:100%;display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px}.swiper-wrapper .swiper-slide .card-border.last-card[data-v-de65f680],.swiper-wrapper .swiper-slide:not(.swiper-slide-active) .card-border[data-v-de65f680]{border-left:1px solid #ccc}.card .title[data-v-de65f680]{font-size:16px;font-weight:700;color:#1a1a1a}.card .price-wrapper[data-v-de65f680]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}.card .price-wrapper.has-discount[data-v-de65f680]{min-height:44px}.card .price[data-v-de65f680]{font-size:30px;font-weight:700;color:#4a4a4a}.card .price span[data-v-de65f680]{font-size:13px;font-weight:400;color:#4a4a4a;margin-left:-6px;line-height:0}.card .description[data-v-de65f680],.card .plan-note[data-v-de65f680],.card .trial_days[data-v-de65f680]{font-size:13px;font-weight:400;color:#4a4a4a}.card .plan-note[data-v-de65f680]{margin-top:8px;text-align:center}.button[data-v-de65f680]{display:flex;justify-content:center;width:100%!important;text-align:center!important}.features[data-v-de65f680]{margin-top:19px}.features ul[data-v-de65f680]{display:flex;align-items:flex-start;gap:6px;flex-direction:column}.features .feature[data-v-de65f680]{display:flex;align-items:center;gap:4px}.features .feature svg[data-v-de65f680]{min-width:20px;min-height:20px}.feature span[data-v-de65f680]{font-size:13px;font-weight:400;color:#4a4a4a}.card .strike-price span[data-v-de65f680]{color:#4a4a4a}.most-popular[data-v-de65f680]{position:absolute;z-index:-1;top:-20px;width:100%;height:calc(100% + 20px);border-radius:12px 12px 0 0;border-left:1px solid #91d0ff;border-right:1px solid #91d0ff;overflow:hidden}.most-popular .most-popular-label[data-v-de65f680]{background-color:#91d0ff;color:#00527c;font-size:13px;font-weight:600;width:100%;text-align:center}.swiper-plan-h-navigation[data-v-de65f680]{position:absolute;margin-top:32px;display:flex;justify-content:space-between;padding:16px 0}.nav-annually[data-v-de65f680]{display:none}.swiper-plan-h-next-annually[data-v-de65f680],.swiper-plan-h-next-monthly[data-v-de65f680],.swiper-plan-h-prev-annually[data-v-de65f680],.swiper-plan-h-prev-monthly[data-v-de65f680]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background-color:#1a1a1a;border-radius:8px;cursor:pointer}.swiper-plan-h-next-annually[data-v-de65f680]:disabled,.swiper-plan-h-next-monthly[data-v-de65f680]:disabled,.swiper-plan-h-prev-annually[data-v-de65f680]:disabled,.swiper-plan-h-prev-monthly[data-v-de65f680]:disabled{opacity:0}.plans-remaining[data-v-de65f680]{position:absolute;top:-30px;background-color:#fff;color:#333;font-weight:500;padding:6px 12px;border-radius:8px;font-size:14px;white-space:nowrap;box-shadow:0 4px 8px #00000026}.plans-remaining[data-v-de65f680]::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;filter:drop-shadow(0 2px 2px rgba(0, 0, 0, .1))}@media (max-width:640px){.card-border[data-v-de65f680]{border-left:none}.swiper-plan-h-navigation[data-v-de65f680]{display:none!important}}",map:void 0,media:void 0}),e("data-v-de65f680_1",{source:".swiper-pagination .swiper-pagination-bullet{background:#757575 none;opacity:1;transition:all .5s;width:8px;height:8px}.swiper-pagination .swiper-pagination-bullet-active{background-color:#0094d5;width:12px;height:12px}",map:void 0,media:void 0}))}),Xh,"data-v-de65f680",false,undefined,!1,Pc,void 0,void 0),Jh=Qh,ef=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"block"},[n("svg",{attrs:{width:"81",height:"81",viewBox:"0 0 81 81",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M49.6768 9.31236V2.68228C49.6768 2.02914 49.146 1.5 48.4918 1.5H34.5281C33.8735 1.5 33.3431 2.02914 33.3431 2.68228V9.31236C33.3431 9.83518 32.9983 10.2952 32.4964 10.4449C30.426 11.0617 28.4454 11.8862 26.5784 12.8936C26.1188 13.1415 25.5508 13.0558 25.1816 12.6874L20.481 7.9978C20.0183 7.53618 19.2678 7.53618 18.8051 7.9978L8.93175 17.8481C8.46905 18.3098 8.46905 19.0585 8.93175 19.5201L13.6323 24.2097C14.0016 24.5781 14.0875 25.1452 13.8389 25.6032C12.8292 27.4659 12.0028 29.4423 11.3846 31.5075C11.2345 32.0086 10.7734 32.3522 10.2494 32.3522H3.60301C2.94835 32.3522 2.41797 32.8813 2.41797 33.5345V47.4655C2.41797 48.1187 2.94835 48.6478 3.60301 48.6478H10.2486C10.7726 48.6478 11.2338 48.9918 11.3838 49.4925C12.002 51.5581 12.8285 53.5341 13.8382 55.3968C14.0867 55.8552 14.0008 56.4219 13.6315 56.7903L8.93095 61.4799C8.46826 61.9415 8.46826 62.6902 8.93095 63.1519L18.8043 73.0022C19.267 73.4638 20.0175 73.4638 20.4802 73.0022L25.1808 68.3126C25.5501 67.9441 26.1184 67.8585 26.5776 68.1064C28.4446 69.1138 30.4256 69.9383 32.4957 70.5551C32.9979 70.7048 33.3423 71.1648 33.3423 71.6876V78.3177C33.3423 78.9709 33.8727 79.5 34.5273 79.5H48.491C49.1456 79.5 49.676 78.9705 49.676 78.3177V71.6876",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M37.2891 64.3588V32.7",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M37.2891 23.9823V18.4764",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M49.6777 64.3588V59.3118",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M49.6777 50.1353V18.4764",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M62.0645 64.3588V41.8765",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M62.0645 33.1588V18.4764",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M74.4531 64.3588V29.947",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M74.4531 21.6882V18.4764",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M41.4188 23.9824H32.7012V32.7001H41.4188V23.9824Z",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M53.8055 50.1353H45.0879V59.3117H53.8055V50.1353Z",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M66.1942 33.1588H57.4766V41.8765H66.1942V33.1588Z",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M78.5829 21.6882H69.8652V29.9471H78.5829V21.6882Z",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("h3",[e._v(e._s(e.title))]),e._v(" "),n("h6",[e._v(e._s(e.description))]),e._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"primary"},on:{click:e.handleClick}},[e._v(e._s(e.buttonText))])],1)},staticRenderFns:[]},(function(e){e&&e("data-v-1c53f3c0_0",{source:".block[data-v-1c53f3c0]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;gap:16px;padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.block img[data-v-1c53f3c0]{width:auto;height:auto}.block h3[data-v-1c53f3c0]{font-size:16px;font-weight:700;color:#1a1a1a}.block h6[data-v-1c53f3c0]{font-size:13px;font-weight:400;color:#1a1A1A80;max-width:186px;text-align:center}.button[data-v-1c53f3c0]{width:100%!important;display:flex!important;height:fit-content!important;justify-content:center!important}",map:void 0,media:void 0})}),{name:"GetCustomBlock",components:{VariantButton:Hp},props:{title:{type:String,required:!1},description:{type:String,required:!1},buttonText:{type:String,required:!1}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e},handleCustomizePlan:function(){this.$emit("handleCustomizePlan")}}},"data-v-1c53f3c0",false,undefined,!1,Pc,void 0,void 0),tf={data:function(){return{isSyncing:!1,remainingPlansMonthly:{before:0,after:0},remainingPlansAnnually:{before:0,after:0},anyMonthlyPlanHasDiscount:!1,anyAnnuallyPlanHasDiscount:!1,loadingPlanId:null}},name:"PlanTable",components:{VariantButton:Hp,CustomTooltip:w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"polaris-tooltip-wrapper",attrs:{tabindex:"0"},on:{mouseenter:function(t){e.show=!0},mouseleave:function(t){e.show=!1},focusin:function(t){e.show=!0},focusout:function(t){e.show=!1},click:e.handleTap}},[e._t("default"),e._v(" "),n("transition",{attrs:{name:"fade"}},[e.show?n("div",{staticClass:"polaris-tooltip-content",attrs:{role:"tooltip"}},[n("span",[e._v(e._s(e.text))]),e._v(" "),n("div",{staticClass:"polaris-tooltip-arrow"})]):e._e()])],2)},staticRenderFns:[]},(function(e){e&&e("data-v-2464ccd3_0",{source:".polaris-tooltip-wrapper[data-v-2464ccd3]{display:block;width:100%;position:relative}.polaris-tooltip-content[data-v-2464ccd3]{position:absolute;left:0;bottom:100%;top:auto;margin-bottom:8px;width:100%;min-width:0;max-width:none;background:#fff;color:#1a1a1a;font-size:13px;font-weight:400;padding:8px 12px;border-radius:8px;box-shadow:0 4px 8px rgba(23,24,24,.15);z-index:1002;white-space:pre-line;word-break:break-word;overflow-wrap:break-word;text-align:left;transition:opacity .2s}.polaris-tooltip-arrow[data-v-2464ccd3]{position:absolute;left:16px;top:100%;bottom:auto;transform:translateX(0);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;filter:drop-shadow(0 2px 2px rgba(23, 24, 24, .08))}.fade-enter-active[data-v-2464ccd3],.fade-leave-active[data-v-2464ccd3]{transition:opacity .2s}.fade-enter[data-v-2464ccd3],.fade-leave-to[data-v-2464ccd3]{opacity:0}@media (max-width:840px){.polaris-tooltip-content[data-v-2464ccd3]{opacity:0!important}}",map:void 0,media:void 0})}),{name:"CustomTooltip",props:{text:{type:String,required:!0}},data:function(){return{show:!1}},mounted:function(){document.addEventListener("touchstart",this.handleOutsideTap,!0),document.addEventListener("mousedown",this.handleOutsideTap,!0)},beforeUnmount:function(){document.removeEventListener("touchstart",this.handleOutsideTap,!0),document.removeEventListener("mousedown",this.handleOutsideTap,!0)},methods:{isMobile:function(){return window.matchMedia&&window.matchMedia("(pointer: coarse)").matches},handleTap:function(e){this.isMobile()&&(this.show=!this.show,e.stopPropagation())},handleOutsideTap:function(e){this.$el.contains(e.target)||(this.show=!1)}}},"data-v-2464ccd3",false,undefined,!1,Pc,void 0,void 0)},props:{plans:{type:Array,required:!0},currentPlan:{type:Object,required:!1},hasActiveCharge:{type:Boolean,required:!1},shopifyPlan:{type:String,required:!1},selectedInterval:{type:String,required:!1},promotionalDiscount:{type:Object,required:!1},features:{type:Array,required:!1,default:function(){return[]}},width:{type:String,required:!1,default:"base",validator:function(e){return["tight","base","loose"].includes(e)}},enableFeatureTooltip:{type:Boolean,required:!1,default:!1}},methods:{isPlanButtonDisabled:Zh,getPlanButtonText:Yh,formatFeature:Gh,handlePlanClick:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loadingPlanId=e.id,n.prev=1,n.next=4,t.$emit("plan-clicked",e);case 4:n.next=10;break;case 6:n.prev=6,n.t0=n.catch(1),console.error("Error handling plan click:",n.t0),t.loadingPlanId=null;case 10:case"end":return n.stop()}}),n,null,[[1,6]])})))()},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e},hasFeature:function(e,t){return!!e.features[t.uuid]},syncHeights:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"features";this.$nextTick((function(){setTimeout((function(){var n=document.querySelectorAll(".swiper-slide");if("features"===t){var a="-".concat(e.selectedInterval),r=document.querySelectorAll(".plan-feature-name".concat(a));n.forEach((function(e){var t=e.querySelectorAll(".plan-feature".concat(a));r.forEach((function(e,n){var a=t[n];if(e&&a){e.style.height="auto",a.style.height="auto";var r=e.getBoundingClientRect().height;(!r||r<=0)&&(r=e.offsetHeight);var i=Math.ceil(r);e.style.height="".concat(i,"px"),e.style.minHeight="".concat(i,"px"),a.style.height="".concat(i,"px"),a.style.minHeight="".concat(i,"px")}}))}))}else if("plans"===t){var i="-".concat(e.selectedInterval),o=document.querySelectorAll(".plan-header-wrapper".concat(i));o&&o.forEach((function(e){e.style.minHeight="unset"}));var s=document.querySelector(".plans-available".concat(i));if(!s)return;var l=0;n.forEach((function(e,t){var n=o[t];if(n){var a=n.getBoundingClientRect().height;(!a||a<=0)&&(a=n.offsetHeight);var r=Math.ceil(a);l=Math.max(l,r)}})),s.style.minHeight="".concat(l,"px"),o.forEach((function(e){e.style.minHeight="".concat(l,"px")}))}}),2)}))},syncAllHeights:function(){this.syncHeights("features"),this.syncHeights("plans")},syncNavigationWidth:function(){var e=document.querySelectorAll(".swiper-plan-navigation"),t=document.querySelector(".pricing-table");t&&e.forEach((function(e){e.style.width="".concat(t.offsetWidth+130,"px"),e.style.left="".concat(t.offsetLeft-65,"px")}))},syncScroll:function(e,t){if(!this.isSyncing){this.isSyncing=!0;var n=e.scrollTop;t.forEach((function(t){t!==e&&(t.scrollTop=n)})),this.isSyncing=!1}},setupScrollListeners:function(){var e=this,t=document.querySelectorAll("#table-left"),n=document.querySelectorAll("#plans-table"),a=[].concat(p(t),p(n));a.forEach((function(t){t.addEventListener("scroll",(function(){e.syncScroll(t,a)}))}))},updateRemainingPlans:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"monthly";if(e){var n=e.slides.length,a=e.activeIndex,r=1;if("number"==typeof e.params.slidesPerView)r=e.params.slidesPerView;else if(e.params.breakpoints){var i,o=window.innerWidth,s=e.params.breakpoints,l=Object.keys(s).map(Number).sort((function(e,t){return e-t})),c=v(l);try{for(c.s();!(i=c.n()).done;){var u=i.value;o>=u&&"number"==typeof s[u].slidesPerView&&(r=s[u].slidesPerView)}}catch(e){c.e(e)}finally{c.f()}}var d=Math.max(n-(a+r),0),p=a;"annually"===t?this.remainingPlansAnnually={after:d,before:p}:this.remainingPlansMonthly={after:d,before:p}}},updateTableVisibility:function(){var e=document.querySelector(".monthly-table"),t=document.querySelector(".annually-table"),n=document.querySelector(".nav-monthly-table"),a=document.querySelector(".nav-annually-table");this.isMonthlyVisible?(e.style.visibility="visible",e.style.height="auto",e.style.padding="16px",t.style.visibility="hidden",t.style.height="0px",t.style.padding="0px",n.style.display="flex",a.style.display="none",this.interval="EVERY_30_DAYS",this.syncAllHeights()):this.isAnnuallyVisible&&(e.style.visibility="hidden",e.style.height="0px",e.style.padding="0px",t.style.visibility="visible",t.style.height="auto",t.style.padding="16px",n.style.display="none",a.style.display="flex",this.interval="ANNUAL",this.syncAllHeights())}},computed:{monthlyPlans:function(){var e=this;return this.plans.filter((function(e){return"EVERY_30_DAYS"===e.interval})).map((function(t){var n=Uh(t,e.promotionalDiscount);return n.has_discount&&!e.anyMonthlyPlanHasDiscount&&(e.anyMonthlyPlanHasDiscount=!0),n}))},annualPlans:function(){var e=this;return this.plans.filter((function(e){return"ANNUAL"===e.interval})).map((function(t){var n=Uh(t,e.promotionalDiscount);return n.has_discount&&!e.anyAnnuallyPlanHasDiscount&&(e.anyAnnuallyPlanHasDiscount=!0),n}))},isMonthlyVisible:function(){return"monthly"===this.selectedInterval},isAnnuallyVisible:function(){return"annually"===this.selectedInterval},monthlyPlansFeatures:function(){if(!this.features.length)return[];var e=new Set;this.monthlyPlans.forEach((function(t){Object.keys(t.features).forEach((function(t){e.add(t)}))}));var t={},n=!1;this.features.filter((function(t){return e.has(t.uuid)&&!t.hidden_feature})).forEach((function(e){e.group&&e.group_order&&(n=!0);var a=n&&e.group||"Default";t[a]||(t[a]={name:a,order:n&&e.group_order||999,features:[]}),t[a].features.push(e)}));var a=Object.values(t).sort((function(e,t){return e.order-t.order}));return 1!==a.length&&n||a.forEach((function(e){return e.name=""})),a},annualPlansFeatures:function(){if(!this.features.length)return[];var e=new Set;this.annualPlans.forEach((function(t){Object.keys(t.features).forEach((function(t){e.add(t)}))}));var t={},n=!1;this.features.filter((function(t){return e.has(t.uuid)&&!t.hidden_feature})).forEach((function(e){e.group&&e.group_order&&(n=!0);var a=n&&e.group||"Default";t[a]||(t[a]={name:a,order:n&&e.group_order||999,features:[]}),t[a].features.push(e)}));var a=Object.values(t).sort((function(e,t){return e.order-t.order}));return 1!==a.length&&n||a.forEach((function(e){return e.name=""})),a}},watch:{selectedInterval:function(){this.updateTableVisibility()}},mounted:function(){var e=this;this.updateTableVisibility(),new Ih(this.$refs.swiperMonthlyTable,{modules:[Fh,$h],loop:!1,slidesPerView:2,speed:500,navigation:{nextEl:".swiper-plan-monthly-next",prevEl:".swiper-plan-monthly-prev"},breakpoints:{0:{slidesPerView:Math.min(this.monthlyPlans.length,1.2)},640:{slidesPerView:Math.min(this.monthlyPlans.length,2)},1024:{slidesPerView:Math.min(this.monthlyPlans.length,"tight"===this.width?2:3)}},on:{slideChange:function(t){e.syncAllHeights(),e.updateRemainingPlans(t)},afterInit:function(t){e.syncAllHeights(),e.updateRemainingPlans(t)}}}),new Ih(this.$refs.swiperAnnuallyTable,{modules:[Fh,$h],loop:!1,slidesPerView:2,speed:500,navigation:{nextEl:".swiper-plan-annually-next",prevEl:".swiper-plan-annually-prev"},breakpoints:{0:{slidesPerView:Math.min(this.annualPlans.length,1.2)},640:{slidesPerView:Math.min(this.annualPlans.length,2)},1024:{slidesPerView:Math.min(this.annualPlans.length,"tight"===this.width?2:3)}},on:{slideChange:function(t){e.syncAllHeights(),e.updateRemainingPlans(t,"annually")},afterInit:function(t){e.syncAllHeights(),e.updateRemainingPlans(t,"annually")}}}),this.syncAllHeights(),this.syncNavigationWidth(),window.addEventListener("resize",this.syncNavigationWidth),window.addEventListener("resize",this.syncAllHeights),this.setupScrollListeners()},beforeUnmount:function(){window.removeEventListener("resize",this.syncNavigationWidth),window.removeEventListener("resize",this.syncAllHeights)}},nf=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("div",{staticClass:"swiper-plan-navigation nav-monthly-table"},[n("button",{staticClass:"swiper-plan-monthly-prev"},[this.remainingPlansMonthly.before>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansMonthly.before+" "+(1===this.remainingPlansMonthly.before?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),e._v(" "),n("button",{staticClass:"swiper-plan-monthly-next"},[this.remainingPlansMonthly.after>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansMonthly.after+" "+(1===this.remainingPlansMonthly.after?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),e._v(" "),n("div",{staticClass:"swiper-plan-navigation nav-annually-table"},[n("button",{staticClass:"swiper-plan-annually-prev"},[this.remainingPlansAnnually.before>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansAnnually.before+" "+(1===this.remainingPlansAnnually.before?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),e._v(" "),n("button",{staticClass:"swiper-plan-annually-next"},[this.remainingPlansAnnually.after>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansAnnually.after+" "+(1===this.remainingPlansAnnually.after?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),e._v(" "),n("div",{staticClass:"pricing-table monthly-table"},[n("div",{staticClass:"pricing-table-inner__left",attrs:{id:"table-left"}},[n("div",{staticClass:"table-header plans-available plans-available-monthly"},[n("h3",[e._v("\n "+e._s(e.monthlyPlans.length)+" "+e._s(e.monthlyPlans.length>1?e.translateMe("plans available"):e.translateMe("plan available"))+"\n ")])]),e._v(" "),e._l(e.monthlyPlansFeatures,(function(t){return[t.name?n("div",{staticClass:"feature-group-header plan-feature-name plan-feature-name-monthly"},[e._v("\n "+e._s(e.translateMe(t.name))+"\n ")]):e._e(),e._v(" "),e._l(t.features,(function(t){return n("div",{key:t.uuid,staticClass:"plan-feature-name plan-feature-name-monthly"},[e.enableFeatureTooltip&&t.description?[n("CustomTooltip",{attrs:{text:e.translateMe(t.description)}},[n("span",[e._v(e._s(e.translateMe(t.name)))])])]:[n("span",[e._v(e._s(e.translateMe(t.name)))])]],2)}))]}))],2),e._v(" "),n("div",{ref:"swiperMonthlyTable",staticClass:"swiper plans monthly",attrs:{id:"plans-table"}},[n("div",{staticClass:"swiper-wrapper"},e._l(e.monthlyPlans,(function(t,a){return n("div",{key:t.id,staticClass:"swiper-slide",class:{"last-slide":a===e.monthlyPlans.length-1}},[n("div",{staticClass:"plan-header-wrapper plan-header-wrapper-monthly"},[n("div",{class:["price-wrapper",e.anyMonthlyPlanHasDiscount?"has-discount":""]},[n("h4",{staticClass:"plan-name mobile-plan-name"},[e._v(e._s(e.translateMe(t.name)))]),e._v(" "),t.strike_price?[n("h5",[n("span",{staticClass:"strike-price"},[e._v("$"+e._s(Number(t.strike_price).toFixed(2)))]),e._v(" "),0!==t.strike_price?n("span",{staticClass:"plan-interval"},[e._v("/"+e._s(e.translateMe("mo")))]):e._e()])]:e._e(),e._v(" "),n("div",{staticClass:"main-price"},[n("h4",{staticClass:"plan-name desktop-plan-name"},[e._v(e._s(e.translateMe(t.name)))]),e._v(" "),"free"!==t.name&&"FREE"!==t.name?n("h4",[n("span",{staticClass:"plan-price"},[e._v("$"+e._s(Number(t.price).toFixed(2)))]),e._v(" "),n("span",{staticClass:"plan-interval"},[e._v("/"+e._s(e.translateMe("mo")))])]):e._e()])],2),e._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"secondary",disabled:e.isPlanButtonDisabled(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge),loading:e.loadingPlanId===t.id},on:{click:function(n){return e.handlePlanClick(t)}}},[e._v(e._s(e.getPlanButtonText(e.shopifyPlan,t,e.translateMe,e.currentPlan,!0,e.hasActiveCharge)))])],1),e._v(" "),e._l(e.monthlyPlansFeatures,(function(a){return[a.name?n("div",{staticClass:"feature-group-header plan-feature plan-feature-monthly"},[e._v("\n "+e._s(e.translateMe(a.name))+"\n ")]):e._e(),e._v(" "),e._l(a.features,(function(a){return n("div",{key:a.uuid,staticClass:"plan-feature plan-feature-monthly"},[e.hasFeature(t,a)?n("div",["boolean"===a.value_type?n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9134)"}},[n("path",{attrs:{d:"M3.25 10C3.25 10.9849 3.44399 11.9602 3.8209 12.8701C4.19781 13.7801 4.75026 14.6069 5.4467 15.3033C6.14314 15.9997 6.96993 16.5522 7.87987 16.9291C8.78982 17.306 9.76509 17.5 10.75 17.5C11.7349 17.5 12.7102 17.306 13.6201 16.9291C14.5301 16.5522 15.3569 15.9997 16.0533 15.3033C16.7497 14.6069 17.3022 13.7801 17.6791 12.8701C18.056 11.9602 18.25 10.9849 18.25 10C18.25 9.01509 18.056 8.03982 17.6791 7.12987C17.3022 6.21993 16.7497 5.39314 16.0533 4.6967C15.3569 4.00026 14.5301 3.44781 13.6201 3.0709C12.7102 2.69399 11.7349 2.5 10.75 2.5C9.76509 2.5 8.78982 2.69399 7.87987 3.0709C6.96993 3.44781 6.14314 4.00026 5.4467 4.6967C4.75026 5.39314 4.19781 6.21993 3.8209 7.12987C3.44399 8.03982 3.25 9.01509 3.25 10Z",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M8.25 9.99998L9.91667 11.6666L13.25 8.33331",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9134"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])]):n("div",[n("span",[e._v(e._s(e.translateMe(e.formatFeature(t.features[a.uuid]))))])])]):n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9139)"}},[n("path",{attrs:{d:"M15.75 5L5.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5.75 5L15.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9139"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])])])}))]}))],2)})),0)])]),e._v(" "),n("div",{staticClass:"pricing-table annually-table"},[n("div",{staticClass:"pricing-table-inner__left",attrs:{id:"table-left"}},[n("div",{staticClass:"table-header plans-available plans-available-annually"},[n("h3",[e._v(e._s(e.annualPlans.length)+" "+e._s(e.annualPlans.length>1?e.translateMe("plans available"):e.translateMe("plan available")))])]),e._v(" "),e._l(e.annualPlansFeatures,(function(t){return[t.name?n("div",{staticClass:"feature-group-header plan-feature-name plan-feature-name-annually"},[e._v("\n "+e._s(e.translateMe(t.name))+"\n ")]):e._e(),e._v(" "),e._l(t.features,(function(t){return n("div",{key:t.uuid,staticClass:"plan-feature-name plan-feature-name-annually"},[e.enableFeatureTooltip&&t.description?[n("CustomTooltip",{attrs:{text:e.translateMe(t.description)}},[n("span",[e._v(e._s(e.translateMe(t.name)))])])]:[n("span",[e._v(e._s(e.translateMe(t.name)))])]],2)}))]}))],2),e._v(" "),n("div",{ref:"swiperAnnuallyTable",staticClass:"swiper plans annually",attrs:{id:"plans-table"}},[n("div",{staticClass:"swiper-wrapper"},e._l(e.annualPlans,(function(t,a){return n("div",{key:t.id,staticClass:"swiper-slide",class:{"last-slide":a===e.annualPlans.length-1}},[n("div",{staticClass:"plan-header-wrapper plan-header-wrapper-annually"},[n("div",{class:["price-wrapper",e.anyAnnuallyPlanHasDiscount?"has-discount":""]},[n("h4",{staticClass:"plan-name mobile-plan-name"},[e._v(e._s(e.translateMe(t.name)))]),e._v(" "),t.strike_price?[n("h5",[n("span",{staticClass:"strike-price"},[e._v("$"+e._s(Number(t.strike_price).toFixed(2)))]),e._v(" "),0!==t.strike_price?n("span",{staticClass:"plan-interval"},[e._v("/"+e._s(e.translateMe("yr")))]):e._e()])]:e._e(),e._v(" "),n("div",{staticClass:"main-price"},[n("h4",{staticClass:"plan-name desktop-plan-name"},[e._v(e._s(e.translateMe(t.name)))]),e._v(" "),"free"!==t.name&&"FREE"!==t.name?n("h4",[n("span",{staticClass:"plan-price"},[e._v("$"+e._s(Number(t.price).toFixed(2)))]),e._v(" "),n("span",{staticClass:"plan-interval"},[e._v("/"+e._s(e.translateMe("yr")))])]):e._e()])],2),e._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"secondary",disabled:e.isPlanButtonDisabled(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge),loading:e.loadingPlanId===t.id},on:{click:function(n){return e.handlePlanClick(t)}}},[e._v(e._s(e.getPlanButtonText(e.shopifyPlan,t,e.translateMe,e.currentPlan,!0,e.hasActiveCharge)))])],1),e._v(" "),e._l(e.annualPlansFeatures,(function(a){return[a.name?n("div",{staticClass:"feature-group-header plan-feature plan-feature-annually"},[e._v("\n "+e._s(e.translateMe(a.name))+"\n ")]):e._e(),e._v(" "),e._l(a.features,(function(a){return n("div",{key:a.uuid,staticClass:"plan-feature plan-feature-annually"},[e.hasFeature(t,a)?n("div",["boolean"===a.value_type?n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9134)"}},[n("path",{attrs:{d:"M3.25 10C3.25 10.9849 3.44399 11.9602 3.8209 12.8701C4.19781 13.7801 4.75026 14.6069 5.4467 15.3033C6.14314 15.9997 6.96993 16.5522 7.87987 16.9291C8.78982 17.306 9.76509 17.5 10.75 17.5C11.7349 17.5 12.7102 17.306 13.6201 16.9291C14.5301 16.5522 15.3569 15.9997 16.0533 15.3033C16.7497 14.6069 17.3022 13.7801 17.6791 12.8701C18.056 11.9602 18.25 10.9849 18.25 10C18.25 9.01509 18.056 8.03982 17.6791 7.12987C17.3022 6.21993 16.7497 5.39314 16.0533 4.6967C15.3569 4.00026 14.5301 3.44781 13.6201 3.0709C12.7102 2.69399 11.7349 2.5 10.75 2.5C9.76509 2.5 8.78982 2.69399 7.87987 3.0709C6.96993 3.44781 6.14314 4.00026 5.4467 4.6967C4.75026 5.39314 4.19781 6.21993 3.8209 7.12987C3.44399 8.03982 3.25 9.01509 3.25 10Z",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M8.25 9.99998L9.91667 11.6666L13.25 8.33331",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9134"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])]):n("div",[n("span",[e._v(e._s(e.translateMe(e.formatFeature(t.features[a.uuid]))))])])]):n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9139)"}},[n("path",{attrs:{d:"M15.75 5L5.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5.75 5L15.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9139"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])])])}))]}))],2)})),0)])])])},staticRenderFns:[]},(function(e){e&&e("data-v-7c1e8456_0",{source:".container[data-v-7c1e8456]{width:100%}.pricing-table[data-v-7c1e8456]{display:grid;width:calc(100% + 2px);grid-template-columns:repeat(3,1fr);background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.pricing-table.monthly-table[data-v-7c1e8456]{padding:16px}.plans[data-v-7c1e8456]{grid-column:span 2;max-height:500px;overflow-y:auto}.annually-table[data-v-7c1e8456]{visibility:hidden;height:0}.pricing-table-inner__left[data-v-7c1e8456]{display:flex;flex-direction:column;max-height:500px;overflow-y:auto}.swiper[data-v-7c1e8456]{width:100%;height:100%}.pricing-table.annually-table .swiper-wrapper[data-v-7c1e8456],.pricing-table.monthly-table .swiper-wrapper[data-v-7c1e8456]{height:auto!important}.table-header[data-v-7c1e8456]{display:flex;align-items:center;background-color:#f1f1f1;padding:16px;border-bottom:1px solid #e3e3e3;position:sticky;top:0;z-index:10}.table-header h3[data-v-7c1e8456]{font-size:13px;font-weight:700;line-height:20px;color:#1a1a1a}.plan-header-wrapper[data-v-7c1e8456]{padding:16px;border-bottom:1px solid #e3e3e3}.plan-feature[data-v-7c1e8456]{display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3}.last-slide .plan-feature[data-v-7c1e8456]{border-right:1px solid #e3e3e3}.plan-feature-name[data-v-7c1e8456]{font-size:13px;font-weight:450;padding:12px;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3;word-break:normal;hyphens:none}.plan-table-checkmark[data-v-7c1e8456]{width:20px;height:20px;visibility:visible;display:inline-block;margin-top:4px}.plan-header-wrapper[data-v-7c1e8456]{display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;background-color:#f1f1f1;border-left:1px solid #f1f1f1;border-right:1px solid #f1f1f1;position:sticky;top:0}.plan-header-wrapper .price-wrapper[data-v-7c1e8456]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}.plan-header-wrapper .price-wrapper.has-discount[data-v-7c1e8456]{min-height:44px}.plan-header-wrapper .price-wrapper .main-price[data-v-7c1e8456]{display:flex;flex-direction:row;gap:8px;justify-content:center;align-items:center}.plan-header-wrapper .price-wrapper .strike-price[data-v-7c1e8456]{color:#4a4a4a;text-decoration:line-through}.plan-header-wrapper .price-wrapper .plan-interval[data-v-7c1e8456]{color:#4a4a4a;font-weight:400}.plan-header-wrapper .price-wrapper h4[data-v-7c1e8456]{display:inline-flex;text-align:center;font-size:16px;font-weight:700;color:#1a1a1a;width:max-content}.plan-header-wrapper .price-wrapper h4.plan-name[data-v-7c1e8456]{width:100%}.plan-header-wrapper .price-wrapper .mobile-plan-name[data-v-7c1e8456]{display:none}.plan-header-wrapper .price-wrapper h4 h6[data-v-7c1e8456]{display:inline;font-size:13px;font-weight:400;color:#00000080;margin-left:-4px;line-height:0}.swiper-plan-navigation[data-v-7c1e8456]{position:absolute;margin-top:32px;display:flex;justify-content:space-between;padding:16px 0}.nav-annually-table[data-v-7c1e8456]{display:none}.swiper-plan-annually-next[data-v-7c1e8456],.swiper-plan-annually-prev[data-v-7c1e8456],.swiper-plan-monthly-next[data-v-7c1e8456],.swiper-plan-monthly-prev[data-v-7c1e8456]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background-color:#1a1a1a;border-radius:8px;cursor:pointer}.swiper-plan-annually-next[data-v-7c1e8456]:disabled,.swiper-plan-annually-prev[data-v-7c1e8456]:disabled,.swiper-plan-monthly-next[data-v-7c1e8456]:disabled,.swiper-plan-monthly-prev[data-v-7c1e8456]:disabled{opacity:0}.choose-button[data-v-7c1e8456]{background-color:#fff!important}.choose-button[data-v-7c1e8456]:hover{background-color:#f9f9f9!important}.choose-button.disabled[data-v-7c1e8456]{background-color:rgba(0,0,0,.15)!important}#table-left[data-v-7c1e8456]{scrollbar-width:none;-ms-overflow-style:none}#table-left[data-v-7c1e8456]::-webkit-scrollbar{display:none}.plans-remaining[data-v-7c1e8456]{position:absolute;top:-30px;background-color:#fff;color:#333;font-weight:500;padding:6px 12px;border-radius:8px;font-size:14px;white-space:nowrap;box-shadow:0 4px 8px #00000026}.plans-remaining[data-v-7c1e8456]::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;filter:drop-shadow(0 2px 2px rgba(0, 0, 0, .1))}.feature-group-header.plan-feature-name[data-v-7c1e8456]{font-size:14px!important;padding-left:12px!important}.feature-group-header.plan-feature[data-v-7c1e8456]{font-size:0!important}.feature-group-header[data-v-7c1e8456]{font-size:14px;font-weight:600;background-color:#f5f5f5;color:#1a1a1a;padding:5px!important;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3}.feature-group-header.plan-feature[data-v-7c1e8456]{text-align:center;border-left:1px solid #e3e3e3}.last-slide .feature-group-header.plan-feature[data-v-7c1e8456]{border-right:1px solid #e3e3e3}@media (max-width:1024px){.plan-header-wrapper .price-wrapper .mobile-plan-name[data-v-7c1e8456]{display:inline-block}.plan-header-wrapper .price-wrapper .desktop-plan-name[data-v-7c1e8456]{display:none}.plan-header-wrapper .price-wrapper .main-price[data-v-7c1e8456]{flex-direction:column}}@media (max-width:640px){.swiper-plan-navigation[data-v-7c1e8456]{display:none!important}.pricing-table[data-v-7c1e8456]{width:calc(100% + -2px)}}@media (max-width:400px){.plan-feature-name[data-v-7c1e8456]{padding:12px 4px}}",map:void 0,media:void 0})}),tf,"data-v-7c1e8456",false,undefined,!1,Pc,void 0,void 0),af=nf,rf=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"block"},[n("div",{staticClass:"bundle-header"},[n("h3",[e._v(e._s(e.translateMe("Bundle")))]),e._v(" "),n("div",{staticClass:"bundle-price-wrapper"},[n("div",{staticStyle:{display:"flex","align-items":"center",gap:"4px"}},[n("h2",[e._v("$"+e._s(Number(e.plan.price-e.plan.discount).toFixed(2)))]),e._v(" "),n("span",{staticClass:"mo-label"},[e._v("/"+e._s(e.translateMe("mo")))]),e._v(" "),n("h4",[e._v("$"+e._s(Number(e.plan.price).toFixed(2)))])]),e._v(" "),n("span",{staticClass:"apps-count"},[e._v(e._s(e.allApps.length)+" "+e._s(e.translateMe("Apps")))])])]),e._v(" "),n("div",{staticClass:"apps-list"},e._l(e.allApps,(function(t,a){return n("div",{key:t.id+"_"+a,staticClass:"app"},[a<=10?[n("img",{attrs:{src:t.app_logo_url,alt:t.app_name+" Logo",width:"24",height:"24"}}),e._v(" "),n("h5",[e._v(e._s(e.translateMe(t.app_name)))])]:11===a?[n("h5",{staticClass:"more-apps-label"},[e._v("+ "+e._s(e.allApps.length-11)+" "+e._s(e.translateMe("More apps")))])]:e._e()],2)})),0),e._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"primary"},on:{click:function(t){return e.handlePlanClick("bundle")}}},[e._v(e._s(e.translateMe("Start saving now")))])],1)},staticRenderFns:[]},(function(e){e&&e("data-v-6f7db206_0",{source:".block[data-v-6f7db206]{display:flex;flex-direction:column;justify-content:space-between;width:100%;gap:16px;padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.button[data-v-6f7db206]{width:100%!important;display:flex!important;height:fit-content!important;justify-content:center!important}.bundle-header[data-v-6f7db206]{display:flex;gap:8px;border-bottom:1px solid #e3e3e3;padding-bottom:12px;align-items:center}.bundle-price-wrapper[data-v-6f7db206]{display:flex;gap:8px;align-items:center;width:100%}.bundle-header h3[data-v-6f7db206]{font-size:18px;font-weight:700;color:#1a1a1a}.bundle-header h2[data-v-6f7db206]{font-size:30px;font-weight:700;color:#1a1a1a}.bundle-header .mo-label[data-v-6f7db206]{font-size:13px;font-weight:400;color:#4a4a4a}.bundle-header h4[data-v-6f7db206]{font-size:13.5px;font-weight:700;color:#4a4a4a;text-decoration:line-through}.bundle-header .apps-count[data-v-6f7db206]{background-color:#91d0ff;border-radius:8px;padding:2px 8px;font-size:12px;line-height:16px;font-weight:550;color:#00527c}.apps-list[data-v-6f7db206]{display:flex;flex-wrap:wrap;gap:8px}.apps-list .app[data-v-6f7db206]{display:flex;flex-basis:calc(33% - 8px);align-items:center;gap:8px}.more-apps-label[data-v-6f7db206]{font-size:13px;font-weight:700;color:#1a1a1a}@media (max-width:767px){.apps-list .app[data-v-6f7db206]{flex-basis:calc(50% - 8px)}}@media (max-width:540px){.apps-list .app[data-v-6f7db206]{flex-basis:100%}.bundle-header[data-v-6f7db206]{flex-direction:column;align-items:flex-start;gap:16px}}",map:void 0,media:void 0})}),{name:"BundlePlanCard",components:{VariantButton:Hp},props:{plan:{type:Object,required:!0},plan_details:{type:Array,required:!0}},methods:{handlePlanClick:function(e){this.$emit("plan-clicked","bundle")},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}},computed:{allApps:function(){return this.plan_details.flatMap((function(e){return e.apps_relation}))},totalAppsCount:function(){return this.allApps.length}}},"data-v-6f7db206",false,undefined,!1,Pc,void 0,void 0),of=rf,sf={name:"CustomizationModal",components:{VariantButton:Hp},props:{visible:Boolean,title:{type:String,default:"Book A Call"}},data:function(){return{selectedIndex:null,items:[{title:"Options Block on Collection Page",price:199,description:"Lorem ipsum description for section",demo:"#"},{title:"Accordion Setup",price:79,description:"Lorem ipsum description for section",demo:"#"},{title:"Step-by-Step Product Form",price:129,description:"Lorem ipsum description for section",demo:"#"},{title:"Swatches with Drawer",price:199,description:"Lorem ipsum description for section",demo:"#"},{title:"Options Block Customization",price:79,description:"Lorem ipsum description for section",demo:"#"},{title:"Font Preview Block",price:99,description:"Lorem ipsum description for section",demo:"#"},{title:"Didn't Find What You're Looking For?",description:"Discuss with our experts!",icon:!0,buttonText:"Schedule a Call"}]}},computed:{total:function(){var e=this.items[this.selectedIndex];return e&&e.price?e.price:0}},methods:{selectItem:function(e){this.selectedIndex=e},onCancel:function(){this.$emit("cancel")},onSubmit:function(){this.$emit("submit",this.items[this.selectedIndex]||null)}}},lf=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"modal-fade"}},[e.visible?n("div",{staticClass:"customization-modal modal-overlay",on:{click:function(t){return t.target!==t.currentTarget?null:e.onCancel.apply(null,arguments)}}},[n("div",{staticClass:"modal-container",attrs:{tabindex:"0"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onCancel.apply(null,arguments)}}},[n("div",{staticClass:"modal-header"},[n("h2",{staticClass:"modal-title"},[e._v(e._s(e.title))]),e._v(" "),n("button",{staticClass:"close-button",on:{click:e.onCancel}},[n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M12 4L4 12",stroke:"currentColor","stroke-width":"1"}}),e._v(" "),n("path",{attrs:{d:"M4 4L12 12",stroke:"currentColor","stroke-width":"1"}})])])]),e._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"grid"},e._l(e.items,(function(t,a){return n("div",{key:a,staticClass:"card",class:{selected:e.selectedIndex===a},on:{click:function(t){return e.selectItem(a)}}},[t.icon?n("div",{staticClass:"icon"},[n("svg",{attrs:{width:"51",height:"52",viewBox:"0 0 51 52",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_840_1701)"}},[n("path",{attrs:{d:"M10.625 9H19.125L23.375 19.625L18.0625 22.8125C20.3383 27.427 24.073 31.1617 28.6875 33.4375L31.875 28.125L42.5 32.375V40.875C42.5 42.0022 42.0522 43.0832 41.2552 43.8802C40.4582 44.6772 39.3772 45.125 38.25 45.125C29.9609 44.6213 22.1428 41.1013 16.2708 35.2292C10.3987 29.3572 6.87873 21.5391 6.375 13.25C6.375 12.1228 6.82277 11.0418 7.6198 10.2448C8.41683 9.44777 9.49783 9 10.625 9Z",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M31.875 15.375C33.0022 15.375 34.0832 15.8228 34.8802 16.6198C35.6772 17.4168 36.125 18.4978 36.125 19.625",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M31.875 6.875C35.2565 6.875 38.4995 8.2183 40.8906 10.6094C43.2817 13.0005 44.625 16.2435 44.625 19.625",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_840_1701"}},[n("rect",{attrs:{width:"51",height:"51",fill:"white",transform:"translate(0 0.5)"}})])])])]):e._e(),e._v(" "),n("strong",[e._v(e._s(t.title))]),e._v(" "),t.price?n("div",{staticClass:"price"},[e._v("$"+e._s(t.price))]):e._e(),e._v(" "),n("p",{staticClass:"description"},[e._v(e._s(t.description))]),e._v(" "),t.demo?n("a",{staticClass:"demo-link",attrs:{href:t.demo,target:"_blank"}},[e._v("View demo")]):e._e(),e._v(" "),n("VariantButton",{attrs:{variant:"secondary","full-width":!0}},[e._v("\n "+e._s(t.buttonText||(t.price?"Select":"Schedule a Call"))+"\n ")])],1)})),0)]),e._v(" "),n("div",{staticClass:"modal-footer"},[n("span",{staticClass:"total"},[n("span",[e._v("Total:")]),e._v(" $"+e._s(e.total)+"\n ")]),e._v(" "),n("VariantButton",{attrs:{variant:"primary"}},[e._v("Submit")])],1)])]):e._e()])},staticRenderFns:[]},(function(e){e&&e("data-v-59367d19_0",{source:".modal-fade-enter-active[data-v-59367d19],.modal-fade-leave-active[data-v-59367d19]{transition:opacity .2s ease}.modal-fade-enter[data-v-59367d19],.modal-fade-leave-to[data-v-59367d19]{opacity:0}.customization-modal.modal-overlay[data-v-59367d19]{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:1000;display:flex;align-items:center;justify-content:center}.customization-modal .modal-container[data-v-59367d19]{background:#fff;width:90%;max-width:960px;border-radius:10px;overflow:hidden;outline:0;max-height:90vh;display:flex;flex-direction:column}.customization-modal .modal-header[data-v-59367d19]{padding:12px 16px;background:#f3f3f3;border-bottom:1px solid #e3e3e3;display:flex;justify-content:space-between;align-items:center;position:relative}.customization-modal .modal-title[data-v-59367d19]{margin:0;font-size:13px;line-height:20px;font-weight:600}.customization-modal .close-button[data-v-59367d19]{border:none;cursor:pointer;position:absolute;top:calc(50% + 2px);transform:translateY(-50%);right:10px;background:#f3f3f3}.customization-modal .modal-body[data-v-59367d19]{padding:20px;overflow-y:auto;flex:1}.customization-modal .grid[data-v-59367d19]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:32px 44px}.customization-modal .card[data-v-59367d19]{border:1px solid #dcdcdc;border-radius:12px;padding:16px;text-align:center;transition:border .2s;background:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:6px}.card[data-v-59367d19]:hover,.customization-modal .card.selected[data-v-59367d19]{box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset}.customization-modal .card .price[data-v-59367d19]{font-weight:500;font-size:20px;line-height:28px;letter-spacing:0}.customization-modal .card .description[data-v-59367d19]{font-weight:400;font-size:13px;line-height:20px;letter-spacing:0;text-align:center}.customization-modal .card .demo-link[data-v-59367d19]{font-weight:400;font-size:13px;line-height:20px;letter-spacing:0;text-align:center;color:#0094d5;text-decoration:none}.customization-modal .card .action-btn[data-v-59367d19]{margin-top:auto;border:1px solid #dcdcdc;background:#fff;border-radius:6px;padding:8px;cursor:pointer}.customization-modal .icon img[data-v-59367d19]{height:36px;margin-bottom:8px}.customization-modal .modal-footer[data-v-59367d19]{border-top:1px solid #e3e3e3;padding:12px 16px;display:flex;gap:8px;justify-content:right;align-items:center}.customization-modal .total[data-v-59367d19]{font-weight:500;font-size:13px;line-height:20px;letter-spacing:0;text-align:center;color:#00000080}.customization-modal .total span[data-v-59367d19]{font-weight:700;color:#000}",map:void 0,media:void 0})}),sf,"data-v-59367d19",false,undefined,!1,Pc,void 0,void 0),cf={name:"AppManagerSliderPlan",components:{PlanBanners:zc,CustomizationModal:lf,PPage:zu,PStack:Nu,PStackItem:Ou,PButton:ne,PButtonGroup:at,PHeading:ae,PLayout:Du,PEmptyState:Cp,AppCard:Np,PlanShowcaseBanner:Rp,CategoryHeading:Vp,BenefitsBanner:Ip,VariantButton:Hp,SelectButton:qp,ToggleButton:$p,PlanCardsHighlights:Jh,GetCustomBlock:ef,PlanTable:af,BundlePlanCard:of},props:["shop_domain","host","discount_code","is_customizable","width","enable_feature_tooltip"],data:function(){return{planLoading:!1,plan:{},plans:[],valid_annual_plans:[],promotional_discount:{},features:[],featureValues:[],shopify_plan:"",default_plan_id:null,onboard:!0,choose_later:!1,has_active_charge:!1,global_plan_charge:!1,subtitleContent:"",selectedPlan:"monthly",bundle_details:null,bundle_plan:null,showPlansFeatures:!1,showCustomizationModal:!1,additionalBenefitsHeading:{category_name:"Unlock additional benefits"}}},computed:{shop:function(){return{name:this.shop_domain,shopify_plan:this.shopify_plan,has_plan:!!this.plan,plan:this.plan,default_plan_id:this.default_plan_id}},monthlyPlan:function(){return this.plans.filter((function(e){return"EVERY_30_DAYS"===e.interval}))},yearlyPlan:function(){return this.plans.filter((function(e){return"ANNUAL"===e.interval}))}},methods:{translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e},isCurrentPlanId:function(e){return this.shop.plan&&e.id===this.shop.plan.id},isActivePlanGlobal:function(){var e;return Boolean(null===(e=this.shop.plan)||void 0===e?void 0:e.is_global)},isActiveGlobalCharge:function(){return Boolean(this.global_plan_charge)},isSamePlanInOtherInterval:function(e){return this.shop.plan&&e.shopify_plans===this.shop.plan.shopify_plans},format:function(e){if(["double","integer"].includes(null==e?void 0:e.value_type))return"percentage"===e.format?"".concat(e.value,"%"):"count"===e.format?e.value<0?this.translateMe("Unlimited"):e.value:this.translateMe(e.value);if("array"===(null==e?void 0:e.value_type)){var t=JSON.parse(e.value),n=this;return(t=t.map((function(t){return n.translateMe(n.featureValues[e.feature_id][t])}))).join(", ")}return"string"===(null==e?void 0:e.value_type)?this.translateMe(e.value.replace('"',"").replace('"',"")):void 0},calculateDiscountedPrice:function(e){return Uh(e,this.promotional_discount).price},handlePlanClicked:function(e){this.getPlanUrl(e)},getPlanUrl:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){var a,r,i,o,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=t.shop.name,r=t.host,i=t.discount_code,o="shop=".concat(a),null!=r&&(o+="&host=".concat(r)),null!=i&&(o+="&discount_code=".concat(i)),n.next=8,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plan/process/").concat(e.id,"?").concat(o)).catch((function(e){console.error(e)}));case 8:"free_plan"===(s=n.sent).data.plan_type?t.$emit("handlePlanSelect",{free_plan:!0}):(l=s.data.redirect_url)&&(window.top.location.href=l);case 10:case"end":return n.stop()}}),n)})))()},activePlan:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.activeWithoutPlan();case 2:!0===t.sent.data.status&&e.onboard&&(e.$emit("handlePlanSelect",{choose_later:!0}),e.onboard=!1);case 4:case"end":return t.stop()}}),t)})))()},activeWithoutPlan:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_c.post("".concat(e.app_manager_config.baseUrl,"/api/app-manager/active-without-plan"),{shop_domain:e.shop.name,plan_id:e.shop.default_plan_id}).catch((function(e){console.error(e)}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},selectPlan:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){var a,r,i,o,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.selectedPlan=e,null!==t.bundle_plan&&(a=document.querySelector(".custom-plan"),r=document.querySelector(".bundle-plan"),i=document.querySelector(".bill-cycle-back"),o=document.querySelector(".bill-cycle-select-group__inner-left"),s=document.querySelector(".promotional-banner"),l=document.querySelector(".bundle-plan-showcase-banner"),"bundle"==t.selectedPlan?(a.style.display="none",r.style.display="flex",i.style.display="flex",o.style.display="none",s&&(s.style.display="none"),l.style.display="flex"):(r.style.display="none",a.style.display="flex",i.style.display="none",o.style.display="flex",s&&(s.style.display="flex"),l.style.display="none"));case 2:case"end":return n.stop()}}),n)})))()},fetchFeatures:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,a,r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plan-features")).catch((function(e){console.error(e)}));case 2:n=t.sent,(a=n.data).features.length&&(e.features=a.features,e.features=null===(r=e.features)||void 0===r?void 0:r.filter((function(e){return!0!==e.hidden_feature})),e.features=null===(i=e.features)||void 0===i?void 0:i.sort((function(e,t){return parseInt(e.display_order)-parseInt(t.display_order)})),e.features.forEach((function(t){"array"==t.value_type&&(e.featureValues[t.uuid]=t.values)})));case 5:case"end":return t.stop()}}),t)})))()},fetchPlans:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,a,r,o,s,l,c,u,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={shop_domain:e.shop_domain},null!==e.discount_code&&(n.discount_code=e.discount_code),t.next=4,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plans"),{params:n}).catch((function(e){console.error(e)}));case 4:if(a=t.sent,(r=a.data).plans.length){for(d=0;d<r.plans.length;d++)"ANNUAL"===r.plans[d].interval&&e.valid_annual_plans.push(r.plans[d]);e.plans=r.plans,e.plans=null===(o=e.plans)||void 0===o?void 0:o.sort((function(e,t){return parseFloat(e.price)-parseFloat(t.price)})),(null===(s=e.plans)||void 0===s?void 0:s.length)>0&&(null===(l=r.most_popular_plan_ids)||void 0===l?void 0:l.length)>0&&e.plans.forEach((function(e){e.most_popular=r.most_popular_plan_ids.includes(e.id)})),e.plans[0].store_base_plan&&(e.subtitleContent=e.translateMe("App plans are based on your existing shopify plan")),e.plan=r.plan,"ANNUAL"===(null===(c=e.plan)||void 0===c?void 0:c.interval)&&(e.selectedPlan="annually"),null!==(u=e.plan)&&void 0!==u&&u.is_global&&(e.selectedPlan="bundle"),e.shopify_plan=r.shopify_plan,e.default_plan_id=r.default_plan_id,e.choose_later=r.choose_later,e.onboard=e.default_plan_id&&e.choose_later,e.has_active_charge=r.has_active_charge,e.global_plan_charge=r.global_plan_charge,e.promotional_discount=r.promotional_discount&&"object"===i(r.promotional_discount)&&Object.keys(r.promotional_discount).length>0?r.promotional_discount:{},r.bundle_plan&&(e.bundle_plan=r.bundle_plan),r.bundle_details&&(e.bundle_details=r.bundle_details)}case 7:case"end":return t.stop()}}),t)})))()},handlePlanBannerClose:function(e){this.$emit("handlePlanBannerClose",e),this.$emit("handle-plan-banner-close",e)},togglePlansFeatures:function(){this.showPlansFeatures=!this.showPlansFeatures},handleCustomizePlan:function(){this.showCustomizationModal=!0,this.$emit("handleCustomizePlan")},handleCustomizePlanClose:function(){this.showCustomizationModal=!1}},mounted:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.planLoading=!0,t.next=3,e.fetchFeatures();case 3:return t.next=5,e.fetchPlans();case 5:e.planLoading=!1;case 6:case"end":return t.stop()}}),t)})))()}},uf=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return this.planLoading||0!==this.plans.length?!this.planLoading&&this.plans.length>0?n("div",{staticClass:"app-manager-wrapper"},[n("PlanBanners",{staticClass:"app-manager-plan-banner",attrs:{position:"header"},on:{handlePlanBannerClose:e.handlePlanBannerClose}}),e._v(" "),n("div",{class:["bill-cycle-select-group","loose"===this.width?"loose-width":"","tight"===this.width?"tight-width":"","base"===this.width?"base-width":""]},[n("a",{staticClass:"bill-cycle-back",on:{click:function(t){return e.selectPlan("monthly")}}},[n("svg",{attrs:{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M1 7H15H1Z",fill:"#006FBB"}}),e._v(" "),n("path",{attrs:{d:"M1 7H15",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M1 7L7 13L1 7Z",fill:"#006FBB"}}),e._v(" "),n("path",{attrs:{d:"M1 7L7 13",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M1 7L7 1L1 7Z",fill:"#006FBB"}}),e._v(" "),n("path",{attrs:{d:"M1 7L7 1",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v("\n "+e._s(e.translateMe("Back to app pricing"))+"\n ")]),e._v(" "),n("div",{staticClass:"bill-cycle-select-group__inner-left"},[n("SelectButton",{attrs:{id:"pricing-tab",variant:"monthly"===e.selectedPlan?"primary":"secondary"},on:{click:function(t){return e.selectPlan("monthly")}}},[e._v("\n "+e._s(e.translateMe("Billed monthly"))+"\n ")]),e._v(" "),e.valid_annual_plans.length>0?n("SelectButton",{attrs:{id:"pricing-tab",variant:"annually"===e.selectedPlan?"primary":"secondary"},on:{click:function(t){return e.selectPlan("annually")}}},[e._v("\n "+e._s(e.translateMe("Billed yearly"))+"\n "),n("strong",{staticStyle:{"white-space":"pre",display:"inline-flex",gap:"3px","margin-left":"4px"}},[n("span",[e._v(e._s(e.translateMe("17%")))]),e._v(" "),n("span",[e._v(e._s(e.translateMe("Off")))])])]):e._e()],1)]),e._v(" "),e.bundle_plan?n("PlanShowcaseBanner",{attrs:{useCardStyle:!0,width:this.width,showcaseData:e.bundle_plan,realPrice:parseFloat(e.calculateDiscountedPrice(e.bundle_plan)).toFixed(0),oldPrice:e.bundle_plan.price,isCurrentPlan:e.isCurrentPlanId(e.bundle_plan)},on:{"plan-clicked":function(t){return e.handlePlanClicked(e.bundle_plan)}}}):e._e(),e._v(" "),n("PPage",{class:["app-manager-plan-page-slider","custom-title","loose"===this.width?"loose-width":"","tight"===this.width?"tight-width":"","base"===this.width?"base-width":""]},[n("PLayout",{staticClass:"custom-plan"},[n("PlanCardsHighlights",{attrs:{plans:e.plans,features:e.features,currentPlan:e.plan,hasActiveCharge:e.has_active_charge,shopifyPlan:e.shopify_plan,promotionalDiscount:e.promotional_discount,selectedInterval:e.selectedPlan},on:{"plan-clicked":e.handlePlanClicked}}),e._v(" "),n("div",{staticStyle:{display:"flex","flex-direction":"column","align-items":"center",gap:"16px"}},[n("a",{staticClass:"toggle-plans-features",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.togglePlansFeatures.apply(null,arguments)}}},[e._v("\n "+e._s(e.showPlansFeatures?e.translateMe("Hide all features"):e.translateMe("Show all features"))+"\n ")]),e._v(" "),n("PlanTable",{class:{"hide-all-features":!e.showPlansFeatures},attrs:{plans:e.plans,currentPlan:e.plan,hasActiveCharge:e.has_active_charge,shopifyPlan:e.shopify_plan,promotionalDiscount:e.promotional_discount,selectedInterval:e.selectedPlan,features:e.features,width:this.width,enableFeatureTooltip:this.enable_feature_tooltip},on:{"plan-clicked":e.handlePlanClicked}})],1),e._v(" "),e.onboard?n("PStack",{staticClass:"choose-plan-btn",attrs:{alignment:"center",distribution:"center",vertical:""}},[n("PStackItem",{attrs:{fill:""}},[n("PButton",{attrs:{plain:""},on:{click:e.activePlan}},[e._v(e._s(e.translateMe("I will choose the plan later")))])],1)],1):e._e(),e._v(" "),n("div",{staticClass:"customization-bundle-section"}),e._v(" "),n("CustomizationModal",{attrs:{visible:this.showCustomizationModal},on:{cancel:e.handleCustomizePlanClose,submit:function(e){}}})],1),e._v(" "),null!==e.bundle_plan?n("div",{staticClass:"bundle-plan"},[n("div",{staticClass:"light-divider"}),e._v(" "),e._l(e.bundle_details,(function(t){return n("div",{staticClass:"bundle-category"},[n("CategoryHeading",{attrs:{headingData:t}}),e._v(" "),n("div",{staticClass:"bundle-category-apps"},e._l(t.apps_relation,(function(e){return n("AppCard",{attrs:{appData:e}})})),1)],1)})),e._v(" "),n("CategoryHeading",{attrs:{headingData:e.additionalBenefitsHeading}}),e._v(" "),n("BenefitsBanner")],2):e._e(),e._v(" "),n("PlanBanners",{attrs:{position:"footer"},on:{handlePlanBannerClose:e.handlePlanBannerClose}})],1)],1):e._e():n("PEmptyState",{attrs:{heading:e.translateMe("No plans"),image:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"}})},staticRenderFns:[]},(function(e){e&&e("data-v-c6586700_0",{source:'@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);@font-face{font-family:swiper-icons;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0,0,0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1190px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper::before{content:"";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:"";position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size)/ 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:50%;background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity,.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity,1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-next+.swiper-slide,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:"";background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}.app-manager .app-manager-wrapper{padding-top:16px}.app-manager .app-manager-plan-page-slider ul{list-style:none;margin:0;padding:0}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li,.app-manager .app-manager-plan-page-slider .plan__price{padding:16px 16px 16px 20px}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li{border-top:1px solid #ddd;border-right:1px solid #ddd;background:#fff;border-right:none;border-left:1px solid #ddd}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:last-child{border-bottom:1px solid #ddd}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:first-child{border-top-left-radius:12px}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:last-child{border-bottom-left-radius:12px}.app-manager .app-manager-plan-page-slider .plan__price{border-left:1px solid #ddd;box-shadow:none;border-top-left-radius:12px;overflow:hidden}.app-manager .app-manager-plan-page-slider .feature__list,.app-manager .app-manager-plan-page-slider .feature__type__array{display:flex;align-items:center;word-spacing:999px;justify-content:center}.app-manager .app-manager-plan-page-slider .feature__type__array.feature__class{justify-content:left}.app-manager .app-manager-plan-page-slider .plan-heading b{overflow-wrap:break-word;word-wrap:break-word;white-space:initial}.app-manager-plan-banner{margin-right:30px;margin-left:30px}.bundle-plan{display:none;flex-direction:column;gap:20px}.bundle-category{display:flex;flex-direction:column;gap:20px;margin-bottom:10px}.bundle-category-apps{display:flex;flex-direction:column;gap:10px}.light-divider{border-top:1px solid #e3e3e3;margin-top:10px;margin-bottom:10px}.app-manager .Polaris-Icon--colorSuccess svg{fill:#1a1a1a!important}.button-group-new{display:flex;align-items:center;justify-content:center;gap:4px}.bill-cycle-select-group{display:flex;align-items:center;justify-content:space-between;gap:4px;max-width:1190px!important;margin-left:auto;margin-right:auto;padding:0 96px}.bill-cycle-select-group.loose-width{max-width:1600px!important}.bill-cycle-select-group.tight-width{max-width:840px!important}.bill-cycle-select-group__inner-left{width:fit-content;display:flex;gap:4px;align-items:center;justify-content:center;border-radius:40px;padding:4px;border:1px solid #1a1a1a}.bill-cycle-back{display:none;align-items:center;color:#006fbb;cursor:pointer;gap:4px;font-weight:450;font-size:14px}.promotional-banner{width:100%;height:100px;display:flex;align-items:center;justify-content:end;padding-right:36px;background-size:cover;background-repeat:no-repeat;background-position:center;border-radius:8px;margin-bottom:22px}.custom-plan{display:flex;flex-direction:column;align-items:center!important;gap:24px;margin-left:0!important;margin-right:0!important}.toggle-plans-features{font-size:13px;font-weight:500;color:#4a4a4a;text-decoration:none}.hide-all-features{visibility:hidden;overflow:hidden;height:0;margin-top:0!important}.customization-bundle-section{display:flex;flex-direction:row;gap:24px;width:100%}.app-manager .app-manager-plan-page-slider{padding-left:96px!important;padding-right:96px!important;max-width:1190px!important}.app-manager .app-manager-plan-page-slider.loose-width{max-width:1600px!important}.app-manager .app-manager-plan-page-slider.tight-width{max-width:840px!important}@media (max-width:1023px){.customization-bundle-section{flex-direction:column;gap:20px}}@media (max-width:992px){.app-manager .app-manager-plan-page-slider.loose-width,.bill-cycle-select-group.loose-width{max-width:none!important}}@media (max-width:767px){.app-manager .app-manager-plan-page-slider.loose-width,.bill-cycle-select-group.loose-width{max-width:100%!important}.bill-cycle-select-group{flex-direction:column;gap:10px}}@media (max-width:700px){.Polaris-ButtonGroup__Item{width:auto!important}.app-manager .Polaris-Button{padding:7px 8px!important}.bill-cycle-select-group{padding:0 8px}}@media (max-width:640px){.app-manager .app-manager-plan-page-slider{padding-left:0!important;padding-right:0!important}}',map:void 0,media:void 0})}),cf,undefined,false,undefined,!1,Pc,void 0,void 0),df=uf,pf={name:"AppManagerPlan",components:{AppManagerSliderPlan:df},props:{shop_domain:{type:String},base_url:{type:String,default:null},host:{type:String,default:null},discount_code:{type:String,default:null},is_customizable:{type:Boolean,default:!1},width:{type:String,default:"base",validator:function(e){return["tight","base","loose"].includes(e)}},enable_feature_tooltip:{type:Boolean,default:!1},translations:{type:Object,default:function(){return{hulkapps:"hulkapps"}}}},methods:{handlePlanSelect:function(e){this.$emit("handlePlanSelect",e),this.$emit("handle-plan-select",e)},handlePlanBannerClose:function(e){this.$emit("handlePlanBannerClose",e),this.$emit("handle-plan-banner-close",e)},handleCustomizePlan:function(){this.$emit("handleCustomizePlan")}},created:function(){if(n.default.prototype.$translations=Object.keys(this.translations).length>0?this.translations:{},null!=this.base_url){var e={baseUrl:this.base_url};gf(n.default,e)}}},hf=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("AppManagerSliderPlan",{attrs:{shop_domain:e.shop_domain,host:e.host,discount_code:e.discount_code,is_customizable:e.is_customizable,width:this.width,enable_feature_tooltip:e.enable_feature_tooltip},on:{handlePlanSelect:e.handlePlanSelect,handlePlanBannerClose:e.handlePlanBannerClose,handleCustomizePlan:e.handleCustomizePlan}})},staticRenderFns:[]},undefined,pf,"data-v-35a1cd1a",false,undefined,!1,void 0,void 0,void 0),ff=Object.freeze({__proto__:null,Banners:Mc,AppManagerGroupPlan:Fp,PlanBanners:zc,AppManagerSliderPlan:df,AppManagerPlan:hf}),vf={baseUrl:""},gf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.entries(ff).forEach((function(t){var n=d(t,2),a=n[0],r=n[1];e.component(a,r)})),e.prototype.app_manager_config=r(r({},vf),t)},mf=Object.freeze({__proto__:null,default:gf,Banners:Mc,AppManagerGroupPlan:Fp,PlanBanners:zc,AppManagerSliderPlan:df,AppManagerPlan:hf});return Object.entries(mf).forEach((function(e){var t=d(e,2),n=t[0],a=t[1];"default"!==n&&(gf[n]=a)})),gf}(Vue);
|
|
9
|
+
var n;"undefined"!=typeof self&&self,n=function(){return function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n(17),r=n(18),i=n(19),o=n(45),s=n(46),l=n(47),c=n(48),u=n(49),d=n(12),p=n(32),h=n(33),f=n(31),v=n(1),g={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:a.default,Format:r.default,Leaf:i.default,Embed:c.default,Scroll:o.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:d.default,Class:p.default,Style:h.default,Store:f.default}};t.default=g},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return r(t,e),t}(Error);t.ParchmentError=i;var o,s={},l={},c={},u={};function d(e,t){var n;if(void 0===t&&(t=o.ANY),"string"==typeof e)n=u[e]||s[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)n=u.text;else if("number"==typeof e)e&o.LEVEL&o.BLOCK?n=u.block:e&o.LEVEL&o.INLINE&&(n=u.inline);else if(e instanceof HTMLElement){var a=(e.getAttribute("class")||"").split(/\s+/);for(var r in a)if(n=l[a[r]])break;n=n||c[e.tagName]}return null==n?null:t&o.LEVEL&n.scope&&t&o.TYPE&n.scope?n:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(o=t.Scope||(t.Scope={})),t.create=function(e,t){var n=d(e);if(null==n)throw new i("Unable to create "+e+" blot");var a=n,r=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:a.create(t);return new a(r,t)},t.find=function e(n,a){return void 0===a&&(a=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:a?e(n.parentNode,a):null},t.query=d,t.register=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t.length>1)return t.map((function(t){return e(t)}));var a=t[0];if("string"!=typeof a.blotName&&"string"!=typeof a.attrName)throw new i("Invalid definition");if("abstract"===a.blotName)throw new i("Cannot register abstract class");if(u[a.blotName||a.attrName]=a,"string"==typeof a.keyName)s[a.keyName]=a;else if(null!=a.className&&(l[a.className]=a),null!=a.tagName){Array.isArray(a.tagName)?a.tagName=a.tagName.map((function(e){return e.toUpperCase()})):a.tagName=a.tagName.toUpperCase();var r=Array.isArray(a.tagName)?a.tagName:[a.tagName];r.forEach((function(e){null!=c[e]&&null!=a.className||(c[e]=a)}))}return a}},function(e,t,n){var a=n(51),r=n(11),i=n(3),o=n(20),s=String.fromCharCode(0),l=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};l.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},l.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},l.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},l.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=i(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(r(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},l.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},l.prototype.filter=function(e){return this.ops.filter(e)},l.prototype.forEach=function(e){this.ops.forEach(e)},l.prototype.map=function(e){return this.ops.map(e)},l.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(a){(e(a)?t:n).push(a)})),[t,n]},l.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},l.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+o.length(t):t.delete?e-t.delete:e}),0)},l.prototype.length=function(){return this.reduce((function(e,t){return e+o.length(t)}),0)},l.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],a=o.iterator(this.ops),r=0;r<t&&a.hasNext();){var i;r<e?i=a.next(e-r):(i=a.next(t-r),n.push(i)),r+=o.length(i)}return new l(n)},l.prototype.compose=function(e){var t=o.iterator(this.ops),n=o.iterator(e.ops),a=[],i=n.peek();if(null!=i&&"number"==typeof i.retain&&null==i.attributes){for(var s=i.retain;"insert"===t.peekType()&&t.peekLength()<=s;)s-=t.peekLength(),a.push(t.next());i.retain-s>0&&n.next(i.retain-s)}for(var c=new l(a);t.hasNext()||n.hasNext();)if("insert"===n.peekType())c.push(n.next());else if("delete"===t.peekType())c.push(t.next());else{var u=Math.min(t.peekLength(),n.peekLength()),d=t.next(u),p=n.next(u);if("number"==typeof p.retain){var h={};"number"==typeof d.retain?h.retain=u:h.insert=d.insert;var f=o.attributes.compose(d.attributes,p.attributes,"number"==typeof d.retain);if(f&&(h.attributes=f),c.push(h),!n.hasNext()&&r(c.ops[c.ops.length-1],h)){var v=new l(t.rest());return c.concat(v).chop()}}else"number"==typeof p.delete&&"number"==typeof d.retain&&c.push(p)}return c.chop()},l.prototype.concat=function(e){var t=new l(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},l.prototype.diff=function(e,t){if(this.ops===e.ops)return new l;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:s;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")})).join("")})),i=new l,c=a(n[0],n[1],t),u=o.iterator(this.ops),d=o.iterator(e.ops);return c.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case a.INSERT:n=Math.min(d.peekLength(),t),i.push(d.next(n));break;case a.DELETE:n=Math.min(t,u.peekLength()),u.next(n),i.delete(n);break;case a.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),t);var s=u.next(n),l=d.next(n);r(s.insert,l.insert)?i.retain(n,o.attributes.diff(s.attributes,l.attributes)):i.push(l).delete(n)}t-=n}})),i.chop()},l.prototype.eachLine=function(e,t){t=t||"\n";for(var n=o.iterator(this.ops),a=new l,r=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),s=o.length(i)-n.peekLength(),c="string"==typeof i.insert?i.insert.indexOf(t,s)-s:-1;if(c<0)a.push(n.next());else if(c>0)a.push(n.next(c));else{if(!1===e(a,n.next(1).attributes||{},r))return;r+=1,a=new l}}a.length()>0&&e(a,{},r)},l.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var n=o.iterator(this.ops),a=o.iterator(e.ops),r=new l;n.hasNext()||a.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===a.peekType())if("insert"===a.peekType())r.push(a.next());else{var i=Math.min(n.peekLength(),a.peekLength()),s=n.next(i),c=a.next(i);if(s.delete)continue;c.delete?r.push(c):r.retain(i,o.attributes.transform(s.attributes,c.attributes,t))}else r.retain(o.length(n.next()));return r.chop()},l.prototype.transformPosition=function(e,t){t=!!t;for(var n=o.iterator(this.ops),a=0;n.hasNext()&&a<=e;){var r=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(a<e||!t)&&(e+=r),a+=r):e-=Math.min(r,e-a)}return e},e.exports=l},function(e,t){var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===a.call(e)},s=function(e){if(!e||"[object Object]"!==a.call(e))return!1;var t,r=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;for(t in e);return void 0===t||n.call(e,t)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(i)return i(e,t).value}return e[t]};e.exports=function e(){var t,n,a,r,i,u,d=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<h;++p)if(null!=(t=arguments[p]))for(n in t)a=c(d,n),d!==(r=c(t,n))&&(f&&r&&(s(r)||(i=o(r)))?(i?(i=!1,u=a&&o(a)?a:[]):u=a&&s(a)?a:{},l(d,{name:n,newValue:e(f,u,r)})):void 0!==r&&l(d,{name:n,newValue:r}));return d}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=d(n(3)),o=d(n(2)),s=d(n(0)),l=d(n(16)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(){return p(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),a(t,[{key:"attach",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new o.default).insert(this.value(),(0,i.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=s.default.query(e,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,a){this.format(n,a)}},{key:"insertAt",value:function(e,n,a){if("string"==typeof n&&n.endsWith("\n")){var i=s.default.create(g.blotName);this.parent.insertBefore(i,0===e?this:this.next),i.insertAt(0,n.slice(0,-1))}else r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,a)}}]),t}(s.default.Embed);v.scope=s.default.Scope.BLOCK_BLOT;var g=function(e){function t(e){p(this,t);var n=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.cache={},n}return f(t,e),a(t,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce((function(e,t){return 0===t.length()?e:e.insert(t.value(),m(t))}),new o.default).insert("\n",m(this))),this.cache.delta}},{key:"deleteAt",value:function(e,n){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),this.cache={}}},{key:"formatAt",value:function(e,n,a,i){n<=0||(s.default.query(a,s.default.Scope.BLOCK)?e+n===this.length()&&this.format(a,i):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),a,i),this.cache={})}},{key:"insertAt",value:function(e,n,a){if(null!=a)return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,a);if(0!==n.length){var i=n.split("\n"),o=i.shift();o.length>0&&(e<this.length()-1||null==this.children.tail?r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),o):this.children.tail.insertAt(this.children.tail.length(),o),this.cache={});var s=this;i.reduce((function(e,t){return(s=s.split(e,!0)).insertAt(0,t),t.length}),e+o.length)}}},{key:"insertBefore",value:function(e,n){var a=this.children.head;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n),a instanceof l.default&&a.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(e,n){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,n),this.cache={}}},{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var a=this.clone();return 0===e?(this.parent.insertBefore(a,this),this):(this.parent.insertBefore(a,this.next),a)}var i=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},i}}]),t}(s.default.Block);function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,i.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:m(e.parent,t))}g.blotName="block",g.tagName="P",g.defaultChild="break",g.allowedChildren=[c.default,s.default.Embed,u.default],t.bubbleFormats=m,t.BlockEmbed=v,t.default=g},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n(50);var o=g(n(2)),s=g(n(14)),l=g(n(8)),c=g(n(9)),u=g(n(0)),d=n(15),p=g(d),h=g(n(3)),f=g(n(10)),v=g(n(34));function g(e){return e&&e.__esModule?e:{default:e}}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var y=(0,f.default)("quill"),b=function(){function e(t){var n=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(w(this,e),this.options=_(t,a),this.container=this.options.container,null==this.container)return y.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new p.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(e){e===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(l.default.events.SCROLL_UPDATE,(function(e,t){var a=n.selection.lastRange,r=a&&0===a.length?a.index:void 0;x.call(n,(function(){return n.editor.update(null,t,r)}),e)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),f.default.level(e)}},{key:"find",value:function(e){return e.__quill||u.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&y.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var r=e.attrName||e.blotName;"string"==typeof r?this.register("formats/"+r,e,t):Object.keys(e).forEach((function(a){n.register(a,e[a],t)}))}else null==this.imports[e]||a||y.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?u.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),i(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var a=this,i=M(e,t,n),o=r(i,4);return e=o[0],t=o[1],n=o[3],x.call(this,(function(){return a.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return x.call(this,(function(){var a=n.getSelection(!0),r=new o.default;if(null==a)return r;if(u.default.query(e,u.default.Scope.BLOCK))r=n.editor.formatLine(a.index,a.length,m({},e,t));else{if(0===a.length)return n.selection.format(e,t),r;r=n.editor.formatText(a.index,a.length,m({},e,t))}return n.setSelection(a,l.default.sources.SILENT),r}),a)}},{key:"formatLine",value:function(e,t,n,a,i){var o,s=this,l=M(e,t,n,a,i),c=r(l,4);return e=c[0],t=c[1],o=c[2],i=c[3],x.call(this,(function(){return s.editor.formatLine(e,t,o)}),i,e,0)}},{key:"formatText",value:function(e,t,n,a,i){var o,s=this,l=M(e,t,n,a,i),c=r(l,4);return e=c[0],t=c[1],o=c[2],i=c[3],x.call(this,(function(){return s.editor.formatText(e,t,o)}),i,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var a=this.container.getBoundingClientRect();return{bottom:n.bottom-a.top,height:n.height,left:n.left-a.left,right:n.right-a.left,top:n.top-a.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=M(e,t),a=r(n,2);return e=a[0],t=a[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=M(e,t),a=r(n,2);return e=a[0],t=a[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,a){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return x.call(this,(function(){return r.editor.insertEmbed(t,n,a)}),i,t)}},{key:"insertText",value:function(e,t,n,a,i){var o,s=this,l=M(e,0,n,a,i),c=r(l,4);return e=c[0],o=c[2],i=c[3],x.call(this,(function(){return s.editor.insertText(e,t,o)}),i,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var a=this,i=M(e,t,n),o=r(i,4);return e=o[0],t=o[1],n=o[3],x.call(this,(function(){return a.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return x.call(this,(function(){e=new o.default(e);var n=t.getLength(),a=t.editor.deleteText(0,n),r=t.editor.applyDelta(e),i=r.ops[r.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),r.delete(1)),a.compose(r)}),n)}},{key:"setSelection",value:function(t,n,a){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var i=M(t,n,a),o=r(i,4);t=o[0],n=o[1],a=o[3],this.selection.setRange(new d.Range(t,n),a),a!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new o.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return x.call(this,(function(){return e=new o.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function _(e,t){if((t=(0,h.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==b.DEFAULTS.theme){if(t.theme=b.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=v.default;var n=(0,h.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var a=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce((function(e,t){var n=b.import("modules/"+t);return null==n?y.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,h.default)(!0,{},b.DEFAULTS,{modules:a},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function x(e,t,n,a){if(this.options.strict&&!this.isEnabled()&&t===l.default.sources.USER)return new o.default;var r=null==n?null:this.getSelection(),i=this.editor.delta,s=e();if(null!=r&&(!0===n&&(n=r.index),null==a?r=C(r,s,t):0!==a&&(r=C(r,n,a,t)),this.setSelection(r,l.default.sources.SILENT)),s.length()>0){var c,u,d=[l.default.events.TEXT_CHANGE,s,i,t];(c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),t!==l.default.sources.SILENT&&(u=this.emitter).emit.apply(u,d)}return s}function M(e,t,n,r,i){var o={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(i=r,r=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(i=r,r=n,n=t,t=0),"object"===(void 0===n?"undefined":a(n))?(o=n,i=r):"string"==typeof n&&(null!=r?o[n]=r:i=n),[e,t,o,i=i||l.default.sources.API]}function C(e,t,n,a){if(null==e)return null;var i=void 0,s=void 0;if(t instanceof o.default){var c=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,a!==l.default.sources.USER)})),u=r(c,2);i=u[0],s=u[1]}else{var p=[e.index,e.index+e.length].map((function(e){return e<t||e===t&&a===l.default.sources.USER?e:n>=0?e+n:Math.max(t,e+n)})),h=r(p,2);i=h[0],s=h[1]}return new d.Range(i,s-i)}b.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},b.events=l.default.events,b.sources=l.default.sources,b.version="1.3.7",b.imports={delta:o.default,parchment:u.default,"core/module":c.default,"core/theme":v.default},t.expandConfig=_,t.overload=M,t.default=b},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=s(n(7)),o=s(n(0));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"formatAt",value:function(e,n,a,i){if(t.compare(this.statics.blotName,a)<0&&o.default.query(a,o.default.Scope.BLOT)){var s=this.isolate(e,n);i&&s.wrap(a,i)}else r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,a,i)}},{key:"optimize",value:function(e){if(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var a=t.order.indexOf(e),r=t.order.indexOf(n);return a>=0||r>=0?a-r:e===n?0:e<n?-1:1}}]),t}(o.default.Inline);u.allowedChildren=[u,o.default.Embed,i.default],u.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(0);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((a=r)&&a.__esModule?a:{default:a}).default.Text);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=o(n(54));function o(e){return e&&e.__esModule?e:{default:e}}var s=(0,o(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(e){document.addEventListener(e,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(e){var n;e.__quill&&e.__quill.emitter&&(n=e.__quill.emitter).handleDOM.apply(n,t)}))}))}));var l=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.listeners={},e.on("error",s.error),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"emit",value:function(){s.log.apply(s,arguments),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];(this.listeners[e.type]||[]).forEach((function(t){var a=t.node,r=t.handler;(e.target===a||a.contains(e.target))&&r.apply(void 0,[e].concat(n))}))}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}]),t}(i.default);l.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},l.sources={API:"api",SILENT:"silent",USER:"user"},t.default=l},function(e,t,n){function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a(this,e),this.quill=t,this.options=n};r.DEFAULTS={},t.default=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=["error","warn","log","info"],r="warn";function i(e){if(a.indexOf(e)<=a.indexOf(r)){for(var t,n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];(t=console)[e].apply(t,i)}}function o(e){return a.reduce((function(t,n){return t[n]=i.bind(console,n,e),t}),{})}i.level=o.level=function(e){r=e},t.default=o},function(e,t,n){var a=Array.prototype.slice,r=n(52),i=n(53),o=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var c,u;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e))return!!i(t)&&(e=a.call(e),t=a.call(t),o(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(c=0;c<e.length;c++)if(e[c]!==t[c])return!1;return!0}try{var d=r(e),p=r(t)}catch(e){return!1}if(d.length!=p.length)return!1;for(d.sort(),p.sort(),c=d.length-1;c>=0;c--)if(d[c]!=p[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!o(e[u],t[u],n))return!1;return typeof e==typeof t}(e,t,n))};function s(e){return null==e}function l(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),r=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var r=a.Scope.TYPE&a.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&a.Scope.LEVEL|r:this.scope=a.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=a.query(e,a.Scope.BLOT&(this.scope|a.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=d(n(2)),s=d(n(0)),l=d(n(4)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(){return p(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),t}(c.default);v.blotName="code",v.tagName="CODE";var g=function(e){function t(){return p(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),r(t,[{key:"delta",value:function(){var e=this,t=this.domNode.textContent;return t.endsWith("\n")&&(t=t.slice(0,-1)),t.split("\n").reduce((function(t,n){return t.insert(n).insert("\n",e.formats())}),new o.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var r=this.descendant(u.default,this.length()-1),o=a(r,1)[0];null!=o&&o.deleteAt(o.length()-1,1),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}},{key:"formatAt",value:function(e,n,a,r){if(0!==n&&null!=s.default.query(a,s.default.Scope.BLOCK)&&(a!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var i=this.newlineIndex(e);if(!(i<0||i>=e+n)){var o=this.newlineIndex(e,!0)+1,l=i-o+1,c=this.isolate(o,l),u=c.next;c.format(a,r),u instanceof t&&u.formatAt(0,e-o+n-l,a,r)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var r=this.descendant(u.default,e),i=a(r,2),o=i[0],s=i[1];o.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=s.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof s.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(l.default);g.blotName="code-block",g.tagName="PRE",g.TAB=" ",t.Code=v,t.default=g},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=m(n(2)),s=m(n(20)),l=m(n(0)),c=m(n(13)),u=m(n(24)),d=n(4),p=m(d),h=m(n(16)),f=m(n(21)),v=m(n(11)),g=m(n(3));function m(e){return e&&e.__esModule?e:{default:e}}var w=/^[ -~]*$/,y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scroll=t,this.delta=this.getDelta()}return i(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),e=function(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,f.default)(t.attributes);return delete n.image,e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||((t=(0,f.default)(t)).attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"==typeof t.insert){var a=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(a,t.attributes)}return e.push(t)}),new o.default)}(e),e.reduce((function(e,o){var c=o.retain||o.delete||o.insert.length||1,u=o.attributes||{};if(null!=o.insert){if("string"==typeof o.insert){var h=o.insert;h.endsWith("\n")&&n&&(n=!1,h=h.slice(0,-1)),e>=i&&!h.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,h);var f=t.scroll.line(e),v=r(f,2),m=v[0],w=v[1],y=(0,g.default)({},(0,d.bubbleFormats)(m));if(m instanceof p.default){var b=m.descendant(l.default.Leaf,w),_=r(b,1)[0];y=(0,g.default)(y,(0,d.bubbleFormats)(_))}u=s.default.attributes.diff(y,u)||{}}else if("object"===a(o.insert)){var x=Object.keys(o.insert)[0];if(null==x)return e;t.scroll.insertAt(e,x,o.insert[x])}i+=c}return Object.keys(u).forEach((function(n){t.scroll.formatAt(e,c,n,u[n])})),e+c}),0),e.reduce((function(e,n){return"number"==typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new o.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(a).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var i=n.scroll.lines(e,Math.max(t,1)),o=t;i.forEach((function(t){var i=t.length();if(t instanceof c.default){var s=e-t.offset(n.scroll),l=t.newlineIndex(s+o)-s+1;t.formatAt(s,l,r,a[r])}else t.format(r,a[r]);o-=i}))}})),this.scroll.optimize(),this.update((new o.default).retain(e).retain(t,(0,f.default)(a)))}},{key:"formatText",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(a).forEach((function(r){n.scroll.formatAt(e,t,r,a[r])})),this.update((new o.default).retain(e).retain(t,(0,f.default)(a)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new o.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],a=[];0===t?this.scroll.path(e).forEach((function(e){var t=r(e,1)[0];t instanceof p.default?n.push(t):t instanceof l.default.Leaf&&a.push(t)})):(n=this.scroll.lines(e,t),a=this.scroll.descendants(l.default.Leaf,e,t));var i=[n,a].map((function(e){if(0===e.length)return{};for(var t=(0,d.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=b((0,d.bubbleFormats)(n),t)}return t}));return g.default.apply(g.default,i)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"==typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new o.default).retain(e).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(a).forEach((function(r){n.scroll.formatAt(e,t.length,r,a[r])})),this.update((new o.default).retain(e).insert(t,(0,f.default)(a)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===p.default.blotName&&!(e.children.length>1)&&e.children.head instanceof h.default}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),a=this.scroll.line(e+t),i=r(a,2),s=i[0],l=i[1],u=0,d=new o.default;null!=s&&(u=s instanceof c.default?s.newlineIndex(l)-l+1:s.length()-l,d=s.delta().slice(l,l+u-1).insert("\n"));var p=this.getContents(e,t+u).diff((new o.default).insert(n).concat(d)),h=(new o.default).retain(e).concat(p);return this.applyDelta(h)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(w)&&l.default.find(t[0].target)){var r=l.default.find(t[0].target),i=(0,d.bubbleFormats)(r),s=r.offset(this.scroll),c=t[0].oldValue.replace(u.default.CONTENTS,""),p=(new o.default).insert(c),h=(new o.default).insert(r.value()),f=(new o.default).retain(s).concat(p.diff(h,n));e=f.reduce((function(e,t){return t.insert?e.insert(t.insert,i):e.push(t)}),new o.default),this.delta=a.compose(e)}else this.delta=this.getDelta(),e&&(0,v.default)(a.compose(e),this.delta)||(e=a.diff(this.delta,n));return e}}]),e}();function b(e,t){return Object.keys(t).reduce((function(n,a){return null==e[a]||(t[a]===e[a]?n[a]=t[a]:Array.isArray(t[a])?t[a].indexOf(e[a])<0&&(n[a]=t[a].concat([e[a]])):n[a]=[t[a],e[a]]),n}),{})}t.default=y},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=c(n(0)),o=c(n(21)),s=c(n(11)),l=c(n(8));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=(0,c(n(10)).default)("quill:selection"),h=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,e),this.index=t,this.length=n},f=function(){function e(t,n){var a=this;d(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=i.default.create("cursor",this),this.lastRange=this.savedRange=new h(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){a.mouseDown||setTimeout(a.update.bind(a,l.default.sources.USER),1)})),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(e,t){e===l.default.events.TEXT_CHANGE&&t.length()>0&&a.update(l.default.sources.SILENT)})),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,(function(){if(a.hasFocus()){var e=a.getNativeRange();null!=e&&e.start.node!==a.cursor.textNode&&a.emitter.once(l.default.events.SCROLL_UPDATE,(function(){try{a.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}}))}})),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,r=n.startNode,i=n.startOffset,o=n.endNode,s=n.endOffset;a.setNativeRange(r,i,o,s)}})),this.update(l.default.sources.SILENT)}return r(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(l.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!i.default.query(e,i.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var a=i.default.find(n.start.node,!1);if(null==a)return;if(a instanceof i.default.Leaf){var r=a.split(n.start.offset);a.parent.insertBefore(this.cursor,r)}else a.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var r=void 0,i=this.scroll.leaf(e),o=a(i,2),s=o[0],l=o[1];if(null==s)return null;var c=s.position(l,!0),u=a(c,2);r=u[0],l=u[1];var d=document.createRange();if(t>0){d.setStart(r,l);var p=this.scroll.leaf(e+t),h=a(p,2);if(s=h[0],l=h[1],null==s)return null;var f=s.position(l,!0),v=a(f,2);return r=v[0],l=v[1],d.setEnd(r,l),d.getBoundingClientRect()}var g="left",m=void 0;return r instanceof Text?(l<r.data.length?(d.setStart(r,l),d.setEnd(r,l+1)):(d.setStart(r,l-1),d.setEnd(r,l),g="right"),m=d.getBoundingClientRect()):(m=s.domNode.getBoundingClientRect(),l>0&&(g="right")),{bottom:m.top+m.height,height:m.height,left:m[g],right:m[g],top:m.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return p.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var r=n.map((function(e){var n=a(e,2),r=n[0],o=n[1],s=i.default.find(r,!0),l=s.offset(t.scroll);return 0===o?l:s instanceof i.default.Container?l+s.length():l+s.index(r,o)})),o=Math.min(Math.max.apply(Math,u(r)),this.scroll.length()-1),s=Math.min.apply(Math,[o].concat(u(r)));return new h(s,o-s)}},{key:"normalizeNative",value:function(e){if(!v(this.root,e.startContainer)||!e.collapsed&&!v(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],r=[],i=this.scroll.length();return n.forEach((function(e,n){e=Math.min(i-1,e);var o,s=t.scroll.leaf(e),l=a(s,2),c=l[0],u=l[1],d=c.position(u,0!==n),p=a(d,2);o=p[0],u=p[1],r.push(o,u)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var r=this.scroll.length()-1,i=this.scroll.line(Math.min(t.index,r)),o=a(i,1)[0],s=o;if(t.length>0){var l=this.scroll.line(Math.min(t.index+t.length,r));s=a(l,1)[0]}if(null!=o&&null!=s){var c=e.getBoundingClientRect();n.top<c.top?e.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(e.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(p.info("setNativeRange",e,t,n,a),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=e){this.hasFocus()||this.root.focus();var o=(this.getNativeRange()||{}).native;if(null==o||r||e!==o.startContainer||t!==o.startOffset||n!==o.endContainer||a!==o.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(a=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(n,a),i.removeAllRanges(),i.addRange(s)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof t&&(n=t,t=!1),p.info("setRange",e),null!=e){var a=this.rangeToNative(e);this.setNativeRange.apply(this,u(a).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,t=this.lastRange,n=this.getRange(),r=a(n,2),i=r[0],c=r[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(t,this.lastRange)){var u;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var d,p=[l.default.events.SELECTION_CHANGE,(0,o.default)(this.lastRange),(0,o.default)(t),e];(u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(p)),e!==l.default.sources.SILENT&&(d=this.emitter).emit.apply(d,p)}}}]),e}();function v(e,t){try{t.parentNode}catch(e){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=h,t.default=f},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(0);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"insertInto",value:function(e,n){0===e.children.length?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default.Embed);c.blotName="break",c.tagName="BR",t.default=c},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(44),o=n(30),s=n(1),l=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return r(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach((function(e){e.attach()}))},t.prototype.build=function(){var e=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(t){try{var n=c(t);e.insertBefore(n,e.children.head||void 0)}catch(e){if(e instanceof s.ParchmentError)return;throw e}}))},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(function(e,t,n){e.deleteAt(t,n)}))},t.prototype.descendant=function(e,n){var a=this.children.find(n),r=a[0],i=a[1];return null==e.blotName&&e(r)||null!=e.blotName&&r instanceof e?[r,i]:r instanceof t?r.descendant(e,i):[null,-1]},t.prototype.descendants=function(e,n,a){void 0===n&&(n=0),void 0===a&&(a=Number.MAX_VALUE);var r=[],i=a;return this.children.forEachAt(n,a,(function(n,a,o){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&r.push(n),n instanceof t&&(r=r.concat(n.descendants(e,a,i))),i-=o})),r},t.prototype.detach=function(){this.children.forEach((function(e){e.detach()})),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,a){this.children.forEachAt(e,t,(function(e,t,r){e.formatAt(t,r,n,a)}))},t.prototype.insertAt=function(e,t,n){var a=this.children.find(e),r=a[0],i=a[1];if(r)r.insertAt(i,t,n);else{var o=null==n?s.create("text",t):s.create(t,n);this.appendChild(o)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(t){return e instanceof t})))throw new s.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce((function(e,t){return e+t.length()}),0)},t.prototype.moveChildren=function(e,t){this.children.forEach((function(n){e.insertBefore(n,t)}))},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=s.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var a=this.children.find(e,n),r=a[0],i=a[1],o=[[this,e]];return r instanceof t?o.concat(r.path(i,n)):(null!=r&&o.push([r,i]),o)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),(function(e,a,r){e=e.split(a,t),n.appendChild(e)})),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,a=[],r=[];e.forEach((function(e){e.target===n.domNode&&"childList"===e.type&&(a.push.apply(a,e.addedNodes),r.push.apply(r,e.removedNodes))})),r.forEach((function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=s.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.detach())}})),a.filter((function(e){return e.parentNode==n.domNode})).sort((function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(e){var t=null;null!=e.nextSibling&&(t=s.find(e.nextSibling));var a=c(e);a.next==t&&null!=a.next||(null!=a.parent&&a.parent.removeChild(n),n.insertBefore(a,t||void 0))}))},t}(o.default);function c(e){var t=s.find(e);if(null==t)try{t=s.create(e)}catch(n){t=s.create(s.Scope.INLINE),[].slice.call(e.childNodes).forEach((function(e){t.domNode.appendChild(e)})),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),t.attach()}return t}t.default=l},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),o=n(31),s=n(17),l=n(1),c=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new o.default(n.domNode),n}return r(t,e),t.formats=function(e){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var n=l.query(e);n instanceof i.default?this.attributes.attribute(n,t):t&&(null==n||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,n){var a=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(a),a},t.prototype.update=function(t,n){var a=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===a.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.prototype.wrap=function(n,a){var r=e.prototype.wrap.call(this,n,a);return r instanceof t&&r.statics.scope===this.statics.scope&&this.attributes.move(r),r},t}(s.default);t.default=c},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(30),o=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=s},function(e,t,n){var a=n(11),r=n(3),i={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var a=r(!0,{},t);for(var i in n||(a=Object.keys(a).reduce((function(e,t){return null!=a[t]&&(e[t]=a[t]),e}),{})),e)void 0!==e[i]&&void 0===t[i]&&(a[i]=e[i]);return Object.keys(a).length>0?a:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,r){return a(e[r],t[r])||(n[r]=void 0===t[r]?null:t[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var a=Object.keys(t).reduce((function(n,a){return void 0===e[a]&&(n[a]=t[a]),n}),{});return Object.keys(a).length>0?a:void 0}}},iterator:function(e){return new o(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};function o(e){this.ops=e,this.index=0,this.offset=0}o.prototype.hasNext=function(){return this.peekLength()<1/0},o.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,a=i.length(t);if(e>=a-n?(e=a-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var r={};return t.attributes&&(r.attributes=t.attributes),"number"==typeof t.retain?r.retain=e:"string"==typeof t.insert?r.insert=t.insert.substr(n,e):r.insert=t.insert,r}return{retain:1/0}},o.prototype.peek=function(){return this.ops[this.index]},o.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},o.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},o.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),a=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(a)}return[]},e.exports=i},function(e,t){var n=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,a;try{t=Map}catch(e){t=function(){}}try{n=Set}catch(e){n=function(){}}try{a=Promise}catch(e){a=function(){}}function r(i,s,l,c,u){"object"==typeof s&&(l=s.depth,c=s.prototype,u=s.includeNonEnumerable,s=s.circular);var d=[],p=[];return void 0===s&&(s=!0),void 0===l&&(l=1/0),function i(l,h){if(null===l)return null;if(0===h)return l;var f,v;if("object"!=typeof l)return l;if(e(l,t))f=new t;else if(e(l,n))f=new n;else if(e(l,a))f=new a((function(e,t){l.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(r.__isArray(l))f=[];else if(r.__isRegExp(l))f=new RegExp(l.source,o(l)),l.lastIndex&&(f.lastIndex=l.lastIndex);else if(r.__isDate(l))f=new Date(l.getTime());else{if(yn.isBuffer(l))return f=yn.allocUnsafe?yn.allocUnsafe(l.length):new yn(l.length),l.copy(f),f;e(l,Error)?f=Object.create(l):void 0===c?(v=Object.getPrototypeOf(l),f=Object.create(v)):(f=Object.create(c),v=c)}if(s){var g=d.indexOf(l);if(-1!=g)return p[g];d.push(l),p.push(f)}for(var m in e(l,t)&&l.forEach((function(e,t){var n=i(t,h-1),a=i(e,h-1);f.set(n,a)})),e(l,n)&&l.forEach((function(e){var t=i(e,h-1);f.add(t)})),l){var w;v&&(w=Object.getOwnPropertyDescriptor(v,m)),w&&null==w.set||(f[m]=i(l[m],h-1))}if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(l);for(m=0;m<y.length;m++){var b=y[m];(!(x=Object.getOwnPropertyDescriptor(l,b))||x.enumerable||u)&&(f[b]=i(l[b],h-1),x.enumerable||Object.defineProperty(f,b,{enumerable:!1}))}}if(u){var _=Object.getOwnPropertyNames(l);for(m=0;m<_.length;m++){var x,M=_[m];(x=Object.getOwnPropertyDescriptor(l,M))&&x.enumerable||(f[M]=i(l[M],h-1),Object.defineProperty(f,M,{enumerable:!1}))}}return f}(i,l)}function i(e){return Object.prototype.toString.call(e)}function o(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return r.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},r.__objToStr=i,r.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},r.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},r.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},r.__getRegExpFlags=o,r}();"object"==typeof e&&e.exports&&(e.exports=n)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=h(n(0)),s=h(n(8)),l=n(4),c=h(l),u=h(n(16)),d=h(n(13)),p=h(n(25));function h(e){return e&&e.__esModule?e:{default:e}}function f(e){return e instanceof c.default||e instanceof l.BlockEmbed}var v=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.emitter=n.emitter,Array.isArray(n.whitelist)&&(a.whitelist=n.whitelist.reduce((function(e,t){return e[t]=!0,e}),{})),a.domNode.addEventListener("DOMNodeInserted",(function(){})),a.optimize(),a.enable(),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,n){var r=this.line(e),o=a(r,2),s=o[0],c=o[1],p=this.line(e+n),h=a(p,1)[0];if(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),null!=h&&s!==h&&c>0){if(s instanceof l.BlockEmbed||h instanceof l.BlockEmbed)return void this.optimize();if(s instanceof d.default){var f=s.newlineIndex(s.length(),!0);if(f>-1&&(s=s.split(f+1))===h)return void this.optimize()}else if(h instanceof d.default){var v=h.newlineIndex(0);v>-1&&h.split(v+1)}var g=h.children.head instanceof u.default?null:h.children.head;s.moveChildren(h,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,a,r){(null==this.whitelist||this.whitelist[a])&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,a,r),this.optimize())}},{key:"insertAt",value:function(e,n,a){if(null==a||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==a||null==o.default.query(n,o.default.Scope.BLOCK)){var r=o.default.create(this.statics.defaultChild);this.appendChild(r),null==a&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,a)}else{var s=o.default.create(n,a);this.appendChild(s)}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,a);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===o.default.Scope.INLINE_BLOT){var a=o.default.create(this.statics.defaultChild);a.appendChild(e),e=a}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(f,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,a){var r=[],i=a;return t.children.forEachAt(n,a,(function(t,n,a){f(t)?r.push(t):t instanceof o.default.Container&&(r=r.concat(e(t,n,i))),i-=a})),r};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=s.default.sources.USER;"string"==typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,e),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,e)}}}]),t}(o.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[c.default,l.BlockEmbed,p.default],t.default=v},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=v(n(21)),s=v(n(11)),l=v(n(3)),c=v(n(2)),u=v(n(20)),d=v(n(0)),p=v(n(5)),h=v(n(10)),f=v(n(9));function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=(0,h.default)("quill:keyboard"),w=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",y=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.bindings={},Object.keys(a.options.bindings).forEach((function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist.list)&&a.options.bindings[t]&&a.addBinding(a.options.bindings[t])})),a.addBinding({key:t.keys.ENTER,shiftKey:null},C),a.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(a.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},_),a.addBinding({key:t.keys.DELETE},{collapsed:!0},x)):(a.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},_),a.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},x)),a.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},M),a.addBinding({key:t.keys.DELETE},{collapsed:!1},M),a.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},_),a.listen(),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"match",value:function(e,t){return t=k(t),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!t[n]!==e[n]&&null!==t[n]}))&&t.key===(e.which||e.keyCode)}}]),i(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=k(e);if(null==a||null==a.key)return m.warn("Attempted to add invalid keyboard binding",a);"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),a=(0,l.default)(a,t,n),this.bindings[a.key]=this.bindings[a.key]||[],this.bindings[a.key].push(a)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var i=n.which||n.keyCode,o=(e.bindings[i]||[]).filter((function(e){return t.match(n,e)}));if(0!==o.length){var l=e.quill.getSelection();if(null!=l&&e.quill.hasFocus()){var c=e.quill.getLine(l.index),u=r(c,2),p=u[0],h=u[1],f=e.quill.getLeaf(l.index),v=r(f,2),g=v[0],m=v[1],w=0===l.length?[g,m]:e.quill.getLeaf(l.index+l.length),y=r(w,2),b=y[0],_=y[1],x=g instanceof d.default.Text?g.value().slice(0,m):"",M=b instanceof d.default.Text?b.value().slice(_):"",C={collapsed:0===l.length,empty:0===l.length&&p.length()<=1,format:e.quill.getFormat(l),offset:h,prefix:x,suffix:M},A=o.some((function(t){if(null!=t.collapsed&&t.collapsed!==C.collapsed)return!1;if(null!=t.empty&&t.empty!==C.empty)return!1;if(null!=t.offset&&t.offset!==C.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==C.format[e]})))return!1}else if("object"===a(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=C.format[e]:!1===t.format[e]?null==C.format[e]:(0,s.default)(t.format[e],C.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(C.prefix)||null!=t.suffix&&!t.suffix.test(C.suffix)||!0===t.handler.call(e,l,C))}));A&&n.preventDefault()}}}}))}}]),t}(f.default);function b(e,t){var n,a=e===y.keys.LEFT?"prefix":"suffix";return g(n={key:e,shiftKey:t,altKey:null},a,/^$/),g(n,"handler",(function(n){var a=n.index;e===y.keys.RIGHT&&(a+=n.length+1);var i=this.quill.getLeaf(a);return!(r(i,1)[0]instanceof d.default.Embed&&(e===y.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,p.default.sources.USER):this.quill.setSelection(n.index-1,p.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,p.default.sources.USER):this.quill.setSelection(n.index+n.length+1,p.default.sources.USER),1))})),n}function _(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),a=r(n,1)[0],i={};if(0===t.offset){var o=this.quill.getLine(e.index-1),s=r(o,1)[0];if(null!=s&&s.length()>1){var l=a.formats(),c=this.quill.getFormat(e.index-1,1);i=u.default.attributes.diff(l,c)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,p.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index-d,d,i,p.default.sources.USER),this.quill.focus()}}function x(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var a={},i=0,o=this.quill.getLine(e.index),s=r(o,1)[0];if(t.offset>=s.length()-1){var l=this.quill.getLine(e.index+1),c=r(l,1)[0];if(c){var d=s.formats(),h=this.quill.getFormat(e.index,1);a=u.default.attributes.diff(d,h)||{},i=c.length()}}this.quill.deleteText(e.index,n,p.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(e.index+i-1,n,a,p.default.sources.USER)}}function M(e){var t=this.quill.getLines(e),n={};if(t.length>1){var a=t[0].formats(),r=t[t.length-1].formats();n=u.default.attributes.diff(r,a)||{}}this.quill.deleteText(e,p.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,p.default.sources.USER),this.quill.setSelection(e.index,p.default.sources.SILENT),this.quill.focus()}function C(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var a=Object.keys(t.format).reduce((function(e,n){return d.default.query(n,d.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",a,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==a[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],p.default.sources.USER))}))}function A(e){return{key:y.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=d.default.query("code-block"),a=t.index,i=t.length,o=this.quill.scroll.descendant(n,a),s=r(o,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),h=l.newlineIndex(c,!0)+1,f=l.newlineIndex(u+c+i),v=l.domNode.textContent.slice(h,f).split("\n");c=0,v.forEach((function(t,r){e?(l.insertAt(h+c,n.TAB),c+=n.TAB.length,0===r?a+=n.TAB.length:i+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(h+c,n.TAB.length),c-=n.TAB.length,0===r?a-=n.TAB.length:i-=n.TAB.length),c+=t.length+1})),this.quill.update(p.default.sources.USER),this.quill.setSelection(a,i,p.default.sources.SILENT)}}}}function P(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],p.default.sources.USER)}}}function k(e){if("string"==typeof e||"number"==typeof e)return k({key:e});if("object"===(void 0===e?"undefined":a(e))&&(e=(0,o.default)(e,!1)),"string"==typeof e.key)if(null!=y.keys[e.key.toUpperCase()])e.key=y.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[w]=e.shortKey,delete e.shortKey),e}y.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},y.DEFAULTS={bindings:{bold:P("bold"),italic:P("italic"),underline:P("underline"),indent:{key:y.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",p.default.sources.USER)}},outdent:{key:y.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",p.default.sources.USER)}},"outdent backspace":{key:y.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",p.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,p.default.sources.USER)}},"indent code-block":A(!0),"outdent code-block":A(!1),"remove tab":{key:y.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,p.default.sources.USER)}},tab:{key:y.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new c.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,p.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,p.default.sources.SILENT)}},"list empty enter":{key:y.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,p.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,p.default.sources.USER)}},"checklist enter":{key:y.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),a=n[0],i=n[1],o=(0,l.default)({},a.formats(),{list:"checked"}),s=(new c.default).retain(e.index).insert("\n",o).retain(a.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:y.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),a=r(n,2),i=a[0],o=a[1],s=(new c.default).retain(e.index).insert("\n",t.format).retain(i.length()-o-1).retain(1,{header:null});this.quill.updateContents(s,p.default.sources.USER),this.quill.setSelection(e.index+1,p.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,a=this.quill.getLine(e.index),i=r(a,2),o=i[0],s=i[1];if(s>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",p.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(e.index-s).delete(n+1).retain(o.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,p.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,p.default.sources.SILENT)}},"code exit":{key:y.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),a=n[0],i=n[1],o=(new c.default).retain(e.index+a.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(o,p.default.sources.USER)}},"embed left":b(y.keys.LEFT,!1),"embed left shift":b(y.keys.LEFT,!0),"embed right":b(y.keys.RIGHT,!1),"embed right shift":b(y.keys.RIGHT,!0)}},t.default=y,t.SHORTKEY=w},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=l(n(0)),s=l(n(7));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.selection=n,a.textNode=document.createTextNode(t.CONTENTS),a.domNode.appendChild(a.textNode),a._length=0,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"value",value:function(){}}]),i(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,n){if(0!==this._length)return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);for(var a=this,i=0;null!=a&&a.statics.scope!==o.default.Scope.BLOCK_BLOT;)i+=a.offset(a.parent),a=a.parent;null!=a&&(this._length=t.CONTENTS.length,a.optimize(),a.formatAt(i,t.CONTENTS.length,e,n),this._length=0)}},{key:"index",value:function(e,n){return e===this.textNode?0:r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,n=this.selection.getNativeRange(),r=void 0,i=void 0,l=void 0;if(null!=n&&n.start.node===e&&n.end.node===e){var c=[e,n.start.offset,n.end.offset];r=c[0],i=c[1],l=c[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==t.CONTENTS){var u=this.textNode.data.split(t.CONTENTS).join("");this.next instanceof s.default?(r=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=t.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(o.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var d=[i,l].map((function(e){return Math.max(0,Math.min(r.data.length,e-1))})),p=a(d,2);return i=p[0],l=p[1],{startNode:r,startOffset:i,endNode:r,endOffset:l}}}}},{key:"update",value:function(e,t){var n=this;if(e.some((function(e){return"characterData"===e.type&&e.target===n.textNode}))){var a=this.restore();a&&(t.range=a)}}},{key:"value",value:function(){return""}}]),t}(o.default.Embed);c.blotName="cursor",c.className="ql-cursor",c.tagName="span",c.CONTENTS="\ufeff",t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(0)),r=n(4),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(a.default.Container);c.allowedChildren=[i.default,r.BlockEmbed,c],t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(0),s=(a=o)&&a.__esModule?a:{default:a};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"value",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(e){return("00"+parseInt(e).toString(16)).slice(-2)})).join("")):n}}]),t}(s.default.Attributor.Style),d=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),p=new u("color","color",{scope:s.default.Scope.INLINE});t.ColorAttributor=u,t.ColorClass=d,t.ColorStyle=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(6);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),n.setAttribute("href",e),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return u(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default);function u(e,t){var n=document.createElement("a");n.href=e;var a=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(a)>-1}c.blotName="link",c.tagName="A",c.SANITIZED_URL="about:blank",c.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=c,t.sanitize=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=s(n(23)),o=s(n(107));function s(e){return e&&e.__esModule?e:{default:e}}var l=0;function c(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var u=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:n.togglePicker();break;case i.default.keys.ESCAPE:n.escape(),e.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return r(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),c(this.label,"aria-expanded"),c(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",(function(){t.selectItem(n,!0)})),n.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case i.default.keys.ESCAPE:t.escape(),e.preventDefault()}})),n}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=o.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var e=this,t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach((function(n){var a=e.buildItem(n);t.appendChild(a),!0===n.selected&&e.selectItem(a)})),this.container.appendChild(t)}},{key:"buildPicker",value:function(){var e=this;[].slice.call(this.select.attributes).forEach((function(t){e.container.setAttribute(t.name,t.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout((function(){return e.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":a(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=m(n(0)),r=m(n(5)),i=n(4),o=m(i),s=m(n(16)),l=m(n(25)),c=m(n(24)),u=m(n(35)),d=m(n(6)),p=m(n(22)),h=m(n(7)),f=m(n(55)),v=m(n(42)),g=m(n(23));function m(e){return e&&e.__esModule?e:{default:e}}r.default.register({"blots/block":o.default,"blots/block/embed":i.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":d.default,"blots/scroll":p.default,"blots/text":h.default,"modules/clipboard":f.default,"modules/history":v.default,"modules/keyboard":g.default}),a.default.register(o.default,s.default,c.default,d.default,p.default,h.default),t.default=r.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),r=function(){function e(e){this.domNode=e,this.domNode[a.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new a.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return a.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[a.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,r){var i=this.isolate(e,t);if(null!=a.query(n,a.Scope.BLOT)&&r)i.wrap(n,r);else if(null!=a.query(n,a.Scope.ATTRIBUTE)){var o=a.create(this.statics.scope);i.wrap(o),o.format(n,r)}},e.prototype.insertAt=function(e,t,n){var r=null==n?a.create("text",t):a.create(t,n),i=this.split(e);this.parent.insertBefore(r,i)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[a.DATA_KEY]&&delete this.domNode[a.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"==typeof e?a.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"==typeof e?a.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n(12),r=n(32),i=n(33),o=n(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=a.default.keys(this.domNode),n=r.default.keys(this.domNode),s=i.default.keys(this.domNode);t.concat(n).concat(s).forEach((function(t){var n=o.query(t,o.Scope.ATTRIBUTE);n instanceof a.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var a=t.attributes[n].value(t.domNode);e.format(n,a)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=s},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){i(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(i(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=o},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[i(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[i(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[i(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n,this.modules={}}return a(e,[{key:"init",value:function(){var e=this;Object.keys(this.options.modules).forEach((function(t){null==e.modules[t]&&e.addModule(t)}))}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),e}();r.DEFAULTS={modules:{}},r.themes={default:r},t.default=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=s(n(0)),o=s(n(7));function s(e){return e&&e.__esModule?e:{default:e}}var l="\ufeff",c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(e){n.contentNode.appendChild(e)})),n.leftGuard=document.createTextNode(l),n.rightGuard=document.createTextNode(l),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"index",value:function(e,n){return e===this.leftGuard?0:e===this.rightGuard?1:r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"restore",value:function(e){var t=void 0,n=void 0,a=e.data.split(l).join("");if(e===this.leftGuard)if(this.prev instanceof o.default){var r=this.prev.length();this.prev.insertAt(r,a),t={startNode:this.prev.domNode,startOffset:r+a.length}}else n=document.createTextNode(a),this.parent.insertBefore(i.default.create(n),this),t={startNode:n,startOffset:a.length};else e===this.rightGuard&&(this.next instanceof o.default?(this.next.insertAt(0,a),t={startNode:this.next.domNode,startOffset:a.length}):(n=document.createTextNode(a),this.parent.insertBefore(i.default.create(n),this.next),t={startNode:n,startOffset:a.length}));return e.data=l,t}},{key:"update",value:function(e,t){var n=this;e.forEach((function(e){if("characterData"===e.type&&(e.target===n.leftGuard||e.target===n.rightGuard)){var a=n.restore(e.target);a&&(t.range=a)}}))}}]),t}(i.default.Embed);t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var a,r=n(0),i=(a=r)&&a.__esModule?a:{default:a},o={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new i.default.Attributor.Attribute("align","align",o),l=new i.default.Attributor.Class("align","ql-align",o),c=new i.default.Attributor.Style("align","text-align",o);t.AlignAttribute=s,t.AlignClass=l,t.AlignStyle=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var a,r=n(0),i=(a=r)&&a.__esModule?a:{default:a},o=n(26),s=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),l=new o.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});t.BackgroundClass=s,t.BackgroundStyle=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var a,r=n(0),i=(a=r)&&a.__esModule?a:{default:a},o={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},s=new i.default.Attributor.Attribute("direction","dir",o),l=new i.default.Attributor.Class("direction","ql-direction",o),c=new i.default.Attributor.Style("direction","direction",o);t.DirectionAttribute=s,t.DirectionClass=l,t.DirectionStyle=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(0),s=(a=o)&&a.__esModule?a:{default:a};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},d=new s.default.Attributor.Class("font","ql-font",u),p=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"value",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}(s.default.Attributor.Style),h=new p("font","font-family",u);t.FontStyle=h,t.FontClass=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var a,r=n(0),i=(a=r)&&a.__esModule?a:{default:a},o=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=o,t.SizeStyle=s},function(e,t,n){e.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=o(n(0)),i=o(n(5));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.lastRecorded=0,a.ignoreChange=!1,a.clear(),a.quill.on(i.default.events.EDITOR_CHANGE,(function(e,t,n,r){e!==i.default.events.TEXT_CHANGE||a.ignoreChange||(a.options.userOnly&&r!==i.default.sources.USER?a.transform(t):a.record(t,n))})),a.quill.keyboard.addBinding({key:"Z",shortKey:!0},a.undo.bind(a)),a.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},a.redo.bind(a)),/Win/i.test(navigator.platform)&&a.quill.keyboard.addBinding({key:"Y",shortKey:!0},a.redo.bind(a)),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"change",value:function(e,t){if(0!==this.stack[e].length){var n=this.stack[e].pop();this.stack[t].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],i.default.sources.USER),this.ignoreChange=!1;var a=l(n[e]);this.quill.setSelection(a)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){if(0!==e.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(t),a=Date.now();if(this.lastRecorded+this.options.delay>a&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),e=r.redo.compose(e)}else this.lastRecorded=a;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(o(n(9)).default);function l(e){var t=e.reduce((function(e,t){return e+=t.delete||0}),0),n=e.length()-t;return function(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"==typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=r.default.query(e,r.default.Scope.BLOCK)})))}(e)&&(n-=1),n}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=s,t.getLastChangeIndex=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=f(n(3)),o=f(n(2)),s=f(n(8)),l=f(n(23)),c=f(n(34)),u=f(n(59)),d=f(n(60)),p=f(n(28)),h=f(n(61));function f(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var w=[!1,"center","right","justify"],y=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],b=[!1,"serif","monospace"],_=["1","2","3",!1],x=["small",!1,"large","huge"],M=function(e){function t(e,n){v(this,t);var a=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return e.emitter.listenDOM("click",document.body,(function t(n){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==a.tooltip||a.tooltip.root.contains(n.target)||document.activeElement===a.tooltip.textbox||a.quill.hasFocus()||a.tooltip.hide(),null!=a.pickers&&a.pickers.forEach((function(e){e.container.contains(n.target)||e.close()}))})),a}return m(t,e),a(t,[{key:"addModule",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(e,t){e.forEach((function(e){(e.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"==typeof t[n])e.innerHTML=t[n];else{var a=e.value||"";null!=a&&t[n][a]&&(e.innerHTML=t[n][a])}}))}))}},{key:"buildPickers",value:function(e,t){var n=this;this.pickers=e.map((function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&A(e,w),new d.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&A(e,y,"background"===n?"#ffffff":"#000000"),new u.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?A(e,b):e.classList.contains("ql-header")?A(e,_):e.classList.contains("ql-size")&&A(e,x)),new p.default(e)})),this.quill.on(s.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(e){e.update()}))}))}}]),t}(c.default);M.DEFAULTS=(0,i.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var e=this,t=this.container.querySelector("input.ql-image[type=file]");null==t&&((t=document.createElement("input")).setAttribute("type","file"),t.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),t.classList.add("ql-image"),t.addEventListener("change",(function(){if(null!=t.files&&null!=t.files[0]){var n=new FileReader;n.onload=function(n){var a=e.quill.getSelection(!0);e.quill.updateContents((new o.default).retain(a.index).delete(a.length).insert({image:n.target.result}),s.default.sources.USER),e.quill.setSelection(a.index+1,s.default.sources.SILENT),t.value=""},n.readAsDataURL(t.files[0])}})),this.container.appendChild(t)),t.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var C=function(e){function t(e,n){v(this,t);var a=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.textbox=a.root.querySelector('input[type="text"]'),a.listen(),a}return m(t,e),a(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",(function(t){l.default.match(t,"enter")?(e.save(),t.preventDefault()):l.default.match(t,"escape")&&(e.cancel(),t.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,s.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=function(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var a=n.index+n.length;this.quill.insertEmbed(a,this.root.getAttribute("data-mode"),e,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(a+1," ",s.default.sources.USER),this.quill.setSelection(a+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(h.default);function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var a=document.createElement("option");t===n?a.setAttribute("selected","selected"):a.setAttribute("value",t),e.appendChild(a)}))}t.BaseTooltip=C,t.default=M},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,a=this.iterator();n=a();){var r=n.length();if(e<r||t&&e===r&&(null==n.next||0!==n.next.length()))return[n,e];e-=r}return[null,0]},e.prototype.forEach=function(e){for(var t,n=this.iterator();t=n();)e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0))for(var a,r=this.find(e),i=r[0],o=e-r[1],s=this.iterator(i);(a=s())&&o<e+t;){var l=a.length();e>o?n(a,e-o,Math.min(t,o+l-e)):n(a,0,Math.min(l,e+t-o)),o+=l}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n,a=this.iterator();n=a();)t=e(t,n);return t},e}();t.default=a},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),o=n(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,s),n.attach(),n}return r(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,a,r){this.update(),e.prototype.formatAt.call(this,t,n,a,r)},t.prototype.insertAt=function(t,n,a){this.update(),e.prototype.insertAt.call(this,t,n,a)},t.prototype.optimize=function(t,n){var a=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var r=[].slice.call(this.observer.takeRecords());r.length>0;)t.push(r.pop());for(var s=function(e,t){void 0===t&&(t=!0),null!=e&&e!==a&&null!=e.domNode.parentNode&&(null==e.domNode[o.DATA_KEY].mutations&&(e.domNode[o.DATA_KEY].mutations=[]),t&&s(e.parent))},l=function(e){null!=e.domNode[o.DATA_KEY]&&null!=e.domNode[o.DATA_KEY].mutations&&(e instanceof i.default&&e.children.forEach(l),e.optimize(n))},c=t,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach((function(e){var t=o.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(s(o.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=o.find(e,!1);s(t,!1),t instanceof i.default&&t.children.forEach((function(e){s(e,!1)}))}))):"attributes"===e.type&&s(t.prev)),s(t))})),this.children.forEach(l),r=(c=[].slice.call(this.observer.takeRecords())).slice();r.length>0;)t.push(r.pop())}},t.prototype.update=function(t,n){var a=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map((function(e){var t=o.find(e.target,!0);return null==t?null:null==t.domNode[o.DATA_KEY].mutations?(t.domNode[o.DATA_KEY].mutations=[e],t):(t.domNode[o.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==a&&null!=e.domNode[o.DATA_KEY]&&e.update(e.domNode[o.DATA_KEY].mutations||[],n)})),null!=this.domNode[o.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[o.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=l},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,a){var r=this;n!==this.statics.blotName||a?e.prototype.format.call(this,n,a):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),r.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,a,r){null!=this.formats()[a]||o.query(a,o.Scope.ATTRIBUTE)?this.isolate(t,n).format(a,r):e.prototype.formatAt.call(this,t,n,a,r)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var a=this.formats();if(0===Object.keys(a).length)return this.unwrap();var r=this.next;r instanceof t&&r.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(a,r.formats())&&(r.moveChildren(this),r.remove())},t.blotName="inline",t.scope=o.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=s},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){var a=o.query(t.blotName).tagName;if(n.tagName!==a)return e.formats.call(this,n)},t.prototype.format=function(n,a){null!=o.query(n,o.Scope.BLOCK)&&(n!==this.statics.blotName||a?e.prototype.format.call(this,n,a):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,a,r){null!=o.query(a,o.Scope.BLOCK)?this.format(a,r):e.prototype.formatAt.call(this,t,n,a,r)},t.prototype.insertAt=function(t,n,a){if(null==a||null!=o.query(n,o.Scope.INLINE))e.prototype.insertAt.call(this,t,n,a);else{var r=this.split(t),i=o.create(n,a);r.parent.insertBefore(i,r)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=s},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,a,r){0===t&&n===this.length()?this.format(a,r):e.prototype.formatAt.call(this,t,n,a,r)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=i},function(e,t,n){var a,r=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=n(1),s=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return r(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,a){null==a?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,a)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=o.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=s},function(e,t,n){var a=document.createElement("div");if(a.classList.toggle("test-class",!1),a.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:r.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var a=n.indexOf(e,t);return-1!==a&&a===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),a=n.length>>>0,r=arguments[1],i=0;i<a;i++)if(t=n[i],e.call(r,t,i,n))return t}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(e,t){var n=-1;function a(e,t,l){if(e==t)return e?[[0,e]]:[];(l<0||e.length<l)&&(l=null);var u=i(e,t),d=e.substring(0,u);u=o(e=e.substring(u),t=t.substring(u));var p=e.substring(e.length-u),h=function(e,t){var s;if(!e)return[[1,t]];if(!t)return[[n,e]];var l=e.length>t.length?e:t,c=e.length>t.length?t:e,u=l.indexOf(c);if(-1!=u)return s=[[1,l.substring(0,u)],[0,c],[1,l.substring(u+c.length)]],e.length>t.length&&(s[0][0]=s[2][0]=n),s;if(1==c.length)return[[n,e],[1,t]];var d=function(e,t){var n=e.length>t.length?e:t,a=e.length>t.length?t:e;if(n.length<4||2*a.length<n.length)return null;function r(e,t,n){for(var a,r,s,l,c=e.substring(n,n+Math.floor(e.length/4)),u=-1,d="";-1!=(u=t.indexOf(c,u+1));){var p=i(e.substring(n),t.substring(u)),h=o(e.substring(0,n),t.substring(0,u));d.length<h+p&&(d=t.substring(u-h,u)+t.substring(u,u+p),a=e.substring(0,n-h),r=e.substring(n+p),s=t.substring(0,u-h),l=t.substring(u+p))}return 2*d.length>=e.length?[a,r,s,l,d]:null}var s,l,c,u,d,p=r(n,a,Math.ceil(n.length/4)),h=r(n,a,Math.ceil(n.length/2));if(!p&&!h)return null;s=h?p&&p[4].length>h[4].length?p:h:p,e.length>t.length?(l=s[0],c=s[1],u=s[2],d=s[3]):(u=s[0],d=s[1],l=s[2],c=s[3]);var f=s[4];return[l,c,u,d,f]}(e,t);if(d){var p=d[0],h=d[1],f=d[2],v=d[3],g=d[4],m=a(p,f),w=a(h,v);return m.concat([[0,g]],w)}return function(e,t){for(var a=e.length,i=t.length,o=Math.ceil((a+i)/2),s=o,l=2*o,c=new Array(l),u=new Array(l),d=0;d<l;d++)c[d]=-1,u[d]=-1;c[s+1]=0,u[s+1]=0;for(var p=a-i,h=p%2!=0,f=0,v=0,g=0,m=0,w=0;w<o;w++){for(var y=-w+f;y<=w-v;y+=2){for(var b=s+y,_=(P=y==-w||y!=w&&c[b-1]<c[b+1]?c[b+1]:c[b-1]+1)-y;P<a&&_<i&&e.charAt(P)==t.charAt(_);)P++,_++;if(c[b]=P,P>a)v+=2;else if(_>i)f+=2;else if(h&&(C=s+p-y)>=0&&C<l&&-1!=u[C]&&P>=(M=a-u[C]))return r(e,t,P,_)}for(var x=-w+g;x<=w-m;x+=2){for(var M,C=s+x,A=(M=x==-w||x!=w&&u[C-1]<u[C+1]?u[C+1]:u[C-1]+1)-x;M<a&&A<i&&e.charAt(a-M-1)==t.charAt(i-A-1);)M++,A++;if(u[C]=M,M>a)m+=2;else if(A>i)g+=2;else if(!h){var P;if((b=s+p-x)>=0&&b<l&&-1!=c[b])if(_=s+(P=c[b])-b,P>=(M=a-M))return r(e,t,P,_)}}}return[[n,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-u),t=t.substring(0,t.length-u));return d&&h.unshift([0,d]),p&&h.push([0,p]),s(h),null!=l&&(h=function(e,t){var a=function(e,t){if(0===t)return[0,e];for(var a=0,r=0;r<e.length;r++){var i=e[r];if(i[0]===n||0===i[0]){var o=a+i[1].length;if(t===o)return[r+1,e];if(t<o){e=e.slice();var s=t-a,l=[i[0],i[1].slice(0,s)],c=[i[0],i[1].slice(s)];return e.splice(r,1,l,c),[r+1,e]}a=o}}throw new Error("cursor_pos is out of bounds!")}(e,t),r=a[1],i=a[0],o=r[i],s=r[i+1];if(null==o)return e;if(0!==o[0])return e;if(null!=s&&o[1]+s[1]===s[1]+o[1])return r.splice(i,2,s,o),c(r,i,2);if(null!=s&&0===s[1].indexOf(o[1])){r.splice(i,2,[s[0],o[1]],[0,o[1]]);var l=s[1].slice(o[1].length);return l.length>0&&r.splice(i+2,0,[s[0],l]),c(r,i,3)}return e}(h,l)),h=function(e){for(var t=!1,a=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},r=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},i=2;i<e.length;i+=1)0===e[i-2][0]&&r(e[i-2][1])&&e[i-1][0]===n&&a(e[i-1][1])&&1===e[i][0]&&a(e[i][1])&&(t=!0,e[i-1][1]=e[i-2][1].slice(-1)+e[i-1][1],e[i][1]=e[i-2][1].slice(-1)+e[i][1],e[i-2][1]=e[i-2][1].slice(0,-1));if(!t)return e;var o=[];for(i=0;i<e.length;i+=1)e[i][1].length>0&&o.push(e[i]);return o}(h)}function r(e,t,n,r){var i=e.substring(0,n),o=t.substring(0,r),s=e.substring(n),l=t.substring(r),c=a(i,o),u=a(s,l);return c.concat(u)}function i(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,a=Math.min(e.length,t.length),r=a,i=0;n<r;)e.substring(i,r)==t.substring(i,r)?i=n=r:a=r,r=Math.floor((a-n)/2+n);return r}function o(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,a=Math.min(e.length,t.length),r=a,i=0;n<r;)e.substring(e.length-r,e.length-i)==t.substring(t.length-r,t.length-i)?i=n=r:a=r,r=Math.floor((a-n)/2+n);return r}function s(e){e.push([0,""]);for(var t,a=0,r=0,l=0,c="",u="";a<e.length;)switch(e[a][0]){case 1:l++,u+=e[a][1],a++;break;case n:r++,c+=e[a][1],a++;break;case 0:r+l>1?(0!==r&&0!==l&&(0!==(t=i(u,c))&&(a-r-l>0&&0==e[a-r-l-1][0]?e[a-r-l-1][1]+=u.substring(0,t):(e.splice(0,0,[0,u.substring(0,t)]),a++),u=u.substring(t),c=c.substring(t)),0!==(t=o(u,c))&&(e[a][1]=u.substring(u.length-t)+e[a][1],u=u.substring(0,u.length-t),c=c.substring(0,c.length-t))),0===r?e.splice(a-l,r+l,[1,u]):0===l?e.splice(a-r,r+l,[n,c]):e.splice(a-r-l,r+l,[n,c],[1,u]),a=a-r-l+(r?1:0)+(l?1:0)+1):0!==a&&0==e[a-1][0]?(e[a-1][1]+=e[a][1],e.splice(a,1)):a++,l=0,r=0,c="",u=""}""===e[e.length-1][1]&&e.pop();var d=!1;for(a=1;a<e.length-1;)0==e[a-1][0]&&0==e[a+1][0]&&(e[a][1].substring(e[a][1].length-e[a-1][1].length)==e[a-1][1]?(e[a][1]=e[a-1][1]+e[a][1].substring(0,e[a][1].length-e[a-1][1].length),e[a+1][1]=e[a-1][1]+e[a+1][1],e.splice(a-1,1),d=!0):e[a][1].substring(0,e[a+1][1].length)==e[a+1][1]&&(e[a-1][1]+=e[a+1][1],e[a][1]=e[a][1].substring(e[a+1][1].length)+e[a+1][1],e.splice(a+1,1),d=!0)),a++;d&&s(e)}var l=a;function c(e,t,n){for(var a=t+n-1;a>=0&&a>=t-1;a--)if(a+1<e.length){var r=e[a],i=e[a+1];r[0]===i[1]&&e.splice(a,2,[r[0],r[1]+i[1]])}return e}l.INSERT=1,l.DELETE=n,l.EQUAL=0,e.exports=l},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}(e.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function a(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=n?a:r).supported=a,t.unsupported=r},function(e,t){var n=Object.prototype.hasOwnProperty,a="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(a=!1)),o.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(a?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},o.prototype.listeners=function(e,t){var n=a?a+e:e,r=this._events[n];if(t)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,s=new Array(o);i<o;i++)s[i]=r[i].fn;return s},o.prototype.emit=function(e,t,n,r,i,o){var s=a?a+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,r),!0;case 5:return u.fn.call(u.context,t,n,r,i),!0;case 6:return u.fn.call(u.context,t,n,r,i,o),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var p,h=u.length;for(c=0;c<h;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,r);break;default:if(!l)for(p=1,l=new Array(d-1);p<d;p++)l[p-1]=arguments[p];u[c].fn.apply(u[c].context,l)}}return!0},o.prototype.on=function(e,t,n){var r=new i(t,n||this),o=a?a+e:e;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],r]:this._events[o].push(r):(this._events[o]=r,this._eventsCount++),this},o.prototype.once=function(e,t,n){var r=new i(t,n||this,!0),o=a?a+e:e;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],r]:this._events[o].push(r):(this._events[o]=r,this._eventsCount++),this},o.prototype.removeListener=function(e,t,n,i){var o=a?a+e:e;if(!this._events[o])return this;if(!t)return 0==--this._eventsCount?this._events=new r:delete this._events[o],this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||n&&s.context!==n||(0==--this._eventsCount?this._events=new r:delete this._events[o]);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||i&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[o]=1===c.length?c[0]:c:0==--this._eventsCount?this._events=new r:delete this._events[o]}return this},o.prototype.removeAllListeners=function(e){var t;return e?(t=a?a+e:e,this._events[t]&&(0==--this._eventsCount?this._events=new r:delete this._events[t])):(this._events=new r,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prototype.setMaxListeners=function(){return this},o.prefixed=a,o.EventEmitter=o,void 0!==e&&(e.exports=o)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=y(n(3)),s=y(n(2)),l=y(n(0)),c=y(n(5)),u=y(n(10)),d=y(n(9)),p=n(36),h=n(37),f=y(n(13)),v=n(26),g=n(38),m=n(39),w=n(40);function y(e){return e&&e.__esModule?e:{default:e}}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=(0,u.default)("quill:clipboard"),x="__ql-matcher",M=[[Node.TEXT_NODE,N],[Node.TEXT_NODE,B],["br",function(e,t){return z(t,"\n")||t.insert("\n"),t}],[Node.ELEMENT_NODE,B],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,H],[Node.ELEMENT_NODE,O],[Node.ELEMENT_NODE,function(e,t){var n={},a=e.style||{};return a.fontStyle&&"italic"===S(e).fontStyle&&(n.italic=!0),a.fontWeight&&(S(e).fontWeight.startsWith("bold")||parseInt(S(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=k(t,n)),parseFloat(a.textIndent||0)>0&&(t=(new s.default).insert("\t").concat(t)),t}],["li",function(e,t){var n=l.default.query(e);if(null==n||"list-item"!==n.blotName||!z(t,"\n"))return t;for(var a=-1,r=e.parentNode;!r.classList.contains("ql-clipboard");)"list"===(l.default.query(r)||{}).blotName&&(a+=1),r=r.parentNode;return a<=0?t:t.compose((new s.default).retain(t.length()-1).retain(1,{indent:a}))}],["b",j.bind(j,"bold")],["i",j.bind(j,"italic")],["style",function(){return new s.default}]],C=[p.AlignAttribute,g.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),A=[p.AlignStyle,h.BackgroundStyle,v.ColorStyle,g.DirectionStyle,m.FontStyle,w.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),P=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.quill.root.addEventListener("paste",a.onPaste.bind(a)),a.container=a.quill.addContainer("ql-clipboard"),a.container.setAttribute("contenteditable",!0),a.container.setAttribute("tabindex",-1),a.matchers=[],M.concat(a.options.matchers).forEach((function(e){var t=r(e,2),i=t[0],o=t[1];(n.matchVisual||o!==H)&&a.addMatcher(i,o)})),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"==typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[f.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,b({},f.default.blotName,t[f.default.blotName]))}var a=this.prepareMatching(),i=r(a,2),o=i[0],l=i[1],c=E(this.container,o,l);return z(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new s.default).retain(c.length()-1).delete(1))),_.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,c.default.sources.SILENT);else{var a=this.convert(t);this.quill.updateContents((new s.default).retain(e).concat(a),n),this.quill.setSelection(e+a.length(),c.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),a=(new s.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(c.default.sources.SILENT),setTimeout((function(){a=a.concat(t.convert()).delete(n.length),t.quill.updateContents(a,c.default.sources.USER),t.quill.setSelection(a.length()-n.length,c.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=r,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(a){var i=r(a,2),o=i[0],s=i[1];switch(o){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(o),(function(e){e[x]=e[x]||[],e[x].push(s)}))}})),[t,n]}}]),t}(d.default);function k(e,t,n){return"object"===(void 0===t?"undefined":a(t))?Object.keys(t).reduce((function(e,n){return k(e,n,t[n])}),e):e.reduce((function(e,a){return a.attributes&&a.attributes[t]?e.push(a):e.insert(a.insert,(0,o.default)({},b({},t,n),a.attributes))}),new s.default)}function S(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function z(e,t){for(var n="",a=e.ops.length-1;a>=0&&n.length<t.length;--a){var r=e.ops[a];if("string"!=typeof r.insert)break;n=r.insert+n}return n.slice(-1*t.length)===t}function T(e){if(0===e.childNodes.length)return!1;var t=S(e);return["block","list-item"].indexOf(t.display)>-1}function E(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new s.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(a,r){var i=E(r,t,n);return r.nodeType===e.ELEMENT_NODE&&(i=t.reduce((function(e,t){return t(r,e)}),i),i=(r[x]||[]).reduce((function(e,t){return t(r,e)}),i)),a.concat(i)}),new s.default):new s.default}function j(e,t,n){return k(n,e,!0)}function O(e,t){var n=l.default.Attributor.Attribute.keys(e),a=l.default.Attributor.Class.keys(e),r=l.default.Attributor.Style.keys(e),i={};return n.concat(a).concat(r).forEach((function(t){var n=l.default.query(t,l.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(e),i[n.attrName])||(null==(n=C[t])||n.attrName!==t&&n.keyName!==t||(i[n.attrName]=n.value(e)||void 0),null==(n=A[t])||n.attrName!==t&&n.keyName!==t||(n=A[t],i[n.attrName]=n.value(e)||void 0))})),Object.keys(i).length>0&&(t=k(t,i)),t}function L(e,t){var n=l.default.query(e);if(null==n)return t;if(n.prototype instanceof l.default.Embed){var a={},r=n.value(e);null!=r&&(a[n.blotName]=r,t=(new s.default).insert(a,n.formats(e)))}else"function"==typeof n.formats&&(t=k(t,n.blotName,n.formats(e)));return t}function B(e,t){return z(t,"\n")||(T(e)||t.length()>0&&e.nextSibling&&T(e.nextSibling))&&t.insert("\n"),t}function H(e,t){if(T(e)&&null!=e.nextElementSibling&&!z(t,"\n\n")){var n=e.offsetHeight+parseFloat(S(e).marginTop)+parseFloat(S(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function N(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!S(e.parentNode).whiteSpace.startsWith("pre")){var a=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,a.bind(a,!0)),(null==e.previousSibling&&T(e.parentNode)||null!=e.previousSibling&&T(e.previousSibling))&&(n=n.replace(/^\s+/,a.bind(a,!1))),(null==e.nextSibling&&T(e.parentNode)||null!=e.nextSibling&&T(e.nextSibling))&&(n=n.replace(/\s+$/,a.bind(a,!1)))}return t.insert(n)}P.DEFAULTS={matchers:[],matchVisual:!0},t.default=P,t.matchAttributor=O,t.matchBlot=L,t.matchNewline=B,t.matchSpacing=H,t.matchText=N},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(6);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default);c.blotName="bold",c.tagName=["STRONG","B"],t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=u(n(2)),o=u(n(0)),s=u(n(5)),l=u(n(10)),c=u(n(9));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=(0,l.default)("quill:toolbar"),h=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r,i=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(i.options.container)){var o=document.createElement("div");v(o,i.options.container),e.container.parentNode.insertBefore(o,e.container),i.container=o}else"string"==typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(e){i.addHandler(e,i.options.handlers[e])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(e){i.attach(e)})),i.quill.on(s.default.events.EDITOR_CHANGE,(function(e,t){e===s.default.events.SELECTION_CHANGE&&i.update(t)})),i.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){var e=i.quill.selection.getRange(),t=a(e,1)[0];i.update(t)})),i):(r=p.error("Container required for toolbar",i.options),d(i,r))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,n=[].find.call(e.classList,(function(e){return 0===e.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void p.warn("ignoring attaching to disabled format",n,e);if(null==o.default.query(n))return void p.warn("ignoring attaching to nonexistent format",n,e)}var r="SELECT"===e.tagName?"change":"click";e.addEventListener(r,(function(r){var l=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var c=e.options[e.selectedIndex];l=!c.hasAttribute("selected")&&(c.value||!1)}else l=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),r.preventDefault();t.quill.focus();var u=t.quill.selection.getRange(),d=a(u,1)[0];if(null!=t.handlers[n])t.handlers[n].call(t,l);else if(o.default.query(n).prototype instanceof o.default.Embed){if(!(l=prompt("Enter "+n)))return;t.quill.updateContents((new i.default).retain(d.index).delete(d.length).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,l)),s.default.sources.USER)}else t.quill.format(n,l,s.default.sources.USER);t.update(d)})),this.controls.push([n,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach((function(n){var r=a(n,2),i=r[0],o=r[1];if("SELECT"===o.tagName){var s=void 0;if(null==e)s=null;else if(null==t[i])s=o.querySelector("option[selected]");else if(!Array.isArray(t[i])){var l=t[i];"string"==typeof l&&(l=l.replace(/\"/g,'\\"')),s=o.querySelector('option[value="'+l+'"]')}null==s?(o.value="",o.selectedIndex=-1):s.selected=!0}else if(null==e)o.classList.remove("ql-active");else if(o.hasAttribute("value")){var c=t[i]===o.getAttribute("value")||null!=t[i]&&t[i].toString()===o.getAttribute("value")||null==t[i]&&!o.getAttribute("value");o.classList.toggle("ql-active",c)}else o.classList.toggle("ql-active",null!=t[i])}))}}]),t}(c.default);function f(e,t,n){var a=document.createElement("button");a.setAttribute("type","button"),a.classList.add("ql-"+t),null!=n&&(a.value=n),e.appendChild(a)}function v(e,t){Array.isArray(t[0])||(t=[t]),t.forEach((function(t){var n=document.createElement("span");n.classList.add("ql-formats"),t.forEach((function(e){if("string"==typeof e)f(n,e);else{var t=Object.keys(e)[0],a=e[t];Array.isArray(a)?function(e,t,n){var a=document.createElement("select");a.classList.add("ql-"+t),n.forEach((function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),a.appendChild(t)})),e.appendChild(a)}(n,t,a):f(n,t,a)}})),e.appendChild(n)}))}h.DEFAULTS={},h.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(t){null!=o.default.query(t,o.default.Scope.INLINE)&&e.quill.format(t,!1)}))}else this.quill.removeFormat(t,s.default.sources.USER)},direction:function(e){var t=this.quill.getFormat().align;"rtl"===e&&null==t?this.quill.format("align","right",s.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",e,s.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t),a=parseInt(n.indent||0);if("+1"===e||"-1"===e){var r="+1"===e?1:-1;"rtl"===n.direction&&(r*=-1),this.quill.format("indent",a+r,s.default.sources.USER)}},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,s.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",e,s.default.sources.USER)}}},t.default=h,t.addControls=v},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(28),s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.label.innerHTML=n,a.container.classList.add("ql-color-picker"),[].slice.call(a.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(e){e.classList.add("ql-primary")})),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"buildItem",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return n.style.backgroundColor=e.getAttribute("value")||"",n}},{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n);var a=this.label.querySelector(".ql-color-label"),r=e&&e.getAttribute("data-value")||"";a&&("line"===a.tagName?a.style.stroke=r:a.style.fill=r)}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(28),s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.container.classList.add("ql-icon-picker"),[].forEach.call(a.container.querySelectorAll(".ql-picker-item"),(function(e){e.innerHTML=n[e.getAttribute("data-value")||""]})),a.defaultItem=a.container.querySelector(".ql-selected"),a.selectItem(a.defaultItem),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function(){function e(t,n){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.boundsContainer=n||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){a.root.style.marginTop=-1*a.quill.root.scrollTop+"px"})),this.hide()}return a(e,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var a=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),i=0;if(r.right>a.right&&(i=a.right-r.right,this.root.style.left=t+i+"px"),r.left<a.left&&(i=a.left-r.left,this.root.style.left=t+i+"px"),r.bottom>a.bottom){var o=r.bottom-r.top,s=e.bottom-e.top+o;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=h(n(3)),s=h(n(8)),l=n(43),c=h(l),u=h(n(27)),d=n(15),p=h(n(41));function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],w=function(e){function t(e,n){f(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=m);var a=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.quill.container.classList.add("ql-snow"),a}return g(t,e),i(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),p.default),this.tooltip=new y(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(t,n){e.handlers.link.call(e,!n.format.link)}))}}]),t}(c.default);w.DEFAULTS=(0,o.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var n=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var y=function(e){function t(e,n){f(this,t);var a=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.preview=a.root.querySelector("a.ql-preview"),a}return g(t,e),i(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(t){e.root.classList.contains("ql-editing")?e.save():e.edit("link",e.preview.textContent),t.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(t){if(null!=e.linkRange){var n=e.linkRange;e.restoreFocus(),e.quill.formatText(n,"link",!1,s.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()})),this.quill.on(s.default.events.SELECTION_CHANGE,(function(t,n,r){if(null!=t){if(0===t.length&&r===s.default.sources.USER){var i=e.quill.scroll.descendant(u.default,t.index),o=a(i,2),l=o[0],c=o[1];if(null!=l){e.linkRange=new d.Range(t.index-c,l.length());var p=u.default.formats(l.domNode);return e.preview.textContent=p,e.preview.setAttribute("href",p),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}}))}},{key:"show",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}(l.BaseTooltip);y.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=w},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=B(n(29)),r=n(36),i=n(38),o=n(64),s=B(n(65)),l=B(n(66)),c=n(67),u=B(c),d=n(37),p=n(26),h=n(39),f=n(40),v=B(n(56)),g=B(n(68)),m=B(n(27)),w=B(n(69)),y=B(n(70)),b=B(n(71)),_=B(n(72)),x=B(n(73)),M=n(13),C=B(M),A=B(n(74)),P=B(n(75)),k=B(n(57)),S=B(n(41)),z=B(n(28)),T=B(n(59)),E=B(n(60)),j=B(n(61)),O=B(n(108)),L=B(n(62));function B(e){return e&&e.__esModule?e:{default:e}}a.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":r.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":p.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":h.FontClass,"attributors/class/size":f.SizeClass,"attributors/style/align":r.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":p.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":h.FontStyle,"attributors/style/size":f.SizeStyle},!0),a.default.register({"formats/align":r.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":o.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":p.ColorStyle,"formats/font":h.FontClass,"formats/size":f.SizeClass,"formats/blockquote":s.default,"formats/code-block":C.default,"formats/header":l.default,"formats/list":u.default,"formats/bold":v.default,"formats/code":M.Code,"formats/italic":g.default,"formats/link":m.default,"formats/script":w.default,"formats/strike":y.default,"formats/underline":b.default,"formats/image":_.default,"formats/video":x.default,"formats/list/item":c.ListItem,"modules/formula":A.default,"modules/syntax":P.default,"modules/toolbar":k.default,"themes/bubble":O.default,"themes/snow":L.default,"ui/icons":S.default,"ui/picker":z.default,"ui/icon-picker":E.default,"ui/color-picker":T.default,"ui/tooltip":j.default},!0),t.default=a.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(0),s=(a=o)&&a.__esModule?a:{default:a};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"add",value:function(e,n){if("+1"===n||"-1"===n){var a=this.value(e)||0;n="+1"===n?a+1:a-1}return 0===n?(this.remove(e),!0):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}(s.default.Attributor.Class),d=new u("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(4);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="blockquote",s.tagName="blockquote",t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=n(4);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){function t(){return o(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}(((a=i)&&a.__esModule?a:{default:a}).default);l.blotName="header",l.tagName=["H1","H2","H3","H4","H5","H6"],t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=l(n(0)),o=l(n(4)),s=l(n(25));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),a(t,[{key:"format",value:function(e,n){e!==h.blotName||n?r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n):this.replaceWith(i.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,n){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,n),this):(this.parent.unwrap(),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,n))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:r(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}(o.default);p.blotName="list-item",p.tagName="LI";var h=function(e){function t(e){c(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),a=function(t){if(t.target.parentNode===e){var a=n.statics.formats(e),r=i.default.find(t.target);"checked"===a?r.format("list","unchecked"):"unchecked"===a&&r.format("list","checked")}};return e.addEventListener("touchstart",a),e.addEventListener("mousedown",a),n}return d(t,e),a(t,null,[{key:"create",value:function(e){var n="ordered"===e?"OL":"UL",a=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);return"checked"!==e&&"unchecked"!==e||a.setAttribute("data-checked","checked"===e),a}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),a(t,[{key:"format",value:function(e,t){this.children.length>0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,n=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"insertBefore",value:function(e,n){if(e instanceof p)r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var a=null==n?this.length():n.offset(this),i=this.split(a);i.parent.insertBefore(e,i)}}},{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=i.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(s.default);h.blotName="list",h.scope=i.default.Scope.BLOCK_BLOT,h.tagName=["OL","UL"],h.defaultChild="list-item",h.allowedChildren=[p],t.ListItem=p,t.default=h},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(56);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="italic",s.tagName=["EM","I"],t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(6);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),t}(((a=o)&&a.__esModule?a:{default:a}).default);c.blotName="script",c.tagName=["SUB","SUP"],t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(6);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="strike",s.tagName="S",t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(6);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((a=r)&&a.__esModule?a:{default:a}).default);s.blotName="underline",s.tagName="U",t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(0),s=(a=o)&&a.__esModule?a:{default:a},l=n(27);function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=["alt","height","width"],p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"format",value:function(e,n){d.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,l.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(s.default.Embed);p.blotName="image",p.tagName="IMG",t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},o=n(4),s=n(27),l=(a=s)&&a.__esModule?a:{default:a};function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=["height","width"],p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"format",value:function(e,n){d.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return l.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(o.BlockEmbed);p.blotName="video",p.className="ql-video",p.tagName="IFRAME",t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=l(n(35)),o=l(n(5)),s=l(n(9));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),a(t,null,[{key:"create",value:function(e){var n=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&(window.katex.render(e,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",e)),n}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}(i.default);p.blotName="formula",p.className="ql-formula",p.tagName="SPAN";var h=function(e){function t(){c(this,t);var e=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}return d(t,e),a(t,null,[{key:"register",value:function(){o.default.register(p,!0)}}]),t}(s.default);t.FormulaBlot=p,t.default=h},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},i=l(n(0)),o=l(n(5)),s=l(n(9));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),a(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((t.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(l(n(13)).default);p.className="ql-syntax";var h=new i.default.Attributor.Class("token","hljs",{scope:i.default.Scope.INLINE}),f=function(e){function t(e,n){c(this,t);var a=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!=typeof a.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return a.quill.on(o.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){a.highlight(),r=null}),a.options.interval)})),a.highlight(),a}return d(t,e),a(t,null,[{key:"register",value:function(){o.default.register(h,!0),o.default.register(p,!0)}}]),a(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(o.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(p).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(o.default.sources.SILENT),null!=t&&this.quill.setSelection(t,o.default.sources.SILENT)}}}]),t}(s.default);f.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=p,t.CodeToken=h,t.default=f},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var a=function e(t,n,a){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,a)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(a):void 0},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=d(n(3)),o=d(n(8)),s=n(43),l=d(s),c=n(15),u=d(n(41));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=function(e){function t(e,n){p(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var a=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.quill.container.classList.add("ql-bubble"),a}return f(t,e),r(t,[{key:"extendToolbar",value:function(e){this.tooltip=new m(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),u.default)}}]),t}(l.default);g.DEFAULTS=(0,i.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var m=function(e){function t(e,n){p(this,t);var a=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a.quill.on(o.default.events.EDITOR_CHANGE,(function(e,t,n,r){if(e===o.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&r===o.default.sources.USER){a.show(),a.root.style.left="0px",a.root.style.width="",a.root.style.width=a.root.offsetWidth+"px";var i=a.quill.getLines(t.index,t.length);if(1===i.length)a.position(a.quill.getBounds(t));else{var s=i[i.length-1],l=a.quill.getIndex(s),u=Math.min(s.length()-1,t.index+t.length-l),d=a.quill.getBounds(new c.Range(l,u));a.position(d)}}else document.activeElement!==a.textbox&&a.quill.hasFocus()&&a.hide()})),a}return f(t,e),r(t,[{key:"listen",value:function(){var e=this;a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(o.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),t}(s.BaseTooltip);m.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=m,t.default=g},function(e,t,n){e.exports=n(63)}]).default},e.exports=n()})),zd=io((function(e,t){var n;e.exports=(n=Sd,function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=2)}([function(e,t){e.exports=n},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n(4),r=n.n(a),i=n(6),o=n(5)(r.a,i.a,!1,null,null,null);t.default=o.exports},function(e,t,n){function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.install=t.quillEditor=t.Quill=void 0;var r=a(n(0)),i=a(n(1)),o=window.Quill||r.default,s=function(e,t){t&&(i.default.props.globalOptions.default=function(){return t}),e.component(i.default.name,i.default)},l={Quill:o,quillEditor:i.default,install:s};t.default=l,t.Quill=o,t.quillEditor=i.default,t.install=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert text here ...",readOnly:!1}},function(e,t,n){function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(0)),i=a(n(3)),o=window.Quill||r.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),a=1;a<arguments.length;a++){var r=arguments[a];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])}return n},writable:!0,configurable:!0}),t.default={name:"quill-editor",data:function(){return{_options:{},_content:"",defaultOptions:i.default}},props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},mounted:function(){this.initialize()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initialize:function(){var e=this;this.$el&&(this._options=Object.assign({},this.defaultOptions,this.globalOptions,this.options),this.quill=new o(this.$refs.editor,this._options),this.quill.enable(!1),(this.value||this.content)&&this.quill.pasteHTML(this.value||this.content),this.disabled||this.quill.enable(!0),this.quill.on("selection-change",(function(t){t?e.$emit("focus",e.quill):e.$emit("blur",e.quill)})),this.quill.on("text-change",(function(t,n,a){var r=e.$refs.editor.children[0].innerHTML,i=e.quill,o=e.quill.getText();"<p><br></p>"===r&&(r=""),e._content=r,e.$emit("input",e._content),e.$emit("change",{html:r,text:o,quill:i})})),this.$emit("ready",this.quill))}},watch:{content:function(e,t){this.quill&&(e&&e!==this._content?(this._content=e,this.quill.pasteHTML(e)):e||this.quill.setText(""))},value:function(e,t){this.quill&&(e&&e!==this._content?(this._content=e,this.quill.pasteHTML(e)):e||this.quill.setText(""))},disabled:function(e,t){this.quill&&this.quill.enable(!e)}}}},function(e,t){e.exports=function(e,t,n,a,r,i){var o,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(o=e,s=e.default);var c,u="function"==typeof s?s.options:s;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=c):a&&(c=a),c){var d=u.functional,p=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(e,t){return c.call(t),p(e,t)}):u.beforeCreate=p?[].concat(p,c):[c]}return{esModule:o,exports:s,options:u}}},function(e,t,n){var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"quill-editor"},[e._t("toolbar"),e._v(" "),n("div",{ref:"editor"})],2)},r={render:a,staticRenderFns:[]};t.a=r}]))})),Td={name:"PInput",components:{PFieldResizer:kd,PSpinner:_d,PIcon:k,quillEditor:zd.quillEditor},props:{id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},value:{type:[String,Number,Object,Array,Boolean,FileList],default:null},type:r({type:String},P("type",["text","email","number","password","search","tel","url","date","datetime-local","month","time","week","currency","file"])),align:{type:String},placeholder:{type:String},multiline:{type:[Boolean,Number]},richEditor:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},showInput:{type:Boolean,default:!0},clearable:{type:Boolean},showCharacterCount:{type:Boolean},prefixClass:{type:String},autoFocus:{type:Boolean},autoComplete:{type:Boolean},labelClass:{type:String},inputClass:{type:String},suffix:{type:String},prefix:{type:String},name:{type:String},hasError:{type:Boolean},maxLength:{type:[String,Number]},minLength:{type:[String,Number]},step:{type:Number},minHeight:{type:Number,default:0},min:{type:[String,Number]},max:{type:[String,Number]},describedBy:{type:String},multiple:{type:Boolean},accept:{type:String},label:{type:String},floatingLabel:{type:Boolean}},data:function(){return{content:null!==this.value?this.value:"",height:this.minHeight,editorConfig:{modules:{toolbar:[[{header:[1,2,3,4,5,6,!1]},"blockquote"],["bold","italic","underline",{color:[]},{background:[]}],[{align:[]}],["link","image","video"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},"clean"]],syntax:{highlight:function(e){return e}}}},characterCountLabel:this.maxLength||"characterCountLabel",characterCount:this.value&&this.value.length}},computed:{className:function(){return g("Polaris-TextField",Boolean(this.content)&&"Polaris-TextField--hasValue",this.disabled&&"Polaris-TextField--disabled",this.readOnly&&"Polaris-TextField--readOnly",this.hasError&&"Polaris-TextField--error")},inputClassName:function(){return g(this.floatingLabel?"Polaris-FloatingLabels__Input":"Polaris-TextField__Input",this.inputClass,this.align&&"Polaris-TextField__Input Polaris-TextField__Input--align".concat(this.textAlign),this.floatingLabel&&this.multiline&&"Polaris-FloatingLabel__TextArea",this.floatingLabel&&this.showPrefix&&"Polaris-FloatingLabels__Input--prefix",this.floatingLabel&&this.showSuffix&&"Polaris-FloatingLabels__Input--suffix",(this.showCharacterCount||"number"===this.type)&&"Polaris-FloatingLabels__Input--number",this.floatingLabel&&this.hasError&&"Polaris-FloatingLabels__Input--error")},characterCountClassName:function(){return g("Polaris-TextField__CharacterCount",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},clearButtonClassName:function(){return g("Polaris-TextField__ClearButton",this.multiline&&"Polaris-TextField__AlignFieldBottom ")},floatingLabelClassName:function(){return g("Polaris-Floating--label","Polaris-Floating--label--visible",this.showPrefix&&"Polaris-Floating--label__prefix",this.showSuffix&&"Polaris-Floating--label__suffix")},characterCountText:function(){return this.maxLength?"".concat(this.characterCount,"/").concat(this.maxLength):this.characterCount},inputType:function(){return"currency"===this.type?"text":this.type},showPrefix:function(){return this.prefix||this.$slots.prefix},showSuffix:function(){return this.suffix||this.$slots.suffix},textAlign:function(){return this.align.replace(/^_*(.)|_+(.)/g,(function(e,t,n){return t?t.toUpperCase():" "+n.toUpperCase()}))},labelledBy:function(){var e=[this.id+"Label"];return this.showPrefix&&e.push(this.id+"Prefix"),this.showSuffix&&e.push(this.id+"Suffix"),e.join(" ")},computedHeight:{get:function(){return this.height},set:function(e){this.height=e}},computedValue:{get:function(){return"number"===this.type?Number(this.content):this.content},set:function(e){"number"===this.type?this.content=Number(e):this.content=e,this.$emit("input","number"===this.type?Number(e):e)}},computedStyle:function(){return{height:this.multiline&&this.computedHeight?this.computedHeight+"px":null,overflow:this.multiline&&this.computedHeight?"hidden":null}},computedPlaceholder:function(){return this.floatingLabel?"Enter input":this.placeholder}},methods:{onInput:function(e){"file"!==this.type?e.target&&(this.computedValue=e.target.value):this.computedValue=e.target.files},onClear:function(e){this.computedValue=void 0},handleNumberChange:function(e){var t=this.computedValue?parseFloat(this.computedValue):0,n=function(e){return(e.toString().split(".")[1]||[]).length};if(!isNaN(t)&&!this.disabled){var a=this.min||-1/0,r=this.max||1/0,i=this.step||1,o=Math.max(n(t),n(i)),s=Math.min(Number(r),Math.max(t+e*i,Number(a)));isNaN(s)||(this.computedValue=s.toFixed(o))}},handleExpandingResize:function(e){this.computedHeight=e<this.minHeight?this.minHeight:e},normalizeAutoComplete:function(e){return!0===e?"on":!1===e?"off":e}},watch:{value:function(e,t){this.content=e,this.characterCount=e?e.length:0}}},Ed=Td,jd=function(e){e&&e("data-v-1f41cf22_0",{source:'.ql-container.ql-snow{background:#fff}.ql-toolbar.ql-snow{background:#fafafa;padding:5px}.quill-editor.editor{width:100%}.ql-snow .ql-picker{font-weight:400}.ql-toolbar.ql-snow>.ql-formats:not(:first-child):before{content:"";height:calc(100% + 4px);width:1px;background:#c4c4c4;position:absolute;display:block;top:-2px;left:-10px}.ql-toolbar.ql-snow .ql-formats{position:relative;margin-right:10px;margin-left:10px}',map:void 0,media:void 0})},Od=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showInput,expression:"showInput"}],class:e.className},[e.showPrefix?n("div",{staticClass:"Polaris-TextField__Prefix",attrs:{id:e.id+"Prefix"}},[e._v("\n "+e._s(e.prefix)+"\n "),e.$slots.prefix?e._t("prefix"):e._e()],2):e._e(),e._v(" "),n("div",{staticStyle:{width:"100%"}},[e.richEditor?n("quill-editor",{ref:"myTextEditor",staticClass:"editor",attrs:{id:e.id,options:e.editorConfig,disabled:e.disabled,readonly:e.readOnly,autofocus:e.autoFocus,placeholder:e.computedPlaceholder,autocomplete:e.normalizeAutoComplete(e.autoComplete),"aria-describedby":e.describedBy,"aria-labelledby":e.labelledBy,"aria-invalid":e.hasError},on:{input:e.onInput},model:{value:e.computedValue,callback:function(t){e.computedValue=t},expression:"computedValue"}}):e.multiline?n("textarea",{class:e.inputClassName,style:e.computedStyle,attrs:{name:e.name,id:e.id,disabled:e.disabled,readonly:e.readOnly,autofocus:e.autoFocus,minlength:e.minLength,maxlength:e.maxLength,placeholder:e.computedPlaceholder,autocomplete:e.normalizeAutoComplete(e.autoComplete),"aria-describedby":e.describedBy,"aria-labelledby":e.labelledBy,"aria-invalid":e.hasError},domProps:{value:e.computedValue,textContent:e._s(e.multiline?e.computedValue:"")},on:{input:e.onInput}}):"file"===e.type?n("input",{ref:"input",class:e.inputClassName,attrs:{name:e.name,id:e.id,disabled:e.disabled,readonly:e.readOnly,type:"file",multiple:e.multiple,accept:e.accept,"aria-describedby":e.describedBy,"aria-labelledby":e.labelledBy,"aria-invalid":e.hasError},on:{change:e.onInput}}):n("input",{ref:"input",class:e.inputClassName,attrs:{name:e.name,id:e.id,disabled:e.disabled,readonly:e.readOnly,autofocus:e.autoFocus,placeholder:e.computedPlaceholder,autocomplete:e.normalizeAutoComplete(e.autoComplete),min:e.min,max:e.max,step:e.step,minlength:e.minLength,maxlength:e.maxLength,type:e.inputType,"aria-describedby":e.describedBy,"aria-labelledby":e.labelledBy,"aria-invalid":e.hasError},domProps:{value:e.computedValue},on:{input:e.onInput}}),e._v(" "),e.floatingLabel&&!e.richEditor&&"file"!==e.type?n("label",{class:e.floatingLabelClassName,attrs:{for:e.id}},[e._t("label",(function(){return[e._v("\n "+e._s(e.label)+"\n ")]}))],2):e._e(),e._v(" "),e.richEditor?e._e():n("div",{staticClass:"Polaris-TextField__Backdrop"})],1),e._v(" "),e.showSuffix?n("div",{staticClass:"Polaris-TextField__Suffix",attrs:{id:e.id+"Suffix"}},[e._v("\n "+e._s(e.suffix)+"\n "),e.$slots.suffix?e._t("suffix"):e._e()],2):e._e(),e._v(" "),e.showCharacterCount?n("div",{class:e.characterCountClassName,attrs:{id:"CharacterCounter","aria-label":e.characterCountLabel}},[e._v("\n "+e._s(e.characterCountText)+"\n ")]):e._e(),e._v(" "),e.computedValue&&e.clearable?n("button",{class:e.clearButtonClassName,attrs:{type:"button"},on:{click:e.onClear}},[n("span",{staticClass:"Polaris-VisuallyHidden"},[e._v("Clear")]),e._v(" "),n("PIcon",{attrs:{source:"CircleCancelMinor",color:"base"}})],1):e._e(),e._v(" "),"number"===e.type?n("PSpinner",{on:{change:e.handleNumberChange}}):e._e(),e._v(" "),e.multiline?n("PFieldResizer",{attrs:{contents:e.value||e.placeholder,"current-height":e.computedHeight,"minimum-lines":"number"==typeof e.multiline?e.multiline:1},on:{heightchange:e.handleExpandingResize}}):e._e()],1)},staticRenderFns:[]},jd,Ed,undefined,false,undefined,!1,Pc,void 0,void 0),Ld=Od,Bd={name:"PConnectedItem",props:{position:r({type:String},P("position",["Left","Primary","Right"])),children:{type:String},focused:{type:Boolean}},computed:{className:function(){return g("Polaris-Connected__Item",this.focused&&"Polaris-Connected__Item--focused","Primary"===this.position&&"Polaris-Connected__Item--primary","Primary"!==this.position&&"Polaris-Connected__Item--connection")}}},Hd=Bd,Nd=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.className,on:{blur:function(t){e.focused=!1},focus:function(t){e.focused=!0}}},[e.$slots.children?e._e():e._t("default",(function(){return[e._v(e._s(e.children))]})),e._v(" "),e._t("children")],2)},staticRenderFns:[]},undefined,Hd,undefined,false,undefined,!1,void 0,void 0,void 0),Rd=Nd,Vd={name:"PConnected",components:{PConnectedItem:Rd},props:{left:{type:String},right:{type:String},children:{type:String}}},Id=Vd,Dd=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Polaris-Connected"},[e.$slots.left||e.left?n("PConnectedItem",{attrs:{position:"Left"}},[e._t("left",(function(){return[e._v(e._s(e.left))]}))],2):e._e(),e._v(" "),n("PConnectedItem",{attrs:{position:"Primary"}},[e.$slots.children?e._e():e._t("default",(function(){return[e._v("\n "+e._s(e.children)+"\n ")]})),e._v(" "),e._t("children")],2),e._v(" "),e.$slots.right||e.right?n("PConnectedItem",{attrs:{position:"Right"}},[e._t("right",(function(){return[e._v(e._s(e.right))]}))],2):e._e()],1)},staticRenderFns:[]},undefined,Id,undefined,false,undefined,!1,void 0,void 0,void 0),Fd=Dd,qd={name:"PFieldError",components:{PIcon:k},props:{error:{type:String,default:null}}},$d=qd,Ud=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Polaris-Labelled__Error"},[n("div",{staticClass:"Polaris-InlineError",attrs:{id:"PolarisTextField6Error"}},[n("div",{staticClass:"Polaris-InlineError__Icon"},[n("PIcon",{attrs:{source:"AlertMinor"}})],1),e._v("\n "+e._s(e.error)+"\n ")])])},staticRenderFns:[]},undefined,$d,"data-v-4535eab1",false,undefined,!1,void 0,void 0,void 0),Gd=Ud,Wd={name:"PTextField",components:{PInput:Ld,PConnected:Fd,PFieldError:Gd},props:{label:{type:String,default:null},id:{type:[String,Number],default:"PolarisTextField".concat((new Date).getUTCMilliseconds())},labelClass:{type:String,default:null},helpText:{type:String,default:null},connectedLeft:{type:String,default:null},connectedRight:{type:String,default:null},connected:{type:Boolean,default:!1},error:{type:String,default:null},labelHidden:{type:Boolean,default:!1},emptyLabel:{type:Boolean,default:!1},richEditor:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},accept:{type:String,default:null},type:{type:String},floatingLabel:{type:Boolean,default:!1},readOnly:{type:Boolean}},computed:{className:function(){return g(this.computedLabelHidden&&"Polaris-Labelled--hidden",this.floatingLabel&&!this.richEditor&&"file"!==this.type&&"Polaris-Floating")},labelClassName:function(){return g(!this.floatingLabel&&"Polaris-Labelled__LabelWrapper")},computedLabelHidden:function(){return this.floatingLabel||this.labelHidden}},methods:{handleInput:function(e){this.$emit("input",e)}}},Zd=Wd,Yd=function(e){e&&e("data-v-0b34995c_0",{source:".ck.ck-editor{position:relative;width:100%}",map:void 0,media:void 0})},Kd=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.className},[!e.floatingLabel&&(e.label||e.emptyLabel||e.$slots.hasOwnProperty("label"))?n("div",{staticClass:"Polaris-Labelled__LabelWrapper",class:e.labelClass},[e._t("label",(function(){return[n("div",{staticClass:"Polaris-Label"},[n("label",{staticClass:"Polaris-Label__Text",attrs:{id:e.id+"Label",for:e.id},domProps:{innerHTML:e._s(e.emptyLabel?" ":e.label)}})])]}))],2):e._e(),e._v(" "),e.connected?n("PConnected",[e.$slots.hasOwnProperty("connectedLeft")?n("template",{slot:"left"},[e._t("connectedLeft",(function(){return[e._v(e._s(e.connectedLeft))]}))],2):e._e(),e._v(" "),e.$slots.hasOwnProperty("connectedRight")?n("template",{slot:"right"},[e._t("connectedRight",(function(){return[e._v(e._s(e.connectedRight))]}))],2):e._e(),e._v(" "),n("PInput",e._g(e._b({attrs:{hasError:!!e.error,id:e.id}},"PInput",[e.$attrs,e.$props],!1),e.$listeners),[e._t("prefix",null,{slot:"prefix"}),e._v(" "),e._t("suffix",null,{slot:"suffix"})],2)],2):n("PInput",e._g(e._b({attrs:{hasError:!!e.error,id:e.id,floatingLabel:e.floatingLabel,label:e.label}},"PInput",[e.$attrs,e.$props],!1),e.$listeners),[e._t("prefix",null,{slot:"prefix"}),e._v(" "),e._t("label",null,{slot:"label"}),e._v(" "),e._t("suffix",null,{slot:"suffix"})],2),e._v(" "),e.helpText?n("div",{staticClass:"Polaris-Labelled__HelpText"},[e._v(e._s(e.helpText))]):e._e(),e._v(" "),e._t("error",(function(){return[e.error?n("PFieldError",{attrs:{error:e.error}}):e._e()]}))],2)},staticRenderFns:[]},Yd,Zd,undefined,false,undefined,!1,Pc,void 0,void 0),Xd=Kd,Qd={value:{type:[String,Number],required:!0},key:{type:[String,Number],required:!0}},Jd={name:"PTag",components:{PIcon:k},props:{tag:r({type:Object,default:function(){return{}}},D("tag",Qd)),removable:{type:Boolean,default:!1},size:r({type:String,default:"medium"},P("size",["small","medium",null,""]))},computed:{className:function(){return g("Polaris-Tag",this.removable&&"Polaris-Tag--removable","small"===this.size&&"Polaris-Tag--small")}},methods:{handleRemove:function(){this.$emit("remove-tag",this.tag.key)}}},ep=Jd,tp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{class:e.className},[n("span",{staticClass:"Polaris-Tag__TagText",attrs:{title:e.tag.value}},[e._v(e._s(e.tag.value))]),e._v(" "),e.removable?n("button",{staticClass:"Polaris-Tag__Button",attrs:{type:"button","aria-label":"Remove "+e.tag.value},on:{click:e.handleRemove}},[n("PIcon",{attrs:{source:"CancelSmallMinor"}})],1):e._e()])},staticRenderFns:[]},undefined,ep,undefined,false,undefined,!1,void 0,void 0,void 0),np=tp,ap={name:"PFilterItem"},rp=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Item"},[e._t("default")],2)},staticRenderFns:[]},undefined,ap,undefined,false,undefined,!1,void 0,void 0,void 0),ip=rp,op={name:"PFilterItemWrapper",props:{position:{type:String}},computed:{className:function(){return g("center"===this.position&&"Polaris-Filters-ConnectedFilterControl__CenterContainer","right"===this.position&&"Polaris-Filters-ConnectedFilterControl__RightContainer")}},render:function(e){return e("div",{class:this.className},tt.wrapNodesWithComponent(e,this.$slots.default,ip))}},sp=op,lp=w({},undefined,sp,undefined,undefined,undefined,!1,void 0,void 0,void 0),cp=lp,up={singular:{type:String,required:!0},plural:{type:String,required:!0}},dp={key:{type:String,required:!0},label:{type:String,required:!0},filter:{type:String,required:!0},shortcut:Boolean,disabled:Boolean,hideClearButton:Boolean},pp={name:"PFilter",components:{PTextField:Xd,PIcon:k,PTag:np,PFilterItemWrapper:cp},props:{resourceName:r({type:Object,default:function(){return{}}},D("resourceName",up)),resourceTitle:{type:String,default:null},inputFilter:{type:String,default:null},appliedFilters:{type:Array,default:function(){return[]}},queryValue:{type:String,default:null},queryPlaceholder:{type:String,default:null},focused:{type:Boolean,default:!1},filters:r({type:Array,default:function(){return[]}},R("filters",dp)),disabled:{type:Boolean,default:!1},helpText:{type:String,default:null},hideTags:{type:Boolean,default:!1},hideQueryField:{type:Boolean,default:!1}},data:function(){return{appliedFiltersCount:this.appliedFilters?this.appliedFilters.length:0}},computed:{prefix:function(){return this.resourceName.plural?"".concat(this.resourceName.plural.toLowerCase()):this.resourceName.plural},resource:function(){var e=this.resourceName;return e.plural?"Filter "+e.plural.toLowerCase():e.singular?"Filter "+e.singular.toLowerCase():""}},methods:{handleQueryChange:function(e){this.$emit("queryChange",e)},handleQueryClear:function(){this.$emit("queryClear")},handleQueryClearAll:function(){this.$emit("queryClearAll")},handleQueryBlur:function(){this.$emit("queryBlur")},handleQueryFocus:function(){this.$emit("queryFocus")}},mounted:function(){null!=this.resourceTitle&&console.error("Deprecation Notice: `resourceTitle` will be removed in version 4.0.0, use `resourceName` instead."),null!=this.inputFilter&&console.error("Deprecation Notice: `inputFilter` will be removed in version 4.0.0, use `queryValue` instead.")}},hp=pp,fp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"Polaris-Filters"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__Wrapper"},[n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl Polaris-Filters-ConnectedFilterControl--right"},[e.hideQueryField?e._e():n("PFilterItemWrapper",{attrs:{position:"center"}},[n("PTextField",e._g({attrs:{id:"Polaris-Input-Filter",connected:"",labelHidden:"",showPrefix:"",showClearButton:"",placeholder:e.queryPlaceholder||e.resourceTitle||e.resource,value:e.queryValue||e.inputFilter,autoFocus:e.focused,label:e.queryPlaceholder||e.resourceTitle||e.resource,clearable:"",disabled:e.disabled},on:{input:e.handleQueryChange,blur:e.handleQueryBlur,focus:e.handleQueryFocus}},e.$listeners),[n("PIcon",{attrs:{slot:"prefix",source:"SearchMinor"},slot:"prefix"})],1)],1),e._v(" "),e.$slots.hasOwnProperty("default")?n("PFilterItemWrapper",{attrs:{position:"right"}},[e._t("default")],2):e._e()],1),e._v(" "),n("div",{staticClass:"Polaris-Filters-ConnectedFilterControl__AuxiliaryContainer"},[e._t("auxiliaryContainer")],2)]),e._v(" "),e.hideTags?e._e():n("div",{staticClass:"Polaris-Filters__TagsContainer"},e._l(e.appliedFilters,(function(t,a){return n("PTag",e._g({key:a,attrs:{removable:"",tag:t}},e.$listeners))})),1)])])},staticRenderFns:[]},undefined,hp,undefined,false,undefined,!1,void 0,void 0,void 0),vp=fp,gp={name:"PCardHeader",components:{PStack:Nu,PStackItem:Ou,PHeading:ae,PButtonGroup:at,PButton:ne,PLink:nd},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},actions:{type:[Array,String],default:null}}},mp=gp,wp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Polaris-Card__Header"},[n("PStack",{attrs:{alignment:"baseline"}},[n("PStackItem",{attrs:{fill:""}},[e._t("title",(function(){return[n("PHeading",[e._v(e._s(e.title))])]}))],2),e._v(" "),n("PStackItem",[e.actions?n("PButtonGroup",{attrs:{connectedTop:""}},e._l(e.actions,(function(t,a){return n(t.to?"PLink":"PButton",e._g({key:a,tag:"component",attrs:{plain:"",href:t.url?t.url:null,to:t.to?t.to:null}},t.onAction?{click:t.onAction}:{}),[e._v("\n "+e._s(t.content)+"\n ")])})),1):e._e()],1),e._v(" "),e.$slots.hasOwnProperty("children")?n("PStackItem",[e._t("children")],2):e._e()],1),e._v(" "),n("PStack",[n("PStackItem",[n("span",{staticClass:"Polaris-Card__TagLine"},[[e._t("short_description",(function(){return[e._v("\n "+e._s(e.shortDescription)+"\n ")]}))]],2)])],1)],1)},staticRenderFns:[]},undefined,mp,undefined,false,undefined,!1,void 0,void 0,void 0),yp=wp,bp={name:"PSubheading",props:{element:r({type:String,default:"h3"},P("element",["h1","h2","h3","h4","h5","h6","p"]))},computed:{className:function(){return"Polaris-Subheading"}}},_p=bp,xp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.className},[e.title||e.$slots.hasOwnProperty("title")?n("div",{staticClass:"Polaris-Card__SectionHeader"},[e._t("title",(function(){return[n("PSubheading",e._b({},"PSubheading",e.$attrs,!1),[e._v("\n "+e._s(e.title)+"\n ")])]}))],2):e._e(),e._v(" "),e._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardSection",components:{PSubheading:w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.element,{tag:"component",class:e.className},[e._t("default")],2)},staticRenderFns:[]},undefined,_p,undefined,false,undefined,!1,void 0,void 0,void 0)},props:{title:{type:String},subdued:{type:Boolean},fullWidth:{type:Boolean}},computed:{className:function(){return g("Polaris-Card__Section",this.subdued&&"Polaris-Card__Section--subdued",this.fullWidth&&"Polaris-Card__Section--fullWidth")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Mp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.className},[e.$slots.hasOwnProperty("title")||e.title||e.$slots.hasOwnProperty("short_description")||e.shortDescription?[n("PCardHeader",{attrs:{actions:e.actions}},[e.$slots.hasOwnProperty("title")||e.title?e._t("title",(function(){return[n("PHeading",[e._v(e._s(e.title))])]}),{slot:"title"}):e._e(),e._v(" "),e.$slots.hasOwnProperty("short_description")||e.shortDescription?e._t("short_description",(function(){return[n("PCaption",[e._v(e._s(e.shortDescription))])]}),{slot:"short_description"}):e._e(),e._v(" "),e.$slots.hasOwnProperty("children")?n("template",{slot:"children"},[e._t("children")],2):e._e()],2)]:e._e(),e._v(" "),e.$slots.hasOwnProperty("default")?[e.sectioned?[n("PCardSection",[e._t("default")],2)]:[e._t("default")]]:n("div",[e._t("default")],2),e._v(" "),e.$slots.hasOwnProperty("footer")?[n("PCardFooter",[e._t("footer")],2)]:e._e()],2)},staticRenderFns:[]},undefined,{name:"PCard",components:{PCardFooter:w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"Polaris-Card__Footer"},[e._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCardFooter"},undefined,false,undefined,!1,void 0,void 0,void 0),PCardHeader:yp,PCardSection:xp,PHeading:ae,PCaption:w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("p",{staticClass:"Polaris-Caption",attrs:{id:e.id}},[e._t("default")],2)},staticRenderFns:[]},undefined,{name:"PCaption",props:{id:{type:[String,Number],default:null}}},undefined,false,undefined,!1,void 0,void 0,void 0),PButtonGroup:at,PLink:nd},props:{title:{type:String,default:null},shortDescription:{type:String,default:null},subdued:{type:Boolean,default:!1},sectioned:{type:Boolean,default:!1},actions:{type:[Array,String],default:null}},computed:{className:function(){return g("Polaris-Card",this.subdued&&"Polaris-Card__Section--subdued")}}},undefined,false,undefined,!1,void 0,void 0,void 0),Cp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PCard",[n("PCardSection",[n("div",{class:e.className},[n("div",{staticClass:"Polaris-EmptyState__Section"},[n("div",{staticClass:"Polaris-EmptyState__DetailsContainer"},[n("div",{staticClass:"Polaris-EmptyState__Details"},[n("PTextContainer",[n("PDisplayText",{attrs:{size:"small"}},[e._t("heading",(function(){return[e._v("\n "+e._s(e.heading)+"\n ")]}))],2),e._v(" "),n("div",{staticClass:"Polaris-EmptyState__Content"},[e._t("default")],2)],1),e._v(" "),e.hasAction?n("div",{staticClass:"Polaris-EmptyState__Actions"},[e._t("actions",(function(){return[n("PStack",{attrs:{spacing:"tight",distribution:"center",alignment:"center"}},[Object.keys(e.primaryAction).length>0?n("PStackItem",[n("PButton",{attrs:{primary:""},on:{click:function(t){return e.primaryAction.onAction()}}},[e._v(e._s(e.primaryAction.content))])],1):e._e(),e._v(" "),Object.keys(e.secondaryAction).length>0?n("PStackItem",[n("PButton",{on:{click:function(t){return e.secondaryAction.onAction()}}},[e._v(e._s(e.secondaryAction.content))])],1):e._e()],1)]}))],2):e._e(),e._v(" "),n("div",{staticClass:"Polaris-EmptyState__FooterContent"},[e._t("footer")],2)],1)]),e._v(" "),n("div",{staticClass:"Polaris-EmptyState__ImageContainer"},[e._t("image",(function(){return[n("PImage",{staticClass:"Polaris-EmptyState__Image",attrs:{source:e.image}})]}))],2)])])])],1)},staticRenderFns:[]},undefined,{name:"PEmptyState",components:{PImage:ou,PCard:Mp,PCardSection:xp,PTextContainer:Uu,PDisplayText:nu,PStack:Nu,PStackItem:Ou,PButton:ne},props:{heading:{type:String,default:null},fullWidth:{type:Boolean,default:!1},imageContained:{type:Boolean,default:!1},image:{type:String,default:null},primaryAction:r({type:Object,default:function(){return{}}},D("primaryAction",r(r({},$),U))),secondaryAction:r({type:Object,default:function(){return{}}},D("secondaryAction",X))},computed:{className:function(){return g("Polaris-EmptyState","Polaris-EmptyState--withinContentContainer",this.fullWidth&&"Polaris-EmptyState--fullWidth",this.imageContained&&"Polaris-EmptyState--imageContained")},hasAction:function(){return this.primaryAction||this.secondaryAction}},methods:{styleClass:function(e){if("string"==typeof e){var t=["one","two","three","four","five","six"];return e?t[e.charCodeAt(0)%t.length]:t[0]}}}},undefined,false,undefined,!1,void 0,void 0,void 0),Ap={content:{type:String,required:!0},value:{type:String,required:!0},type:{type:String,required:!0},sortable:Boolean,width:String},Pp={singular:{type:String,required:!0},plural:{type:String,required:!0}},kp=["ascending","descending","none"],Sp={value:{type:String,required:!0},direction:{type:String,required:!0,expectedValues:kp}},zp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.$slots.hasOwnProperty("filter")||e.hasFilter?n("PFilter",e._b({attrs:{resourceName:e.resource},on:{"remove-tag":e.onRemoveFilter,input:e.onFilterInputChanged}},"PFilter",e.$attrs,!1),[e.$slots.hasOwnProperty("filter")?e._t("filter"):e._e(),e._v(" "),n("template",{slot:"auxiliaryContainer"},[e._t("auxiliaryContainer")],2)],2):e._e(),e._v(" "),e.rows.length>0||e.$slots.hasOwnProperty("body")?n("div",{staticClass:"Polaris-DataTable"},[n("div",{staticClass:"Polaris-DataTable__ScrollContainer"},[n("table",{staticClass:"Polaris-DataTable__Table"},[n("thead",{ref:"thead"},[e._t("head",(function(){return[[n("tr",[e._l(e.headings,(function(t,a){return n("PDataTableCellNew",{key:"heading-cell-"+a,attrs:{header:"",content:t.content,value:t.value,width:t.width,sort:e.sort,sortable:t.sortable,"default-sort-direction":e.defaultSortDirection,"content-type":t.type?t.type:e.columnContentTypes[a],"first-column":0===a,truncate:e.truncate,verticalAlign:e.verticalAlign},on:{"sort-changed":e.handleSortChange}})})),e._v(" "),e.hasActions?n("PDataTableCell",{attrs:{header:"",content:"Actions",sortable:!1,contentType:"text",firstColumn:!1,truncate:!1,verticalAlign:e.verticalAlign}}):e._e()],2),e._v(" "),e.showTotalsInFooter?e._e():n("tr",[e._l(e.totals,(function(t,a){return n("PDataTableCellNew",{key:"total-cell-"+a,attrs:{total:"",value:0===a?e.totalsRowHeading:t,"content-type":""!==t&&a>0?"numeric":e.columnContentTypes[a],"first-column":0===a,truncate:e.truncate,"vertical-align":e.verticalAlign,sortable:!1}})})),e._v(" "),e.totals.length&&e.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:e.showTotalsInFooter,verticalAlign:e.verticalAlign}}):e._e()],2)]]}))],2),e._v(" "),e._t("tbody",(function(){return[n("tbody",{ref:"tbody"},[e.loading?[n("tr",{staticClass:"Polaris-ResourceList__SpinnerContainer",style:{"padding-top":e.topPadding+"px"}},[n("PSpinner",{attrs:{size:!e.$slots.hasOwnProperty("body")&&e.rows.length<2?"small":"large"}})],1),e._v(" "),n("tr",{staticClass:"Polaris-ResourceList__LoadingOverlay"})]:e._e(),e._v(" "),e._t("body",(function(){return[e.hasOldRows?e._l(e.rows,(function(t,a){return n("tr",{key:"row-"+a,staticClass:"Polaris-DataTable__TableRow"},[e._l(t,(function(t,r){return n("PDataTableCell",{key:"cell-"+r+"-row-"+a,attrs:{content:"object"!==i(t)?t:t.content,action:t.url||t.to||t.onAction?t:null,toggle:"boolean"==typeof t.status&&t.onAction?t:null,badge:"object"!==i(t)||t.url||t.to||t.onAction?null:t,contentType:e.headings[r].type?e.headings[r].type:e.columnContentTypes[r],firstColumn:0===r,truncate:e.truncate,verticalAlign:e.verticalAlign}})})),e._v(" "),e.hasActions?n("PDataTableCell",{attrs:{actions:e.actions,value:e.ids[a],verticalAlign:e.verticalAlign}}):e._e()],2)})):[e._l(e.rows,(function(t){return[e._t("item",(function(){return[n("tr",{staticClass:"Polaris-DataTable__TableRow"},[e._l(e.headings,(function(a,r){return[n("PDataTableCellNew",{attrs:{value:t[a.value],"header-value":a.value,"first-column":0===r,"content-type":e.headings[r].type?e.headings[r].type:e.columnContentTypes[r],truncate:e.truncate,"vertical-align":e.verticalAlign,sortable:!1},scopedSlots:e._u([{key:"item."+a.value,fn:function(n){return[e._t("item."+a.value,null,{item:t})]}}],null,!0)})]}))],2)]}),{item:t})]}))]]}))],2)]})),e._v(" "),e.showTotalsInFooter?n("tfoot",[n("tr",[e._l(e.totals,(function(t,a){return n("PDataTableCellNew",{key:"total-cell-"+a,attrs:{total:"","total-in-footer":e.showTotalsInFooter,value:0===a?e.totalsRowHeading:t,"content-type":""!==t&&a>0?"numeric":e.columnContentTypes[a],"first-column":0===a,truncate:e.truncate,"vertical-align":e.verticalAlign,sortable:!1}})})),e._v(" "),e.totals.length&&e.hasActions?n("PDataTableCell",{attrs:{total:"",totalInFooter:e.showTotalsInFooter,verticalAlign:e.verticalAlign}}):e._e()],2)]):e._e()],2)]),e._v(" "),e.footerContent||e.$slots.footer?n("div",{staticClass:"Polaris-DataTable__Footer"},[e._t("footer",(function(){return[e._v("\n "+e._s(e.footerContent)+"\n ")]}))],2):e._e(),e._v(" "),e.hasPagination?n("div",{staticClass:"Polaris-DataTable__Pagination"},[n("PPagination",e._b({},"PPagination",e.pagination,!1))],1):e._e()]):n("div",[e._t("emptyState",(function(){return[n("PEmptyState",{attrs:{heading:e.emptyStateTitle,image:e.emptyStateImage}})]}))],2)],1)},staticRenderFns:[]},(function(e){e&&e("data-v-157a18b9_0",{source:".Polaris-DataTable__Pagination[data-v-157a18b9]{text-align:center;padding:1.6rem;border-top:.1rem solid #e1e3e5;border-bottom-left-radius:.4rem;border-bottom-right-radius:.4rem}",map:void 0,media:void 0})}),{name:"PDataTable",components:{PDataTableCellNew:Qu,PPagination:Bc,PFilter:vp,PSpinner:z,PEmptyState:Cp,PDataTableCell:md},props:{columnContentTypes:{type:Array,default:function(){return[]}},defaultSortDirection:r({type:String,default:"ascending"},P("defaultSortDirection",kp)),footerContent:{type:[String,Number,Object,Array]},headings:r({type:Array,default:function(){return[]}},R("headings",Ap)),rows:{type:Array,default:function(){return[[]]}},showTotalsInFooter:{type:Boolean,default:!1},totals:{type:Array,default:function(){return[]}},totalsName:r({type:Object,default:function(){return{}}},D("totalsName",Pp)),truncate:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},P("verticalAlign",["top","bottom","middle","baseline"])),sort:r({type:Object,default:function(){return{}}},D("sort",Sp)),hasFilter:{type:Boolean,default:!1},hasPagination:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},pagination:{type:Object,default:function(){return{}}},emptyStateTitle:{type:String,default:"No record found!"},emptyStateImage:{type:String,default:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"},actions:{type:Array,default:function(){return[]}},ids:{type:Array,default:function(){return[]}},searchPlaceholder:{type:String,default:null}},data:function(){return{topPadding:8}},computed:{hasOldRows:function(){return this.rows.length>0&&this.rows[0].constructor===Array},hasActions:function(){return this.actions&&this.actions.length>0},resource:function(){return null!=this.searchPlaceholder?{singular:this.searchPlaceholder,plural:this.searchPlaceholder}:this.$attrs.resourceName},totalsRowHeading:function(){var e=Object.keys(this.totalsName).length>0?this.totalsName:{singular:"Total",plural:"Totals"};return this.totals.length>0&&this.totals.filter((function(e){return""!==e||i("number"!==e)})).length>1?e.plural:e.singular}},methods:{onRemoveFilter:function(e){this.$emit("filter-removed",e)},onFilterInputChanged:function(e){this.$emit("input-filter-changed",e)},handleSortChange:function(e,t){this.$emit("sort-changed",e,t)},handleDeprecations:function(){null!=this.searchPlaceholder&&console.error("Deprecation Notice: `searchPlaceholder` will be removed in version 4.0.0, use `resourceName` instead. Please check resourceName syntax here: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-filter--filter"),this.actions.length>0&&console.error("Deprecation Notice: `actions` will be removed in version 4.0.0, use `headings` with extra object. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row"),this.ids.length>0&&console.error("Deprecation Notice: `ids` will be removed in version 4.0.0. Please check new example of DataTable: https://polaris-vue.hulkapps.com/?path=/docs/lists-tables-data-table-slot--customisable-row")}},mounted:function(){var e=0;if("undefined"!=typeof window&&this.$refs.hasOwnProperty("tbody")){var t=this.$refs.tbody.getBoundingClientRect(),n=Math.max(document.documentElement?document.documentElement.clientHeight:0,window.innerHeight||0),a=n-t.height,r=1===this.rows.length?28:45;e=a>0?(t.height-r)/2:(n-t.top-r)/2,e+=this.$refs.thead.getBoundingClientRect().height,this.topPadding=e>0?e:this.topPadding}this.handleDeprecations()}},"data-v-157a18b9",false,undefined,!1,Pc,void 0,void 0),Tp=zp,Ep=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.firstColumn?n("th",{class:e.className,attrs:{scope:"row"}},[e._t("default")],2):n("td",{class:e.className},[e._t("default")],2)},staticRenderFns:[]},(function(e){e&&e("data-v-7d902277_0",{source:"th[data-v-7d902277]:last-child{text-align:right}td[data-v-7d902277]:last-child{text-align:right}td:last-child>*[data-v-7d902277]{float:right}",map:void 0,media:void 0})}),{name:"PDataTableCol",props:{firstColumn:{type:Boolean,default:!1},truncate:{type:Boolean,default:!1},numeric:{type:Boolean,default:!1},verticalAlign:r({type:String,default:"top"},P("verticalAlign",["top","bottom","middle","baseline"]))},computed:{className:function(){return g("Polaris-DataTable__Cell",this.firstColumn&&"Polaris-DataTable__Cell--firstColumn",this.firstColumn&&this.truncate&&"Polaris-DataTable__Cell--truncated",this.numeric&&"Polaris-DataTable__Cell--numeric",this.verticalAlign&&"Polaris-DataTable__Cell--".concat(m("verticalAlign",this.verticalAlign)))}}},"data-v-7d902277",false,undefined,!1,Pc,void 0,void 0),jp=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("tr",{staticClass:"Polaris-DataTable__TableRow"},[e._t("default")],2)},staticRenderFns:[]},undefined,{name:"PDataTableRow"},"data-v-7a1bfd8a",false,undefined,!1,void 0,void 0,void 0),Op=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Polaris-SkeletonBodyText__SkeletonBodyTextContainer"},e._l(e.lines,(function(e,t){return n("div",{key:t,staticClass:"Polaris-SkeletonBodyText"})})),0)},staticRenderFns:[]},undefined,{name:"PSkeletonBodyText",props:{lines:{type:Number,default:3}}},undefined,false,undefined,!1,void 0,void 0,void 0),Lp=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.className})},staticRenderFns:[]},undefined,{name:"PSkeletonDisplayText",props:{size:r({type:String,default:"medium"},P("size",["small","medium","large","extraLarge"]))},computed:{className:function(){return g("Polaris-SkeletonDisplayText__DisplayText",this.size&&"Polaris-SkeletonDisplayText--".concat(m("size",this.size)))}}},undefined,false,undefined,!1,void 0,void 0,void 0),Bp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.className,attrs:{role:"status","aria-label":"Page loading"}},[n("div",{staticClass:"Polaris-SkeletonPage__Header"},[e.breadcrumbs?n("div",{staticClass:"Polaris-SkeletonPage__BreadcrumbAction",staticStyle:{width:"60px"}},[n("PSkeletonBodyText",{attrs:{lines:1}})],1):e._e(),e._v(" "),n("div",{staticClass:"Polaris-SkeletonPage__TitleAndPrimaryAction"},[n("div",{staticClass:"Polaris-SkeletonPage__TitleWrapper"},[null!==e.title?n("h1",{staticClass:"Polaris-SkeletonPage__Title"},[e._v("\n "+e._s(e.title)+"\n ")]):n("div",{staticClass:"Polaris-SkeletonPage__SkeletonTitle"})]),e._v(" "),e.primaryAction?n("div",{staticClass:"Polaris-SkeletonPage__PrimaryAction"},[n("PSkeletonDisplayText",{attrs:{size:"large"}})],1):e._e()]),e._v(" "),0!==e.secondaryActions?n("div",{staticClass:"Polaris-SkeletonPage__Actions"},e._l(e.renderSecondaryActions(e.secondaryActions),(function(e){return n("div",{key:e.key,staticClass:"Polaris-SkeletonPage__Action",style:e.width},[n("PSkeletonBodyText",{attrs:{lines:1}})],1)})),0):e._e()]),e._v(" "),n("div",{staticClass:"Polaris-SkeletonPage__Content"},[e._t("default")],2)])},staticRenderFns:[]},undefined,{name:"PSkeletonPage",components:{PSkeletonBodyText:Op,PSkeletonDisplayText:Lp},props:{title:{type:String,default:null},fullWidth:{type:Boolean,default:!1},narrowWidth:{type:Boolean,default:!1},primaryAction:{type:Boolean,default:!1},secondaryActions:{type:Number},breadcrumbs:{type:Boolean,default:!1}},computed:{className:function(){return g("Polaris-SkeletonPage__Page",this.fullWidth&&"Polaris-SkeletonPage--fullWidth",this.narrowWidth&&"Polaris-SkeletonPage--narrowWidth")}},methods:{renderSecondaryActions:function(e){if("number"==typeof e){for(var t=[],n=0;n<e;n++){var a=Math.round(40*Math.random()+60);t.push({width:{width:"".concat(a,"px")},key:n})}return t}}}},"data-v-538661fa",false,undefined,!1,void 0,void 0,void 0),Hp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"button",class:["button-"+e.variant,{disabled:e.disabled,"button-fullwidth":e.fullWidth,loading:e.loading}],attrs:{href:"#"},on:{click:e.handleClick}},[e.loading?n("div",{staticClass:"Polaris-Spinner Polaris-Spinner--sizeSmall"},[n("svg",{attrs:{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M7.229 1.173a9.25 9.25 0 1011.655 11.412 1.25 1.25 0 10-2.4-.698 6.75 6.75 0 11-8.506-8.329 1.25 1.25 0 10-.75-2.385z"}})])]):e._e(),e._v(" "),n("div",{class:{invisible:e.loading}},[e._t("default")],2),e._v(" "),e.additionalText?n("span",{class:["additional-info-"+e.variant,{invisible:e.loading}]},[e._v("\n "+e._s(e.translateMe(e.additionalText))+"\n ")]):e._e()])},staticRenderFns:[]},(function(e){e&&e("data-v-158d9240_0",{source:".button[data-v-158d9240]{display:flex;width:fit-content!important;justify-content:center;min-height:28px!important;align-items:center!important;gap:8px!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a;position:relative;text-align:center}.button[data-v-158d9240]:hover{background-color:#0000000d!important;border-radius:8px!important}.button-primary[data-v-158d9240]{padding:6px 12px;background-color:#303030;background-image:linear-gradient(#30303000 63.53%,#ffffff26);color:#fff;border-bottom-color:#fff;border-radius:8px;text-decoration:none;font-size:13px;font-weight:650;box-shadow:#000000cc 0 -1px 0 1px inset,#303030 0 0 0 1px inset,#ffffff40 0 .5px 0 1.5px inset}.button-primary[data-v-158d9240]:hover{background-color:#1a1a1a!important;color:#fff!important}.button-primary.disabled[data-v-158d9240],.button-primary[data-v-158d9240]:active,.button-secondary.disabled[data-v-158d9240],.button-secondary[data-v-158d9240]:active{background-color:#ccc!important;box-shadow:0 2px 1px 0 #1a1a1a33 inset}.button-secondary[data-v-158d9240]{background-color:#fff!important;color:#000!important;border-radius:8px!important;box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset}.button-secondary[data-v-158d9240]:hover{background-color:#fafafa!important}.button.button-fullwidth[data-v-158d9240]{width:100%!important}.additional-info-primary[data-v-158d9240]{background-color:rgba(0,0,0,.06)!important;color:#4a4a4a!important;padding:0 6px!important;border-radius:8px!important;font-size:13px!important;font-weight:550!important}.additional-info-secondary[data-v-158d9240]{background-color:rgba(0,0,0,.06)!important;color:#4a4a4a!important;padding:0 6px!important;border-radius:8px!important;font-weight:550!important}.disabled[data-v-158d9240]{background-color:rgba(0,0,0,.15)!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;cursor:not-allowed!important;pointer-events:none!important}.invisible[data-v-158d9240]{visibility:hidden}.loading[data-v-158d9240]{cursor:wait!important;position:relative}.Polaris-Spinner[data-v-158d9240]{animation:spin-data-v-158d9240 1s linear infinite;width:20px;height:20px;position:absolute}.Polaris-Spinner svg[data-v-158d9240]{fill:currentColor}.button-primary .Polaris-Spinner svg[data-v-158d9240]{fill:#fff}.button-secondary .Polaris-Spinner svg[data-v-158d9240]{fill:#000}@keyframes spin-data-v-158d9240{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.Polaris-Spinner[data-v-158d9240]{animation:spin-data-v-158d9240 .5s linear infinite,fade-data-v-158d9240 320ms ease-in}@keyframes fade-data-v-158d9240{from{opacity:0}to{opacity:1}}",map:void 0,media:void 0})}),{name:"VariantButton",props:{variant:{type:String,required:!0,default:function(){return"primary"}},additionalText:{type:String,required:!1},getPlanUrl:{type:Function,required:!1},plan:{type:Object,required:!1},disabled:{type:Boolean,required:!1,default:!1},fullWidth:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1}},methods:{handleClick:function(e){e.preventDefault(),this.$emit("click",e)},handlePlanClick:function(e){e.preventDefault(),this.$emit("plan-clicked",e)},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}}},"data-v-158d9240",false,undefined,!1,Pc,void 0,void 0),Np=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"app-card"},[n("div",{staticClass:"logo"},[n("img",{staticClass:"logo-image",attrs:{src:e.appData.app_logo_url,alt:"logo",width:"auto",height:"auto"}})]),e._v(" "),n("div",{staticClass:"details"},[n("div",{staticClass:"upper-details"},[n("h3",{staticClass:"app-name"},[e._v("\n "+e._s(e.translateMe(e.appData.app_name))+"\n ")]),e._v(" "),e.appData.app_bundle_details.built_for_shopify?n("div",{staticClass:"app-tags"},[n("span",{staticClass:"app-tag bfs-tag"},[n("svg",{attrs:{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_61_2350)"}},[n("path",{attrs:{d:"M13 0L12 5L8 14L16 4.5L13 0ZM3 0L4 5L8 14L0 4.5L3 0Z",fill:"#1495CC"}}),e._v(" "),n("path",{attrs:{d:"M3 0L4 5L8 14L12 5L13 0H3Z",fill:"#58B7DF"}}),e._v(" "),n("path",{attrs:{d:"M8 14L4 5L0 4.5L8 14ZM8 14L12 5L16 4.5L8 14Z",fill:"#035F86"}}),e._v(" "),n("path",{attrs:{d:"M8 5.5L4 5L8 14L12 5L8 5.5Z",fill:"#1495CC"}}),e._v(" "),n("path",{attrs:{d:"M4 5L8 0L12 5L7.999 5.5L4 5Z",fill:"#A9DEF4"}}),e._v(" "),n("path",{attrs:{d:"M4 5L3 0H8L4 5ZM12 5L13 0H8L12 5Z",fill:"#58B7DF"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_61_2350"}},[n("rect",{attrs:{width:"16",height:"14",fill:"white"}})])])]),e._v("\n "+e._s(e.translateMe("Built For Shopify"))+"\n ")])]):e._e(),e._v(" "),n("p",{staticClass:"app-reviews-count"},[e._v("\n "+e._s(e.appData.app_bundle_details.reviews)+"\n "+e._s(e.translateMe("Reviews"))+"\n ")]),e._v(" "),n("div",{staticClass:"app-tags"},e._l(e.appData.app_bundle_details.shopify_categories,(function(t){return n("span",{staticClass:"app-tag"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M9.99998 14C9.58577 14 9.24999 13.6642 9.25 13.25L9.25006 9.74999C9.25007 9.33577 9.58586 8.99999 10.0001 9C10.4143 9.00001 10.7501 9.3358 10.7501 9.75001L10.75 13.25C10.75 13.6642 10.4142 14 9.99998 14Z",fill:"#0094D5"}}),e._v(" "),n("path",{attrs:{d:"M9 7C9 6.44772 9.44772 6 10 6C10.5523 6 11 6.44772 11 7C11 7.55228 10.5523 8 10 8C9.44772 8 9 7.55228 9 7Z",fill:"#0094D5"}}),e._v(" "),n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10ZM15.5 10C15.5 13.0376 13.0376 15.5 10 15.5C6.96243 15.5 4.5 13.0376 4.5 10C4.5 6.96243 6.96243 4.5 10 4.5C13.0376 4.5 15.5 6.96243 15.5 10Z",fill:"#0094D5"}})]),e._v("\n "+e._s(e.translateMe(t))+"\n ")])})),0)]),e._v(" "),n("div",{staticClass:"lower-details"},e._l(e.appData.app_bundle_details.features,(function(t){return n("span",{staticClass:"featured-options"},[n("svg",{attrs:{width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("rect",{attrs:{width:"4",height:"4",rx:"2",fill:"#1A1A1A"}})]),e._v("\n "+e._s(e.translateMe(t)))])})),0)]),e._v(" "),n("div",{staticClass:"install-app-div"},[n("a",{staticClass:"button-link install-app-button",attrs:{href:e.appData.app_shopify_store_link,target:"_blank"}},[e._v("\n "+e._s(e.translateMe("Install"))+"\n ")])])]),e._v(" "),e._t("default")],2)},staticRenderFns:[]},(function(e){e&&e("data-v-58347901_0",{source:".app-card[data-v-58347901]{display:flex;padding:16px;background-color:#fff;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1);border-radius:12px;gap:16px;align-items:center}.logo[data-v-58347901],.logo-image[data-v-58347901]{width:40px;height:40px;border-radius:4px}.lower-details[data-v-58347901]{margin-top:8px}.lower-details[data-v-58347901],.upper-details[data-v-58347901]{display:flex;flex-wrap:wrap;row-gap:2px;column-gap:8px}.app-name[data-v-58347901]{font-size:14px;font-weight:650;line-height:20px}.app-reviews-count[data-v-58347901]{font-size:13px;font-weight:400;line-height:20px;color:#5c5c5c}.app-tag[data-v-58347901]{background-color:#e0f0ff;width:fit-content;margin-right:12px;padding:3px 6px 3px 3px;border-radius:8px;font-size:12px;color:#00527c;line-height:12px;font-weight:550;text-decoration:none;white-space:nowrap}.app-tag>svg[data-v-58347901]{margin-bottom:-5.5px}.bfs-tag[data-v-58347901]{margin-right:0;margin-bottom:0!important}.bfs-tag>svg[data-v-58347901]{margin-bottom:-3px}.app-option-type-count[data-v-58347901],.featured-options[data-v-58347901]{display:flex;gap:4px;align-items:center;font-size:13px;font-weight:450;line-height:20px;text-wrap:nowrap;color:#5c5c5c}.install-app-div[data-v-58347901]{margin-left:auto;display:flex;align-items:center;white-space:nowrap}.install-app-button[data-v-58347901]{display:flex;width:fit-content!important;height:28px!important;align-items:center!important;gap:8px!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;background-color:rgba(0,0,0,.08)!important;color:#1a1a1a!important;border-radius:8px!important;border:none;font-family:-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif}.install-app-button[data-v-58347901]:hover{background-color:rgba(0,0,0,.05)!important;border-radius:8px!important}.button-link[data-v-58347901]{text-decoration:none}@media (max-width:767px){.featured-options[data-v-58347901]{text-wrap:wrap}.details[data-v-58347901]{gap:8px;width:100%}.app-tags[data-v-58347901]{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.app-tag[data-v-58347901]{padding:1px 6px 5px 3px}.lower-details[data-v-58347901],.upper-details[data-v-58347901]{flex-direction:column;flex-wrap:wrap;row-gap:2px;column-gap:8px}.install-app-div[data-v-58347901]{justify-content:flex-start;width:100%;margin-top:12px}.install-app-button[data-v-58347901]{width:100%;justify-content:center}.app-card[data-v-58347901]{flex-direction:column;justify-content:center}.logo[data-v-58347901]{justify-content:flex-start;width:100%}}",map:void 0,media:void 0})}),{name:"AppCard",components:{VariantButton:Hp},props:{appData:{type:Object,required:!1,default:function(){return{app_name:"Releasit Form & Upsell",app_logo_url:"https://cdn.shopify.com/app-store/listing_images/59ff1b17b1415cf11af2ee0a00c68334/icon/CKKYs5695_ICEAE=.png",app_reviews_count:"3,881",app_tags:[{tag_name:"Cash/collect on delivery (COD)",tag_ext_url:"#"},{tag_name:"Upselling and cross-selling",tag_ext_url:"#"}],app_bfs:!1,app_option_types_count:"12",app_featured_option_types:["Dynamic Checkout Button","Color/Image Swatches","Color/Image Swatches"]}}}},methods:{translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}}},"data-v-58347901",false,undefined,!1,Pc,void 0,void 0),Rp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bundle-plan-showcase-banner banner-card"},[n("div",{class:["banner__inner","loose"===e.width?"loose-width":"","tight"===e.width?"tight-width":"","base"===e.width?"base-width":""]},[e.showDescription?n("div",{staticClass:"plan-left"},[n("p",{staticClass:"bundle-offer-label"},[e._v("\n "+e._s(e.translateMe("Bundle offer"))+"\n ")]),e._v(" "),n("p",{staticClass:"bundle-desc-label"},[e._v("\n "+e._s(e.translateMe("Get"))+"\n "+e._s(e.bundleApps)+"\n "+e._s(e.translateMe("Shopify apps and save more than"))+"\n "),n("strong",[e._v(e._s(e.translateMe("$800")))]),e._v("\n "+e._s(e.translateMe("per month!"))+"\n ")])]):e._e(),e._v(" "),n("div",{staticClass:"plan-right"},[n("div",{staticClass:"plan-content"},[n("h3",{staticClass:"plan-name"},[e._v(e._s(e.translateMe("Monthly bundle"))+":")]),e._v(" "),n("div",{staticClass:"prices"},[n("span",{staticClass:"discounted-amount"},[e._v("$"+e._s(e.translateMe(Number(e.realPrice).toFixed(2))))]),e._v(" "),e.realPrice<e.oldPrice?n("span",{staticClass:"original-amount"},[e._v("\n $"+e._s(e.translateMe(Number(e.oldPrice).toFixed(2)))+"\n ")]):e._e()])]),e._v(" "),e.isCurrentPlan?e._e():n("VariantButton",{attrs:{id:"choose-bundle",buttonData:{button_url:e.showcaseData.button_url},variant:"primary"},on:{click:e.handlePlanClick}},[e._v("\n "+e._s(e.translateMe("Choose this plan"))+"\n ")]),e._v(" "),e.isCurrentPlan?n("VariantButton",{attrs:{buttonData:{button_url:e.showcaseData.button_url},disabled:!0,variant:"primary"},on:{click:e.handlePlanClick}},[e._v("\n "+e._s(e.translateMe("Current plan"))+"\n ")]):e._e()],1)])])},staticRenderFns:[]},(function(e){e&&e("data-v-66eee883_0",{source:".banner-card[data-v-66eee883]{display:flex;padding:16px 0;background-color:#fff;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1);gap:16px}.bundle-plan-showcase-banner[data-v-66eee883]{display:none;justify-content:space-between;align-items:center;width:100%;margin-top:32px;position:sticky;top:0}.banner__inner[data-v-66eee883]{display:flex;justify-content:space-between;align-items:center;max-width:1190px!important;width:100%;margin-left:auto;margin-right:auto;padding:0 96px}.banner__inner.loose-width[data-v-66eee883]{max-width:1600px!important}.banner__inner.tight-width[data-v-66eee883]{max-width:840px!important}.plan-name[data-v-66eee883]{font-size:14px;font-weight:450;color:#1a1a1a}.plan-left[data-v-66eee883]{flex:1}.plan-right[data-v-66eee883]{display:flex;align-items:center;gap:16px}.prices[data-v-66eee883]{display:flex;gap:8px;align-items:center}.bundle-offer-label[data-v-66eee883]{font-size:20px;font-weight:600;color:#202223;margin-bottom:4px}.bundle-desc-label[data-v-66eee883]{font-size:14px;font-weight:450;color:#1a1a1a}.discounted-amount[data-v-66eee883]{font-size:30px;font-weight:700;color:#1a1a1a}.original-amount[data-v-66eee883]{text-decoration:line-through;color:#4a4a4a;font-size:14px;font-weight:650}.plan-content[data-v-66eee883]{display:flex;justify-content:center;align-items:center;gap:12px}.choose-button[data-v-66eee883]{padding:6px 12px;background-color:#303030;background-image:linear-gradient(rgba(48,48,48,0) 63.53%,rgba(255,255,255,.15)),none;color:#fff;border-bottom-color:#fff;box-shadow:rgba(0,0,0,.8) 0 -1px 0 1px inset,#303030 0 0 0 1px inset,rgba(255,255,255,.25) 0 .5px 0 1.5px inset;border-radius:8px;text-decoration:none;font-size:13px;font-weight:650}@media (max-width:992px){.banner__inner.loose-width[data-v-66eee883]{max-width:none!important}.banner__inner[data-v-66eee883]{flex-direction:column;gap:32px;align-items:flex-start}.plan-right[data-v-66eee883]{justify-content:space-between;width:100%}}@media (max-width:767px){.banner__inner[data-v-66eee883]{padding:16px}.banner__inner.loose-width[data-v-66eee883]{max-width:100%}.bundle-plan-showcase-banner[data-v-66eee883]{flex-direction:column;gap:12px}.bundle-plan-showcase-banner[data-v-66eee883]{align-items:unset}.choose-button[data-v-66eee883]{margin-right:0;margin-left:auto}}@media (max-width:480px){.plan-content[data-v-66eee883]{flex-direction:column;align-items:flex-start}.plan-right[data-v-66eee883]{flex-direction:column;gap:16px;align-items:flex-start}.bundle-plan-showcase-banner[data-v-66eee883]{flex-direction:column;gap:12px}.bundle-plan-showcase-banner[data-v-66eee883]{align-items:unset}.choose-button[data-v-66eee883]{margin-right:auto;margin-left:0}}",map:void 0,media:void 0})}),{name:"PlanShowcaseBanner",components:{VariantButton:Hp},props:{showcaseData:{type:Object,required:!1},realPrice:{type:String,required:!1},oldPrice:{type:Number,required:!1},showDescription:{type:Boolean,required:!1,default:!0},getPlanUrl:{type:Function,required:!1},plan:{type:Object,required:!1},isCurrentPlan:{type:Boolean,required:!1,default:!1},useCardStyle:{type:Boolean,required:!1,default:!1},width:{type:String,required:!1,default:"base",validator:function(e){return["tight","base","loose"].includes(e)}},bundleApps:{type:Number,required:!1,default:18}},methods:{handlePlanClick:function(){this.$emit("plan-clicked")},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}}},"data-v-66eee883",false,undefined,!1,Pc,void 0,void 0),Vp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"category-heading"},[n("h4",{staticClass:"category-name"},[e._v("\n "+e._s(e.translateMe(e.headingData.category_name))+"\n "),null!=e.headingData.apps_relation?n("span",[e._v("\n ("+e._s(e.translateMe(e.headingData.apps_relation.length))+")\n ")]):e._e()]),e._v(" "),n("p",{staticClass:"category-description"},[e._v("\n "+e._s(e.translateMe(e.headingData.category_description))+"\n ")])])])},staticRenderFns:[]},(function(e){e&&e("data-v-32892ca4_0",{source:'.category-heading[data-v-32892ca4]{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.category-name[data-v-32892ca4]{font-size:13px;font-weight:750;line-height:20px;color:#1a1a1a}.category-description[data-v-32892ca4]{font-size:12px;font-weight:450;font-variation-settings:"slnt" 0;color:#1a1a1a}@media (max-width:640px){.category-heading[data-v-32892ca4]{padding-left:16px}}',map:void 0,media:void 0})}),{name:"CategoryHeading",props:{headingData:{type:Object,required:!1,default:function(){return{category_name:"Bestsellers",category_description:"Make a big impact with our top-selling apps."}}}},methods:{translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}}},"data-v-32892ca4",false,undefined,!1,Pc,void 0,void 0),Ip=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"benefits-banner"},[n("div",{staticClass:"benefits"},[n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M36.9252 7.89245C31.5107 7.03095 26.2752 5.28311 21.429 2.71936C21.2959 2.66188 21.1517 2.63437 21.0068 2.63861C20.862 2.64284 20.7201 2.67899 20.5907 2.74414C15.73 5.27913 10.4938 7.01723 5.08209 7.89245C4.88445 7.9328 4.70678 8.03996 4.57922 8.19622C4.45166 8.35248 4.38179 8.54822 4.38184 8.74994V19.0555C4.38184 33.164 18.0004 38.4196 20.7304 39.3296C20.9099 39.3894 21.1042 39.3894 21.2837 39.3296C24.0137 38.4196 37.6318 33.164 37.6318 19.0555V8.74994C37.6316 8.54724 37.5613 8.35091 37.4323 8.19452C37.3034 8.03812 37.1241 7.93137 36.9252 7.89245ZM35.875 19.0555C35.875 31.5453 24.0572 36.5031 21 37.5758C17.9427 36.5031 6.125 31.5453 6.125 19.0555V9.46557C11.3183 8.57406 16.3444 6.8923 21.0282 4.47833C25.6889 6.89995 30.6975 8.58227 35.875 9.46557V19.0555ZM19.4252 13.2458L17.8499 16.4446L14.1453 16.98C13.8312 17.025 13.5361 17.1576 13.2933 17.3619C13.0506 17.5662 12.8701 17.8344 12.7721 18.1361C12.6741 18.4378 12.6625 18.7608 12.7388 19.0688C12.8151 19.3767 12.976 19.657 13.2036 19.878L15.8654 22.421L15.2565 25.9611C15.2007 26.2841 15.2366 26.6163 15.3604 26.9199C15.4841 27.2234 15.6906 27.4859 15.9564 27.6778C16.2215 27.8739 16.5367 27.991 16.8655 28.0157C17.1944 28.0405 17.5234 27.9721 17.8149 27.8179L20.9842 26.1414L24.1971 27.8179C24.4501 27.9495 24.7309 28.0185 25.0161 28.0192C25.3894 28.0196 25.753 27.9004 26.0539 27.6795C26.3203 27.4886 26.5273 27.2267 26.6512 26.9233C26.775 26.6199 26.8109 26.2873 26.7542 25.9645L26.1274 22.4645L28.8049 19.8746C29.0325 19.6535 29.1939 19.3733 29.2702 19.0654C29.3465 18.7574 29.3349 18.434 29.2369 18.1323C29.1388 17.8305 28.9579 17.5624 28.7152 17.3581C28.4725 17.1538 28.1777 17.0216 27.8637 16.9766L24.1885 16.469L22.5855 13.2441C22.4244 12.9679 22.1938 12.7386 21.9164 12.5793C21.6391 12.4201 21.3245 12.3365 21.0047 12.3367C20.6849 12.3368 20.3706 12.4207 20.0934 12.5802C19.8162 12.7397 19.586 12.9694 19.4252 13.2458ZM21.0124 14.0243L22.6171 17.2513C22.7404 17.4973 22.9209 17.71 23.1439 17.8712C23.3669 18.0324 23.6258 18.1373 23.898 18.1771L27.5732 18.6197L24.8956 21.208C24.6962 21.3998 24.5467 21.638 24.4607 21.901C24.3746 22.164 24.3547 22.444 24.4022 22.7166L24.9969 26.264L21.784 24.5892C21.541 24.4621 21.2709 24.3957 20.9966 24.3957C20.7223 24.3957 20.4522 24.4621 20.2092 24.5892L16.98 26.2568L17.5927 22.7166C17.6395 22.4441 17.6188 22.1645 17.5325 21.9019C17.4461 21.6392 17.2969 21.4017 17.0975 21.2101L14.3956 18.7108L18.102 18.1754C18.3742 18.136 18.6329 18.0312 18.8557 17.8699C19.0785 17.7087 19.2587 17.4958 19.3812 17.2496L21.0051 14.0175L21.0124 14.0243Z",fill:"#1A1A1A"}})]),e._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[e._v("\n "+e._s(e.translateMe("Unlimited"))+"\n ")]),e._v("\n "+e._s(e.translateMe("Access to enterprise features"))+"\n ")])]),e._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_96_352)"}},[n("path",{attrs:{d:"M35.9957 27.5818C35.5024 27.2981 34.942 27.1525 34.373 27.1599C33.804 27.1672 33.2474 27.3275 32.7617 27.6238L28.8173 29.9897C28.6688 29.1852 28.243 28.4582 27.6142 27.9349C26.9854 27.4115 26.1931 27.1249 25.375 27.125H15.75C14.6184 27.1241 13.5307 27.5633 12.7172 28.3499C12.481 27.9753 12.1538 27.6665 11.7661 27.4523C11.3785 27.2381 10.9429 27.1256 10.5 27.125H7C6.30381 27.125 5.63611 27.4016 5.14383 27.8939C4.65155 28.3861 4.375 29.0538 4.375 29.75V36.75C4.375 37.4462 4.65155 38.1139 5.14383 38.6062C5.63611 39.0985 6.30381 39.375 7 39.375H10.5C10.9429 39.3745 11.3785 39.2619 11.7661 39.0478C12.1538 38.8336 12.481 38.5248 12.7172 38.1501C13.5307 38.9368 14.6184 39.376 15.75 39.375H25.55C27.3377 39.3729 29.0719 38.7647 30.4693 37.6496L36.4193 32.8843C36.8288 32.5561 37.1516 32.1325 37.3597 31.6506C37.5677 31.1688 37.6546 30.6434 37.6126 30.1202C37.5707 29.5971 37.4011 29.0922 37.1189 28.6497C36.8368 28.2071 36.4523 27.8405 35.9957 27.5818ZM11.375 31.5V36.75C11.375 36.9821 11.2827 37.2046 11.1187 37.3687C10.9546 37.5328 10.7321 37.625 10.5 37.625H7C6.76794 37.625 6.54544 37.5328 6.38135 37.3687C6.21725 37.2046 6.125 36.9821 6.125 36.75V29.75C6.125 29.518 6.21725 29.2955 6.38135 29.1314C6.54544 28.9673 6.76794 28.875 7 28.875H10.5C10.7321 28.875 10.9546 28.9673 11.1187 29.1314C11.2827 29.2955 11.375 29.518 11.375 29.75V31.5ZM35.3273 31.5175L29.3772 36.2828C28.2909 37.1505 26.942 37.6237 25.5517 37.625H15.75C15.0538 37.625 14.3861 37.3485 13.8938 36.8562C13.4015 36.3639 13.125 35.6962 13.125 35V31.5C13.125 30.8038 13.4015 30.1361 13.8938 29.6439C14.3861 29.1516 15.0538 28.875 15.75 28.875H25.375C25.8391 28.875 26.2843 29.0593 26.6125 29.3875C26.9407 29.7157 27.125 30.1609 27.125 30.625C27.125 31.0892 26.9407 31.5344 26.6125 31.8625C26.2843 32.1907 25.8391 32.375 25.375 32.375H19.25C19.0179 32.375 18.7954 32.4673 18.6313 32.6314C18.4673 32.7955 18.375 33.018 18.375 33.25C18.375 33.4821 18.4673 33.7046 18.6313 33.8687C18.7954 34.0328 19.0179 34.125 19.25 34.125H25.375C26.0174 34.1249 26.6472 33.9479 27.1957 33.6136C27.7442 33.2793 28.1902 32.8006 28.4847 32.2298L33.6595 29.1235C33.9773 28.9361 34.354 28.8757 34.7144 28.9543C35.0748 29.0329 35.3922 29.2448 35.6031 29.5475C35.8139 29.8502 35.9027 30.2213 35.8515 30.5866C35.8003 30.9519 35.6132 31.2844 35.3273 31.5175ZM21.0088 10.5C21.7875 10.5 22.5487 10.2692 23.1963 9.83652C23.8438 9.40386 24.3485 8.78891 24.6465 8.06943C24.9446 7.34994 25.0226 6.55814 24.8706 5.79434C24.7187 5.03054 24.3436 4.32905 23.7929 3.77838C23.2422 3.22771 22.5407 2.85258 21.7769 2.70065C21.0131 2.54872 20.2213 2.62672 19.5019 2.92474C18.7824 3.22276 18.1674 3.72751 17.7348 4.37503C17.3021 5.02255 17.0713 5.78377 17.0713 6.56253C17.0726 7.60639 17.488 8.60706 18.2261 9.34518C18.9642 10.0833 19.9649 10.4986 21.0088 10.5ZM21.0088 4.37503C21.4414 4.37503 21.8643 4.50338 22.2241 4.74374C22.5838 4.98411 22.8641 5.32563 23.0296 5.72534C23.1952 6.12506 23.2386 6.56502 23.1542 6.98935C23.0698 7.41368 22.8615 7.80345 22.5556 8.10938C22.2497 8.4153 21.8599 8.62354 21.4356 8.70795C21.0112 8.79235 20.5713 8.74919 20.1716 8.58362C19.7719 8.41805 19.4303 8.13757 19.19 7.77783C18.9496 7.4181 18.8213 6.99518 18.8213 6.56253C18.8222 5.98265 19.0529 5.42679 19.463 5.01675C19.873 4.60672 20.4289 4.37596 21.0088 4.37503ZM17.5088 21.875H24.5088C24.9793 21.9251 25.455 21.8696 25.9014 21.7125C26.3477 21.5553 26.7533 21.3006 27.0887 20.9667C27.424 20.6329 27.6806 20.2282 27.8398 19.7826C27.9989 19.337 28.0567 18.8616 28.0088 18.3908C28.0566 17.6883 27.9538 16.9836 27.7071 16.324C27.4604 15.6645 27.0757 15.0654 26.5786 14.5668C26.0814 14.0681 25.4833 13.6815 24.8245 13.4329C24.1657 13.1842 23.4614 13.0793 22.7588 13.125H19.2588C18.5561 13.0793 17.8518 13.1842 17.193 13.4329C16.5342 13.6815 15.9361 14.0681 15.439 14.5668C14.9418 15.0654 14.5571 15.6645 14.3104 16.324C14.0637 16.9836 13.9609 17.6883 14.0088 18.3908C13.961 18.8608 14.0186 19.3353 14.1773 19.7802C14.336 20.2252 14.5917 20.6292 14.9261 20.9629C15.2604 21.2965 15.6649 21.5515 16.1102 21.7093C16.5554 21.867 17.0302 21.9237 17.5 21.875H17.5088ZM19.2588 14.875H22.7588C23.229 14.8388 23.7015 14.9049 24.1437 15.069C24.5858 15.2331 24.9871 15.4912 25.3199 15.8254C25.6526 16.1597 25.9089 16.5622 26.071 17.0051C26.2331 17.448 26.2971 17.9208 26.2588 18.3908C26.2588 19.6386 25.7688 20.125 24.5088 20.125H17.5088C16.247 20.125 15.7588 19.6386 15.7588 18.3908C15.7131 17.9199 15.7718 17.4447 15.9307 16.9991C16.0897 16.5535 16.345 16.1483 16.6784 15.8126C17.0118 15.4769 17.415 15.2189 17.8595 15.0568C18.304 14.8948 18.7788 14.8327 19.25 14.875H19.2588Z",fill:"#1A1A1A"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_96_352"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),e._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[e._v(e._s(e.translateMe("24/7")))]),e._v(e._s(e.translateMe("Live chat and email support"))+"\n "),n("strong",[e._v("+ "+e._s(e.translateMe("Priority status")))])])]),e._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_70_2551)"}},[n("path",{attrs:{d:"M39.9 14.0001H33.6V2.10027C33.6 0.940631 32.6598 0.000488281 31.5002 0.000488281H2.10039C0.940753 0.000488281 0.000610352 0.940631 0.000610352 2.10027V28.7002C0.000610352 29.8598 0.940753 30.7999 2.10039 30.7999H7.00041V39.8998C7.00041 41.0598 7.94055 41.9999 9.10051 41.9999H39.9C41.0599 41.9999 42.0001 41.0598 42.0001 39.8998V16.1002C42.0001 14.9406 41.0599 14.0001 39.9 14.0001ZM27.3003 14.0001C26.9136 14.0001 26.6002 14.3135 26.6002 14.7002C26.6002 15.0867 26.9136 15.4001 27.3003 15.4001H39.9C40.2867 15.4001 40.6001 15.7138 40.6001 16.1002V19.6003H27.3003C26.9136 19.6003 26.6002 19.9136 26.6002 20.3001C26.6002 20.6868 26.9136 21.0002 27.3003 21.0002H40.6001V34.9998H8.40037V21.0002H21.7002C22.0869 21.0002 22.4003 20.6868 22.4003 20.3001C22.4003 19.9136 22.0869 19.6003 21.7002 19.6003H8.40037V16.1002C8.40037 15.7138 8.71375 15.4001 9.10051 15.4001H21.7002C22.0869 15.4001 22.4003 15.0867 22.4003 14.7002C22.4003 14.3135 22.0869 14.0001 21.7002 14.0001H9.10051C7.94055 14.0001 7.00041 14.9406 7.00041 16.1002V23.8001H1.40057V7.00029H32.2V14.0001H27.3003ZM2.10039 1.40045H31.5002C31.8866 1.40045 32.2 1.71383 32.2 2.10027V5.60033H1.40057V2.10027C1.40057 1.71383 1.71395 1.40045 2.10039 1.40045ZM2.10039 29.4C1.71395 29.4 1.40057 29.0866 1.40057 28.7002V25.2001H7.00041V29.4H2.10039ZM39.9 40.6H9.10051C8.71375 40.6 8.40037 40.2866 8.40037 39.8998V36.3998H40.6001V39.8998C40.6001 40.2866 40.2867 40.6 39.9 40.6Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M11.2003 17.5001C11.2003 17.8869 10.8869 18.2003 10.5004 18.2003C10.1137 18.2003 9.80029 17.8869 9.80029 17.5001C9.80029 17.1137 10.1137 16.8003 10.5004 16.8003C10.8869 16.8003 11.2003 17.1137 11.2003 17.5001Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M14.0005 17.5001C14.0005 17.8869 13.6868 18.2003 13.3004 18.2003C12.9139 18.2003 12.6002 17.8869 12.6002 17.5001C12.6002 17.1137 12.9139 16.8003 13.3004 16.8003C13.6868 16.8003 14.0005 17.1137 14.0005 17.5001Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M16.8005 17.5001C16.8005 17.8869 16.4871 18.2003 16.1003 18.2003C15.7139 18.2003 15.4005 17.8869 15.4005 17.5001C15.4005 17.1137 15.7139 16.8003 16.1003 16.8003C16.4871 16.8003 16.8005 17.1137 16.8005 17.5001Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M4.2005 3.5006C4.2005 3.88736 3.88712 4.20074 3.50068 4.20074C3.11392 4.20074 2.80054 3.88736 2.80054 3.5006C2.80054 3.11416 3.11392 2.80078 3.50068 2.80078C3.88712 2.80078 4.2005 3.11416 4.2005 3.5006Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M7.00042 3.5006C7.00042 3.88736 6.68704 4.20074 6.3006 4.20074C5.91384 4.20074 5.60046 3.88736 5.60046 3.5006C5.60046 3.11416 5.91384 2.80078 6.3006 2.80078C6.68704 2.80078 7.00042 3.11416 7.00042 3.5006Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M9.80035 3.5006C9.80035 3.88736 9.48697 4.20074 9.10053 4.20074C8.71377 4.20074 8.40039 3.88736 8.40039 3.5006C8.40039 3.11416 8.71377 2.80078 9.10053 2.80078C9.48697 2.80078 9.80035 3.11416 9.80035 3.5006Z",fill:"#1A1A1A"}}),e._v(" "),n("path",{attrs:{d:"M25.2001 22.4005V11.9007C25.2001 10.7407 24.26 9.80056 23.1 9.80056H15.6901L15.8952 9.59548C16.1605 9.32087 16.1566 8.88412 15.8865 8.61432C15.6167 8.3442 15.18 8.34035 14.9054 8.60567L13.5054 10.0056C13.3737 10.137 13.2997 10.3155 13.2997 10.5013C13.2997 10.6872 13.3737 10.8657 13.5054 10.997L14.9054 12.397C15.18 12.662 15.6167 12.6585 15.8865 12.3884C16.1566 12.1182 16.1605 11.6818 15.8952 11.4072L15.6901 11.2005H23.1C23.4868 11.2005 23.8002 11.5139 23.8002 11.9007V22.4005H22.4002C21.627 22.4005 21.0003 23.0273 21.0003 23.8005V25.2004C21.0003 25.352 21.0493 25.4994 21.1403 25.6205L21.9801 26.7404C22.5364 27.4883 22.5364 28.5124 21.9801 29.2603L21.1403 30.3802C21.0493 30.5016 21.0003 30.649 21.0003 30.8003V32.2002C21.0003 32.9734 21.627 33.6002 22.4002 33.6002H26.6001C27.3733 33.6002 28.0001 32.9734 28.0001 32.2002V30.8003C28.0001 30.649 27.951 30.5016 27.86 30.3802L27.0202 29.2603C26.4636 28.5124 26.4636 27.4883 27.0202 26.7404L27.86 25.6205C27.951 25.4994 28.0001 25.352 28.0001 25.2004V23.8005C28.0001 23.0273 27.3733 22.4005 26.6001 22.4005H25.2001ZM26.6001 24.9672L25.9003 25.9003C24.9726 27.1467 24.9726 28.854 25.9003 30.1005L26.6001 31.0342V32.2002H22.4002V31.0336L23.1 30.1005C24.0274 28.854 24.0274 27.1471 23.1 25.9003L22.4002 24.9681V23.8005H26.6001V24.9672Z",fill:"#1A1A1A"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_70_2551"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),e._v(" "),n("p",{staticClass:"benefit-description"},[e._v("\n "+e._s(e.translateMe("Full"))+"\n "),n("strong",[e._v(e._s(e.translateMe("Onboarding")))]),e._v(","+e._s(e.translateMe("Setup and migration assistance"))+"\n ")])]),e._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"44",height:"43",viewBox:"0 0 44 43",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M25.1837 23.9888H18.8162C17.6301 23.9115 16.4411 24.0885 15.3291 24.5082C14.217 24.928 13.2078 25.5804 12.3686 26.4222C11.5294 27.2639 10.8798 28.2755 10.4634 29.3887C10.0471 30.502 9.87357 31.6913 9.95449 32.8772C9.86833 33.6424 9.9564 34.4172 10.2119 35.1436C10.4674 35.8701 10.8839 36.5292 11.4301 37.072C11.9763 37.6148 12.6381 38.0271 13.3661 38.278C14.0942 38.5289 14.8695 38.6119 15.6341 38.521H28.3657C29.1303 38.6119 29.9057 38.5289 30.6337 38.278C31.3617 38.0271 32.0235 37.6148 32.5697 37.072C33.1159 36.5292 33.5324 35.8701 33.7879 35.1436C34.0434 34.4172 34.1315 33.6424 34.0453 32.8772C34.1262 31.6913 33.9527 30.502 33.5364 29.3887C33.12 28.2755 32.4704 27.2639 31.6312 26.4222C30.792 25.5804 29.7828 24.928 28.6708 24.5082C27.5587 24.0885 26.3697 23.9115 25.1837 23.9888ZM28.3657 36.7293H15.6341C12.9467 36.7293 11.7462 35.5414 11.7462 32.8772C11.6686 31.9279 11.7981 30.9732 12.1256 30.0788C12.4531 29.1844 12.9708 28.3716 13.643 27.6968C14.3152 27.022 15.1259 26.5013 16.0191 26.1704C16.9122 25.8396 17.8666 25.7065 18.8162 25.7805H25.1837C26.1332 25.7065 27.0876 25.8396 27.9807 26.1704C28.8739 26.5013 29.6846 27.022 30.3568 27.6968C31.029 28.3716 31.5467 29.1844 31.8742 30.0788C32.2017 30.9732 32.3312 31.9279 32.2537 32.8772C32.2537 35.5414 31.0549 36.7293 28.3657 36.7293ZM22.0143 20.6257C23.2567 20.6257 24.4711 20.2574 25.5041 19.5672C26.5371 18.8769 27.3421 17.8958 27.8176 16.748C28.293 15.6002 28.4175 14.3372 28.1752 13.1187C27.9328 11.9002 27.3344 10.7809 26.4559 9.9024C25.5774 9.0239 24.4583 8.42572 23.2398 8.18334C22.0213 7.94097 20.7581 8.06528 19.6103 8.54072C18.4625 9.01615 17.4816 9.82144 16.7913 10.8544C16.1011 11.8874 15.7326 13.1018 15.7326 14.3442C15.7349 16.0094 16.3977 17.6058 17.5752 18.7833C18.7527 19.9608 20.3491 20.6233 22.0143 20.6257ZM22.0143 9.85428C22.9024 9.85428 23.7704 10.1177 24.5087 10.611C25.2471 11.1044 25.8225 11.8056 26.1624 12.626C26.5022 13.4464 26.5911 14.3491 26.4178 15.2201C26.2446 16.0911 25.817 16.891 25.1891 17.519C24.5612 18.1469 23.7612 18.5746 22.8903 18.7479C22.0193 18.9211 21.1164 18.8323 20.2959 18.4924C19.4755 18.1526 18.7743 17.5771 18.281 16.8388C17.7876 16.1004 17.5242 15.2322 17.5242 14.3442C17.5261 13.1539 17.9999 12.013 18.8415 11.1714C19.6831 10.3297 20.8241 9.85618 22.0143 9.85428ZM40.8124 22.6647C40.8791 23.2519 40.8121 23.8465 40.6167 24.4041C40.4212 24.9618 40.1023 25.468 39.6836 25.885C39.2649 26.302 38.7573 26.6189 38.1988 26.8121C37.6404 27.0053 37.0454 27.0696 36.4586 27.0004H35.8136C35.576 27.0004 35.3482 26.9062 35.1802 26.7382C35.0122 26.5702 34.9177 26.3422 34.9177 26.1046C34.9177 25.867 35.0122 25.6392 35.1802 25.4712C35.3482 25.3032 35.576 25.2088 35.8136 25.2088H36.4586C38.2789 25.2088 39.0207 24.4707 39.0207 22.6647C39.0741 22.0128 38.9851 21.357 38.7603 20.7427C38.5354 20.1285 38.1798 19.5704 37.7181 19.107C37.2564 18.6436 36.6997 18.2859 36.0863 18.0587C35.4729 17.8316 34.8175 17.7405 34.1654 17.7915H32.4273C32.1897 17.7915 31.9619 17.697 31.7939 17.529C31.6259 17.361 31.5315 17.1332 31.5315 16.8956C31.5315 16.658 31.6259 16.43 31.7939 16.262C31.9619 16.094 32.1897 15.9998 32.4273 15.9998H34.1654C35.0549 15.9418 35.9463 16.0746 36.7803 16.3893C37.6142 16.704 38.3714 17.1934 39.0008 17.8245C39.6303 18.4556 40.1174 19.214 40.4299 20.0488C40.7423 20.8836 40.8728 21.7754 40.8124 22.6647ZM28.5968 7.0395C28.431 6.86937 28.3394 6.64038 28.3425 6.40283C28.3455 6.16528 28.4429 5.9388 28.613 5.77295C29.4874 4.93064 30.658 4.46593 31.872 4.47928C33.0565 4.48161 34.1981 4.92278 35.0763 5.71762C35.9545 6.51245 36.5069 7.60466 36.627 8.78305C36.747 9.96143 36.4262 11.1424 35.7263 12.098C35.0265 13.0536 33.9973 13.7161 32.8376 13.9573C32.7787 13.9694 32.7187 13.9754 32.6585 13.9752C32.4363 13.9754 32.2221 13.8929 32.0572 13.744C31.8924 13.5951 31.7887 13.3903 31.7664 13.1693C31.744 12.9482 31.8045 12.7268 31.9363 12.5479C32.0681 12.369 32.2616 12.2457 32.4794 12.2015C33.2041 12.0487 33.8465 11.6329 34.2828 11.0344C34.7192 10.436 34.9186 9.69715 34.8425 8.96042C34.7664 8.22369 34.4203 7.54113 33.8708 7.04453C33.3213 6.54792 32.6072 6.27236 31.8665 6.27095C31.1202 6.25984 30.3992 6.54153 29.8581 7.05568C29.6882 7.21986 29.4603 7.31022 29.2241 7.3072C28.9879 7.30418 28.7625 7.20796 28.5968 7.0395ZM4.97907 22.6647C4.97907 24.4707 5.72092 25.2088 7.54125 25.2088H8.16829C8.40588 25.2088 8.63367 25.3032 8.80167 25.4712C8.96967 25.6392 9.06412 25.867 9.06412 26.1046C9.06412 26.3422 8.96967 26.5702 8.80167 26.7382C8.63367 26.9062 8.40588 27.0004 8.16829 27.0004H7.54125C6.95439 27.0696 6.35943 27.0053 5.80098 26.8121C5.24253 26.6189 4.73486 26.302 4.31616 25.885C3.89746 25.468 3.57863 24.9618 3.38315 24.4041C3.18767 23.8465 3.12069 23.2519 3.1874 22.6647C3.12705 21.7754 3.25748 20.8836 3.56993 20.0488C3.88238 19.214 4.36954 18.4556 4.99897 17.8245C5.6284 17.1934 6.38558 16.704 7.21953 16.3893C8.05348 16.0746 8.94495 15.9418 9.83442 15.9998H11.6081C11.8457 15.9998 12.0737 16.094 12.2417 16.262C12.4098 16.43 12.504 16.658 12.504 16.8956C12.504 17.1332 12.4098 17.361 12.2417 17.529C12.0737 17.697 11.8457 17.7915 11.6081 17.7915H9.83442C9.18228 17.7405 8.52691 17.8316 7.91349 18.0587C7.30007 18.2859 6.74339 18.6436 6.2817 19.107C5.82002 19.5704 5.46444 20.1285 5.23955 20.7427C5.01466 21.357 4.92573 22.0128 4.97907 22.6647ZM7.36191 9.26311C7.3657 7.99245 7.8735 6.77519 8.77368 5.87837C9.67386 4.98155 10.893 4.47833 12.1637 4.47928C13.3718 4.47433 14.5354 4.93438 15.4137 5.76398C15.5033 5.84371 15.5761 5.94059 15.6276 6.04896C15.6791 6.15733 15.7082 6.27488 15.7133 6.39474C15.7185 6.5146 15.6995 6.63425 15.6576 6.74664C15.6156 6.85904 15.5515 6.96198 15.469 7.04912C15.3866 7.13626 15.2876 7.20594 15.1777 7.25405C15.0678 7.30215 14.9493 7.32761 14.8293 7.32907C14.7093 7.33052 14.5902 7.30778 14.4791 7.26236C14.3681 7.21694 14.2673 7.14976 14.1828 7.06465C13.6359 6.55171 12.9135 6.2677 12.1637 6.27095C11.4206 6.26847 10.7032 6.5422 10.1507 7.03906C9.59814 7.53592 9.24985 8.22038 9.1737 8.95954C9.09755 9.6987 9.299 10.4397 9.73862 11.0388C10.1782 11.6379 10.8246 12.0524 11.5526 12.2015C11.7703 12.2457 11.9639 12.369 12.0957 12.5479C12.2274 12.7268 12.2881 12.9482 12.2658 13.1693C12.2435 13.3903 12.1398 13.5951 11.9749 13.744C11.8101 13.8929 11.5956 13.9754 11.3735 13.9752C11.3133 13.9756 11.2533 13.9695 11.1944 13.9573C10.1131 13.7351 9.14154 13.1469 8.44343 12.2918C7.74531 11.4367 7.36323 10.367 7.36191 9.26311Z",fill:"#1A1A1A"}})]),e._v(" "),n("p",{staticClass:"benefit-description"},[e._v("\n "+e._s(e.translateMe("Access to"))+"\n "),n("strong",[e._v(e._s(e.translateMe("200+")))]),e._v("\n "+e._s(e.translateMe("Tech and marketing professionals"))+"\n ")])]),e._v(" "),n("div",{staticClass:"benefit"},[n("svg",{attrs:{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_96_362)"}},[n("path",{attrs:{d:"M17.5156 18.375C18.9001 18.375 20.2535 17.9645 21.4046 17.1953C22.5557 16.4262 23.4528 15.3329 23.9826 14.0538C24.5124 12.7747 24.6511 11.3671 24.381 10.0093C24.1109 8.6514 23.4442 7.40428 22.4652 6.42532C21.4863 5.44635 20.2389 4.77964 18.8811 4.50954C17.5232 4.23945 16.1158 4.37792 14.8368 4.90774C13.5577 5.43755 12.4644 6.33481 11.6952 7.48595C10.926 8.6371 10.5156 9.99049 10.5156 11.375C10.5156 13.2315 11.253 15.0119 12.5657 16.3246C13.8785 17.6374 15.6591 18.375 17.5156 18.375ZM17.5156 6.12496C18.5539 6.12496 19.5688 6.43291 20.4322 7.00979C21.2955 7.58667 21.9685 8.40652 22.3659 9.36584C22.7633 10.3251 22.8673 11.3809 22.6648 12.3993C22.4622 13.4177 21.9622 14.3531 21.2279 15.0873C20.4937 15.8215 19.5581 16.3216 18.5397 16.5241C17.5213 16.7267 16.4658 16.6226 15.5065 16.2253C14.5472 15.8279 13.7273 15.1551 13.1504 14.2918C12.5735 13.4284 12.2656 12.4133 12.2656 11.375C12.2656 9.98257 12.8187 8.64719 13.8033 7.66262C14.7878 6.67805 16.1232 6.12496 17.5156 6.12496ZM23.6126 23.0108C23.5756 23.2395 23.4495 23.4441 23.2618 23.5799C23.0742 23.7157 22.8403 23.7715 22.6116 23.7352C22.078 23.6565 21.5391 23.6196 20.9998 23.625H13.9998C12.9417 23.5429 11.8783 23.6915 10.8832 24.0605C9.88818 24.4295 8.98522 25.01 8.23645 25.762C7.48768 26.5141 6.91105 27.4198 6.54648 28.4165C6.1819 29.4132 6.03802 30.4773 6.12478 31.535C6.12478 34.5362 7.47403 35.875 10.4998 35.875H19.2498C19.4818 35.875 19.7043 35.9672 19.8684 36.1313C20.0325 36.2954 20.1248 36.5179 20.1248 36.75C20.1248 36.982 20.0325 37.2045 19.8684 37.3686C19.7043 37.5327 19.4818 37.625 19.2498 37.625H10.4998C9.67485 37.7231 8.83833 37.6334 8.05295 37.3626C7.26757 37.0918 6.55368 36.647 5.96457 36.0612C5.37545 35.4755 4.92652 34.7639 4.65121 33.9801C4.37591 33.1963 4.28135 32.3605 4.37478 31.535C4.37478 27.0795 6.89478 21.875 13.9998 21.875H20.9998C21.6317 21.8691 22.2631 21.9136 22.888 22.008C23.117 22.045 23.3221 22.1712 23.4579 22.3592C23.5938 22.5473 23.6494 22.7818 23.6126 23.0108ZM38.694 30.24L38.9268 30.1106C39.0291 30.0536 39.1188 29.9764 39.1909 29.8841C39.2629 29.7918 39.3156 29.686 39.3459 29.5729C39.3763 29.4598 39.3836 29.3417 39.3675 29.2257C39.3514 29.1097 39.3124 28.9982 39.2524 28.8976L37.6494 26.2062C37.5328 26.01 37.3442 25.8671 37.1238 25.808C36.9035 25.7488 36.6688 25.778 36.4697 25.8894L36.2388 26.0207C36.0005 26.1528 35.7324 26.222 35.4599 26.222C35.1875 26.222 34.9196 26.1528 34.6813 26.0207C34.4563 25.8958 34.2684 25.7136 34.1365 25.4927C34.0047 25.2717 33.9337 25.0198 33.9306 24.7625C33.9287 24.46 33.8071 24.1707 33.5922 23.9578C33.3774 23.7449 33.0868 23.6257 32.7843 23.6267H30.1172C29.815 23.6262 29.5251 23.7454 29.3106 23.9582C29.0961 24.1711 28.9747 24.4603 28.9728 24.7625C28.9697 25.0202 28.8981 25.2725 28.7656 25.4935C28.6331 25.7146 28.4444 25.8965 28.2185 26.0207C27.9805 26.1528 27.7129 26.2222 27.4407 26.2222C27.1685 26.2222 26.9007 26.1528 26.6627 26.0207C26.4025 25.8772 26.097 25.8396 25.8097 25.9159C25.5225 25.9921 25.2757 26.1765 25.121 26.4303L23.7859 28.672C23.7082 28.8007 23.657 28.9436 23.6357 29.0924C23.6143 29.2412 23.6231 29.3929 23.6615 29.5383C23.7009 29.6854 23.7693 29.8231 23.8628 29.9433C23.9562 30.0635 24.0729 30.1639 24.2058 30.2383C24.435 30.3601 24.6267 30.5418 24.7604 30.7642C24.8941 30.9867 24.9648 31.2413 24.9648 31.5008C24.9648 31.7603 24.8941 32.015 24.7604 32.2374C24.6267 32.4598 24.435 32.6418 24.2058 32.7635C23.9406 32.9164 23.7468 33.1679 23.6669 33.4634C23.6292 33.6087 23.6206 33.7601 23.6417 33.9088C23.6627 34.0574 23.7128 34.2004 23.7893 34.3296L25.1263 36.5733C25.2808 36.8279 25.5277 37.0126 25.8155 37.089C26.1033 37.1653 26.4095 37.1273 26.6698 36.9828C26.9073 36.8502 27.1747 36.7805 27.4467 36.7805C27.7187 36.7805 27.9864 36.8502 28.2239 36.9828C28.4493 37.1072 28.6376 37.2892 28.7695 37.5102C28.9014 37.7313 28.9722 37.9836 28.9745 38.2411C28.9759 38.5431 29.097 38.832 29.3112 39.0449C29.5254 39.2578 29.8152 39.3771 30.1172 39.3767H32.7896C33.0918 39.3771 33.3818 39.258 33.5963 39.0451C33.8108 38.8323 33.9322 38.5432 33.934 38.2411C33.9371 37.9835 34.0084 37.7315 34.1406 37.5105C34.2728 37.2894 34.4612 37.1074 34.6866 36.9828C34.9246 36.8507 35.1922 36.7814 35.4644 36.7814C35.7366 36.7814 36.0042 36.8507 36.2422 36.9828C36.502 37.1279 36.8078 37.1663 37.0954 37.0903C37.383 37.0142 37.6299 36.8295 37.7839 36.575L39.1246 34.3228C39.2014 34.1947 39.2514 34.0522 39.2718 33.9043C39.2923 33.7563 39.2828 33.6058 39.2436 33.4617C39.2058 33.3148 39.1385 33.1771 39.0462 33.0568C38.9539 32.9366 38.8384 32.8362 38.7064 32.7616L38.6765 32.746C38.4531 32.6206 38.2677 32.4375 38.1392 32.2158C38.0107 31.9942 37.9439 31.742 37.9461 31.4859C37.9482 31.2297 38.0192 30.9788 38.1514 30.7593C38.2835 30.5399 38.4722 30.36 38.6976 30.2383L38.694 30.24ZM37.3204 33.9254L36.5537 35.2117C36.107 35.0583 35.633 35.0009 35.1626 35.0431C34.6922 35.0853 34.2361 35.2263 33.8238 35.4567C33.4207 35.6835 33.0713 35.9947 32.7995 36.3689C32.5277 36.7431 32.3399 37.1715 32.2487 37.625H30.6737C30.5817 37.1719 30.3936 36.7438 30.1219 36.3697C29.8502 35.9956 29.5013 35.6843 29.0989 35.4567C28.6867 35.226 28.2303 35.0849 27.7599 35.0427C27.2894 35.0005 26.8154 35.058 26.3688 35.2117L25.6023 33.9254C25.956 33.6281 26.2403 33.2569 26.4354 32.8381C26.6305 32.4192 26.7315 31.9629 26.7315 31.5008C26.7315 31.0388 26.6305 30.5824 26.4354 30.1635C26.2403 29.7447 25.956 29.3735 25.6023 29.0762L26.3705 27.7883C26.817 27.9412 27.2907 27.9984 27.7607 27.9562C28.2308 27.914 28.6868 27.7733 29.0989 27.5432C29.5035 27.3173 29.8543 27.0066 30.1277 26.6323C30.401 26.2581 30.5903 25.8291 30.6825 25.375H32.2575C32.3488 25.8283 32.5369 26.2567 32.8087 26.6308C33.0804 27.005 33.4296 27.3162 33.8325 27.5432C34.2452 27.7735 34.7017 27.9142 35.1724 27.9564C35.643 27.9986 36.1173 27.9414 36.5644 27.7883L37.3308 29.0745C36.9777 29.3723 36.6937 29.7437 36.499 30.1627C36.3043 30.5816 36.2033 31.038 36.2033 31.5C36.2033 31.962 36.3043 32.4183 36.499 32.8372C36.6937 33.2562 36.9777 33.6276 37.3308 33.9254H37.3204ZM32.8123 31.5C32.8123 31.7587 32.7356 32.0117 32.5923 32.2271C32.4489 32.4425 32.2452 32.6107 32.0065 32.7106C31.7678 32.8104 31.5048 32.8376 31.2507 32.7885C30.9966 32.7394 30.7627 32.6162 30.5784 32.4346C30.3941 32.2529 30.2676 32.0209 30.2148 31.7676C30.162 31.5143 30.1853 31.2511 30.2817 31.011C30.3781 30.7708 30.5433 30.5645 30.7566 30.418C30.9699 30.2715 31.2218 30.1913 31.4806 30.1875H31.4998C31.6723 30.1868 31.8433 30.2202 32.0029 30.2859C32.1624 30.3517 32.3075 30.4483 32.4295 30.5703C32.5515 30.6923 32.6481 30.8373 32.7138 30.9969C32.7795 31.1564 32.813 31.3274 32.8123 31.5Z",fill:"#1A1A1A"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_96_362"}},[n("rect",{attrs:{width:"42",height:"42",fill:"white"}})])])]),e._v(" "),n("p",{staticClass:"benefit-description"},[n("strong",[e._v(e._s(e.translateMe("Dedicated")))]),e._v("\n "+e._s(e.translateMe("Account manager"))+"\n ")])])])])},staticRenderFns:[]},(function(e){e&&e("data-v-4b31061e_0",{source:".benefits-banner[data-v-4b31061e]{padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1)}.benefits[data-v-4b31061e]{display:flex;justify-content:space-around;align-items:center;gap:20px}.benefit[data-v-4b31061e]{display:flex;flex-basis:25%;flex-grow:0;flex-direction:column;justify-content:center;align-items:center;gap:10px;text-align:center}.benefit-description[data-v-4b31061e]{font-size:14px;font-weight:450;color:#1a1a1a}.benefit-image[data-v-4b31061e]{width:42px;height:42px}@media (max-width:767px){.benefits[data-v-4b31061e]{flex-direction:column}}",map:void 0,media:void 0})}),{name:"BenefitsBanner",props:{benefitsData:{type:Array,required:!1,default:function(){return[{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"},{benefit_description:"<strong>Unlimited</strong> Access to Enterprise Features",benefit_image_url:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw_HeSzHfBorKS4muw4IIeVvvRgnhyO8Gn8w&s"}]}}},methods:{translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}}},"data-v-4b31061e",false,undefined,!1,Pc,void 0,void 0),Dp={name:"AppManagerGroupPlan",components:{YearlyPlanPromotion:Ec,PlanBanners:zc,PPage:zu,PStack:Nu,PStackItem:Ou,PButton:ne,PButtonGroup:at,PHeading:ae,PLayout:Du,PLayoutSection:_,PTextContainer:Uu,PDataTable:Tp,PDataTableCol:Ep,PDataTableRow:jp,PIcon:k,PTextStyle:Oc,PCard:Mp,PCardSection:xp,PSkeletonPage:Bp,PSkeletonBodyText:Op,PSkeletonDisplayText:Lp,PEmptyState:Cp,AppCard:Np,PlanShowcaseBanner:Rp,CategoryHeading:Vp,BenefitsBanner:Ip,VariantButton:Hp},props:["shop_domain","host","discount_code"],data:function(){return{plan:{},plans:[],valid_annual_plans:[],promotional_discount:[],features:[],featureValues:[],featuresByGroup:[],shopify_plan:"",default_plan_id:null,onboard:!0,choose_later:!1,has_active_charge:!1,global_plan_charge:!1,planLoading:!1,subtitleContent:"",checkList:["60 days free trial"],selectedPlan:"monthly",monthlySelectedStyle:{height:"60px",backgroundColor:"#257f60",color:"#fff",position:"relative",right:"-5px",borderRadius:"8px",zIndex:1},yearlySelectedStyle:{height:"60px",backgroundColor:"#257f60",position:"relative",left:"-5px",borderRadius:"8px"},monthlyStyle:{height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px",ZIndex:11},yearlyStyle:{color:"#258060",height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px"},bundleStyle:{color:"#258060",height:"55px",backgroundColor:"#FFFFFF",boxShadow:"rgba(99, 99, 99, 0.2) 0px 2px 8px 0px",border:"none",borderRadius:"8px"},additionalBenefitsHeading:{category_name:"Unlock Additional Benefits"},bundle_details:null,bundle_plan:null}},computed:{shop:function(){return{name:this.shop_domain,shopify_plan:this.shopify_plan,has_plan:!!this.plan,plan:this.plan,default_plan_id:this.default_plan_id}},headings:function(){var e=this,t=[this.translateMe("Plans & features")];return this.plans.forEach((function(n){var a=n.name;n.price>0&&(a+=" ($".concat(n.price,"/")+e.translateMe("mo")+")"),t.push(a)})),t},monthlyPlan:function(){var e=[];for(var t in this.plans)"EVERY_30_DAYS"===this.plans[t].interval&&e.push(this.plans[t]);return e},yearlyPlan:function(){var e=[];for(var t in this.plans)"ANNUAL"===this.plans[t].interval&&e.push(this.plans[t]);return e},totalBundleApps:function(){var e=0;return this.bundle_details&&this.bundle_details.forEach((function(t){e+=t.apps_relation.length})),e}},methods:{translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e},activePlanStyle:function(e){return[e.shopify_plans.includes(this.shop.shopify_plan)||!e.store_base_plan?{backgroundColor:"#FFF",color:"#202223"}:{}]},isCurrentPlan:function(e){return this.has_active_charge&&this.shop.plan&&(e.id===this.shop.plan.id||!e.is_custom&&e.base_plan===this.shop.plan.id)},isCurrentPlanId:function(e){return this.shop.plan&&e.id===this.shop.plan.id},isActivePlanGlobal:function(){var e;return Boolean(null===(e=this.shop.plan)||void 0===e?void 0:e.is_global)},isActiveGlobalCharge:function(){return Boolean(this.global_plan_charge)},isSamePlanInOtherInterval:function(e){return this.shop.plan&&e.shopify_plans===this.shop.plan.shopify_plans},format:function(e){if(["double","integer"].includes(null==e?void 0:e.value_type))return"percentage"===e.format?"".concat(e.value,"%"):"count"===e.format&&e.value<0?this.translateMe("Unlimited"):e.value;if("array"===(null==e?void 0:e.value_type)){var t=JSON.parse(e.value),n=this;return(t=t.map((function(t){return n.translateMe(n.featureValues[e.feature_id][t])}))).join(", ")}return"string"===(null==e?void 0:e.value_type)?this.translateMe(e.value.replace('"',"").replace('"',"")):void 0},calculateDiscountedPrice:function(e){return"percentage"===e.discount_type?e.price-e.price*e.discount/100:"amount"===e.discount_type?e.discount>e.price?0:e.price-e.discount:void 0},calculatePromotionalDiscountedPrice:function(e,t){return"percentage"===t.type?e.price-e.price*t.value/100:"amount"===t.type?t.value>e.price?0:e.price-t.value:void 0},headerClasses:function(e){return{"Polaris-DataTable__Cell":!0,"Polaris-DataTable__Cell--header":!0,"Polaris-DataTable__Cell--verticalAlignMiddle":!0,"Polaris-DataTable__Cell--firstColumn":Boolean(e)}},groupBy:function(e,t){return e.reduce((function(e,n){var a=n[t];return e[a]||(e[a]=[]),e[a].push(n),e}),{})},getPlanUrl:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){var a,r,i,o,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=t.shop.name,r=t.host,i=t.discount_code,o="shop=".concat(a),null!=r&&(o+="&host=".concat(r)),null!=i&&(o+="&discount_code=".concat(i)),n.next=8,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plan/process/").concat(e.id,"?").concat(o)).catch((function(e){console.error(e)}));case 8:"free_plan"===(s=n.sent).data.plan_type?t.$emit("handlePlanSelect",{free_plan:!0}):(l=s.data.redirect_url)&&(window.top.location.href=l);case 10:case"end":return n.stop()}}),n)})))()},activePlan:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.activeWithoutPlan();case 2:!0===t.sent.data.status&&e.onboard&&(e.$emit("handlePlanSelect",{choose_later:!0}),e.onboard=!1);case 4:case"end":return t.stop()}}),t)})))()},activeWithoutPlan:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_c.post("".concat(e.app_manager_config.baseUrl,"/api/app-manager/active-without-plan"),{shop_domain:e.shop.name,plan_id:e.shop.default_plan_id}).catch((function(e){console.error(e)}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},selectPlan:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){var a,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.selectedPlan=e,null!==t.bundle_plan&&(a=document.querySelector(".custom-plan"),r=document.querySelector(".bundle-plan"),"bundle"==t.selectedPlan?(a.style.display="none",r.style.display="flex"):(r.style.display="none",a.style.display="flex"));case 2:case"end":return n.stop()}}),n)})))()},fetchFeatures:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,a,r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plan-features")).catch((function(e){console.error(e)}));case 2:n=t.sent,(a=n.data).features.length&&(e.features=a.features,e.features=null===(r=e.features)||void 0===r?void 0:r.filter((function(e){return!0!==e.hidden_feature})),e.features=null===(i=e.features)||void 0===i?void 0:i.sort((function(e,t){return parseInt(e.display_order)-parseInt(t.display_order)})),e.features=null===(o=e.features)||void 0===o?void 0:o.sort((function(e,t){return parseInt(e.group_order)-parseInt(t.group_order)})),e.featuresByGroup=e.groupBy(e.features,"group"),e.features.forEach((function(t){"array"==t.value_type&&(e.featureValues[t.uuid]=t.values)})));case 5:case"end":return t.stop()}}),t)})))()},fetchPlans:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,a,r,i,o,s,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={shop_domain:e.shop_domain},null!==e.discount_code&&(n.discount_code=e.discount_code),t.next=4,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plans"),{params:n}).catch((function(e){console.error(e)}));case 4:if(a=t.sent,(r=a.data).plans.length){for(l=0;l<r.plans.length;l++)"ANNUAL"===r.plans[l].interval&&e.valid_annual_plans.push(r.plans[l]);e.plans=r.plans,e.plans=null===(i=e.plans)||void 0===i?void 0:i.sort((function(e,t){return parseFloat(e.price)-parseFloat(t.price)})),e.plans[0].store_base_plan&&(e.subtitleContent=e.translateMe("App plans are based on your existing shopify plan")),e.plan=r.plan,"ANNUAL"===(null===(o=e.plan)||void 0===o?void 0:o.interval)&&(e.selectedPlan="annually"),null!==(s=e.plan)&&void 0!==s&&s.is_global&&(e.selectedPlan="bundle"),e.shopify_plan=r.shopify_plan,e.default_plan_id=r.default_plan_id,e.choose_later=r.choose_later,e.onboard=e.default_plan_id&&e.choose_later,e.has_active_charge=r.has_active_charge,e.global_plan_charge=r.global_plan_charge,e.promotional_discount=void 0!==r.promotional_discount?r.promotional_discount:[],r.bundle_plan&&(e.bundle_plan=r.bundle_plan),r.bundle_details&&(e.bundle_details=r.bundle_details)}case 7:case"end":return t.stop()}}),t)})))()},isPlanButtonColor:function(e){return!!(this.has_active_charge&&this.shop.plan&&e.price>this.shop.plan.price)},planChooseButtonClass:function(e){return this.has_active_charge&&this.shop.plan&&e.price>this.shop.plan.price?"":"custom-choose-button"},handlePlanBannerClose:function(e){this.$emit("handlePlanBannerClose",e),this.$emit("handle-plan-banner-close",e)},handlePlanClicked:function(e){this.getPlanUrl(e)}},mounted:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.planLoading=!0,t.next=3,e.fetchFeatures();case 3:return t.next=5,e.fetchPlans();case 5:e.planLoading=!1,e.$nextTick((function(){e.selectPlan(e.selectedPlan)}));case 7:case"end":return t.stop()}}),t)})))()}},Fp=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return this.planLoading||0!==this.plans.length?!this.planLoading&&this.plans.length>0?n("div",[n("PlanBanners",{attrs:{position:"header"},on:{handlePlanBannerClose:e.handlePlanBannerClose}}),e._v(" "),n("PPage",{staticClass:"app-manager-plan-page custom-title",attrs:{title:"bundle"===e.selectedPlan?"":e.translateMe("Plans"),subtitle:"bundle"===e.selectedPlan?"":e.subtitleContent}},[n("PStack",{attrs:{slot:"primaryAction"},slot:"primaryAction"},[n("PStackItem",{staticStyle:{"margin-top":"20px"}},[n("div",{staticClass:"button-group-new"},[n("VariantButton",{attrs:{id:"pricing-tab",variant:"monthly"===e.selectedPlan?"primary":"secondary",additionalText:"1 App"},on:{click:function(t){return e.selectPlan("monthly")}}},[e._v("\n "+e._s(e.translateMe("Monthly"))+"\n ")]),e._v(" "),e.valid_annual_plans.length>0?n("VariantButton",{attrs:{id:"pricing-tab",variant:"annually"===e.selectedPlan?"primary":"secondary"},on:{click:function(t){return e.selectPlan("annually")}}},[e._v("\n "+e._s(e.translateMe("Annually"))+"\n ")]):e._e(),e._v(" "),null!==e.bundle_plan?n("VariantButton",{attrs:{id:"pricing-tab",variant:"bundle"===e.selectedPlan?"primary":"secondary",additionalText:e.totalBundleApps+" Apps"},on:{click:function(t){return e.selectPlan("bundle")}}},[e._v("\n "+e._s(e.translateMe("Bundle"))+"\n ")]):e._e()],1)])],1),e._v(" "),n("div",{staticClass:"light-divider",staticStyle:{margin:"20px 0"}}),e._v(" "),n("PLayout",{staticClass:"custom-plan"},[n("PLayoutSection",[[[n("PDataTable",{staticClass:"plan-table"},[n("template",{slot:"head"},["monthly"===e.selectedPlan?n("PDataTableRow",{staticStyle:{"box-shadow":"none!important"}},[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[e._v(e._s(e.translateMe("features")))])]),e._v(" "),e._l(e.monthlyPlan,(function(t,a){return[n("PDataTableCol",{class:{"first-column":0===a,"plan-heading":!0,"last-column":a+1===e.monthlyPlan.length},style:e.activePlanStyle(t)},["Free"!==t.name?n("b",{staticStyle:{"font-size":"16px"}},[e._v(e._s(e.translateMe(t.name)))]):e._e(),e._v(" "),0===t.price?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v(e._s(e.translateMe("Free")))])],1)]):t.discount&&t.discount>0&&!e.isCurrentPlan(t)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(e.calculateDiscountedPrice(t)).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("mo")))])],1),e._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[e._v("/"+e._s(e.translateMe("mo")))])],1)]):e.promotional_discount&&0!==e.promotional_discount.length&&!e.promotional_discount.errors&&!t.is_global&&e.promotional_discount.plan_relation.length>0&&e.promotional_discount.plan_relation.includes(t.id)&&!e.isCurrentPlan(t)||e.promotional_discount&&0!==e.promotional_discount.length&&!e.promotional_discount.errors&&!t.is_global&&0===e.promotional_discount.plan_relation.length&&e.promotional_discount.value>0&&!e.isCurrentPlan(t)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(e.calculatePromotionalDiscountedPrice(t,e.promotional_discount)).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("mo")))])],1),e._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[e._v("/"+e._s(e.translateMe("mo")))])],1)]):n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("mo")))])],1)])])]}))],2):n("PDataTableRow",[n("PDataTableCol",{staticClass:"plan-heading",staticStyle:{opacity:"0",visibility:"hidden",border:"0 !important"}},[n("b",[e._v(e._s(e.translateMe("features")))])]),e._v(" "),e._l(e.yearlyPlan,(function(t,a){return[n("PDataTableCol",{class:{"first-column":0===a,"plan-heading":!0,"last-column":a+1===e.yearlyPlan.length},style:e.activePlanStyle(t)},["Free"!==t.name?n("b",{staticStyle:{"font-size":"16px"}},[e._v(e._s(e.translateMe(t.name)))]):e._e(),e._v(" "),0===t.price?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v(e._s(e.translateMe("Free")))])],1)]):t.discount&&t.discount>0&&!e.isCurrentPlan(t)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(e.calculateDiscountedPrice(t)).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("year")))])],1),e._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[e._v("/"+e._s(e.translateMe("year")))])],1)]):e.promotional_discount&&0!==e.promotional_discount.length&&!e.promotional_discount.errors&&e.promotional_discount.plan_relation.length>0&&e.promotional_discount.plan_relation.includes(t.id)&&!e.isCurrentPlan(t)||e.promotional_discount&&0!==e.promotional_discount.length&&!e.promotional_discount.errors&&0===e.promotional_discount.plan_relation.length&&e.promotional_discount.value>0&&!e.isCurrentPlan(t)?n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(e.calculatePromotionalDiscountedPrice(t,e.promotional_discount)).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("year")))])],1),e._v(" "),n("p",{staticStyle:{display:"flex","margin-top":"7px"}},[n("PHeading",{staticStyle:{"font-size":"18px","font-weight":"500","text-decoration":"line-through"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"3px","font-size":"14px"}},[e._v("/"+e._s(e.translateMe("year")))])],1)]):n("div",[n("p",{staticStyle:{display:"flex","margin-top":"10px"}},[n("PHeading",{staticStyle:{"font-size":"25px","font-weight":"700"}},[e._v("$"+e._s(parseFloat(t.price).toFixed(2)))]),e._v(" "),n("b",{staticStyle:{"margin-top":"5px","font-size":"17px"}},[e._v("/"+e._s(e.translateMe("year")))])],1)])])]}))],2)],1),e._v(" "),n("template",{slot:"body"},[e._l(e.featuresByGroup,(function(t,a){return["null"!==a?n("PDataTableRow",{staticClass:"app-manager-group-row"},[n("PDataTableCol",{staticClass:"app-manager-group-cell",attrs:{colspan:"monthly"===e.selectedPlan?e.monthlyPlan.length+1:e.yearlyPlan.length+1}},[e._v(e._s(e.translateMe(a)))])],1):e._e(),e._v(" "),e._l(t,(function(t,r){return n("PDataTableRow",{key:"row-"+(r+a)},[n("PDataTableCol",{class:"feature__type__"+t.value_type+" feature__class"},[e._v(e._s(e.translateMe(t.name)))]),e._v(" "),e._l("monthly"===e.selectedPlan?e.monthlyPlan:e.yearlyPlan,(function(a,i){return n("PDataTableCol",{key:"cell-"+i+"-row-"+r,class:"feature__type__"+t.value_type,style:e.activePlanStyle(a)},[a.features?["boolean"===t.value_type?[a.features[t.uuid]?n("PIcon",{attrs:{color:"success",source:"TickMinor"}}):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]:[a.features[t.uuid]?n("span",[e._v(e._s(e.translateMe(e.format(a.features[t.uuid]))))]):n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]]:[n("PIcon",{attrs:{color:"subdued",source:"MinusMinor"}})]],2)}))],2)}))]})),e._v(" "),e.plans.length?n("PDataTableRow",{staticClass:"row-alignment"},[n("PDataTableCol"),e._v(" "),e._l("monthly"===e.selectedPlan?e.monthlyPlan:e.yearlyPlan,(function(t,a){return n("PDataTableCol",{key:"cell-"+a+"-row-plan",staticStyle:{"max-width":"0"}},[e.isCurrentPlan(t)?n("PButton",{attrs:{disabled:e.isCurrentPlan(t),"full-width":"",pressed:e.isCurrentPlan(t)}},[e._v("\n "+e._s(e.translateMe("Current plan"))+"\n ")]):!t.store_base_plan||t.shopify_plans.includes(e.shop.shopify_plan)?n("PButton",{staticClass:"custom-choose-button",attrs:{"full-width":"",disabled:e.isActivePlanGlobal()&&!e.isActiveGlobalCharge()},on:{click:function(n){!t||e.getPlanUrl(t)}}},[e._v("\n "+e._s(e.isActivePlanGlobal()?e.isActiveGlobalCharge()?e.translateMe("Choose plan"):e.translateMe("Not applicable"):e.translateMe("Choose plan"))+"\n ")]):n("PButton",{attrs:{disabled:!0,"full-width":"",pressed:!0}},[e._v("\n "+e._s(e.translateMe("Not applicable"))+"\n ")]),e._v(" "),t.store_base_plan&&e.shop.plan&&t.shopify_plans.includes(e.shop.shopify_plan)&&!e.isCurrentPlan(t)?n("PTextContainer",{staticClass:"footer-note-container"},[!t.store_base_plan||t.shopify_plans.includes(e.shop.shopify_plan)||e.isCurrentPlan(t)||e.isSamePlanInOtherInterval(t)?e._e():n("PTextStyle",{staticClass:"text-break"},[e._v(e._s(e.translateMe("Note: On account of your recent Shopify plan upgrade, you should consider upgrading your current app plan")))])],1):e._e()],1)}))],2):e._e()],2)],2)]],e._v(" "),e.onboard?n("PStack",{staticClass:"choose-plan-btn",attrs:{alignment:"center",distribution:"center",vertical:""}},[n("PStackItem",{attrs:{fill:""}},[n("PButton",{attrs:{plain:""},on:{click:e.activePlan}},[e._v(e._s(e.translateMe("I will choose the plan later")))])],1)],1):e._e(),e._v(" "),n("PlanBanners",{attrs:{position:"footer"},on:{handlePlanBannerClose:e.handlePlanBannerClose}})],2)],1),e._v(" "),null!==e.bundle_plan?n("div",{staticClass:"bundle-plan"},[n("PlanShowcaseBanner",{attrs:{useCardStyle:"true",bundleApps:e.totalBundleApps,showcaseData:e.bundle_plan,realPrice:parseFloat(e.calculateDiscountedPrice(e.bundle_plan)).toFixed(0),oldPrice:e.bundle_plan.price,isCurrentPlan:e.isCurrentPlanId(e.bundle_plan)},on:{"plan-clicked":function(t){return e.handlePlanClicked(e.bundle_plan)}}}),e._v(" "),n("div",{staticClass:"light-divider"}),e._v(" "),e._l(e.bundle_details,(function(t){return n("div",{staticClass:"bundle-category"},[n("CategoryHeading",{attrs:{headingData:t}}),e._v(" "),n("div",{staticClass:"bundle-category-apps"},e._l(t.apps_relation,(function(e){return n("AppCard",{attrs:{appData:e}})})),1)],1)})),e._v(" "),n("CategoryHeading",{attrs:{headingData:e.additionalBenefitsHeading}}),e._v(" "),n("BenefitsBanner"),e._v(" "),n("PlanShowcaseBanner",{staticStyle:{"margin-top":"20px"},attrs:{bundleApps:e.totalBundleApps,showcaseData:e.bundle_plan,realPrice:parseFloat(e.calculateDiscountedPrice(e.bundle_plan)).toFixed(0),oldPrice:e.bundle_plan.price,showDescription:!1,isCurrentPlan:e.isCurrentPlanId(e.bundle_plan)},on:{"plan-clicked":function(t){return e.handlePlanClicked(e.bundle_plan)}}})],2):e._e()],1)],1):e._e():n("PEmptyState",{attrs:{heading:e.translateMe("No plans"),image:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"}})},staticRenderFns:[]},(function(e){e&&e("data-v-2aea4b20_0",{source:"@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-5a078dbb],.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-7d902277]{float:none}.app-manager .app-manager-plan-page .active{background:#f0f8f5}.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-0d1b0d63]{float:none}.app-manager .app-manager-plan-page .plan-table td{border:.01px solid #ececee!important;border-collapse:collapse!important}.app-manager .app-manager-plan-page .plan-table .Polaris-DataTable__ScrollContainer{border-radius:12px;overflow:visible}.app-manager .app-manager-plan-page .plan-table table{border-collapse:collapse!important}.app-manager .app-manager-plan-page .custom-plan table{border-collapse:collapse!important}.app-manager .app-manager-plan-page .custom-plan table thead .first-column{border-radius:12px 0 0 0;border-top:0!important;border-left:0!important}.app-manager .app-manager-plan-page .custom-plan table thead .plan-heading.last-column{text-align:left!important;border-radius:0 12px 0 0;border-top:0!important}.app-manager .app-manager-plan-page .custom-plan table thead .plan-heading{background-color:#fff;box-shadow:rgba(23,24,24,.05) 1px 0 8px,rgba(0,0,0,.15) 0 0 2px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:first-child{background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);border-radius:12px 0 0 0;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){background-color:#fff;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){border-bottom:0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child{border-bottom:0;background-color:transparent!important;box-shadow:none!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:last-child){pointer-events:none}.app-manager .app-manager-plan-page .custom-plan table thead tr td{pointer-events:none}.app-manager .app-manager-plan-page .custom-plan table tbody tr:first-child td:first-child{overflow:hidden;border-radius:12px 0 0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2){overflow:hidden;border-bottom-right-radius:0;border-bottom-left-radius:12px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:first-child{overflow:hidden;border-bottom:0!important;border-radius:0 0 0 12px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:last-child{overflow:hidden;border-radius:0 0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr td:first-child{border-left:0!important;border-top:0!important;padding-left:20px}.app-manager .app-manager-plan-page .custom-plan table tbody tr td:last-child{text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table thead tr td:last-child{text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table tbody td:not(:first-child){text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:last-child{background:0 0;border-radius:0 0 12px 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:nth-child(2){border-radius:0 0 0 12px!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td{background:0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:hover{border:0!important;background:0 0}.app-manager .app-manager-plan-page .custom-plan tbody tr:last-child td.Polaris-DataTable__Cell--verticalAlignTop{background:0 0!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child{background:#fff!important;opacity:1}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:first-child{visibility:hidden;border-bottom:none!important}.app-manager .app-manager-plan-page .plan-heading{padding-top:30px}.app-manager .app-manager-plan-page .custom-plan .Polaris-Layout__Section{max-width:calc(100% - 2rem)!important}.app-manager .app-manager-plan-page .later-link{text-align:center;clear:both;padding-top:15px}.app-manager .app-manager-plan-page .plan-badge ul{text-align:center;padding-top:2rem;border-top:.1rem solid #e1e3e5}.app-manager .app-manager-plan-page .plan-badge ul li{list-style:none;display:inline-block;padding-right:25px}.app-manager .app-manager-plan-page .plan-badge ul li img{max-width:133px}.app-manager .app-manager-plan-page .btn-group .Polaris-ButtonGroup__Item{margin-left:0!important;z-index:unset!important}.app-manager .Polaris-Button::after{box-shadow:none!important}.app-manager .Polaris-Button:focus{box-shadow:none!important;border-color:#000!important}.app-manager .app-manager-plan-page.custom-title .Polaris-HorizontalDivider{background-color:#e2e3e4}.app-manager .app-manager-plan-page .Polaris-Page__Content hr{border:1px solid #e2e3e4}.app-manager .app-manager-plan-page .app-manager-group-row{background:0 0!important;padding:16px 16px 16px 20px!important}.app-manager .app-manager-plan-page .feature__type__array{vertical-align:middle!important;word-spacing:999px;white-space:pre-line!important}.app-manager .app-manager-plan-page .Polaris-DataTable__Table{table-layout:fixed!important}.app-manager .app-manager-plan-page td{vertical-align:middle!important}.app-manager .app-manager-plan-page td.feature__class{word-wrap:break-word!important;white-space:normal!important}.app-manager .app-manager-plan-page .light-green-cell{background-color:#f0f8f5;color:#257f60}.app-manager .app-manager-plan-page .plan-heading b{overflow-wrap:break-word;word-wrap:break-word;white-space:initial}.bundle-plan{display:none;flex-direction:column;gap:20px}.bundle-category{display:flex;flex-direction:column;gap:20px;margin-bottom:10px}.bundle-category-apps{display:flex;flex-direction:column;gap:10px}.light-divider{border-top:1px solid #e3e3e3;margin-top:10px;margin-bottom:10px}.app-manager .Polaris-Icon--colorSuccess svg{fill:#000!important}.button-group-new{display:flex;align-items:center;justify-content:center;gap:4px}@media (max-width:700px){.app-manager .Polaris-DataTable__Table{width:auto!important}}",map:void 0,media:void 0})}),Dp,undefined,false,undefined,!1,Pc,void 0,void 0),qp=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("a",{staticClass:"button",class:"button-"+e.variant,on:{click:e.handleClick}},[e._t("default")],2)},staticRenderFns:[]},(function(e){e&&e("data-v-5ac91f62_0",{source:".button[data-v-5ac91f62]{display:flex;width:fit-content!important;height:28px!important;align-items:center!important;padding:4px 12px!important;text-decoration:none!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;border-radius:40px!important;transition:all .3s!important}.button[data-v-5ac91f62]:hover{background-color:#0000000d!important;border-radius:8px!important}.button-primary[data-v-5ac91f62]{background-color:#3f3f3f!important;color:#fafafa!important}.button-primary[data-v-5ac91f62]:hover{cursor:pointer!important;background-color:rgba(0,0,0,.5)!important;border-radius:40px!important}.button-secondary[data-v-5ac91f62]{color:#1a1a1a!important;background-color:none}.button-secondary[data-v-5ac91f62]:hover{cursor:pointer!important;background-color:rgba(0,0,0,.08)!important;border-radius:40px!important}.additional-info-primary[data-v-5ac91f62]{background-color:rgba(0,0,0,.06)!important;color:#4a4a4a!important;padding:0 6px!important;border-radius:8px!important;font-size:13px!important;font-weight:550!important}.additional-info-secondary[data-v-5ac91f62]{background-color:rgba(0,0,0,.06)!important;color:#4a4a4a!important;padding:0 6px!important;border-radius:8px!important;font-weight:550!important}.disabled[data-v-5ac91f62]{background-color:rgba(0,0,0,.08)!important;font-size:13px!important;font-weight:450!important;color:#4a4a4a!important;cursor:not-allowed!important;pointer-events:none!important}",map:void 0,media:void 0})}),{name:"SelectButton",props:{variant:{type:String,required:!0,default:function(){return"primary"}}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},handlePlanClick:function(){event.preventDefault(),this.$emit("plan-clicked",event)}}},"data-v-5ac91f62",false,undefined,!1,Pc,void 0,void 0),$p=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"button",class:{"is-toggled":e.toggled},on:{click:e.handleClick}},[n("svg",{attrs:{width:"18",height:"18",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_855_6470)"}},[n("path",{attrs:{d:"M6.00512 1.50562C6.43112 1.50562 6.83912 1.67562 7.13862 1.97662L7.48762 2.32562C7.59992 2.43725 7.75178 2.49998 7.91012 2.50012H8.41012C8.83447 2.50012 9.24144 2.66869 9.54149 2.96874C9.84155 3.2688 10.0101 3.67577 10.0101 4.10012V4.60012C10.0101 4.75812 10.0731 4.91012 10.1836 5.02162L10.5326 5.37062C10.6821 5.51922 10.8007 5.69588 10.8816 5.89045C10.9626 6.08502 11.0043 6.29367 11.0044 6.50441C11.0045 6.71515 10.9629 6.92383 10.8822 7.11847C10.8014 7.31312 10.6829 7.48988 10.5336 7.63862L10.1846 7.98762C10.073 8.09991 10.0103 8.25177 10.0101 8.41012V8.91012C10.0101 9.33446 9.84155 9.74143 9.54149 10.0415C9.24144 10.3415 8.83447 10.5101 8.41012 10.5101H7.91012C7.75227 10.5103 7.60083 10.5726 7.48862 10.6836L7.13962 11.0326C6.99102 11.182 6.81436 11.3006 6.61979 11.3816C6.42522 11.4626 6.21657 11.5043 6.00583 11.5044C5.79509 11.5045 5.58641 11.4629 5.39177 11.3821C5.19712 11.3014 5.02036 11.1829 4.87162 11.0336L4.52262 10.6846C4.41033 10.573 4.25847 10.5103 4.10012 10.5101H3.60012C3.17578 10.5101 2.76881 10.3415 2.46875 10.0415C2.16869 9.74143 2.00012 9.33446 2.00012 8.91012V8.41012C1.99999 8.25226 1.93765 8.10082 1.82662 7.98862L1.47762 7.63962C1.3282 7.49101 1.2096 7.31435 1.12864 7.11978C1.04768 6.92521 1.00595 6.71656 1.00586 6.50582C1.00577 6.29508 1.04731 6.0864 1.12809 5.89176C1.20888 5.69711 1.32733 5.52035 1.47662 5.37162L1.82562 5.02262C1.93726 4.91032 1.99999 4.75846 2.00012 4.60012V4.10012L2.00262 4.00912C2.02586 3.60117 2.2043 3.21757 2.50134 2.93699C2.79838 2.6564 3.19152 2.50009 3.60012 2.50012H4.10012C4.25798 2.49998 4.40942 2.43764 4.52162 2.32662L4.87062 1.97762C5.01929 1.82806 5.19606 1.70937 5.39076 1.62836C5.58546 1.54736 5.79425 1.50565 6.00512 1.50562ZM7.25012 7.00012C7.05121 7.00012 6.86045 7.07913 6.71979 7.21979C6.57914 7.36044 6.50012 7.5512 6.50012 7.75012C6.50012 7.94903 6.57914 8.13979 6.71979 8.28045C6.86045 8.4211 7.05121 8.50012 7.25012 8.50012C7.44904 8.50012 7.6398 8.4211 7.78045 8.28045C7.92111 8.13979 8.00012 7.94903 8.00012 7.75012C8.00012 7.5512 7.92111 7.36044 7.78045 7.21979C7.6398 7.07913 7.44904 7.00012 7.25012 7.00012ZM7.85362 4.64662C7.75986 4.55288 7.63271 4.50022 7.50012 4.50022C7.36754 4.50022 7.24039 4.55288 7.14662 4.64662L4.14662 7.64662C4.05555 7.74092 4.00515 7.86722 4.00629 7.99832C4.00743 8.12941 4.06001 8.25482 4.15271 8.34752C4.24542 8.44023 4.37083 8.49281 4.50192 8.49395C4.63302 8.49509 4.75932 8.44469 4.85362 8.35362L7.85362 5.35362C7.94736 5.25985 8.00002 5.1327 8.00002 5.00012C8.00002 4.86753 7.94736 4.74038 7.85362 4.64662ZM4.75012 4.50012C4.55121 4.50012 4.36045 4.57913 4.21979 4.71979C4.07914 4.86044 4.00012 5.0512 4.00012 5.25012C4.00012 5.44903 4.07914 5.63979 4.21979 5.78045C4.36045 5.9211 4.55121 6.00012 4.75012 6.00012C4.94904 6.00012 5.1398 5.9211 5.28045 5.78045C5.42111 5.63979 5.50012 5.44903 5.50012 5.25012C5.50012 5.0512 5.42111 4.86044 5.28045 4.71979C5.1398 4.57913 4.94904 4.50012 4.75012 4.50012Z",fill:"#1A1A1A"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_855_6470"}},[n("rect",{attrs:{width:"12",height:"12",fill:"white",transform:"translate(0 0.5)"}})])])]),e._v(" "),e._t("default")],2)},staticRenderFns:[]},(function(e){e&&e("data-v-37221a45_0",{source:".button[data-v-37221a45]{display:flex;width:fit-content!important;align-items:center!important;gap:3px!important;padding:10px 12px!important;text-decoration:none!important;font-size:12px!important;font-weight:550!important;color:#1a1a1a!important;border-left:1px solid #e3e3e3;border-top:1px solid #e3e3e3;border-right:1px solid #e3e3e3;background-color:#fff!important;border-radius:8px!important;transition:all .3s!important;box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset;cursor:pointer}.button.is-toggled[data-v-37221a45],.button[data-v-37221a45]:hover{background-color:#ccc!important;color:#1a1a1a!important;box-shadow:#1a1a1a33 0 2px 1px 0 inset,#1a1a1a1f 1px 0 1px 0 inset,#1a1a1a1f -1px 0 1px 0 inset}",map:void 0,media:void 0})}),{name:"ToggleButton",props:{toggled:{type:Boolean,required:!0,default:function(){return!1}}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},handlePlanClick:function(){event.preventDefault(),this.$emit("plan-clicked",event)}}},"data-v-37221a45",false,undefined,!1,Pc,void 0,void 0);function Up(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function Gp(e={},t={}){Object.keys(t).forEach((n=>{void 0===e[n]?e[n]=t[n]:Up(t[n])&&Up(e[n])&&Object.keys(t[n]).length>0&&Gp(e[n],t[n])}))}const Wp={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Zp(){const e="undefined"!=typeof document?document:{};return Gp(e,Wp),e}const Yp={document:Wp,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function Kp(){const e="undefined"!=typeof window?window:{};return Gp(e,Yp),e}class Xp extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function Qp(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...Qp(e)):t.push(e)})),t}function Jp(e,t){return Array.prototype.filter.call(e,t)}function eh(e,t){const n=Kp(),a=Zp();let r=[];if(!t&&e instanceof Xp)return e;if(!e)return new Xp(r);if("string"==typeof e){const n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let e="div";0===n.indexOf("<li")&&(e="ul"),0===n.indexOf("<tr")&&(e="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(e="tr"),0===n.indexOf("<tbody")&&(e="table"),0===n.indexOf("<option")&&(e="select");const t=a.createElement(e);t.innerHTML=n;for(let e=0;e<t.childNodes.length;e+=1)r.push(t.childNodes[e])}else r=function(e,t){if("string"!=typeof e)return[e];const n=[],a=t.querySelectorAll(e);for(let e=0;e<a.length;e+=1)n.push(a[e]);return n}(e.trim(),t||a)}else if(e.nodeType||e===n||e===a)r.push(e);else if(Array.isArray(e)){if(e instanceof Xp)return e;r=e}return new Xp(function(e){const t=[];for(let n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(r))}eh.fn=Xp.prototype;const th={addClass:function(...e){const t=Qp(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=Qp(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=Qp(e.map((e=>e.split(" "))));return Jp(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=Qp(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,n,a,r]=e;function i(e){const t=e.target;if(!t)return;const r=e.target.dom7EventData||[];if(r.indexOf(e)<0&&r.unshift(e),eh(t).is(n))a.apply(t,r);else{const e=eh(t).parents();for(let t=0;t<e.length;t+=1)eh(e[t]).is(n)&&a.apply(e[t],r)}}function o(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"==typeof e[1]&&([t,a,r]=e,n=void 0),r||(r=!1);const s=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(n)for(l=0;l<s.length;l+=1){const e=s[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:a,proxyListener:i}),t.addEventListener(e,i,r)}else for(l=0;l<s.length;l+=1){const e=s[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:a,proxyListener:o}),t.addEventListener(e,o,r)}}return this},off:function(...e){let[t,n,a,r]=e;"function"==typeof e[1]&&([t,a,r]=e,n=void 0),r||(r=!1);const i=t.split(" ");for(let e=0;e<i.length;e+=1){const t=i[e];for(let e=0;e<this.length;e+=1){const i=this[e];let o;if(!n&&i.dom7Listeners?o=i.dom7Listeners[t]:n&&i.dom7LiveListeners&&(o=i.dom7LiveListeners[t]),o&&o.length)for(let e=o.length-1;e>=0;e-=1){const n=o[e];a&&n.listener===a||a&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===a?(i.removeEventListener(t,n.proxyListener,r),o.splice(e,1)):a||(i.removeEventListener(t,n.proxyListener,r),o.splice(e,1))}}}return this},trigger:function(...e){const t=Kp(),n=e[0].split(" "),a=e[1];for(let r=0;r<n.length;r+=1){const i=n[r];for(let n=0;n<this.length;n+=1){const r=this[n];if(t.CustomEvent){const n=new t.CustomEvent(i,{detail:a,bubbles:!0,cancelable:!0});r.dom7EventData=e.filter(((e,t)=>t>0)),r.dispatchEvent(n),r.dom7EventData=[],delete r.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function n(a){a.target===this&&(e.call(this,a),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=Kp();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=Kp(),t=Zp(),n=this[0],a=n.getBoundingClientRect(),r=t.body,i=n.clientTop||r.clientTop||0,o=n.clientLeft||r.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:a.top+s-i,left:a.left+l-o}}return null},css:function(e,t){const n=Kp();let a;if(1===arguments.length){if("string"!=typeof e){for(a=0;a<this.length;a+=1)for(const t in e)this[a].style[t]=e[t];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,n)=>{e.apply(t,[t,n])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=Kp(),n=Zp(),a=this[0];let r,i;if(!a||void 0===e)return!1;if("string"==typeof e){if(a.matches)return a.matches(e);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(e);if(a.msMatchesSelector)return a.msMatchesSelector(e);for(r=eh(e),i=0;i<r.length;i+=1)if(r[i]===a)return!0;return!1}if(e===n)return a===n;if(e===t)return a===t;if(e.nodeType||e instanceof Xp){for(r=e.nodeType?[e]:e,i=0;i<r.length;i+=1)if(r[i]===a)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return eh([]);if(e<0){const n=t+e;return eh(n<0?[]:[this[n]])}return eh([this[e]])},append:function(...e){let t;const n=Zp();for(let a=0;a<e.length;a+=1){t=e[a];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const a=n.createElement("div");for(a.innerHTML=t;a.firstChild;)this[e].appendChild(a.firstChild)}else if(t instanceof Xp)for(let n=0;n<t.length;n+=1)this[e].appendChild(t[n]);else this[e].appendChild(t)}return this},prepend:function(e){const t=Zp();let n,a;for(n=0;n<this.length;n+=1)if("string"==typeof e){const r=t.createElement("div");for(r.innerHTML=e,a=r.childNodes.length-1;a>=0;a-=1)this[n].insertBefore(r.childNodes[a],this[n].childNodes[0])}else if(e instanceof Xp)for(a=0;a<e.length;a+=1)this[n].insertBefore(e[a],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&eh(this[0].nextElementSibling).is(e)?eh([this[0].nextElementSibling]):eh([]):this[0].nextElementSibling?eh([this[0].nextElementSibling]):eh([]):eh([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return eh([]);for(;n.nextElementSibling;){const a=n.nextElementSibling;e?eh(a).is(e)&&t.push(a):t.push(a),n=a}return eh(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&eh(t.previousElementSibling).is(e)?eh([t.previousElementSibling]):eh([]):t.previousElementSibling?eh([t.previousElementSibling]):eh([])}return eh([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return eh([]);for(;n.previousElementSibling;){const a=n.previousElementSibling;e?eh(a).is(e)&&t.push(a):t.push(a),n=a}return eh(t)},parent:function(e){const t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?eh(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return eh(t)},parents:function(e){const t=[];for(let n=0;n<this.length;n+=1){let a=this[n].parentNode;for(;a;)e?eh(a).is(e)&&t.push(a):t.push(a),a=a.parentNode}return eh(t)},closest:function(e){let t=this;return void 0===e?eh([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let n=0;n<this.length;n+=1){const a=this[n].querySelectorAll(e);for(let e=0;e<a.length;e+=1)t.push(a[e])}return eh(t)},children:function(e){const t=[];for(let n=0;n<this.length;n+=1){const a=this[n].children;for(let n=0;n<a.length;n+=1)e&&!eh(a[n]).is(e)||t.push(a[n])}return eh(t)},filter:function(e){return eh(Jp(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};function nh(e,t=0){return setTimeout(e,t)}function ah(){return Date.now()}function rh(e,t="x"){const n=Kp();let a,r,i;const o=function(e){const t=Kp();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),i=new n.WebKitCSSMatrix("none"===r?"":r)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=i.toString().split(",")),"x"===t&&(r=n.WebKitCSSMatrix?i.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(r=n.WebKitCSSMatrix?i.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),r||0}function ih(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function oh(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function sh(...e){const t=Object(e[0]),n=["__proto__","constructor","prototype"];for(let a=1;a<e.length;a+=1){const r=e[a];if(null!=r&&!oh(r)){const e=Object.keys(Object(r)).filter((e=>n.indexOf(e)<0));for(let n=0,a=e.length;n<a;n+=1){const a=e[n],i=Object.getOwnPropertyDescriptor(r,a);void 0!==i&&i.enumerable&&(ih(t[a])&&ih(r[a])?r[a].__swiper__?t[a]=r[a]:sh(t[a],r[a]):!ih(t[a])&&ih(r[a])?(t[a]={},r[a].__swiper__?t[a]=r[a]:sh(t[a],r[a])):t[a]=r[a])}}}return t}function lh(e,t,n){e.style.setProperty(t,n)}function ch({swiper:e,targetPosition:t,side:n}){const a=Kp(),r=-e.translate;let i,o=null;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);const l=t>r?"next":"prev",c=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,u=()=>{i=(new Date).getTime(),null===o&&(o=i);const l=Math.max(Math.min((i-o)/s,1),0),d=.5-Math.cos(l*Math.PI)/2;let p=r+d*(t-r);if(c(p,t)&&(p=t),e.wrapperEl.scrollTo({[n]:p}),c(p,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:p})})),void a.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=a.requestAnimationFrame(u)};u()}let uh,dh,ph;function hh(){return uh||(uh=function(){const e=Kp(),t=Zp();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const n=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),uh}function fh(e={}){return dh||(dh=function({userAgent:e}={}){const t=hh(),n=Kp(),a=n.navigator.platform,r=e||n.navigator.userAgent,i={ios:!1,android:!1},o=n.screen.width,s=n.screen.height,l=r.match(/(Android);?[\s\/]+([\d.]+)?/);let c=r.match(/(iPad).*OS\s([\d_]+)/);const u=r.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===a;let h="MacIntel"===a;return!c&&h&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${s}`)>=0&&(c=r.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),l&&!p&&(i.os="android",i.android=!0),(c||d||u)&&(i.os="ios",i.ios=!0),i}(e)),dh}function vh(){return ph||(ph=function(){const e=Kp();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),ph}Object.keys(th).forEach((e=>{Object.defineProperty(eh.fn,e,{value:th[e],writable:!0})}));var gh={on(e,t,n){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const r=n?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][r](t)})),a},once(e,t,n){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function r(...n){a.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(a,n)}return r.__emitterProxy=t,a.on(e,r,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const a=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[a](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((a,r)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)}))})),n):n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let n,a,r;"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],a=e.slice(1,e.length),r=t):(n=e[0].events,a=e[0].data,r=e[0].context||t),a.unshift(r);return(Array.isArray(n)?n:n.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(r,[e,...a])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(r,a)}))})),t}};var mh={updateSize:function(){const e=this;let t,n;const a=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a[0].clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:a[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),n=n-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}const a=e.params,{$wrapperEl:r,size:i,rtlTranslate:o,wrongRTL:s}=e,l=e.virtual&&a.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=r.children(`.${e.params.slideClass}`),d=l?e.virtual.slides.length:u.length;let p=[];const h=[],f=[];let v=a.slidesOffsetBefore;"function"==typeof v&&(v=a.slidesOffsetBefore.call(e));let g=a.slidesOffsetAfter;"function"==typeof g&&(g=a.slidesOffsetAfter.call(e));const m=e.snapGrid.length,w=e.slidesGrid.length;let y=a.spaceBetween,b=-v,_=0,x=0;if(void 0===i)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*i),e.virtualSize=-y,o?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),a.centeredSlides&&a.cssMode&&(lh(e.wrapperEl,"--swiper-centered-offset-before",""),lh(e.wrapperEl,"--swiper-centered-offset-after",""));const M=a.grid&&a.grid.rows>1&&e.grid;let C;M&&e.grid.initSlides(d);const A="auto"===a.slidesPerView&&a.breakpoints&&Object.keys(a.breakpoints).filter((e=>void 0!==a.breakpoints[e].slidesPerView)).length>0;for(let r=0;r<d;r+=1){C=0;const o=u.eq(r);if(M&&e.grid.updateSlide(r,o,d,t),"none"!==o.css("display")){if("auto"===a.slidesPerView){A&&(u[r].style[t("width")]="");const i=getComputedStyle(o[0]),s=o[0].style.transform,l=o[0].style.webkitTransform;if(s&&(o[0].style.transform="none"),l&&(o[0].style.webkitTransform="none"),a.roundLengths)C=e.isHorizontal()?o.outerWidth(!0):o.outerHeight(!0);else{const e=n(i,"width"),t=n(i,"padding-left"),a=n(i,"padding-right"),r=n(i,"margin-left"),s=n(i,"margin-right"),l=i.getPropertyValue("box-sizing");if(l&&"border-box"===l)C=e+r+s;else{const{clientWidth:n,offsetWidth:i}=o[0];C=e+t+a+r+s+(i-n)}}s&&(o[0].style.transform=s),l&&(o[0].style.webkitTransform=l),a.roundLengths&&(C=Math.floor(C))}else C=(i-(a.slidesPerView-1)*y)/a.slidesPerView,a.roundLengths&&(C=Math.floor(C)),u[r]&&(u[r].style[t("width")]=`${C}px`);u[r]&&(u[r].swiperSlideSize=C),f.push(C),a.centeredSlides?(b=b+C/2+_/2+y,0===_&&0!==r&&(b=b-i/2-y),0===r&&(b=b-i/2-y),Math.abs(b)<.001&&(b=0),a.roundLengths&&(b=Math.floor(b)),x%a.slidesPerGroup==0&&p.push(b),h.push(b)):(a.roundLengths&&(b=Math.floor(b)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&p.push(b),h.push(b),b=b+C+y),e.virtualSize+=C+y,_=C,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+g,o&&s&&("slide"===a.effect||"coverflow"===a.effect)&&r.css({width:`${e.virtualSize+a.spaceBetween}px`}),a.setWrapperSize&&r.css({[t("width")]:`${e.virtualSize+a.spaceBetween}px`}),M&&e.grid.updateWrapperSize(C,p,t),!a.centeredSlides){const t=[];for(let n=0;n<p.length;n+=1){let r=p[n];a.roundLengths&&(r=Math.floor(r)),p[n]<=e.virtualSize-i&&t.push(r)}p=t,Math.floor(e.virtualSize-i)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-i)}if(0===p.length&&(p=[0]),0!==a.spaceBetween){const n=e.isHorizontal()&&o?"marginLeft":t("marginRight");u.filter(((e,t)=>!a.cssMode||t!==u.length-1)).css({[n]:`${y}px`})}if(a.centeredSlides&&a.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween;const t=e-i;p=p.map((e=>e<0?-v:e>t?t+g:e))}if(a.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween,e<i){const t=(i-e)/2;p.forEach(((e,n)=>{p[n]=e-t})),h.forEach(((e,n)=>{h[n]=e+t}))}}if(Object.assign(e,{slides:u,snapGrid:p,slidesGrid:h,slidesSizesGrid:f}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){lh(e.wrapperEl,"--swiper-centered-offset-before",-p[0]+"px"),lh(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(d!==c&&e.emit("slidesLengthChange"),p.length!==m&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==w&&e.emit("slidesGridLengthChange"),a.watchSlidesProgress&&e.updateSlidesOffset(),!(l||a.cssMode||"slide"!==a.effect&&"fade"!==a.effect)){const t=`${a.containerModifierClass}backface-hidden`,n=e.$el.hasClass(t);d<=a.maxBackfaceHiddenSlides?n||e.$el.addClass(t):n&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,n=[],a=t.virtual&&t.params.virtual.enabled;let r,i=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>a?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||eh([])).each((e=>{n.push(e)}));else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!a)break;n.push(o(e))}else n.push(o(t.activeIndex));for(r=0;r<n.length;r+=1)if(void 0!==n[r]){const e=n[r].offsetHeight;i=e>i?e:i}(i||0===i)&&t.$wrapperEl.css("height",`${i}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:a,rtlTranslate:r,snapGrid:i}=t;if(0===a.length)return;void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;r&&(o=e),a.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<a.length;e+=1){const s=a[e];let l=s.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=a[0].swiperSlideOffset);const c=(o+(n.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),u=(o-i[0]+(n.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),d=-(o-l),p=d+t.slidesSizesGrid[e];(d>=0&&d<t.size-1||p>1&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e),a.eq(e).addClass(n.slideVisibleClass)),s.progress=r?-c:c,s.originalProgress=r?-u:u}t.visibleSlides=eh(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:i,isEnd:o}=t;const s=i,l=o;0===a?(r=0,i=!0,o=!0):(r=(e-t.minTranslate())/a,i=r<=0,o=r>=1),Object.assign(t,{progress:r,isBeginning:i,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),i&&!s&&t.emit("reachBeginning toEdge"),o&&!l&&t.emit("reachEnd toEdge"),(s&&!i||l&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:a,activeIndex:r,realIndex:i}=e,o=e.virtual&&n.virtual.enabled;let s;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),s=o?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${r}"]`):t.eq(r),s.addClass(n.slideActiveClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${i}"]`).addClass(n.slideDuplicateActiveClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${i}"]`).addClass(n.slideDuplicateActiveClass));let l=s.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=t.eq(0),l.addClass(n.slideNextClass));let c=s.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:a,snapGrid:r,params:i,activeIndex:o,realIndex:s,snapIndex:l}=t;let c,u=e;if(void 0===u){for(let e=0;e<a.length;e+=1)void 0!==a[e+1]?n>=a[e]&&n<a[e+1]-(a[e+1]-a[e])/2?u=e:n>=a[e]&&n<a[e+1]&&(u=e+1):n>=a[e]&&(u=e);i.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(n)>=0)c=r.indexOf(n);else{const e=Math.min(i.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/i.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),u===o)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(t,{snapIndex:c,realIndex:d,previousIndex:o,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),s!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,a=eh(e).closest(`.${n.slideClass}`)[0];let r,i=!1;if(a)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===a){i=!0,r=e;break}if(!a||!i)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=a,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(eh(a).attr("data-swiper-slide-index"),10):t.clickedIndex=r,n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var wh={getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:a,$wrapperEl:r}=this;if(t.virtualTranslate)return n?-a:a;if(t.cssMode)return a;let i=rh(r[0],e);return n&&(i=-i),i||0},setTranslate:function(e,t){const n=this,{rtlTranslate:a,params:r,$wrapperEl:i,wrapperEl:o,progress:s}=n;let l,c=0,u=0;n.isHorizontal()?c=a?-e:e:u=e,r.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),r.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-u:r.virtualTranslate||i.transform(`translate3d(${c}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:u;const d=n.maxTranslate()-n.minTranslate();l=0===d?0:(e-n.minTranslate())/d,l!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,a=!0,r){const i=this,{params:o,wrapperEl:s}=i;if(i.animating&&o.preventInteractionOnTransition)return!1;const l=i.minTranslate(),c=i.maxTranslate();let u;if(u=a&&e>l?l:a&&e<c?c:e,i.updateProgress(u),o.cssMode){const e=i.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-u;else{if(!i.support.smoothScroll)return ch({swiper:i,targetPosition:-u,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(i.setTransition(0),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",t,r),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",t,r),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,n&&i.emit("transitionEnd"))}),i.$wrapperEl[0].addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onTranslateToWrapperTransitionEnd))),!0}};function yh({swiper:e,runCallbacks:t,direction:n,step:a}){const{activeIndex:r,previousIndex:i}=e;let o=n;if(o||(o=r>i?"next":r<i?"prev":"reset"),e.emit(`transition${a}`),t&&r!==i){if("reset"===o)return void e.emit(`slideResetTransition${a}`);e.emit(`slideChangeTransition${a}`),"next"===o?e.emit(`slideNextTransition${a}`):e.emit(`slidePrevTransition${a}`)}}var bh={slideTo:function(e=0,t=this.params.speed,n=!0,a,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let o=e;o<0&&(o=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:p,wrapperEl:h,enabled:f}=i;if(i.animating&&s.preventInteractionOnTransition||!f&&!a&&!r)return!1;const v=Math.min(i.params.slidesPerGroupSkip,o);let g=v+Math.floor((o-v)/i.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const m=-l[g];if(s.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*m),n=Math.floor(100*c[e]),a=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<a-(a-n)/2?o=e:t>=n&&t<a&&(o=e+1):t>=n&&(o=e)}if(i.initialized&&o!==d){if(!i.allowSlideNext&&m<i.translate&&m<i.minTranslate())return!1;if(!i.allowSlidePrev&&m>i.translate&&m>i.maxTranslate()&&(d||0)!==o)return!1}let w;if(o!==(u||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(m),w=o>d?"next":o<d?"prev":"reset",p&&-m===i.translate||!p&&m===i.translate)return i.updateActiveIndex(o),s.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==s.effect&&i.setTranslate(m),"reset"!==w&&(i.transitionStart(n,w),i.transitionEnd(n,w)),!1;if(s.cssMode){const e=i.isHorizontal(),n=p?m:-m;if(0===t){const t=i.virtual&&i.params.virtual.enabled;t&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),h[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{i.wrapperEl.style.scrollSnapType="",i._swiperImmediateVirtual=!1}))}else{if(!i.support.smoothScroll)return ch({swiper:i,targetPosition:n,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(m),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,a),i.transitionStart(n,w),0===t?i.transitionEnd(n,w):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,w))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,a){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const r=this;let i=e;return r.params.loop&&(i+=r.loopedSlides),r.slideTo(i,t,n,a)},slideNext:function(e=this.params.speed,t=!0,n){const a=this,{animating:r,enabled:i,params:o}=a;if(!i)return a;let s=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(s=Math.max(a.slidesPerViewDynamic("current",!0),1));const l=a.activeIndex<o.slidesPerGroupSkip?1:s;if(o.loop){if(r&&o.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}return o.rewind&&a.isEnd?a.slideTo(0,e,t,n):a.slideTo(a.activeIndex+l,e,t,n)},slidePrev:function(e=this.params.speed,t=!0,n){const a=this,{params:r,animating:i,snapGrid:o,slidesGrid:s,rtlTranslate:l,enabled:c}=a;if(!c)return a;if(r.loop){if(i&&r.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=u(l?a.translate:-a.translate),p=o.map((e=>u(e)));let h=o[p.indexOf(d)-1];if(void 0===h&&r.cssMode){let e;o.forEach(((t,n)=>{d>=t&&(e=n)})),void 0!==e&&(h=o[e>0?e-1:e])}let f=0;if(void 0!==h&&(f=s.indexOf(h),f<0&&(f=a.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(f=f-a.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),r.rewind&&a.isBeginning){const r=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(r,e,t,n)}return a.slideTo(f,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,a=.5){const r=this;let i=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,i),s=o+Math.floor((i-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[s]){const e=r.snapGrid[s];l-e>(r.snapGrid[s+1]-e)*a&&(i+=r.params.slidesPerGroup)}else{const e=r.snapGrid[s-1];l-e<=(r.snapGrid[s]-e)*a&&(i-=r.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,r.slidesGrid.length-1),r.slideTo(i,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,i=e.clickedIndex;if(t.loop){if(e.animating)return;r=parseInt(eh(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?i<e.loopedSlides-a/2||i>e.slides.length-e.loopedSlides+a/2?(e.loopFix(),i=n.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),nh((()=>{e.slideTo(i)}))):e.slideTo(i):i>e.slides.length-a?(e.loopFix(),i=n.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),nh((()=>{e.slideTo(i)}))):e.slideTo(i)}else e.slideTo(i)}};var _h={loopCreate:function(){const e=this,t=Zp(),{params:n,$wrapperEl:a}=e,r=a.children().length>0?eh(a.children()[0].parentNode):a;r.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let i=r.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){const e=n.slidesPerGroup-i.length%n.slidesPerGroup;if(e!==n.slidesPerGroup){for(let a=0;a<e;a+=1){const e=eh(t.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);r.append(e)}i=r.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=i.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>i.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=i.length);const o=[],s=[];i.each(((e,t)=>{eh(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/i.length)*i.length;s.push(i.eq(e)[0]),o.unshift(i.eq(i.length-e-1)[0])}for(let e=0;e<s.length;e+=1)r.append(eh(s[e].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let e=o.length-1;e>=0;e-=1)r.prepend(eh(o[e].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:a,allowSlidePrev:r,allowSlideNext:i,snapGrid:o,rtlTranslate:s}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-o[t]-e.getTranslate();if(t<a){l=n.length-3*a+t,l+=a;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)}else if(t>=n.length-a){l=-n.length+t+a,l+=a;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)}e.allowSlidePrev=r,e.allowSlideNext=i,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}};function xh(e){const t=this,n=Zp(),a=Kp(),r=t.touchEventsData,{params:i,touches:o,enabled:s}=t;if(!s)return;if(t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let l=e;l.originalEvent&&(l=l.originalEvent);let c=eh(l.target);if("wrapper"===i.touchEventsTarget&&!c.closest(t.wrapperEl).length)return;if(r.isTouchEvent="touchstart"===l.type,!r.isTouchEvent&&"which"in l&&3===l.which)return;if(!r.isTouchEvent&&"button"in l&&l.button>0)return;if(r.isTouched&&r.isMoved)return;const u=!!i.noSwipingClass&&""!==i.noSwipingClass,d=e.composedPath?e.composedPath():e.path;u&&l.target&&l.target.shadowRoot&&d&&(c=eh(d[0]));const p=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,h=!(!l.target||!l.target.shadowRoot);if(i.noSwiping&&(h?function(e,t=this){return function t(n){if(!n||n===Zp()||n===Kp())return null;n.assignedSlot&&(n=n.assignedSlot);const a=n.closest(e);return a||n.getRootNode?a||t(n.getRootNode().host):null}(t)}(p,c[0]):c.closest(p)[0]))return void(t.allowClick=!0);if(i.swipeHandler&&!c.closest(i.swipeHandler)[0])return;o.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,o.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const f=o.currentX,v=o.currentY,g=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,m=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(g&&(f<=m||f>=a.innerWidth-m)){if("prevent"!==g)return;e.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=f,o.startY=v,r.touchStartTime=ah(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==l.type){let e=!0;c.is(r.focusableElements)&&(e=!1,"SELECT"===c[0].nodeName&&(r.isTouched=!1)),n.activeElement&&eh(n.activeElement).is(r.focusableElements)&&n.activeElement!==c[0]&&n.activeElement.blur();const a=e&&t.allowTouchMove&&i.touchStartPreventDefault;!i.touchStartForcePreventDefault&&!a||c[0].isContentEditable||l.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l)}function Mh(e){const t=Zp(),n=this,a=n.touchEventsData,{params:r,touches:i,rtlTranslate:o,enabled:s}=n;if(!s)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!a.isTouched)return void(a.startMoving&&a.isScrolling&&n.emit("touchMoveOpposite",l));if(a.isTouchEvent&&"touchmove"!==l.type)return;const c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?c.pageX:l.pageX,d="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return i.startX=u,void(i.startY=d);if(!n.allowTouchMove)return eh(l.target).is(a.focusableElements)||(n.allowClick=!1),void(a.isTouched&&(Object.assign(i,{startX:u,startY:d,currentX:u,currentY:d}),a.touchStartTime=ah()));if(a.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(d<i.startY&&n.translate<=n.maxTranslate()||d>i.startY&&n.translate>=n.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(u<i.startX&&n.translate<=n.maxTranslate()||u>i.startX&&n.translate>=n.minTranslate())return;if(a.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&eh(l.target).is(a.focusableElements))return a.isMoved=!0,void(n.allowClick=!1);if(a.allowTouchCallbacks&&n.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;i.currentX=u,i.currentY=d;const p=i.currentX-i.startX,h=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(p**2+h**2)<n.params.threshold)return;if(void 0===a.isScrolling){let e;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?a.isScrolling=!1:p*p+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(p))/Math.PI,a.isScrolling=n.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(a.isScrolling&&n.emit("touchMoveOpposite",l),void 0===a.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(a.startMoving=!0)),a.isScrolling)return void(a.isTouched=!1);if(!a.startMoving)return;n.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation(),a.isMoved||(r.loop&&!r.cssMode&&n.loopFix(),a.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",l)),n.emit("sliderMove",l),a.isMoved=!0;let f=n.isHorizontal()?p:h;i.diff=f,f*=r.touchRatio,o&&(f=-f),n.swipeDirection=f>0?"prev":"next",a.currentTranslate=f+a.startTranslate;let v=!0,g=r.resistanceRatio;if(r.touchReleaseOnEdges&&(g=0),f>0&&a.currentTranslate>n.minTranslate()?(v=!1,r.resistance&&(a.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+a.startTranslate+f)**g)):f<0&&a.currentTranslate<n.maxTranslate()&&(v=!1,r.resistance&&(a.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-a.startTranslate-f)**g)),v&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),n.allowSlidePrev||n.allowSlideNext||(a.currentTranslate=a.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,a.currentTranslate=a.startTranslate,void(i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(a.currentTranslate),n.setTranslate(a.currentTranslate))}function Ch(e){const t=this,n=t.touchEventsData,{params:a,touches:r,rtlTranslate:i,slidesGrid:o,enabled:s}=t;if(!s)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=ah(),u=c-n.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),u<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(n.lastClickTime=ah(),nh((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let d;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=a.followFinger?i?t.translate:-t.translate:-n.currentTranslate,a.cssMode)return;if(t.params.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:d});let p=0,h=t.slidesSizesGrid[0];for(let e=0;e<o.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){const t=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==o[e+t]?d>=o[e]&&d<o[e+t]&&(p=e,h=o[e+t]-o[e]):d>=o[e]&&(p=e,h=o[o.length-1]-o[o.length-2])}let f=null,v=null;a.rewind&&(t.isBeginning?v=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const g=(d-o[p])/h,m=p<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(u>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?f:p+m):t.slideTo(p)),"prev"===t.swipeDirection&&(g>1-a.longSwipesRatio?t.slideTo(p+m):null!==v&&g<0&&Math.abs(g)>a.longSwipesRatio?t.slideTo(v):t.slideTo(p))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(p+m):t.slideTo(p):("next"===t.swipeDirection&&t.slideTo(null!==f?f:p+m),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:p))}}function Ah(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:r,snapGrid:i}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=r,e.allowSlideNext=a,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function Ph(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function kh(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:a}=e;if(!a)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();r=0===i?0:(e.translate-e.minTranslate())/i,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let Sh=!1;function zh(){}const Th=(e,t)=>{const n=Zp(),{params:a,touchEvents:r,el:i,wrapperEl:o,device:s,support:l}=e,c=!!a.nested,u="on"===t?"addEventListener":"removeEventListener",d=t;if(l.touch){const t=!("touchstart"!==r.start||!l.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};i[u](r.start,e.onTouchStart,t),i[u](r.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),i[u](r.end,e.onTouchEnd,t),r.cancel&&i[u](r.cancel,e.onTouchEnd,t)}else i[u](r.start,e.onTouchStart,!1),n[u](r.move,e.onTouchMove,c),n[u](r.end,e.onTouchEnd,!1);(a.preventClicks||a.preventClicksPropagation)&&i[u]("click",e.onClick,!0),a.cssMode&&o[u]("scroll",e.onScroll),a.updateOnWindowResize?e[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ah,!0):e[d]("observerUpdate",Ah,!0)};var Eh={attachEvents:function(){const e=this,t=Zp(),{params:n,support:a}=e;e.onTouchStart=xh.bind(e),e.onTouchMove=Mh.bind(e),e.onTouchEnd=Ch.bind(e),n.cssMode&&(e.onScroll=kh.bind(e)),e.onClick=Ph.bind(e),a.touch&&!Sh&&(t.addEventListener("touchstart",zh),Sh=!0),Th(e,"on")},detachEvents:function(){Th(this,"off")}};const jh=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var Oh={setBreakpoint:function(){const e=this,{activeIndex:t,initialized:n,loopedSlides:a=0,params:r,$el:i}=e,o=r.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const s=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const l=(s in o?o[s]:void 0)||e.originalParams,c=jh(e,r),u=jh(e,l),d=r.enabled;c&&!u?(i.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(i.addClass(`${r.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===r.grid.fill)&&i.addClass(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const n=r[t]&&r[t].enabled,a=l[t]&&l[t].enabled;n&&!a&&e[t].disable(),!n&&a&&e[t].enable()}));const p=l.direction&&l.direction!==r.direction,h=r.loop&&(l.slidesPerView!==r.slidesPerView||p);p&&n&&e.changeDirection(),sh(e.params,l);const f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!f?e.disable():!d&&f&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",l),h&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let a=!1;const r=Kp(),i="window"===t?r.innerHeight:n.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<o.length;e+=1){const{point:i,value:s}=o[e];"window"===t?r.matchMedia(`(min-width: ${s}px)`).matches&&(a=i):s<=n.clientWidth&&(a=i)}return a||"max"}};var Lh={addClasses:function(){const e=this,{classNames:t,params:n,rtl:a,$el:r,device:i,support:o}=e,s=function(e,t){const n=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&n.push(t+a)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"pointer-events":!o.touch},{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:a},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),r.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}};var Bh={loadImage:function(e,t,n,a,r,i){const o=Kp();let s;function l(){i&&i()}eh(e).parent("picture")[0]||e.complete&&r?l():t?(s=new o.Image,s.onload=l,s.onerror=l,a&&(s.sizes=a),n&&(s.srcset=n),t&&(s.src=t)):l()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n<e.imagesToLoad.length;n+=1){const a=e.imagesToLoad[n];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,t)}}};var Hh={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Nh(e,t){return function(n={}){const a=Object.keys(n)[0],r=n[a];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(a)>=0&&!0===e[a]&&(e[a]={auto:!0}),a in e&&"enabled"in r?(!0===e[a]&&(e[a]={enabled:!0}),"object"!=typeof e[a]||"enabled"in e[a]||(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),sh(t,n)):sh(t,n)):sh(t,n)}}const Rh={eventsEmitter:gh,update:mh,translate:wh,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{params:a}=n;a.cssMode||(a.autoHeight&&n.updateAutoHeight(),yh({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const n=this,{params:a}=n;n.animating=!1,a.cssMode||(n.setTransition(0),yh({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:bh,loop:_h,grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:Eh,breakpoints:Oh,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:a}=n;if(a){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:Lh,images:Bh},Vh={};class Ih{constructor(...e){let t,n;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=sh({},n),t&&!n.el&&(n.el=t),n.el&&eh(n.el).length>1){const e=[];return eh(n.el).each((t=>{const a=sh({},n,{el:t});e.push(new Ih(a))})),e}const a=this;a.__swiper__=!0,a.support=hh(),a.device=fh({userAgent:n.userAgent}),a.browser=vh(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const r={};a.modules.forEach((e=>{e({swiper:a,extendParams:Nh(n,r),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const i=sh({},Hh,r);return a.params=sh({},i,Vh,n),a.originalParams=sh({},a.params),a.passedParams=sh({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=eh,Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:eh(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return a.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},a.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:ah(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const a=n.minTranslate(),r=(n.maxTranslate()-a)*e+a;n.translateTo(r,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((n=>{const a=e.getSlideClasses(n);t.push({slideEl:n,classNames:a}),e.emit("_slideClass",n,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:n,slides:a,slidesGrid:r,slidesSizesGrid:i,size:o,activeIndex:s}=this;let l=1;if(n.centeredSlides){let e,t=a[s].swiperSlideSize;for(let n=s+1;n<a.length;n+=1)a[n]&&!e&&(t+=a[n].swiperSlideSize,l+=1,t>o&&(e=!0));for(let n=s-1;n>=0;n-=1)a[n]&&!e&&(t+=a[n].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=s+1;e<a.length;e+=1){(t?r[e]+i[e]-r[s]<o:r[e]-r[s]<o)&&(l+=1)}else for(let e=s-1;e>=0;e-=1){r[s]-r[e]<o&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function a(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let r;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(a(),e.params.autoHeight&&e.updateAutoHeight()):(r=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),r||a()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,a=n.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${a}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const n=eh(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;const a=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=eh(e.shadowRoot.querySelector(a()));return t.children=e=>n.children(e),t}return n.children?n.children(a()):eh(n).children(a())})();if(0===r.length&&t.params.createElements){const e=Zp().createElement("div");r=eh(e),e.className=t.params.wrapperClass,n.append(e),n.children(`.${t.params.slideClass}`).each((e=>{r.append(e)}))}return Object.assign(t,{$el:n,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const n=this,{params:a,$el:r,$wrapperEl:i,slides:o}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),i.removeAttr("style"),o&&o.length&&o.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){sh(Vh,e)}static get extendedDefaults(){return Vh}static get defaults(){return Hh}static installModule(e){Ih.prototype.__modules__||(Ih.prototype.__modules__=[]);const t=Ih.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>Ih.installModule(e))),Ih):(Ih.installModule(e),Ih)}}function Dh(e,t,n,a){const r=Zp();return e.params.createElements&&Object.keys(a).forEach((i=>{if(!n[i]&&!0===n.auto){let o=e.$el.children(`.${a[i]}`)[0];o||(o=r.createElement("div"),o.className=a[i],e.$el.append(o)),n[i]=o,t[i]=o}})),n}function Fh({swiper:e,extendParams:t,on:n,emit:a}){function r(t){let n;return t&&(n=eh(t),e.params.uniqueNavElements&&"string"==typeof t&&n.length>1&&1===e.$el.find(t).length&&(n=e.$el.find(t))),n}function i(t,n){const a=e.params.navigation;t&&t.length>0&&(t[n?"addClass":"removeClass"](a.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=n),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](a.lockClass))}function o(){if(e.params.loop)return;const{$nextEl:t,$prevEl:n}=e.navigation;i(n,e.isBeginning&&!e.params.rewind),i(t,e.isEnd&&!e.params.rewind)}function s(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),a("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),a("navigationNext"))}function c(){const t=e.params.navigation;if(e.params.navigation=Dh(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const n=r(t.nextEl),a=r(t.prevEl);n&&n.length>0&&n.on("click",l),a&&a.length>0&&a.on("click",s),Object.assign(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:a,prevEl:a&&a[0]}),e.enabled||(n&&n.addClass(t.lockClass),a&&a.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",s),n.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",(()=>{!1===e.params.navigation.enabled?d():(c(),o())})),n("toEdge fromEdge lock unlock",(()=>{o()})),n("destroy",(()=>{u()})),n("enable disable",(()=>{const{$nextEl:t,$prevEl:n}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),n&&n[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),n("click",((t,n)=>{const{$nextEl:r,$prevEl:i}=e.navigation,o=n.target;if(e.params.navigation.hideOnClick&&!eh(o).is(i)&&!eh(o).is(r)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;r?t=r.hasClass(e.params.navigation.hiddenClass):i&&(t=i.hasClass(e.params.navigation.hiddenClass)),a(!0===t?"navigationShow":"navigationHide"),r&&r.toggleClass(e.params.navigation.hiddenClass),i&&i.toggleClass(e.params.navigation.hiddenClass)}}));const d=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),c(),o()},disable:d,update:o,init:c,destroy:u})}function qh(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function $h({swiper:e,extendParams:t,on:n,emit:a}){const r="swiper-pagination";let i;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let o=0;function s(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function l(t,n){const{bulletActiveClass:a}=e.params.pagination;t[n]().addClass(`${a}-${n}`)[n]().addClass(`${a}-${n}-${n}`)}function c(){const t=e.rtl,n=e.params.pagination;if(s())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,c=e.pagination.$el;let u;const d=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>r-1-2*e.loopedSlides&&(u-=r-2*e.loopedSlides),u>d-1&&(u-=d),u<0&&"bullets"!==e.params.paginationType&&(u=d+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const a=e.pagination.bullets;let r,s,d;if(n.dynamicBullets&&(i=a.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(e.isHorizontal()?"width":"height",i*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(o+=u-(e.previousIndex-e.loopedSlides||0),o>n.dynamicMainBullets-1?o=n.dynamicMainBullets-1:o<0&&(o=0)),r=Math.max(u-o,0),s=r+(Math.min(a.length,n.dynamicMainBullets)-1),d=(s+r)/2),a.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${n.bulletActiveClass}${e}`)).join(" ")),c.length>1)a.each((e=>{const t=eh(e),a=t.index();a===u&&t.addClass(n.bulletActiveClass),n.dynamicBullets&&(a>=r&&a<=s&&t.addClass(`${n.bulletActiveClass}-main`),a===r&&l(t,"prev"),a===s&&l(t,"next"))}));else{const t=a.eq(u),i=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){const t=a.eq(r),o=a.eq(s);for(let e=r;e<=s;e+=1)a.eq(e).addClass(`${n.bulletActiveClass}-main`);if(e.params.loop)if(i>=a.length){for(let e=n.dynamicMainBullets;e>=0;e-=1)a.eq(a.length-e).addClass(`${n.bulletActiveClass}-main`);a.eq(a.length-n.dynamicMainBullets-1).addClass(`${n.bulletActiveClass}-prev`)}else l(t,"prev"),l(o,"next");else l(t,"prev"),l(o,"next")}}if(n.dynamicBullets){const r=Math.min(a.length,n.dynamicMainBullets+4),o=(i*r-i)/2-d*i,s=t?"right":"left";a.css(e.isHorizontal()?s:"top",`${o}px`)}}if("fraction"===n.type&&(c.find(qh(n.currentClass)).text(n.formatFractionCurrent(u+1)),c.find(qh(n.totalClass)).text(n.formatFractionTotal(d))),"progressbar"===n.type){let t;t=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const a=(u+1)/d;let r=1,i=1;"horizontal"===t?r=a:i=a,c.find(qh(n.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${i})`).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(c.html(n.renderCustom(e,u+1,d)),a("paginationRender",c[0])):a("paginationUpdate",c[0]),e.params.watchOverflow&&e.enabled&&c[e.isLocked?"addClass":"removeClass"](n.lockClass)}function u(){const t=e.params.pagination;if(s())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el;let i="";if("bullets"===t.type){let a=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&a>n&&(a=n);for(let n=0;n<a;n+=1)t.renderBullet?i+=t.renderBullet.call(e,n,t.bulletClass):i+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;r.html(i),e.pagination.bullets=r.find(qh(t.bulletClass))}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,r.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,r.html(i)),"custom"!==t.type&&a("paginationRender",e.pagination.$el[0])}function d(){e.params.pagination=Dh(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let n=eh(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el),n.length>1&&(n=n.filter((t=>eh(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),n.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),o=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click",qh(t.bulletClass),(function(t){t.preventDefault();let n=eh(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),Object.assign(e.pagination,{$el:n,el:n[0]}),e.enabled||n.addClass(t.lockClass))}function p(){const t=e.params.pagination;if(s())return;const n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),n.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click",qh(t.bulletClass))}n("init",(()=>{!1===e.params.pagination.enabled?h():(d(),u(),c())})),n("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&c()})),n("snapIndexChange",(()=>{e.params.loop||c()})),n("slidesLengthChange",(()=>{e.params.loop&&(u(),c())})),n("snapGridLengthChange",(()=>{e.params.loop||(u(),c())})),n("destroy",(()=>{p()})),n("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),n("lock unlock",(()=>{c()})),n("click",((t,n)=>{const r=n.target,{$el:i}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&i&&i.length>0&&!eh(r).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&r===e.navigation.nextEl||e.navigation.prevEl&&r===e.navigation.prevEl))return;const t=i.hasClass(e.params.pagination.hiddenClass);a(!0===t?"paginationShow":"paginationHide"),i.toggleClass(e.params.pagination.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),p()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),d(),u(),c()},disable:h,render:u,update:c,init:d,destroy:p})}Object.keys(Rh).forEach((e=>{Object.keys(Rh[e]).forEach((t=>{Ih.prototype[t]=Rh[e][t]}))})),Ih.use([function({swiper:e,on:t,emit:n}){const a=Kp();let r=null,i=null;const o=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},s=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==a.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{i=a.requestAnimationFrame((()=>{const{width:n,height:a}=e;let r=n,i=a;t.forEach((({contentBoxSize:t,contentRect:n,target:a})=>{a&&a!==e.el||(r=n?n.width:(t[0]||t).inlineSize,i=n?n.height:(t[0]||t).blockSize)})),r===n&&i===a||o()}))})),r.observe(e.el)):(a.addEventListener("resize",o),a.addEventListener("orientationchange",s))})),t("destroy",(()=>{i&&a.cancelAnimationFrame(i),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),a.removeEventListener("resize",o),a.removeEventListener("orientationchange",s)}))},function({swiper:e,extendParams:t,on:n,emit:a}){const r=[],i=Kp(),o=(e,t={})=>{const n=new(i.MutationObserver||i.WebkitMutationObserver)((e=>{if(1===e.length)return void a("observerUpdate",e[0]);const t=function(){a("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(n)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)o(t[e])}o(e.$el[0],{childList:e.params.observeSlideChildren}),o(e.$wrapperEl[0],{attributes:!1})}})),n("destroy",(()=>{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}]);var Uh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.price,a=n,i=!1;return(null==t?void 0:t.value)>0&&t.plan_relation.includes(e.id)?(i=!0,a="percentage"===t.type?n-n*t.value/100:Math.max(0,n-t.value)):e.discount>0&&(i=!0,a="percentage"===e.discount_type?n-n*e.discount/100:Math.max(0,n-e.discount)),r(r({},e),{},{price:parseFloat(a.toFixed(2)),strike_price:i?parseFloat(n.toFixed(2)):null,has_discount:i})},Gh=function(e){if(!e)return"";if(["double","integer"].includes(null==e?void 0:e.value_type))return"percentage"===e.format?"".concat(e.value,"%"):"count"===e.format&&parseInt(e.value)<0?"Unlimited":e.value;if("array"===(null==e?void 0:e.value_type)){var t=[];try{t=Array.isArray(e.value)?e.value:JSON.parse(e.value)}catch(t){return console.error("Invalid array feature value:",e.value),""}return t.join(",")}var n;return"string"===(null==e?void 0:e.value_type)?(null===(n=e.value)||void 0===n?void 0:n.replace(/"/g,""))||"":e.value},Wh=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n&&t&&(t.id===e.id||!e.is_custom&&e.base_plan===t.id)},Zh=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return!!Wh(t,n,a)||!(!t.store_base_plan||t.shopify_plans.includes(e))},Yh=function(e,t,n,a){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=Wh(t,a,i);return o?n("Selected plan"):t.store_base_plan&&!t.shopify_plans.includes(e)?n("Not applicable"):o?t.price>a.price?n("Upgrade"):n(r?"Switch to this plan":"Choose plan"):n("Choose plan")},Kh=function(e,t,n,a){return!(!(t.store_base_plan&&n&&t.shopify_plans.includes(e))||Wh(t,n,a)||function(e,t,n){return n&&t.shopify_plans===e}(e,t,n))},Xh={name:"PlanCardsHighlights",components:{VariantButton:Hp},props:{plans:{type:Array,required:!0},currentPlan:{type:Object,required:!1},hasActiveCharge:{type:Boolean,required:!1},shopifyPlan:{type:String,required:!1},promotionalDiscount:{type:Object,required:!1},selectedInterval:{type:String,required:!1},features:{type:Array,required:!1,default:function(){return[]}}},data:function(){return{interval:"annually"===this.selectedInterval?"ANNUAL":"EVERY_30_DAYS",placeholder:{description:"Perfect for everything"},remainingPlansMonthly:{before:0,after:0},remainingPlansAnnually:{before:0,after:0},anyMonthlyPlanHasDiscount:!1,anyAnnuallyPlanHasDiscount:!1,anyMonthlyPlanHasNote:!1,anyAnnuallyPlanHasNote:!1,loadingPlanId:null}},computed:{monthlyPlans:function(){var e=this;return this.plans.filter((function(e){return"EVERY_30_DAYS"===e.interval})).map((function(t){var n=Uh(t,e.promotionalDiscount);return n.has_discount&&!e.anyMonthlyPlanHasDiscount&&(e.anyMonthlyPlanHasDiscount=!0),t.store_base_plan&&!1===e.anyMonthlyPlanHasNote&&Kh(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge)&&(e.anyMonthlyPlanHasNote=!0),n}))},annualPlans:function(){var e=this;return this.plans.filter((function(e){return"ANNUAL"===e.interval})).map((function(t){var n=Uh(t,e.promotionalDiscount);return n.has_discount&&!e.anyAnnuallyPlanHasDiscount&&(e.anyAnnuallyPlanHasDiscount=!0),t.store_base_plan&&!1===e.anyAnnuallyPlanHasNote&&Kh(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge)&&(e.anyAnnuallyPlanHasNote=!0),n}))},sortedPlanFeatures:function(){var e=this;return function(t){var n=Object.keys(t.features);return e.features.filter((function(e){return n.includes(e.uuid)&&!e.hidden_feature})).sort((function(e,t){var n=parseInt(e.popularity)||999,a=parseInt(t.popularity)||999;return n!==a?n-a:(parseInt(e.display_order)||999)-(parseInt(t.display_order)||999)})).slice(0,4).map((function(e){return r(r({},e),{},{value:t.features[e.uuid].value||t.features[e.uuid]})}))}},isMonthlyVisible:function(){return"monthly"===this.selectedInterval},isAnnuallyVisible:function(){return"annually"===this.selectedInterval}},methods:{getPlanButtonText:Yh,isPlanNote:Kh,isPlanButtonDisabled:Zh,formatFeature:Gh,handlePlanClick:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loadingPlanId=e.id,n.prev=1,n.next=4,t.$emit("plan-clicked",e);case 4:n.next=10;break;case 6:n.prev=6,n.t0=n.catch(1),console.error("Error handling plan click:",n.t0),t.loadingPlanId=null;case 10:case"end":return n.stop()}}),n,null,[[1,6]])})))()},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e},syncNavigationWidth:function(){var e=document.querySelectorAll(".swiper-plan-h-navigation"),t=document.querySelector(".plans-h-cards");t?e.forEach((function(e){e.style.width="".concat(t.offsetWidth+130,"px"),e.style.left="".concat(t.offsetLeft-65,"px")})):console.error("No `.plans-h-cards` element found.")},updateRemainingPlans:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"monthly";if(e){var n=e.slides.length,a=e.activeIndex,r=1;if("number"==typeof e.params.slidesPerView)r=e.params.slidesPerView;else if(e.params.breakpoints){var i,o=window.innerWidth,s=e.params.breakpoints,l=Object.keys(s).map(Number).sort((function(e,t){return e-t})),c=v(l);try{for(c.s();!(i=c.n()).done;){var u=i.value;o>=u&&"number"==typeof s[u].slidesPerView&&(r=s[u].slidesPerView)}}catch(e){c.e(e)}finally{c.f()}}var d=Math.max(n-(a+r),0),p=a;"annually"===t?this.remainingPlansAnnually={after:d,before:p}:this.remainingPlansMonthly={after:d,before:p}}},updateSliderVisibility:function(){var e=document.querySelector(".monthly"),t=document.querySelector(".annually"),n=document.querySelector(".nav-monthly"),a=document.querySelector(".nav-annually");this.isMonthlyVisible?(e.style.visibility="visible",e.style.height="auto",e.style.border="1px solid #e5e5e5",t.style.visibility="hidden",t.style.height="0px",t.style.border="0px",n.style.display="flex",a.style.display="none",this.interval="EVERY_30_DAYS"):this.isAnnuallyVisible&&(e.style.visibility="hidden",e.style.height="0px",e.style.border="0px",t.style.visibility="visible",t.style.height="auto",t.style.border="1px solid #e5e5e5",n.style.display="none",a.style.display="flex",this.interval="ANNUAL")}},watch:{selectedInterval:function(){this.updateSliderVisibility()}},mounted:function(){var e=this;this.updateSliderVisibility(),new Ih(this.$refs.swiperMonthly,{modules:[Fh,$h],loop:!1,slidesPerView:1,speed:500,pagination:{el:".swiper-pagination-h-monthly",clickable:!0},navigation:{nextEl:".swiper-plan-h-next-monthly",prevEl:".swiper-plan-h-prev-monthly"},breakpoints:{375:{slidesPerView:Math.min(this.monthlyPlans.length,1)},640:{slidesPerView:Math.min(this.monthlyPlans.length,2)},840:{slidesPerView:Math.min(this.monthlyPlans.length,3)},1152:{slidesPerView:Math.min(this.monthlyPlans.length,4)}},on:{slideChange:function(t){e.updateRemainingPlans(t)},afterInit:function(t){e.updateRemainingPlans(t)}}}),new Ih(this.$refs.swiperAnnually,{modules:[Fh,$h],loop:!1,slidesPerView:1,speed:500,pagination:{el:".swiper-pagination-h-annually",clickable:!0},navigation:{nextEl:".swiper-plan-h-next-annually",prevEl:".swiper-plan-h-prev-annually"},breakpoints:{375:{slidesPerView:Math.min(this.annualPlans.length,1)},640:{slidesPerView:Math.min(this.annualPlans.length,2)},840:{slidesPerView:Math.min(this.annualPlans.length,3)},1152:{slidesPerView:Math.min(this.annualPlans.length,4)}},on:{slideChange:function(t){e.updateRemainingPlans(t,"annually")},afterInit:function(t){e.updateRemainingPlans(t,"annually")}}}),this.syncNavigationWidth(),window.addEventListener("resize",this.syncNavigationWidth)},beforeUnmount:function(){window.removeEventListener("resize",this.syncNavigationWidth)}},Qh=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("div",{staticClass:"swiper-plan-h-navigation nav-monthly"},[n("button",{staticClass:"swiper-plan-h-prev-monthly"},[this.remainingPlansMonthly.before>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansMonthly.before+" "+(1===this.remainingPlansMonthly.before?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),e._v(" "),n("button",{staticClass:"swiper-plan-h-next-monthly"},[this.remainingPlansMonthly.after>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansMonthly.after+" "+(1===this.remainingPlansMonthly.after?e.translateMe("plan"):e.translateMe("plans"))))]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),e._v(" "),n("div",{staticClass:"swiper-plan-h-navigation nav-annually"},[n("button",{staticClass:"swiper-plan-h-prev-annually"},[this.remainingPlansAnnually.before>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansAnnually.before+" "+(1===this.remainingPlansAnnually.before?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),e._v(" "),n("button",{staticClass:"swiper-plan-h-next-annually"},[this.remainingPlansAnnually.after>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansAnnually.after+" "+(1===this.remainingPlansAnnually.after?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),e._v(" "),n("div",{ref:"swiperMonthly",staticClass:"swiper cards monthly plans-h-cards"},[n("div",{staticClass:"swiper-wrapper"},e._l(e.monthlyPlans,(function(t,a){return"EVERY_30_DAYS"===t.interval?n("div",{key:t.id,staticClass:"swiper-slide",staticStyle:{height:"auto !important"}},[n("div",{class:["card","card-border",a===e.monthlyPlans.length-1?"last-card":""]},[t.most_popular?n("div",{staticClass:"most-popular"},[n("div",{staticClass:"most-popular-label"},[e._v("\n "+e._s(e.translateMe("Most popular"))+"\n ")])]):e._e(),e._v(" "),n("h3",{staticClass:"title"},[e._v("\n "+e._s(e.translateMe(t.name))+"\n ")]),e._v(" "),n("div",{class:["price-wrapper",e.anyMonthlyPlanHasDiscount?"has-discount":""]},[t.strike_price?[n("h5",{staticClass:"strike-price"},[n("span",{staticStyle:{"text-decoration":"line-through"}},[e._v("$"+e._s(Number(t.strike_price).toFixed(2)))]),e._v(" "),0!==t.strike_price?n("span",[e._v("\n /"+e._s(e.translateMe("mo"))+"\n ")]):e._e()])]:e._e(),e._v(" "),n("h2",{staticClass:"price"},[e._v("\n "+e._s(0!==t.price?"$"+Number(t.price).toFixed(2):e.translateMe("Free"))+"\n "),0!==t.price?n("span",[e._v("\n /"+e._s(e.translateMe("mo"))+"\n ")]):e._e()])],2),e._v(" "),n("h6",{staticClass:"description",style:{visibility:t.description&&"monthly"===e.selectedInterval?"visible":"hidden"}},[e._v("\n "+e._s(t.description?e.translateMe(t.description):e.translateMe(e.placeholder.description))+"\n ")]),e._v(" "),n("VariantButton",{attrs:{variant:"secondary",disabled:e.isPlanButtonDisabled(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge),loading:e.loadingPlanId===t.id},on:{click:function(n){return e.handlePlanClick(t)}}},[e._v(e._s(e.getPlanButtonText(e.shopifyPlan,t,e.translateMe,e.currentPlan,!1,e.hasActiveCharge))+"\n ")]),e._v(" "),n("h6",{staticClass:"trial_days",style:{visibility:t.trial_days>0&&"monthly"===e.selectedInterval?"visible":"hidden"}},[e._v("\n "+e._s(t.trial_days+e.translateMe("-")+e.translateMe("day free trial"))+"\n ")]),e._v(" "),n("div",{staticClass:"features"},[n("ul",e._l(e.sortedPlanFeatures(t),(function(t){return n("li",{key:t.uuid,staticClass:"feature"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.7803 5.96967C16.0732 6.26256 16.0732 6.73744 15.7803 7.03033L9.28033 13.5303C8.98744 13.8232 8.51256 13.8232 8.21967 13.5303L4.96967 10.2803C4.67678 9.98744 4.67678 9.51256 4.96967 9.21967C5.26256 8.92678 5.73744 8.92678 6.03033 9.21967L8.75 11.9393L14.7197 5.96967C15.0126 5.67678 15.4874 5.67678 15.7803 5.96967Z",fill:"#1A1A1A"}})]),e._v(" "),n("span",[e._v("\n "+e._s("boolean"!==t.value_type?e.translateMe(e.formatFeature(t)):"")+"\n "+e._s(e.translateMe(t.name))+"\n ")])])})),0)]),e._v(" "),e.anyMonthlyPlanHasNote?n("p",{staticClass:"plan-note",style:{visibility:"monthly"===e.selectedInterval&&e.isPlanNote(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge)?"visible":"hidden"}},[e._v("\n "+e._s(e.translateMe("Note: On account of your recent Shopify plan upgrade, you should consider upgrading your current app plan"))+"\n ")]):e._e()],1)]):e._e()})),0)]),e._v(" "),n("div",{staticClass:"swiper-pagination swiper-pagination-h-monthly",style:{display:"annually"===e.selectedInterval?"none":"block"}}),e._v(" "),n("div",{ref:"swiperAnnually",staticClass:"swiper cards annually plans-h-cards"},[n("div",{staticClass:"swiper-wrapper"},e._l(e.annualPlans,(function(t,a){return"ANNUAL"===t.interval?n("div",{key:t.id,staticClass:"swiper-slide",staticStyle:{height:"auto !important"}},[n("div",{class:["card","card-border",a===e.annualPlans.length-1?"last-card":""]},[t.most_popular?n("div",{staticClass:"most-popular"},[n("div",{staticClass:"most-popular-label"},[e._v("\n "+e._s(e.translateMe("Most popular"))+"\n ")])]):e._e(),e._v(" "),n("h3",{staticClass:"title"},[e._v("\n "+e._s(e.translateMe(t.name))+"\n ")]),e._v(" "),n("div",{class:["price-wrapper",e.anyAnnuallyPlanHasDiscount?"has-discount":""]},[t.strike_price?[n("h5",{staticClass:"strike-price"},[n("span",{staticStyle:{"text-decoration":"line-through"}},[e._v("$"+e._s(Number(t.strike_price).toFixed(2)))]),e._v(" "),0!==t.strike_price?n("span",[e._v("\n /"+e._s(e.translateMe("yr"))+"\n ")]):e._e()])]:e._e(),e._v(" "),n("h2",{staticClass:"price"},[e._v("\n "+e._s(0!==t.price?"$"+Number(t.price).toFixed(2):e.translateMe("Free"))+"\n "),0!==t.price?n("span",[e._v("\n /"+e._s(e.translateMe("yr"))+"\n ")]):e._e()])],2),e._v(" "),n("h6",{staticClass:"description",style:{visibility:t.description&&"annually"===e.selectedInterval?"visible":"hidden"}},[e._v("\n "+e._s(t.description?e.translateMe(t.description):e.translateMe(e.placeholder.description))+"\n ")]),e._v(" "),n("VariantButton",{attrs:{variant:"secondary",disabled:e.isPlanButtonDisabled(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge),loading:e.loadingPlanId===t.id},on:{click:function(n){return e.handlePlanClick(t)}}},[e._v(e._s(e.getPlanButtonText(e.shopifyPlan,t,e.translateMe,e.currentPlan,!1,e.hasActiveCharge))+"\n ")]),e._v(" "),n("h6",{staticClass:"trial_days",style:{visibility:t.trial_days>0&&"annually"===e.selectedInterval?"visible":"hidden"}},[e._v("\n "+e._s(t.trial_days+e.translateMe("-")+e.translateMe("day free trial"))+"\n ")]),e._v(" "),n("div",{staticClass:"features"},[n("ul",e._l(e.sortedPlanFeatures(t),(function(t){return n("li",{key:t.uuid,staticClass:"feature"},[n("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.7803 5.96967C16.0732 6.26256 16.0732 6.73744 15.7803 7.03033L9.28033 13.5303C8.98744 13.8232 8.51256 13.8232 8.21967 13.5303L4.96967 10.2803C4.67678 9.98744 4.67678 9.51256 4.96967 9.21967C5.26256 8.92678 5.73744 8.92678 6.03033 9.21967L8.75 11.9393L14.7197 5.96967C15.0126 5.67678 15.4874 5.67678 15.7803 5.96967Z",fill:"#1A1A1A"}})]),e._v(" "),n("span",[e._v("\n "+e._s("boolean"!==t.value_type?e.translateMe(e.formatFeature(t)):"")+"\n "+e._s(e.translateMe(t.name))+"\n ")])])})),0)]),e._v(" "),e.anyAnnuallyPlanHasNote?n("p",{staticClass:"plan-note",style:{visibility:"annually"===e.selectedInterval&&e.isPlanNote(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge)?"visible":"hidden"}},[e._v("\n "+e._s(e.translateMe("Note: On account of your recent Shopify plan upgrade, you should consider upgrading your current app plan"))+"\n ")]):e._e()],1)]):e._e()})),0)]),e._v(" "),n("div",{staticClass:"swiper-pagination-h-annually swiper-pagination",style:{display:"monthly"===e.selectedInterval?"none":"block"}})])},staticRenderFns:[]},(function(e){e&&(e("data-v-de65f680_0",{source:".container[data-v-de65f680]{padding-top:40px;width:100%}.swiper.cards.annually[data-v-de65f680]{visibility:hidden;height:0;position:relative}.swiper-pagination[data-v-de65f680]{height:12px;position:relative;display:flex;justify-content:center;align-items:flex-end;gap:0;margin-top:26px}.cards[data-v-de65f680]{display:flex;background-color:#fff;flex-grow:1;border:1px solid #e5e5e5;border-radius:12px;overflow-x:clip;overflow-y:visible;box-shadow:0 4px 6px -1px #0000001a}.card[data-v-de65f680]{height:100%;display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px}.swiper-wrapper .swiper-slide .card-border.last-card[data-v-de65f680],.swiper-wrapper .swiper-slide:not(.swiper-slide-active) .card-border[data-v-de65f680]{border-left:1px solid #ccc}.card .title[data-v-de65f680]{font-size:16px;font-weight:700;color:#1a1a1a}.card .price-wrapper[data-v-de65f680]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}.card .price-wrapper.has-discount[data-v-de65f680]{min-height:44px}.card .price[data-v-de65f680]{font-size:30px;font-weight:700;color:#4a4a4a}.card .price span[data-v-de65f680]{font-size:13px;font-weight:400;color:#4a4a4a;margin-left:-6px;line-height:0}.card .description[data-v-de65f680],.card .plan-note[data-v-de65f680],.card .trial_days[data-v-de65f680]{font-size:13px;font-weight:400;color:#4a4a4a}.card .plan-note[data-v-de65f680]{margin-top:8px;text-align:center}.button[data-v-de65f680]{display:flex;justify-content:center;width:100%!important;text-align:center!important}.features[data-v-de65f680]{margin-top:19px}.features ul[data-v-de65f680]{display:flex;align-items:flex-start;gap:6px;flex-direction:column}.features .feature[data-v-de65f680]{display:flex;align-items:center;gap:4px}.features .feature svg[data-v-de65f680]{min-width:20px;min-height:20px}.feature span[data-v-de65f680]{font-size:13px;font-weight:400;color:#4a4a4a}.card .strike-price span[data-v-de65f680]{color:#4a4a4a}.most-popular[data-v-de65f680]{position:absolute;z-index:-1;top:-20px;width:100%;height:calc(100% + 20px);border-radius:12px 12px 0 0;border-left:1px solid #91d0ff;border-right:1px solid #91d0ff;overflow:hidden}.most-popular .most-popular-label[data-v-de65f680]{background-color:#91d0ff;color:#00527c;font-size:13px;font-weight:600;width:100%;text-align:center}.swiper-plan-h-navigation[data-v-de65f680]{position:absolute;margin-top:32px;display:flex;justify-content:space-between;padding:16px 0}.nav-annually[data-v-de65f680]{display:none}.swiper-plan-h-next-annually[data-v-de65f680],.swiper-plan-h-next-monthly[data-v-de65f680],.swiper-plan-h-prev-annually[data-v-de65f680],.swiper-plan-h-prev-monthly[data-v-de65f680]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background-color:#1a1a1a;border-radius:8px;cursor:pointer}.swiper-plan-h-next-annually[data-v-de65f680]:disabled,.swiper-plan-h-next-monthly[data-v-de65f680]:disabled,.swiper-plan-h-prev-annually[data-v-de65f680]:disabled,.swiper-plan-h-prev-monthly[data-v-de65f680]:disabled{opacity:0}.plans-remaining[data-v-de65f680]{position:absolute;top:-30px;background-color:#fff;color:#333;font-weight:500;padding:6px 12px;border-radius:8px;font-size:14px;white-space:nowrap;box-shadow:0 4px 8px #00000026}.plans-remaining[data-v-de65f680]::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;filter:drop-shadow(0 2px 2px rgba(0, 0, 0, .1))}@media (max-width:640px){.card-border[data-v-de65f680]{border-left:none}.swiper-plan-h-navigation[data-v-de65f680]{display:none!important}}",map:void 0,media:void 0}),e("data-v-de65f680_1",{source:".swiper-pagination .swiper-pagination-bullet{background:#757575 none;opacity:1;transition:all .5s;width:8px;height:8px}.swiper-pagination .swiper-pagination-bullet-active{background-color:#0094d5;width:12px;height:12px}",map:void 0,media:void 0}))}),Xh,"data-v-de65f680",false,undefined,!1,Pc,void 0,void 0),Jh=Qh,ef=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"block"},[n("svg",{attrs:{width:"81",height:"81",viewBox:"0 0 81 81",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M49.6768 9.31236V2.68228C49.6768 2.02914 49.146 1.5 48.4918 1.5H34.5281C33.8735 1.5 33.3431 2.02914 33.3431 2.68228V9.31236C33.3431 9.83518 32.9983 10.2952 32.4964 10.4449C30.426 11.0617 28.4454 11.8862 26.5784 12.8936C26.1188 13.1415 25.5508 13.0558 25.1816 12.6874L20.481 7.9978C20.0183 7.53618 19.2678 7.53618 18.8051 7.9978L8.93175 17.8481C8.46905 18.3098 8.46905 19.0585 8.93175 19.5201L13.6323 24.2097C14.0016 24.5781 14.0875 25.1452 13.8389 25.6032C12.8292 27.4659 12.0028 29.4423 11.3846 31.5075C11.2345 32.0086 10.7734 32.3522 10.2494 32.3522H3.60301C2.94835 32.3522 2.41797 32.8813 2.41797 33.5345V47.4655C2.41797 48.1187 2.94835 48.6478 3.60301 48.6478H10.2486C10.7726 48.6478 11.2338 48.9918 11.3838 49.4925C12.002 51.5581 12.8285 53.5341 13.8382 55.3968C14.0867 55.8552 14.0008 56.4219 13.6315 56.7903L8.93095 61.4799C8.46826 61.9415 8.46826 62.6902 8.93095 63.1519L18.8043 73.0022C19.267 73.4638 20.0175 73.4638 20.4802 73.0022L25.1808 68.3126C25.5501 67.9441 26.1184 67.8585 26.5776 68.1064C28.4446 69.1138 30.4256 69.9383 32.4957 70.5551C32.9979 70.7048 33.3423 71.1648 33.3423 71.6876V78.3177C33.3423 78.9709 33.8727 79.5 34.5273 79.5H48.491C49.1456 79.5 49.676 78.9705 49.676 78.3177V71.6876",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M37.2891 64.3588V32.7",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M37.2891 23.9823V18.4764",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M49.6777 64.3588V59.3118",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M49.6777 50.1353V18.4764",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M62.0645 64.3588V41.8765",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M62.0645 33.1588V18.4764",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M74.4531 64.3588V29.947",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M74.4531 21.6882V18.4764",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M41.4188 23.9824H32.7012V32.7001H41.4188V23.9824Z",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M53.8055 50.1353H45.0879V59.3117H53.8055V50.1353Z",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M66.1942 33.1588H57.4766V41.8765H66.1942V33.1588Z",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M78.5829 21.6882H69.8652V29.9471H78.5829V21.6882Z",stroke:"#1A1A1A","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("h3",[e._v(e._s(e.title))]),e._v(" "),n("h6",[e._v(e._s(e.description))]),e._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"primary"},on:{click:e.handleClick}},[e._v(e._s(e.buttonText))])],1)},staticRenderFns:[]},(function(e){e&&e("data-v-1c53f3c0_0",{source:".block[data-v-1c53f3c0]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;gap:16px;padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.block img[data-v-1c53f3c0]{width:auto;height:auto}.block h3[data-v-1c53f3c0]{font-size:16px;font-weight:700;color:#1a1a1a}.block h6[data-v-1c53f3c0]{font-size:13px;font-weight:400;color:#1a1A1A80;max-width:186px;text-align:center}.button[data-v-1c53f3c0]{width:100%!important;display:flex!important;height:fit-content!important;justify-content:center!important}",map:void 0,media:void 0})}),{name:"GetCustomBlock",components:{VariantButton:Hp},props:{title:{type:String,required:!1},description:{type:String,required:!1},buttonText:{type:String,required:!1}},methods:{handleClick:function(){event.preventDefault(),this.$emit("click",event)},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e},handleCustomizePlan:function(){this.$emit("handleCustomizePlan")}}},"data-v-1c53f3c0",false,undefined,!1,Pc,void 0,void 0),tf={data:function(){return{isSyncing:!1,remainingPlansMonthly:{before:0,after:0},remainingPlansAnnually:{before:0,after:0},anyMonthlyPlanHasDiscount:!1,anyAnnuallyPlanHasDiscount:!1,loadingPlanId:null}},name:"PlanTable",components:{VariantButton:Hp,CustomTooltip:w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"polaris-tooltip-wrapper",attrs:{tabindex:"0"},on:{mouseenter:function(t){e.show=!0},mouseleave:function(t){e.show=!1},focusin:function(t){e.show=!0},focusout:function(t){e.show=!1},click:e.handleTap}},[e._t("default"),e._v(" "),n("transition",{attrs:{name:"fade"}},[e.show?n("div",{staticClass:"polaris-tooltip-content",attrs:{role:"tooltip"}},[n("span",[e._v(e._s(e.text))]),e._v(" "),n("div",{staticClass:"polaris-tooltip-arrow"})]):e._e()])],2)},staticRenderFns:[]},(function(e){e&&e("data-v-2464ccd3_0",{source:".polaris-tooltip-wrapper[data-v-2464ccd3]{display:block;width:100%;position:relative}.polaris-tooltip-content[data-v-2464ccd3]{position:absolute;left:0;bottom:100%;top:auto;margin-bottom:8px;width:100%;min-width:0;max-width:none;background:#fff;color:#1a1a1a;font-size:13px;font-weight:400;padding:8px 12px;border-radius:8px;box-shadow:0 4px 8px rgba(23,24,24,.15);z-index:1002;white-space:pre-line;word-break:break-word;overflow-wrap:break-word;text-align:left;transition:opacity .2s}.polaris-tooltip-arrow[data-v-2464ccd3]{position:absolute;left:16px;top:100%;bottom:auto;transform:translateX(0);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;filter:drop-shadow(0 2px 2px rgba(23, 24, 24, .08))}.fade-enter-active[data-v-2464ccd3],.fade-leave-active[data-v-2464ccd3]{transition:opacity .2s}.fade-enter[data-v-2464ccd3],.fade-leave-to[data-v-2464ccd3]{opacity:0}@media (max-width:840px){.polaris-tooltip-content[data-v-2464ccd3]{opacity:0!important}}",map:void 0,media:void 0})}),{name:"CustomTooltip",props:{text:{type:String,required:!0}},data:function(){return{show:!1}},mounted:function(){document.addEventListener("touchstart",this.handleOutsideTap,!0),document.addEventListener("mousedown",this.handleOutsideTap,!0)},beforeUnmount:function(){document.removeEventListener("touchstart",this.handleOutsideTap,!0),document.removeEventListener("mousedown",this.handleOutsideTap,!0)},methods:{isMobile:function(){return window.matchMedia&&window.matchMedia("(pointer: coarse)").matches},handleTap:function(e){this.isMobile()&&(this.show=!this.show,e.stopPropagation())},handleOutsideTap:function(e){this.$el.contains(e.target)||(this.show=!1)}}},"data-v-2464ccd3",false,undefined,!1,Pc,void 0,void 0)},props:{plans:{type:Array,required:!0},currentPlan:{type:Object,required:!1},hasActiveCharge:{type:Boolean,required:!1},shopifyPlan:{type:String,required:!1},selectedInterval:{type:String,required:!1},promotionalDiscount:{type:Object,required:!1},features:{type:Array,required:!1,default:function(){return[]}},width:{type:String,required:!1,default:"base",validator:function(e){return["tight","base","loose"].includes(e)}},enableFeatureTooltip:{type:Boolean,required:!1,default:!1}},methods:{isPlanButtonDisabled:Zh,getPlanButtonText:Yh,formatFeature:Gh,handlePlanClick:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loadingPlanId=e.id,n.prev=1,n.next=4,t.$emit("plan-clicked",e);case 4:n.next=10;break;case 6:n.prev=6,n.t0=n.catch(1),console.error("Error handling plan click:",n.t0),t.loadingPlanId=null;case 10:case"end":return n.stop()}}),n,null,[[1,6]])})))()},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e},hasFeature:function(e,t){return!!e.features[t.uuid]},syncHeights:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"features";this.$nextTick((function(){setTimeout((function(){var n=document.querySelectorAll(".swiper-slide");if("features"===t){var a="-".concat(e.selectedInterval),r=document.querySelectorAll(".plan-feature-name".concat(a));r.forEach((function(e){e.style.height="",e.style.minHeight=""})),n.forEach((function(e){var t=e.querySelectorAll(".plan-feature".concat(a));t.forEach((function(e){e.style.height="",e.style.minHeight=""})),r.forEach((function(e,n){var a=t[n];if(e&&a){var r=e.getBoundingClientRect().height;(!r||r<=0)&&(r=e.offsetHeight);var i=Math.ceil(r);e.style.height="".concat(i,"px"),a.style.height="".concat(i,"px")}}))}))}else if("plans"===t){var i="-".concat(e.selectedInterval),o=document.querySelectorAll(".plan-header-wrapper".concat(i));o&&o.forEach((function(e){e.style.minHeight="",e.style.height=""}));var s=document.querySelector(".plans-available".concat(i));if(!s)return;var l=0;n.forEach((function(e,t){var n=o[t];if(n){var a=n.getBoundingClientRect().height;(!a||a<=0)&&(a=n.offsetHeight);var r=Math.ceil(a);l=Math.max(l,r)}})),s.style.minHeight="".concat(l,"px"),o.forEach((function(e){e.style.minHeight="".concat(l,"px")}))}}),2)}))},syncAllHeights:function(){this.syncHeights("features"),this.syncHeights("plans")},syncNavigationWidth:function(){var e=document.querySelectorAll(".swiper-plan-navigation"),t=document.querySelector(".pricing-table");t&&e.forEach((function(e){e.style.width="".concat(t.offsetWidth+130,"px"),e.style.left="".concat(t.offsetLeft-65,"px")}))},syncScroll:function(e,t){if(!this.isSyncing){this.isSyncing=!0;var n=e.scrollTop;t.forEach((function(t){t!==e&&(t.scrollTop=n)})),this.isSyncing=!1}},setupScrollListeners:function(){var e=this,t=document.querySelectorAll("#table-left"),n=document.querySelectorAll("#plans-table"),a=[].concat(p(t),p(n));a.forEach((function(t){t.addEventListener("scroll",(function(){e.syncScroll(t,a)}))}))},updateRemainingPlans:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"monthly";if(e){var n=e.slides.length,a=e.activeIndex,r=1;if("number"==typeof e.params.slidesPerView)r=e.params.slidesPerView;else if(e.params.breakpoints){var i,o=window.innerWidth,s=e.params.breakpoints,l=Object.keys(s).map(Number).sort((function(e,t){return e-t})),c=v(l);try{for(c.s();!(i=c.n()).done;){var u=i.value;o>=u&&"number"==typeof s[u].slidesPerView&&(r=s[u].slidesPerView)}}catch(e){c.e(e)}finally{c.f()}}var d=Math.max(n-(a+r),0),p=a;"annually"===t?this.remainingPlansAnnually={after:d,before:p}:this.remainingPlansMonthly={after:d,before:p}}},updateTableVisibility:function(){var e=document.querySelector(".monthly-table"),t=document.querySelector(".annually-table"),n=document.querySelector(".nav-monthly-table"),a=document.querySelector(".nav-annually-table");this.isMonthlyVisible?(e.style.visibility="visible",e.style.height="auto",e.style.padding="16px",t.style.visibility="hidden",t.style.height="0px",t.style.padding="0px",n.style.display="flex",a.style.display="none",this.interval="EVERY_30_DAYS",this.syncAllHeights()):this.isAnnuallyVisible&&(e.style.visibility="hidden",e.style.height="0px",e.style.padding="0px",t.style.visibility="visible",t.style.height="auto",t.style.padding="16px",n.style.display="none",a.style.display="flex",this.interval="ANNUAL",this.syncAllHeights())}},computed:{monthlyPlans:function(){var e=this;return this.plans.filter((function(e){return"EVERY_30_DAYS"===e.interval})).map((function(t){var n=Uh(t,e.promotionalDiscount);return n.has_discount&&!e.anyMonthlyPlanHasDiscount&&(e.anyMonthlyPlanHasDiscount=!0),n}))},annualPlans:function(){var e=this;return this.plans.filter((function(e){return"ANNUAL"===e.interval})).map((function(t){var n=Uh(t,e.promotionalDiscount);return n.has_discount&&!e.anyAnnuallyPlanHasDiscount&&(e.anyAnnuallyPlanHasDiscount=!0),n}))},isMonthlyVisible:function(){return"monthly"===this.selectedInterval},isAnnuallyVisible:function(){return"annually"===this.selectedInterval},monthlyPlansFeatures:function(){if(!this.features.length)return[];var e=new Set;this.monthlyPlans.forEach((function(t){Object.keys(t.features).forEach((function(t){e.add(t)}))}));var t={},n=!1;this.features.filter((function(t){return e.has(t.uuid)&&!t.hidden_feature})).forEach((function(e){e.group&&e.group_order&&(n=!0);var a=n&&e.group||"Default";t[a]||(t[a]={name:a,order:n&&e.group_order||999,features:[]}),t[a].features.push(e)}));var a=Object.values(t).sort((function(e,t){return e.order-t.order}));return 1!==a.length&&n||a.forEach((function(e){return e.name=""})),a},annualPlansFeatures:function(){if(!this.features.length)return[];var e=new Set;this.annualPlans.forEach((function(t){Object.keys(t.features).forEach((function(t){e.add(t)}))}));var t={},n=!1;this.features.filter((function(t){return e.has(t.uuid)&&!t.hidden_feature})).forEach((function(e){e.group&&e.group_order&&(n=!0);var a=n&&e.group||"Default";t[a]||(t[a]={name:a,order:n&&e.group_order||999,features:[]}),t[a].features.push(e)}));var a=Object.values(t).sort((function(e,t){return e.order-t.order}));return 1!==a.length&&n||a.forEach((function(e){return e.name=""})),a}},watch:{selectedInterval:function(){this.updateTableVisibility()}},mounted:function(){var e=this;this.updateTableVisibility(),new Ih(this.$refs.swiperMonthlyTable,{modules:[Fh,$h],loop:!1,slidesPerView:2,speed:500,navigation:{nextEl:".swiper-plan-monthly-next",prevEl:".swiper-plan-monthly-prev"},breakpoints:{0:{slidesPerView:Math.min(this.monthlyPlans.length,1.2)},640:{slidesPerView:Math.min(this.monthlyPlans.length,2)},1024:{slidesPerView:Math.min(this.monthlyPlans.length,"tight"===this.width?2:3)}},on:{slideChange:function(t){e.syncAllHeights(),e.updateRemainingPlans(t)},afterInit:function(t){e.syncAllHeights(),e.updateRemainingPlans(t)}}}),new Ih(this.$refs.swiperAnnuallyTable,{modules:[Fh,$h],loop:!1,slidesPerView:2,speed:500,navigation:{nextEl:".swiper-plan-annually-next",prevEl:".swiper-plan-annually-prev"},breakpoints:{0:{slidesPerView:Math.min(this.annualPlans.length,1.2)},640:{slidesPerView:Math.min(this.annualPlans.length,2)},1024:{slidesPerView:Math.min(this.annualPlans.length,"tight"===this.width?2:3)}},on:{slideChange:function(t){e.syncAllHeights(),e.updateRemainingPlans(t,"annually")},afterInit:function(t){e.syncAllHeights(),e.updateRemainingPlans(t,"annually")}}}),this.syncAllHeights(),this.syncNavigationWidth(),window.addEventListener("resize",this.syncNavigationWidth),window.addEventListener("resize",this.syncAllHeights),this.setupScrollListeners()},beforeUnmount:function(){window.removeEventListener("resize",this.syncNavigationWidth),window.removeEventListener("resize",this.syncAllHeights)}},nf=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("div",{staticClass:"swiper-plan-navigation nav-monthly-table"},[n("button",{staticClass:"swiper-plan-monthly-prev"},[this.remainingPlansMonthly.before>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansMonthly.before+" "+(1===this.remainingPlansMonthly.before?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),e._v(" "),n("button",{staticClass:"swiper-plan-monthly-next"},[this.remainingPlansMonthly.after>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansMonthly.after+" "+(1===this.remainingPlansMonthly.after?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),e._v(" "),n("div",{staticClass:"swiper-plan-navigation nav-annually-table"},[n("button",{staticClass:"swiper-plan-annually-prev"},[this.remainingPlansAnnually.before>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansAnnually.before+" "+(1===this.remainingPlansAnnually.before?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9388)"}},[n("path",{attrs:{d:"M5 12.0001L19 12.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 18.0001",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5 12.0001L11 6.00012",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9388"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white"}})])])])]),e._v(" "),n("button",{staticClass:"swiper-plan-annually-next"},[this.remainingPlansAnnually.after>0?n("span",{staticClass:"plans-remaining"},[e._v("\n +"+e._s(this.remainingPlansAnnually.after+" "+(1===this.remainingPlansAnnually.after?e.translateMe("plan"):e.translateMe("plans")))+"\n ")]):e._e(),e._v(" "),n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9381)"}},[n("path",{attrs:{d:"M19 12H5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 6",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M19 12L13 18",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9381"}},[n("rect",{attrs:{width:"24",height:"24",fill:"white",transform:"matrix(-1 0 0 -1 24 24)"}})])])])])]),e._v(" "),n("div",{staticClass:"pricing-table monthly-table"},[n("div",{staticClass:"pricing-table-inner__left",attrs:{id:"table-left"}},[n("div",{staticClass:"table-header plans-available plans-available-monthly"},[n("h3",[e._v("\n "+e._s(e.monthlyPlans.length)+" "+e._s(e.monthlyPlans.length>1?e.translateMe("plans available"):e.translateMe("plan available"))+"\n ")])]),e._v(" "),e._l(e.monthlyPlansFeatures,(function(t){return[t.name?n("div",{staticClass:"feature-group-header plan-feature-name plan-feature-name-monthly"},[e._v("\n "+e._s(e.translateMe(t.name))+"\n ")]):e._e(),e._v(" "),e._l(t.features,(function(t){return n("div",{key:t.uuid,staticClass:"plan-feature-name plan-feature-name-monthly"},[e.enableFeatureTooltip&&t.description?[n("CustomTooltip",{attrs:{text:e.translateMe(t.description)}},[n("span",[e._v(e._s(e.translateMe(t.name)))])])]:[n("span",[e._v(e._s(e.translateMe(t.name)))])]],2)}))]}))],2),e._v(" "),n("div",{ref:"swiperMonthlyTable",staticClass:"swiper plans monthly",attrs:{id:"plans-table"}},[n("div",{staticClass:"swiper-wrapper"},e._l(e.monthlyPlans,(function(t,a){return n("div",{key:t.id,staticClass:"swiper-slide",class:{"last-slide":a===e.monthlyPlans.length-1}},[n("div",{staticClass:"plan-header-wrapper plan-header-wrapper-monthly"},[n("div",{class:["price-wrapper",e.anyMonthlyPlanHasDiscount?"has-discount":""]},[n("h4",{staticClass:"plan-name mobile-plan-name"},[e._v(e._s(e.translateMe(t.name)))]),e._v(" "),t.strike_price?[n("h5",[n("span",{staticClass:"strike-price"},[e._v("$"+e._s(Number(t.strike_price).toFixed(2)))]),e._v(" "),0!==t.strike_price?n("span",{staticClass:"plan-interval"},[e._v("/"+e._s(e.translateMe("mo")))]):e._e()])]:e._e(),e._v(" "),n("div",{staticClass:"main-price"},[n("h4",{staticClass:"plan-name desktop-plan-name"},[e._v(e._s(e.translateMe(t.name)))]),e._v(" "),"free"!==t.name&&"FREE"!==t.name?n("h4",[n("span",{staticClass:"plan-price"},[e._v("$"+e._s(Number(t.price).toFixed(2)))]),e._v(" "),n("span",{staticClass:"plan-interval"},[e._v("/"+e._s(e.translateMe("mo")))])]):e._e()])],2),e._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"secondary",disabled:e.isPlanButtonDisabled(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge),loading:e.loadingPlanId===t.id},on:{click:function(n){return e.handlePlanClick(t)}}},[e._v(e._s(e.getPlanButtonText(e.shopifyPlan,t,e.translateMe,e.currentPlan,!0,e.hasActiveCharge)))])],1),e._v(" "),e._l(e.monthlyPlansFeatures,(function(a){return[a.name?n("div",{staticClass:"feature-group-header plan-feature plan-feature-monthly"},[e._v("\n "+e._s(e.translateMe(a.name))+"\n ")]):e._e(),e._v(" "),e._l(a.features,(function(a){return n("div",{key:a.uuid,staticClass:"plan-feature plan-feature-monthly"},[e.hasFeature(t,a)?n("div",["boolean"===a.value_type?n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9134)"}},[n("path",{attrs:{d:"M3.25 10C3.25 10.9849 3.44399 11.9602 3.8209 12.8701C4.19781 13.7801 4.75026 14.6069 5.4467 15.3033C6.14314 15.9997 6.96993 16.5522 7.87987 16.9291C8.78982 17.306 9.76509 17.5 10.75 17.5C11.7349 17.5 12.7102 17.306 13.6201 16.9291C14.5301 16.5522 15.3569 15.9997 16.0533 15.3033C16.7497 14.6069 17.3022 13.7801 17.6791 12.8701C18.056 11.9602 18.25 10.9849 18.25 10C18.25 9.01509 18.056 8.03982 17.6791 7.12987C17.3022 6.21993 16.7497 5.39314 16.0533 4.6967C15.3569 4.00026 14.5301 3.44781 13.6201 3.0709C12.7102 2.69399 11.7349 2.5 10.75 2.5C9.76509 2.5 8.78982 2.69399 7.87987 3.0709C6.96993 3.44781 6.14314 4.00026 5.4467 4.6967C4.75026 5.39314 4.19781 6.21993 3.8209 7.12987C3.44399 8.03982 3.25 9.01509 3.25 10Z",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M8.25 9.99998L9.91667 11.6666L13.25 8.33331",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9134"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])]):n("div",[n("span",[e._v(e._s(e.translateMe(e.formatFeature(t.features[a.uuid]))))])])]):n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9139)"}},[n("path",{attrs:{d:"M15.75 5L5.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5.75 5L15.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9139"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])])])}))]}))],2)})),0)])]),e._v(" "),n("div",{staticClass:"pricing-table annually-table"},[n("div",{staticClass:"pricing-table-inner__left",attrs:{id:"table-left"}},[n("div",{staticClass:"table-header plans-available plans-available-annually"},[n("h3",[e._v(e._s(e.annualPlans.length)+" "+e._s(e.annualPlans.length>1?e.translateMe("plans available"):e.translateMe("plan available")))])]),e._v(" "),e._l(e.annualPlansFeatures,(function(t){return[t.name?n("div",{staticClass:"feature-group-header plan-feature-name plan-feature-name-annually"},[e._v("\n "+e._s(e.translateMe(t.name))+"\n ")]):e._e(),e._v(" "),e._l(t.features,(function(t){return n("div",{key:t.uuid,staticClass:"plan-feature-name plan-feature-name-annually"},[e.enableFeatureTooltip&&t.description?[n("CustomTooltip",{attrs:{text:e.translateMe(t.description)}},[n("span",[e._v(e._s(e.translateMe(t.name)))])])]:[n("span",[e._v(e._s(e.translateMe(t.name)))])]],2)}))]}))],2),e._v(" "),n("div",{ref:"swiperAnnuallyTable",staticClass:"swiper plans annually",attrs:{id:"plans-table"}},[n("div",{staticClass:"swiper-wrapper"},e._l(e.annualPlans,(function(t,a){return n("div",{key:t.id,staticClass:"swiper-slide",class:{"last-slide":a===e.annualPlans.length-1}},[n("div",{staticClass:"plan-header-wrapper plan-header-wrapper-annually"},[n("div",{class:["price-wrapper",e.anyAnnuallyPlanHasDiscount?"has-discount":""]},[n("h4",{staticClass:"plan-name mobile-plan-name"},[e._v(e._s(e.translateMe(t.name)))]),e._v(" "),t.strike_price?[n("h5",[n("span",{staticClass:"strike-price"},[e._v("$"+e._s(Number(t.strike_price).toFixed(2)))]),e._v(" "),0!==t.strike_price?n("span",{staticClass:"plan-interval"},[e._v("/"+e._s(e.translateMe("yr")))]):e._e()])]:e._e(),e._v(" "),n("div",{staticClass:"main-price"},[n("h4",{staticClass:"plan-name desktop-plan-name"},[e._v(e._s(e.translateMe(t.name)))]),e._v(" "),"free"!==t.name&&"FREE"!==t.name?n("h4",[n("span",{staticClass:"plan-price"},[e._v("$"+e._s(Number(t.price).toFixed(2)))]),e._v(" "),n("span",{staticClass:"plan-interval"},[e._v("/"+e._s(e.translateMe("yr")))])]):e._e()])],2),e._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"secondary",disabled:e.isPlanButtonDisabled(e.shopifyPlan,t,e.currentPlan,e.hasActiveCharge),loading:e.loadingPlanId===t.id},on:{click:function(n){return e.handlePlanClick(t)}}},[e._v(e._s(e.getPlanButtonText(e.shopifyPlan,t,e.translateMe,e.currentPlan,!0,e.hasActiveCharge)))])],1),e._v(" "),e._l(e.annualPlansFeatures,(function(a){return[a.name?n("div",{staticClass:"feature-group-header plan-feature plan-feature-annually"},[e._v("\n "+e._s(e.translateMe(a.name))+"\n ")]):e._e(),e._v(" "),e._l(a.features,(function(a){return n("div",{key:a.uuid,staticClass:"plan-feature plan-feature-annually"},[e.hasFeature(t,a)?n("div",["boolean"===a.value_type?n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9134)"}},[n("path",{attrs:{d:"M3.25 10C3.25 10.9849 3.44399 11.9602 3.8209 12.8701C4.19781 13.7801 4.75026 14.6069 5.4467 15.3033C6.14314 15.9997 6.96993 16.5522 7.87987 16.9291C8.78982 17.306 9.76509 17.5 10.75 17.5C11.7349 17.5 12.7102 17.306 13.6201 16.9291C14.5301 16.5522 15.3569 15.9997 16.0533 15.3033C16.7497 14.6069 17.3022 13.7801 17.6791 12.8701C18.056 11.9602 18.25 10.9849 18.25 10C18.25 9.01509 18.056 8.03982 17.6791 7.12987C17.3022 6.21993 16.7497 5.39314 16.0533 4.6967C15.3569 4.00026 14.5301 3.44781 13.6201 3.0709C12.7102 2.69399 11.7349 2.5 10.75 2.5C9.76509 2.5 8.78982 2.69399 7.87987 3.0709C6.96993 3.44781 6.14314 4.00026 5.4467 4.6967C4.75026 5.39314 4.19781 6.21993 3.8209 7.12987C3.44399 8.03982 3.25 9.01509 3.25 10Z",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M8.25 9.99998L9.91667 11.6666L13.25 8.33331",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9134"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])]):n("div",[n("span",[e._v(e._s(e.translateMe(e.formatFeature(t.features[a.uuid]))))])])]):n("div",[n("span",{staticClass:"plan-table-checkmark"},[n("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"white",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_859_9139)"}},[n("path",{attrs:{d:"M15.75 5L5.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M5.75 5L15.75 15",stroke:"#5C5C5C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_859_9139"}},[n("rect",{attrs:{width:"20",height:"20",fill:"white",transform:"translate(0.75)"}})])])])])])])}))]}))],2)})),0)])])])},staticRenderFns:[]},(function(e){e&&e("data-v-c705f0d0_0",{source:".container[data-v-c705f0d0]{width:100%}.pricing-table[data-v-c705f0d0]{display:grid;width:calc(100% + 2px);grid-template-columns:repeat(3,1fr);background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.pricing-table.monthly-table[data-v-c705f0d0]{padding:16px}.plans[data-v-c705f0d0]{grid-column:span 2;max-height:500px;overflow-y:auto}.annually-table[data-v-c705f0d0]{visibility:hidden;height:0}.pricing-table-inner__left[data-v-c705f0d0]{display:flex;flex-direction:column;max-height:500px;overflow-y:auto}.swiper[data-v-c705f0d0]{width:100%;height:100%}.pricing-table.annually-table .swiper-wrapper[data-v-c705f0d0],.pricing-table.monthly-table .swiper-wrapper[data-v-c705f0d0]{height:auto!important}.table-header[data-v-c705f0d0]{display:flex;align-items:center;background-color:#f1f1f1;padding:16px;border-bottom:1px solid #e3e3e3;position:sticky;top:0;z-index:10}.table-header h3[data-v-c705f0d0]{font-size:13px;font-weight:700;line-height:20px;color:#1a1a1a}.plan-header-wrapper[data-v-c705f0d0]{padding:16px;border-bottom:1px solid #e3e3e3}.plan-feature[data-v-c705f0d0]{display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3}.last-slide .plan-feature[data-v-c705f0d0]{border-right:1px solid #e3e3e3}.plan-feature-name[data-v-c705f0d0]{font-size:13px;font-weight:450;padding:12px;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3;word-break:normal;hyphens:none}.plan-table-checkmark[data-v-c705f0d0]{width:20px;height:20px;visibility:visible;display:inline-block;margin-top:4px}.plan-header-wrapper[data-v-c705f0d0]{display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;background-color:#f1f1f1;border-left:1px solid #f1f1f1;border-right:1px solid #f1f1f1;position:sticky;top:0}.plan-header-wrapper .price-wrapper[data-v-c705f0d0]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}.plan-header-wrapper .price-wrapper.has-discount[data-v-c705f0d0]{min-height:44px}.plan-header-wrapper .price-wrapper .main-price[data-v-c705f0d0]{display:flex;flex-direction:row;gap:8px;justify-content:center;align-items:center}.plan-header-wrapper .price-wrapper .strike-price[data-v-c705f0d0]{color:#4a4a4a;text-decoration:line-through}.plan-header-wrapper .price-wrapper .plan-interval[data-v-c705f0d0]{color:#4a4a4a;font-weight:400}.plan-header-wrapper .price-wrapper h4[data-v-c705f0d0]{display:inline-flex;text-align:center;font-size:16px;font-weight:700;color:#1a1a1a;width:max-content}.plan-header-wrapper .price-wrapper h4.plan-name[data-v-c705f0d0]{width:100%}.plan-header-wrapper .price-wrapper .mobile-plan-name[data-v-c705f0d0]{display:none}.plan-header-wrapper .price-wrapper h4 h6[data-v-c705f0d0]{display:inline;font-size:13px;font-weight:400;color:#00000080;margin-left:-4px;line-height:0}.swiper-plan-navigation[data-v-c705f0d0]{position:absolute;margin-top:32px;display:flex;justify-content:space-between;padding:16px 0}.nav-annually-table[data-v-c705f0d0]{display:none}.swiper-plan-annually-next[data-v-c705f0d0],.swiper-plan-annually-prev[data-v-c705f0d0],.swiper-plan-monthly-next[data-v-c705f0d0],.swiper-plan-monthly-prev[data-v-c705f0d0]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background-color:#1a1a1a;border-radius:8px;cursor:pointer}.swiper-plan-annually-next[data-v-c705f0d0]:disabled,.swiper-plan-annually-prev[data-v-c705f0d0]:disabled,.swiper-plan-monthly-next[data-v-c705f0d0]:disabled,.swiper-plan-monthly-prev[data-v-c705f0d0]:disabled{opacity:0}.choose-button[data-v-c705f0d0]{background-color:#fff!important}.choose-button[data-v-c705f0d0]:hover{background-color:#f9f9f9!important}.choose-button.disabled[data-v-c705f0d0]{background-color:rgba(0,0,0,.15)!important}#table-left[data-v-c705f0d0]{scrollbar-width:none;-ms-overflow-style:none}#table-left[data-v-c705f0d0]::-webkit-scrollbar{display:none}.plans-remaining[data-v-c705f0d0]{position:absolute;top:-30px;background-color:#fff;color:#333;font-weight:500;padding:6px 12px;border-radius:8px;font-size:14px;white-space:nowrap;box-shadow:0 4px 8px #00000026}.plans-remaining[data-v-c705f0d0]::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;filter:drop-shadow(0 2px 2px rgba(0, 0, 0, .1))}.feature-group-header.plan-feature-name[data-v-c705f0d0]{font-size:14px!important;padding-left:12px!important}.feature-group-header.plan-feature[data-v-c705f0d0]{font-size:0!important}.feature-group-header[data-v-c705f0d0]{font-size:14px;font-weight:600;background-color:#f5f5f5;color:#1a1a1a;padding:5px!important;border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3}.feature-group-header.plan-feature[data-v-c705f0d0]{text-align:center;border-left:1px solid #e3e3e3}.last-slide .feature-group-header.plan-feature[data-v-c705f0d0]{border-right:1px solid #e3e3e3}@media (max-width:1024px){.plan-header-wrapper .price-wrapper .mobile-plan-name[data-v-c705f0d0]{display:inline-block}.plan-header-wrapper .price-wrapper .desktop-plan-name[data-v-c705f0d0]{display:none}.plan-header-wrapper .price-wrapper .main-price[data-v-c705f0d0]{flex-direction:column}}@media (max-width:640px){.swiper-plan-navigation[data-v-c705f0d0]{display:none!important}.pricing-table[data-v-c705f0d0]{width:calc(100% + -2px)}}@media (max-width:400px){.plan-feature-name[data-v-c705f0d0]{padding:12px 4px}}",map:void 0,media:void 0})}),tf,"data-v-c705f0d0",false,undefined,!1,Pc,void 0,void 0),af=nf,rf=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"block"},[n("div",{staticClass:"bundle-header"},[n("h3",[e._v(e._s(e.translateMe("Bundle")))]),e._v(" "),n("div",{staticClass:"bundle-price-wrapper"},[n("div",{staticStyle:{display:"flex","align-items":"center",gap:"4px"}},[n("h2",[e._v("$"+e._s(Number(e.plan.price-e.plan.discount).toFixed(2)))]),e._v(" "),n("span",{staticClass:"mo-label"},[e._v("/"+e._s(e.translateMe("mo")))]),e._v(" "),n("h4",[e._v("$"+e._s(Number(e.plan.price).toFixed(2)))])]),e._v(" "),n("span",{staticClass:"apps-count"},[e._v(e._s(e.allApps.length)+" "+e._s(e.translateMe("Apps")))])])]),e._v(" "),n("div",{staticClass:"apps-list"},e._l(e.allApps,(function(t,a){return n("div",{key:t.id+"_"+a,staticClass:"app"},[a<=10?[n("img",{attrs:{src:t.app_logo_url,alt:t.app_name+" Logo",width:"24",height:"24"}}),e._v(" "),n("h5",[e._v(e._s(e.translateMe(t.app_name)))])]:11===a?[n("h5",{staticClass:"more-apps-label"},[e._v("+ "+e._s(e.allApps.length-11)+" "+e._s(e.translateMe("More apps")))])]:e._e()],2)})),0),e._v(" "),n("VariantButton",{staticClass:"button",attrs:{variant:"primary"},on:{click:function(t){return e.handlePlanClick("bundle")}}},[e._v(e._s(e.translateMe("Start saving now")))])],1)},staticRenderFns:[]},(function(e){e&&e("data-v-6f7db206_0",{source:".block[data-v-6f7db206]{display:flex;flex-direction:column;justify-content:space-between;width:100%;gap:16px;padding:20px;background-color:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e5e5e5}.button[data-v-6f7db206]{width:100%!important;display:flex!important;height:fit-content!important;justify-content:center!important}.bundle-header[data-v-6f7db206]{display:flex;gap:8px;border-bottom:1px solid #e3e3e3;padding-bottom:12px;align-items:center}.bundle-price-wrapper[data-v-6f7db206]{display:flex;gap:8px;align-items:center;width:100%}.bundle-header h3[data-v-6f7db206]{font-size:18px;font-weight:700;color:#1a1a1a}.bundle-header h2[data-v-6f7db206]{font-size:30px;font-weight:700;color:#1a1a1a}.bundle-header .mo-label[data-v-6f7db206]{font-size:13px;font-weight:400;color:#4a4a4a}.bundle-header h4[data-v-6f7db206]{font-size:13.5px;font-weight:700;color:#4a4a4a;text-decoration:line-through}.bundle-header .apps-count[data-v-6f7db206]{background-color:#91d0ff;border-radius:8px;padding:2px 8px;font-size:12px;line-height:16px;font-weight:550;color:#00527c}.apps-list[data-v-6f7db206]{display:flex;flex-wrap:wrap;gap:8px}.apps-list .app[data-v-6f7db206]{display:flex;flex-basis:calc(33% - 8px);align-items:center;gap:8px}.more-apps-label[data-v-6f7db206]{font-size:13px;font-weight:700;color:#1a1a1a}@media (max-width:767px){.apps-list .app[data-v-6f7db206]{flex-basis:calc(50% - 8px)}}@media (max-width:540px){.apps-list .app[data-v-6f7db206]{flex-basis:100%}.bundle-header[data-v-6f7db206]{flex-direction:column;align-items:flex-start;gap:16px}}",map:void 0,media:void 0})}),{name:"BundlePlanCard",components:{VariantButton:Hp},props:{plan:{type:Object,required:!0},plan_details:{type:Array,required:!0}},methods:{handlePlanClick:function(e){this.$emit("plan-clicked","bundle")},translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e}},computed:{allApps:function(){return this.plan_details.flatMap((function(e){return e.apps_relation}))},totalAppsCount:function(){return this.allApps.length}}},"data-v-6f7db206",false,undefined,!1,Pc,void 0,void 0),of=rf,sf={name:"CustomizationModal",components:{VariantButton:Hp},props:{visible:Boolean,title:{type:String,default:"Book A Call"}},data:function(){return{selectedIndex:null,items:[{title:"Options Block on Collection Page",price:199,description:"Lorem ipsum description for section",demo:"#"},{title:"Accordion Setup",price:79,description:"Lorem ipsum description for section",demo:"#"},{title:"Step-by-Step Product Form",price:129,description:"Lorem ipsum description for section",demo:"#"},{title:"Swatches with Drawer",price:199,description:"Lorem ipsum description for section",demo:"#"},{title:"Options Block Customization",price:79,description:"Lorem ipsum description for section",demo:"#"},{title:"Font Preview Block",price:99,description:"Lorem ipsum description for section",demo:"#"},{title:"Didn't Find What You're Looking For?",description:"Discuss with our experts!",icon:!0,buttonText:"Schedule a Call"}]}},computed:{total:function(){var e=this.items[this.selectedIndex];return e&&e.price?e.price:0}},methods:{selectItem:function(e){this.selectedIndex=e},onCancel:function(){this.$emit("cancel")},onSubmit:function(){this.$emit("submit",this.items[this.selectedIndex]||null)}}},lf=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"modal-fade"}},[e.visible?n("div",{staticClass:"customization-modal modal-overlay",on:{click:function(t){return t.target!==t.currentTarget?null:e.onCancel.apply(null,arguments)}}},[n("div",{staticClass:"modal-container",attrs:{tabindex:"0"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onCancel.apply(null,arguments)}}},[n("div",{staticClass:"modal-header"},[n("h2",{staticClass:"modal-title"},[e._v(e._s(e.title))]),e._v(" "),n("button",{staticClass:"close-button",on:{click:e.onCancel}},[n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M12 4L4 12",stroke:"currentColor","stroke-width":"1"}}),e._v(" "),n("path",{attrs:{d:"M4 4L12 12",stroke:"currentColor","stroke-width":"1"}})])])]),e._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"grid"},e._l(e.items,(function(t,a){return n("div",{key:a,staticClass:"card",class:{selected:e.selectedIndex===a},on:{click:function(t){return e.selectItem(a)}}},[t.icon?n("div",{staticClass:"icon"},[n("svg",{attrs:{width:"51",height:"52",viewBox:"0 0 51 52",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{"clip-path":"url(#clip0_840_1701)"}},[n("path",{attrs:{d:"M10.625 9H19.125L23.375 19.625L18.0625 22.8125C20.3383 27.427 24.073 31.1617 28.6875 33.4375L31.875 28.125L42.5 32.375V40.875C42.5 42.0022 42.0522 43.0832 41.2552 43.8802C40.4582 44.6772 39.3772 45.125 38.25 45.125C29.9609 44.6213 22.1428 41.1013 16.2708 35.2292C10.3987 29.3572 6.87873 21.5391 6.375 13.25C6.375 12.1228 6.82277 11.0418 7.6198 10.2448C8.41683 9.44777 9.49783 9 10.625 9Z",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M31.875 15.375C33.0022 15.375 34.0832 15.8228 34.8802 16.6198C35.6772 17.4168 36.125 18.4978 36.125 19.625",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M31.875 6.875C35.2565 6.875 38.4995 8.2183 40.8906 10.6094C43.2817 13.0005 44.625 16.2435 44.625 19.625",stroke:"#1A1A1A","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v(" "),n("defs",[n("clipPath",{attrs:{id:"clip0_840_1701"}},[n("rect",{attrs:{width:"51",height:"51",fill:"white",transform:"translate(0 0.5)"}})])])])]):e._e(),e._v(" "),n("strong",[e._v(e._s(t.title))]),e._v(" "),t.price?n("div",{staticClass:"price"},[e._v("$"+e._s(t.price))]):e._e(),e._v(" "),n("p",{staticClass:"description"},[e._v(e._s(t.description))]),e._v(" "),t.demo?n("a",{staticClass:"demo-link",attrs:{href:t.demo,target:"_blank"}},[e._v("View demo")]):e._e(),e._v(" "),n("VariantButton",{attrs:{variant:"secondary","full-width":!0}},[e._v("\n "+e._s(t.buttonText||(t.price?"Select":"Schedule a Call"))+"\n ")])],1)})),0)]),e._v(" "),n("div",{staticClass:"modal-footer"},[n("span",{staticClass:"total"},[n("span",[e._v("Total:")]),e._v(" $"+e._s(e.total)+"\n ")]),e._v(" "),n("VariantButton",{attrs:{variant:"primary"}},[e._v("Submit")])],1)])]):e._e()])},staticRenderFns:[]},(function(e){e&&e("data-v-59367d19_0",{source:".modal-fade-enter-active[data-v-59367d19],.modal-fade-leave-active[data-v-59367d19]{transition:opacity .2s ease}.modal-fade-enter[data-v-59367d19],.modal-fade-leave-to[data-v-59367d19]{opacity:0}.customization-modal.modal-overlay[data-v-59367d19]{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:1000;display:flex;align-items:center;justify-content:center}.customization-modal .modal-container[data-v-59367d19]{background:#fff;width:90%;max-width:960px;border-radius:10px;overflow:hidden;outline:0;max-height:90vh;display:flex;flex-direction:column}.customization-modal .modal-header[data-v-59367d19]{padding:12px 16px;background:#f3f3f3;border-bottom:1px solid #e3e3e3;display:flex;justify-content:space-between;align-items:center;position:relative}.customization-modal .modal-title[data-v-59367d19]{margin:0;font-size:13px;line-height:20px;font-weight:600}.customization-modal .close-button[data-v-59367d19]{border:none;cursor:pointer;position:absolute;top:calc(50% + 2px);transform:translateY(-50%);right:10px;background:#f3f3f3}.customization-modal .modal-body[data-v-59367d19]{padding:20px;overflow-y:auto;flex:1}.customization-modal .grid[data-v-59367d19]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:32px 44px}.customization-modal .card[data-v-59367d19]{border:1px solid #dcdcdc;border-radius:12px;padding:16px;text-align:center;transition:border .2s;background:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:6px}.card[data-v-59367d19]:hover,.customization-modal .card.selected[data-v-59367d19]{box-shadow:#e3e3e3 0 1px 0 0 inset,#e3e3e3 1px 0 0 0 inset,#e3e3e3 -1px 0 0 0 inset,#b5b5b5 0 -1px 0 0 inset}.customization-modal .card .price[data-v-59367d19]{font-weight:500;font-size:20px;line-height:28px;letter-spacing:0}.customization-modal .card .description[data-v-59367d19]{font-weight:400;font-size:13px;line-height:20px;letter-spacing:0;text-align:center}.customization-modal .card .demo-link[data-v-59367d19]{font-weight:400;font-size:13px;line-height:20px;letter-spacing:0;text-align:center;color:#0094d5;text-decoration:none}.customization-modal .card .action-btn[data-v-59367d19]{margin-top:auto;border:1px solid #dcdcdc;background:#fff;border-radius:6px;padding:8px;cursor:pointer}.customization-modal .icon img[data-v-59367d19]{height:36px;margin-bottom:8px}.customization-modal .modal-footer[data-v-59367d19]{border-top:1px solid #e3e3e3;padding:12px 16px;display:flex;gap:8px;justify-content:right;align-items:center}.customization-modal .total[data-v-59367d19]{font-weight:500;font-size:13px;line-height:20px;letter-spacing:0;text-align:center;color:#00000080}.customization-modal .total span[data-v-59367d19]{font-weight:700;color:#000}",map:void 0,media:void 0})}),sf,"data-v-59367d19",false,undefined,!1,Pc,void 0,void 0),cf={name:"AppManagerSliderPlan",components:{PlanBanners:zc,CustomizationModal:lf,PPage:zu,PStack:Nu,PStackItem:Ou,PButton:ne,PButtonGroup:at,PHeading:ae,PLayout:Du,PEmptyState:Cp,AppCard:Np,PlanShowcaseBanner:Rp,CategoryHeading:Vp,BenefitsBanner:Ip,VariantButton:Hp,SelectButton:qp,ToggleButton:$p,PlanCardsHighlights:Jh,GetCustomBlock:ef,PlanTable:af,BundlePlanCard:of},props:["shop_domain","host","discount_code","is_customizable","width","enable_feature_tooltip"],data:function(){return{planLoading:!1,plan:{},plans:[],valid_annual_plans:[],promotional_discount:{},features:[],featureValues:[],shopify_plan:"",default_plan_id:null,onboard:!0,choose_later:!1,has_active_charge:!1,global_plan_charge:!1,subtitleContent:"",selectedPlan:"monthly",bundle_details:null,bundle_plan:null,showPlansFeatures:!1,showCustomizationModal:!1,additionalBenefitsHeading:{category_name:"Unlock additional benefits"}}},computed:{shop:function(){return{name:this.shop_domain,shopify_plan:this.shopify_plan,has_plan:!!this.plan,plan:this.plan,default_plan_id:this.default_plan_id}},monthlyPlan:function(){return this.plans.filter((function(e){return"EVERY_30_DAYS"===e.interval}))},yearlyPlan:function(){return this.plans.filter((function(e){return"ANNUAL"===e.interval}))}},methods:{translateMe:function(e){return this.$translations.hasOwnProperty(e)?this.$translations[e]:e},isCurrentPlanId:function(e){return this.shop.plan&&e.id===this.shop.plan.id},isActivePlanGlobal:function(){var e;return Boolean(null===(e=this.shop.plan)||void 0===e?void 0:e.is_global)},isActiveGlobalCharge:function(){return Boolean(this.global_plan_charge)},isSamePlanInOtherInterval:function(e){return this.shop.plan&&e.shopify_plans===this.shop.plan.shopify_plans},format:function(e){if(["double","integer"].includes(null==e?void 0:e.value_type))return"percentage"===e.format?"".concat(e.value,"%"):"count"===e.format?e.value<0?this.translateMe("Unlimited"):e.value:this.translateMe(e.value);if("array"===(null==e?void 0:e.value_type)){var t=JSON.parse(e.value),n=this;return(t=t.map((function(t){return n.translateMe(n.featureValues[e.feature_id][t])}))).join(", ")}return"string"===(null==e?void 0:e.value_type)?this.translateMe(e.value.replace('"',"").replace('"',"")):void 0},calculateDiscountedPrice:function(e){return Uh(e,this.promotional_discount).price},handlePlanClicked:function(e){this.getPlanUrl(e)},getPlanUrl:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){var a,r,i,o,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=t.shop.name,r=t.host,i=t.discount_code,o="shop=".concat(a),null!=r&&(o+="&host=".concat(r)),null!=i&&(o+="&discount_code=".concat(i)),n.next=8,_c.get("".concat(t.app_manager_config.baseUrl,"/api/app-manager/plan/process/").concat(e.id,"?").concat(o)).catch((function(e){console.error(e)}));case 8:"free_plan"===(s=n.sent).data.plan_type?t.$emit("handlePlanSelect",{free_plan:!0}):(l=s.data.redirect_url)&&(window.top.location.href=l);case 10:case"end":return n.stop()}}),n)})))()},activePlan:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.activeWithoutPlan();case 2:!0===t.sent.data.status&&e.onboard&&(e.$emit("handlePlanSelect",{choose_later:!0}),e.onboard=!1);case 4:case"end":return t.stop()}}),t)})))()},activeWithoutPlan:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_c.post("".concat(e.app_manager_config.baseUrl,"/api/app-manager/active-without-plan"),{shop_domain:e.shop.name,plan_id:e.shop.default_plan_id}).catch((function(e){console.error(e)}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},selectPlan:function(e){var t=this;return s(regeneratorRuntime.mark((function n(){var a,r,i,o,s,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.selectedPlan=e,null!==t.bundle_plan&&(a=document.querySelector(".custom-plan"),r=document.querySelector(".bundle-plan"),i=document.querySelector(".bill-cycle-back"),o=document.querySelector(".bill-cycle-select-group__inner-left"),s=document.querySelector(".promotional-banner"),l=document.querySelector(".bundle-plan-showcase-banner"),"bundle"==t.selectedPlan?(a.style.display="none",r.style.display="flex",i.style.display="flex",o.style.display="none",s&&(s.style.display="none"),l.style.display="flex"):(r.style.display="none",a.style.display="flex",i.style.display="none",o.style.display="flex",s&&(s.style.display="flex"),l.style.display="none"));case 2:case"end":return n.stop()}}),n)})))()},fetchFeatures:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,a,r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plan-features")).catch((function(e){console.error(e)}));case 2:n=t.sent,(a=n.data).features.length&&(e.features=a.features,e.features=null===(r=e.features)||void 0===r?void 0:r.filter((function(e){return!0!==e.hidden_feature})),e.features=null===(i=e.features)||void 0===i?void 0:i.sort((function(e,t){return parseInt(e.display_order)-parseInt(t.display_order)})),e.features.forEach((function(t){"array"==t.value_type&&(e.featureValues[t.uuid]=t.values)})));case 5:case"end":return t.stop()}}),t)})))()},fetchPlans:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,a,r,o,s,l,c,u,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={shop_domain:e.shop_domain},null!==e.discount_code&&(n.discount_code=e.discount_code),t.next=4,_c.get("".concat(e.app_manager_config.baseUrl,"/api/app-manager/plans"),{params:n}).catch((function(e){console.error(e)}));case 4:if(a=t.sent,(r=a.data).plans.length){for(d=0;d<r.plans.length;d++)"ANNUAL"===r.plans[d].interval&&e.valid_annual_plans.push(r.plans[d]);e.plans=r.plans,e.plans=null===(o=e.plans)||void 0===o?void 0:o.sort((function(e,t){return parseFloat(e.price)-parseFloat(t.price)})),(null===(s=e.plans)||void 0===s?void 0:s.length)>0&&(null===(l=r.most_popular_plan_ids)||void 0===l?void 0:l.length)>0&&e.plans.forEach((function(e){e.most_popular=r.most_popular_plan_ids.includes(e.id)})),e.plans[0].store_base_plan&&(e.subtitleContent=e.translateMe("App plans are based on your existing shopify plan")),e.plan=r.plan,"ANNUAL"===(null===(c=e.plan)||void 0===c?void 0:c.interval)&&(e.selectedPlan="annually"),null!==(u=e.plan)&&void 0!==u&&u.is_global&&(e.selectedPlan="bundle"),e.shopify_plan=r.shopify_plan,e.default_plan_id=r.default_plan_id,e.choose_later=r.choose_later,e.onboard=e.default_plan_id&&e.choose_later,e.has_active_charge=r.has_active_charge,e.global_plan_charge=r.global_plan_charge,e.promotional_discount=r.promotional_discount&&"object"===i(r.promotional_discount)&&Object.keys(r.promotional_discount).length>0?r.promotional_discount:{},r.bundle_plan&&(e.bundle_plan=r.bundle_plan),r.bundle_details&&(e.bundle_details=r.bundle_details)}case 7:case"end":return t.stop()}}),t)})))()},handlePlanBannerClose:function(e){this.$emit("handlePlanBannerClose",e),this.$emit("handle-plan-banner-close",e)},togglePlansFeatures:function(){this.showPlansFeatures=!this.showPlansFeatures},handleCustomizePlan:function(){this.showCustomizationModal=!0,this.$emit("handleCustomizePlan")},handleCustomizePlanClose:function(){this.showCustomizationModal=!1}},mounted:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.planLoading=!0,t.next=3,e.fetchFeatures();case 3:return t.next=5,e.fetchPlans();case 5:e.planLoading=!1;case 6:case"end":return t.stop()}}),t)})))()}},uf=w({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return this.planLoading||0!==this.plans.length?!this.planLoading&&this.plans.length>0?n("div",{staticClass:"app-manager-wrapper"},[n("PlanBanners",{staticClass:"app-manager-plan-banner",attrs:{position:"header"},on:{handlePlanBannerClose:e.handlePlanBannerClose}}),e._v(" "),n("div",{class:["bill-cycle-select-group","loose"===this.width?"loose-width":"","tight"===this.width?"tight-width":"","base"===this.width?"base-width":""]},[n("a",{staticClass:"bill-cycle-back",on:{click:function(t){return e.selectPlan("monthly")}}},[n("svg",{attrs:{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M1 7H15H1Z",fill:"#006FBB"}}),e._v(" "),n("path",{attrs:{d:"M1 7H15",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M1 7L7 13L1 7Z",fill:"#006FBB"}}),e._v(" "),n("path",{attrs:{d:"M1 7L7 13",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),n("path",{attrs:{d:"M1 7L7 1L1 7Z",fill:"#006FBB"}}),e._v(" "),n("path",{attrs:{d:"M1 7L7 1",stroke:"#006FBB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v("\n "+e._s(e.translateMe("Back to app pricing"))+"\n ")]),e._v(" "),n("div",{staticClass:"bill-cycle-select-group__inner-left"},[n("SelectButton",{attrs:{id:"pricing-tab",variant:"monthly"===e.selectedPlan?"primary":"secondary"},on:{click:function(t){return e.selectPlan("monthly")}}},[e._v("\n "+e._s(e.translateMe("Billed monthly"))+"\n ")]),e._v(" "),e.valid_annual_plans.length>0?n("SelectButton",{attrs:{id:"pricing-tab",variant:"annually"===e.selectedPlan?"primary":"secondary"},on:{click:function(t){return e.selectPlan("annually")}}},[e._v("\n "+e._s(e.translateMe("Billed yearly"))+"\n "),n("strong",{staticStyle:{"white-space":"pre",display:"inline-flex",gap:"3px","margin-left":"4px"}},[n("span",[e._v(e._s(e.translateMe("17%")))]),e._v(" "),n("span",[e._v(e._s(e.translateMe("Off")))])])]):e._e()],1)]),e._v(" "),e.bundle_plan?n("PlanShowcaseBanner",{attrs:{useCardStyle:!0,width:this.width,showcaseData:e.bundle_plan,realPrice:parseFloat(e.calculateDiscountedPrice(e.bundle_plan)).toFixed(0),oldPrice:e.bundle_plan.price,isCurrentPlan:e.isCurrentPlanId(e.bundle_plan)},on:{"plan-clicked":function(t){return e.handlePlanClicked(e.bundle_plan)}}}):e._e(),e._v(" "),n("PPage",{class:["app-manager-plan-page-slider","custom-title","loose"===this.width?"loose-width":"","tight"===this.width?"tight-width":"","base"===this.width?"base-width":""]},[n("PLayout",{staticClass:"custom-plan"},[n("PlanCardsHighlights",{attrs:{plans:e.plans,features:e.features,currentPlan:e.plan,hasActiveCharge:e.has_active_charge,shopifyPlan:e.shopify_plan,promotionalDiscount:e.promotional_discount,selectedInterval:e.selectedPlan},on:{"plan-clicked":e.handlePlanClicked}}),e._v(" "),n("div",{staticStyle:{display:"flex","flex-direction":"column","align-items":"center",gap:"16px"}},[n("a",{staticClass:"toggle-plans-features",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.togglePlansFeatures.apply(null,arguments)}}},[e._v("\n "+e._s(e.showPlansFeatures?e.translateMe("Hide all features"):e.translateMe("Show all features"))+"\n ")]),e._v(" "),n("PlanTable",{class:{"hide-all-features":!e.showPlansFeatures},attrs:{plans:e.plans,currentPlan:e.plan,hasActiveCharge:e.has_active_charge,shopifyPlan:e.shopify_plan,promotionalDiscount:e.promotional_discount,selectedInterval:e.selectedPlan,features:e.features,width:this.width,enableFeatureTooltip:this.enable_feature_tooltip},on:{"plan-clicked":e.handlePlanClicked}})],1),e._v(" "),e.onboard?n("PStack",{staticClass:"choose-plan-btn",attrs:{alignment:"center",distribution:"center",vertical:""}},[n("PStackItem",{attrs:{fill:""}},[n("PButton",{attrs:{plain:""},on:{click:e.activePlan}},[e._v(e._s(e.translateMe("I will choose the plan later")))])],1)],1):e._e(),e._v(" "),n("div",{staticClass:"customization-bundle-section"}),e._v(" "),n("CustomizationModal",{attrs:{visible:this.showCustomizationModal},on:{cancel:e.handleCustomizePlanClose,submit:function(e){}}})],1),e._v(" "),null!==e.bundle_plan?n("div",{staticClass:"bundle-plan"},[n("div",{staticClass:"light-divider"}),e._v(" "),e._l(e.bundle_details,(function(t){return n("div",{staticClass:"bundle-category"},[n("CategoryHeading",{attrs:{headingData:t}}),e._v(" "),n("div",{staticClass:"bundle-category-apps"},e._l(t.apps_relation,(function(e){return n("AppCard",{attrs:{appData:e}})})),1)],1)})),e._v(" "),n("CategoryHeading",{attrs:{headingData:e.additionalBenefitsHeading}}),e._v(" "),n("BenefitsBanner")],2):e._e(),e._v(" "),n("PlanBanners",{attrs:{position:"footer"},on:{handlePlanBannerClose:e.handlePlanBannerClose}})],1)],1):e._e():n("PEmptyState",{attrs:{heading:e.translateMe("No plans"),image:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"}})},staticRenderFns:[]},(function(e){e&&e("data-v-c6586700_0",{source:'@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);@font-face{font-family:swiper-icons;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0,0,0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1190px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper::before{content:"";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:"";position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size)/ 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:50%;background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity,.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity,1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-next+.swiper-slide,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:"";background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}.app-manager .app-manager-wrapper{padding-top:16px}.app-manager .app-manager-plan-page-slider ul{list-style:none;margin:0;padding:0}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li,.app-manager .app-manager-plan-page-slider .plan__price{padding:16px 16px 16px 20px}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li{border-top:1px solid #ddd;border-right:1px solid #ddd;background:#fff;border-right:none;border-left:1px solid #ddd}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:last-child{border-bottom:1px solid #ddd}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:first-child{border-top-left-radius:12px}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:last-child{border-bottom-left-radius:12px}.app-manager .app-manager-plan-page-slider .plan__price{border-left:1px solid #ddd;box-shadow:none;border-top-left-radius:12px;overflow:hidden}.app-manager .app-manager-plan-page-slider .feature__list,.app-manager .app-manager-plan-page-slider .feature__type__array{display:flex;align-items:center;word-spacing:999px;justify-content:center}.app-manager .app-manager-plan-page-slider .feature__type__array.feature__class{justify-content:left}.app-manager .app-manager-plan-page-slider .plan-heading b{overflow-wrap:break-word;word-wrap:break-word;white-space:initial}.app-manager-plan-banner{margin-right:30px;margin-left:30px}.bundle-plan{display:none;flex-direction:column;gap:20px}.bundle-category{display:flex;flex-direction:column;gap:20px;margin-bottom:10px}.bundle-category-apps{display:flex;flex-direction:column;gap:10px}.light-divider{border-top:1px solid #e3e3e3;margin-top:10px;margin-bottom:10px}.app-manager .Polaris-Icon--colorSuccess svg{fill:#1a1a1a!important}.button-group-new{display:flex;align-items:center;justify-content:center;gap:4px}.bill-cycle-select-group{display:flex;align-items:center;justify-content:space-between;gap:4px;max-width:1190px!important;margin-left:auto;margin-right:auto;padding:0 96px}.bill-cycle-select-group.loose-width{max-width:1600px!important}.bill-cycle-select-group.tight-width{max-width:840px!important}.bill-cycle-select-group__inner-left{width:fit-content;display:flex;gap:4px;align-items:center;justify-content:center;border-radius:40px;padding:4px;border:1px solid #1a1a1a}.bill-cycle-back{display:none;align-items:center;color:#006fbb;cursor:pointer;gap:4px;font-weight:450;font-size:14px}.promotional-banner{width:100%;height:100px;display:flex;align-items:center;justify-content:end;padding-right:36px;background-size:cover;background-repeat:no-repeat;background-position:center;border-radius:8px;margin-bottom:22px}.custom-plan{display:flex;flex-direction:column;align-items:center!important;gap:24px;margin-left:0!important;margin-right:0!important}.toggle-plans-features{font-size:13px;font-weight:500;color:#4a4a4a;text-decoration:none}.hide-all-features{visibility:hidden;overflow:hidden;height:0;margin-top:0!important}.customization-bundle-section{display:flex;flex-direction:row;gap:24px;width:100%}.app-manager .app-manager-plan-page-slider{padding-left:96px!important;padding-right:96px!important;max-width:1190px!important}.app-manager .app-manager-plan-page-slider.loose-width{max-width:1600px!important}.app-manager .app-manager-plan-page-slider.tight-width{max-width:840px!important}@media (max-width:1023px){.customization-bundle-section{flex-direction:column;gap:20px}}@media (max-width:992px){.app-manager .app-manager-plan-page-slider.loose-width,.bill-cycle-select-group.loose-width{max-width:none!important}}@media (max-width:767px){.app-manager .app-manager-plan-page-slider.loose-width,.bill-cycle-select-group.loose-width{max-width:100%!important}.bill-cycle-select-group{flex-direction:column;gap:10px}}@media (max-width:700px){.Polaris-ButtonGroup__Item{width:auto!important}.app-manager .Polaris-Button{padding:7px 8px!important}.bill-cycle-select-group{padding:0 8px}}@media (max-width:640px){.app-manager .app-manager-plan-page-slider{padding-left:0!important;padding-right:0!important}}',map:void 0,media:void 0})}),cf,undefined,false,undefined,!1,Pc,void 0,void 0),df=uf,pf={name:"AppManagerPlan",components:{AppManagerSliderPlan:df},props:{shop_domain:{type:String},base_url:{type:String,default:null},host:{type:String,default:null},discount_code:{type:String,default:null},is_customizable:{type:Boolean,default:!1},width:{type:String,default:"base",validator:function(e){return["tight","base","loose"].includes(e)}},enable_feature_tooltip:{type:Boolean,default:!1},translations:{type:Object,default:function(){return{hulkapps:"hulkapps"}}}},methods:{handlePlanSelect:function(e){this.$emit("handlePlanSelect",e),this.$emit("handle-plan-select",e)},handlePlanBannerClose:function(e){this.$emit("handlePlanBannerClose",e),this.$emit("handle-plan-banner-close",e)},handleCustomizePlan:function(){this.$emit("handleCustomizePlan")}},created:function(){if(n.default.prototype.$translations=Object.keys(this.translations).length>0?this.translations:{},null!=this.base_url){var e={baseUrl:this.base_url};gf(n.default,e)}}},hf=w({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("AppManagerSliderPlan",{attrs:{shop_domain:e.shop_domain,host:e.host,discount_code:e.discount_code,is_customizable:e.is_customizable,width:this.width,enable_feature_tooltip:e.enable_feature_tooltip},on:{handlePlanSelect:e.handlePlanSelect,handlePlanBannerClose:e.handlePlanBannerClose,handleCustomizePlan:e.handleCustomizePlan}})},staticRenderFns:[]},undefined,pf,"data-v-35a1cd1a",false,undefined,!1,void 0,void 0,void 0),ff=Object.freeze({__proto__:null,Banners:Mc,AppManagerGroupPlan:Fp,PlanBanners:zc,AppManagerSliderPlan:df,AppManagerPlan:hf}),vf={baseUrl:""},gf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.entries(ff).forEach((function(t){var n=d(t,2),a=n[0],r=n[1];e.component(a,r)})),e.prototype.app_manager_config=r(r({},vf),t)},mf=Object.freeze({__proto__:null,default:gf,Banners:Mc,AppManagerGroupPlan:Fp,PlanBanners:zc,AppManagerSliderPlan:df,AppManagerPlan:hf});return Object.entries(mf).forEach((function(e){var t=d(e,2),n=t[0],a=t[1];"default"!==n&&(gf[n]=a)})),gf}(Vue);
|