(()=>{var e={10313:function(e,t,n){var r=n(13218),i=n(25726),o=n(33498),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var a in e)"constructor"==a&&(t||!s.call(e,a))||n.push(a);return n}},10852:function(e,t,n){var r=n(28458),i=n(47801);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},11149:function(e,t,n){e.exports=n(55639).Uint8Array},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=!!t,t}},12224:function(e,t,n){"use strict";n.d(t,{ZP:()=>c,eS:()=>i});var r=n(52286);let i=["BYR","XAF","XPF","CLP","KMF","JPY","PYG","RWF","KRW","VND","VUV","XOF","MGA","UGX","ISK","BIF","DJF","GNF"],o={" ":" ","£":"\xa3","€":"€","$":"$"},s=e=>{var t;return null!=(t=null==e?void 0:e.replace(/(&\w+;)/g,e=>{var t;return null!=(t=o[e])?t:e}))?t:e},a={amount:[2,",","."],amount_no_decimals:[2,",","."],amount_with_comma_separator:[2,".",","],amount_no_decimals_with_comma_sepator:[2,".",","],amount_with_space_separator:[2," ",","],amount_no_decimals_with_space_separator:[2," ",","],amount_with_apostrophe_separator:[2,"'","."],get default(){return this.amount}};function l(e,t){let n=Math.pow(10,t);return(Math.round((e+1e-8)*n)/n).toFixed(t)}function c(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),c=2;c2?o-2:0),u=2;unull==e?void 0:e.cartCurrencyFormats))?n:{};return null==t?void 0:t.replace(d?/.*\{\{\s*\w+\s*\}\}.*/:/\{\{\s*\w+\s*\}\}/,function(e,t,n){let o;if(!+e&&0!=+e)return"—";let s=n.includes("thousand"),a=n.includes("noCurrency"),c=n.find(e=>i.includes(e))||a,u=n.includes("noPrecision");if(s){var d;e=(0,r.Z)(+e),o=(null==(d=/\d+\.?\d*([k-m])/.exec(e))?void 0:d[1])||"",e=parseFloat(e)}t={precision:u?0:t[0],thousand:t[1],decimal:t[2]};let p=e<0?"-":"",f=`${parseInt(l(Math.abs(e),t.precision),10)}`,h=f.length>3?f.length%3:0,m=p+(h?f.substr(0,h)+t.thousand:"")+f.substr(h).replace(/(\d{3})(?=\d)/g,`$1${t.thousand}`)+(t.precision>0?t.decimal+l(Math.abs(e),t.precision).split(".")[1]:"");return o&&(m=m.replace(/([,.]00|0)$/,"")+o),c&&!o?m.split(t.decimal)[0]:m}(e,function(e,t){var n,r;let i=null==(n=/\{\{\s*(\w+)\s*\}\}/.exec(e))?void 0:n[1],o=null!=t?t:a;return null!=(r=o[i])?r:o.default}(t,p),c))}(e,t,...o)}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},13851:function(e,t,n){"use strict";n.d(t,{U:()=>r});let r={"&":"&","<":"<",">":">",""":"'","'":"'","/":"/"," ":" "}},14125:function(e,t,n){var r=n(18470),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},14429:function(e,t,n){e.exports=n(55639)["__core-js_shared__"]},14636:function(e,t,n){var r=n(22545),i=n(35694),o=n(1469),s=n(44144),a=n(65776),l=n(36719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&i(e),d=!n&&!u&&s(e),p=!n&&!u&&!d&&l(e),f=n||u||d||p,h=f?r(e.length,String):[],m=h.length;for(var g in e)(t||c.call(e,g))&&!(f&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m)))&&h.push(g);return h}},1469:function(e){e.exports=Array.isArray},15346:function(e,t,n){var r,i=n(14429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},16096:function(e,t,n){var r=n(58234),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,s,a){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:i.call(t,p)))return!1}var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var m=!0;a.set(e,t),a.set(t,e);for(var g=l;++dC,$c:()=>T,Nw:()=>k,SB:()=>O});let r=` sellingPlanGroups(first: 10) { nodes { appId name options sellingPlans(first: 10) { nodes { pricingPolicies { ... on SellingPlanFixedPricingPolicy { adjustmentType adjustmentValue { ... on MoneyV2 { amount currencyCode } ... on SellingPlanPricingPolicyPercentageValue { percentage } } } ... on SellingPlanRecurringPricingPolicy { adjustmentType adjustmentValue { ... on SellingPlanPricingPolicyPercentageValue { percentage } ... on MoneyV2 { amount currencyCode } } } } id options name billingPolicy { ... on SellingPlanFixedBillingPolicy { checkoutCharge { type } } ... on SellingPlanRecurringBillingPolicy { maxCycles minCycles interval intervalCount } } deliveryPolicy { ... on SellingPlanRecurringDeliveryPolicy { interval intent cutoff preAnchorBehavior } } } } } } `,i=` variants(first: 10) { nodes { id price compareAtPrice taxable availableForSale image { url } selectedOptions { name value } title sellingPlanGroups(first: 10) { pageInfo { hasNextPage } edges { cursor node { id appId name options sellingPlans(first: 10) { pageInfo { hasNextPage } edges { cursor node { id position name options billingPolicy { ... on SellingPlanRecurringBillingPolicy { intervalCount interval maxCycles minCycles } } deliveryPolicy { ... on SellingPlanRecurringDeliveryPolicy { preAnchorBehavior interval cutoff intent } } pricingPolicies { ... on SellingPlanFixedPricingPolicy { adjustmentType adjustmentValue { ... on SellingPlanPricingPolicyPercentageValue { percentage } ... on MoneyV2 { amount currencyCode } } } ... on SellingPlanRecurringPricingPolicy { adjustmentType afterCycle adjustmentValue { ... on SellingPlanPricingPolicyPercentageValue { percentage } ... on MoneyV2 { amount currencyCode } } } } } } } } } } } } `,o=` id handle options { name values } featuredImage { url } title descriptionHtml requiresSellingPlan `,s={subscription_delivery_frequency_day_one:"every day",subscription_delivery_frequency_month_one:"every month",subscription_delivery_frequency_week_one:"every week",subscription_delivery_frequency_year_one:"every year",subscription_delivery_frequency_day:"every %count% days",subscription_delivery_frequency_month:"every %count% months",subscription_delivery_frequency_week:"every %count% weeks",subscription_delivery_frequency_year:"every %count% years"};function a(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function l(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function c(e,t){var n=l(e,t,"get");return n.get?n.get.call(e):n.value}function u(e,t,n){var r=l(e,t,"set");if(r.set)r.set.call(e,n);else{if(!r.writable)throw TypeError("attempted to set read only private field");r.value=n}return n}function d(e,t,n){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=new WeakMap,h=new WeakSet;function m(e){var t,n;return null==(n=this.productConfig)||null==(t=n.product)?void 0:t.plans.find(t=>t.external_plan_id===e)}function g(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function v(e,t){var n=g(e,t,"get");return n.get?n.get.call(e):n.value}function y(e,t,n){var r=g(e,t,"set");if(r.set)r.set.call(e,n);else{if(!r.writable)throw TypeError("attempted to set read only private field");r.value=n}return n}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=new WeakMap;class w{get subscribeOptions(){return this.plans.map(e=>{let{name:t,id:n}=e;return{name:t,value:n}})}get isOneOption(){return 1===this.subscribeOptions.length}get discount(){var e,t;let n=this.plans.find(e=>{let{id:t}=e;return t===+this.plan}),{value:r,type:i,value_type:o}=null!=(e=null==n?void 0:n.price_adjustments[0])?e:{},s=null!=o?o:i,a=null!=(t=({percentage:"percent",fixed_amount:"amount",price:"amount"})[s])?t:"none",l="percentage"!==s&&o?Number(r)/100:Number(r);return{type:a,value:"price"===s?this.selectedVariant.price/100-l:l}}get isSubscription(){return this.type}get payload(){return{selling_plan:+this.plan}}get prepaid(){return this.shippingInterval!==this.billingInterval}get isStayAiApp(){return"5859381"===this.id}get shippingInterval(){var e,t,n,r;return+(null==(r=this[this.isPreview?"product":"offerProduct"])||null==(n=r.subscriptions.find(e=>e.app_id===this.id))||null==(t=n.selling_plans[0])||null==(e=t.billing_policy)?void 0:e.interval_count)||1}get billingInterval(){var e,t,n,r;return(null==(r=this[this.isPreview?"product":"offerProduct"])||null==(n=r.subscriptions.find(e=>e.app_id===this.id))||null==(t=n.selling_plans[0])||null==(e=t.billing_policy)?void 0:e.interval_count)||1}get subtotalInterval(){return this.prepaid?this.billingInterval:this.shippingInterval}get subscriptionName(){var e;if(this.isPreview){let e=v(this,b).find(e=>{let{id:t}=e;return t===+this.plan});return null==e?void 0:e.name}return null==(e=this.plans[0])?void 0:e.name}get interval(){var e,t,n;return null==(n=this[this.isPreview?"product":"offerProduct"])||null==(t=n.subscriptions.find(e=>e.app_id===this.id).selling_plans[0])||null==(e=t.billing_policy)?void 0:e.interval.toLowerCase()}get translations(){let e=this.shippingInterval,t=this.billingInterval,n=this.subtotalInterval,r=this.subscriptionName,i=this.interval,o=this.$translations;return{get suffix(){return{delivery:1==+e?"_one":"",billing:1==+t?"_one":""}},get key(){let e=`subscription_delivery_frequency_${i}`;return{delivery:`${e}${this.suffix.delivery}`,billing:`${e}${this.suffix.billing}`}},get translations(){return{delivery:this.translate(e,this.key.delivery),billing:this.translate(n,this.key.billing),name:r}},translate:(e,t)=>o[t].replace(/%count%/,e)}}get variables(){let{delivery:e,billing:t,name:n}=this.translations.translations;return{delivery_interval:e,billing_interval:t,subscription_name:n}}get isPrepaid(){return this.shippingInterval!==this.billingInterval}get _anyVariantAllocation(){return this.isPreview?v(this,b).find(e=>e.variant_ids):this.plans}get plans(){var e;return this.isPreview?this._anyVariantAllocation?v(this,b).filter(e=>{var t;return null==(t=e.variant_ids)?void 0:t.includes(this.selectedVariant.id)}):v(this,b):null==(e=v(this,b))?void 0:e.filter(e=>{var t,n;return null==(n=this.selectedVariant)||null==(t=n.selling_plan_allocations)?void 0:t.find(t=>{let{selling_plan_id:n}=t;return n===e.id})})}initPlans(e){y(this,b,e.flatMap(e=>{let{selling_plans:t,variant_ids:n}=e;return t.forEach(e=>e.variant_ids=n),t})),this.setFirstPlan()}setFirstPlan(){var e,t;let n=(null==(e=this.plans[0])?void 0:e.id)||(null==(t=this.plans[0])?void 0:t.shopify_id);this.changePlan(n)}applyPreviewModel(){y(this,b,v(this,b).map(e=>{var t,n,r,i,o,s,a,l,c;let{shopify_id:u,name:d,pricing_policies:p,variant_ids:f}=e;return{name:d,id:u,variant_ids:f,price_adjustments:[{type:null!=(a=null==p||null==(n=p[0])||null==(t=n.adjustment_type)?void 0:t.toLowerCase())?a:"",value:null!=(c=null!=(l=null==p||null==(i=p[0])||null==(r=i.adjustment_value)?void 0:r.percentage)?l:null==p||null==(s=p[0])||null==(o=s.adjustment_value)?void 0:o.amount)?c:0}]}}))}changePlan(e){this.plan=e}changeType(e){this.type=e}hasSellingPlan(e){return!!e.find(e=>{var t;let n=(null==e?void 0:e.selling_plan_allocations)||e.selling_plan_allocation;if((null==(t=e.properties)?void 0:t._ocu_offer_id)&&n&&Object.keys(n).length)return e})}renderVariables(e){if(!e)return e;let t=e;return Object.entries(this.variables).forEach(e=>{let[n,r]=e,i=RegExp(`{{\\s*(${n})\\s*}}`,"g");t=t.replace(i,r)}),t}onVariantChange(e){this.selectedVariant=e,this.setFirstPlan(),this.changeType(this.subscriptionOnly||!1)}constructor({products:e,offerProduct:t,id:n,isPreview:r,translations:i,plans:o}){var a;if(_(this,"plan",void 0),_(this,"isPublished",!0),_(this,"type",!1),_(this,"selectedVariant",null),!function(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}(this,b,{writable:!0,value:[]}),this.product=e,this.subscriptionOnly=this.product.requires_selling_plan,this.offerProduct=t,this.type=this.subscriptionOnly,this.id=n,this.isPreview=r,this.$translations=this.isPreview?s:i,this.selectedVariant=null==(a=this.product.variants)?void 0:a[0],this.initPlans(o),this.product.subscriptions)return this.applyPreviewModel()}}let E=[[{app_id:"294517",selling_plans:[{shopify_id:0,name:" 30 Days",options:["30 Day(s)"],billing_policy:{interval:"DAY",max_cycles:null,min_cycles:null,interval_count:30},delivery_policy:{cutoff:null,intent:"FULFILLMENT_BEGIN",interval:"DAY",pre_anchor_behavior:"ASAP"},pricing_policies:[{adjustment_type:"PERCENTAGE",adjustment_value:{percentage:3}}],id:null},{shopify_id:0,name:" 90 Days",options:["90 Day(s)"],billing_policy:{interval:"DAY",max_cycles:null,min_cycles:null,interval_count:90},delivery_policy:{cutoff:null,intent:"FULFILLMENT_BEGIN",interval:"DAY",pre_anchor_behavior:"ASAP"},pricing_policies:[{adjustment_type:"PERCENTAGE",adjustment_value:{percentage:3}}],id:null}],options:["30 Day(s), 90 Day(s)"]}],[{app_id:"294517",selling_plans:[{shopify_id:0,name:" 30 Days",options:["30 Day(s)"],billing_policy:{interval:"DAY",max_cycles:null,min_cycles:null,interval_count:30},delivery_policy:{cutoff:null,intent:"FULFILLMENT_BEGIN",interval:"DAY",pre_anchor_behavior:"ASAP"},pricing_policies:[{adjustment_type:"PERCENTAGE",adjustment_value:{percentage:0}}],id:null},{shopify_id:0,name:" 90 Days",options:["90 Day(s)"],billing_policy:{interval:"DAY",max_cycles:null,min_cycles:null,interval_count:90},delivery_policy:{cutoff:null,intent:"FULFILLMENT_BEGIN",interval:"DAY",pre_anchor_behavior:"ASAP"},pricing_policies:[{adjustment_type:"PERCENTAGE",adjustment_value:{percentage:0}}],id:null}],options:["30 Day(s), 90 Day(s)"]}],[{app_id:"294517",selling_plans:[{shopify_id:0,name:" 10 Days, Charge every 20 Days",options:["10 Day(s)"],billing_policy:{interval:"DAY",max_cycles:null,min_cycles:null,interval_count:20},delivery_policy:{cutoff:null,intent:"FULFILLMENT_BEGIN",interval:"DAY",pre_anchor_behavior:"ASAP"},pricing_policies:[{adjustment_type:"PERCENTAGE",adjustment_value:{percentage:0}}],id:null}],options:["10 Day(s)"]}]],S={undefined:"Recharge",294517:"Recharge",5284869:"Loop",5859381:"StayAI",initFeatures(e){let t={...this},n={Bold:()=>{t.Bold="Bold",t.null="Bold"},Seal:()=>t["Seal Subscriptions"]="Seal",all(){this.Bold(),this.Seal()}};return e?Object.entries(e).forEach(e=>{var t;let[r,i]=e;i&&(null==(t=n[r])||t.call(n))}):n.all(),t}},x={Recharge:class{get subscribeOptions(){return this.plans.map(e=>{let{name:t,id:n}=e;return{name:t,value:n}})}get isOneOption(){return 1===this.subscribeOptions.length}get discount(){var e;let t=c(this,f).find(e=>{let{id:t}=e;return t===+this.plan}),{value:n,value_type:r,type:i}=null!=(e=null==t?void 0:t.price_adjustments[0])?e:{};return{type:"percentage"===(r||i)&&n?"percent":"none",value:n}}get isSubscription(){return this.type}get payload(){return{selling_plan:+this.plan}}get prepaid(){var e;let t=d(this,h,m).call(this,null==(e=this.plans[0])?void 0:e.id);return(null==t?void 0:t.type)?"prepaid"===t.type:this.shippingInterval!==this.billingInterval}get shippingInterval(){var e,t,n,r;let i=d(this,h,m).call(this,null==(e=this.plans[0])?void 0:e.id);if(i)return(null==i?void 0:i.order_interval_frequency)||1;let[o]=null!=(r=null==(n=this[this.isPreview?"product":"offerProduct"])||null==(t=n.subscriptions[0])?void 0:t.options)?r:[];return+(null==o?void 0:o.replace(/\D/g,""))||1}get billingInterval(){var e,t,n,r;return(null==(r=this[this.isPreview?"product":"offerProduct"])||null==(n=r.subscriptions[0])||null==(t=n.selling_plans[0])||null==(e=t.billing_policy)?void 0:e.interval_count)||1}get subtotalInterval(){return this.prepaid?this.billingInterval:this.shippingInterval}get subscriptionName(){var e;if(!this._anyVariantAllocation)return"";if(this.isPreview){let e=c(this,f).find(e=>{let{id:t}=e;return t===+this.plan});return null==e?void 0:e.name}return null==(e=this.plans[0])?void 0:e.name}get interval(){var e,t,n,r,i;return null==(i=this[this.isPreview?"product":"offerProduct"])||null==(r=i.subscriptions[0])||null==(n=r.selling_plans[0])||null==(t=n.billing_policy)||null==(e=t.interval)?void 0:e.toLowerCase()}get translations(){let e=this.shippingInterval,t=this.billingInterval,n=this.subtotalInterval,r=this.subscriptionName,i=this.interval,o=this.$translations;return{get suffix(){return{delivery:1==+e?"_one":"",billing:1==+t?"_one":""}},get key(){let e=`subscription_delivery_frequency_${i}`;return{delivery:`${e}${this.suffix.delivery}`,billing:`${e}${this.suffix.billing}`}},get translations(){return{delivery:this.translate(e,this.key.delivery),billing:this.translate(n,this.key.billing),name:r}},translate(e,t){var n;return null==(n=o[t])?void 0:n.replace(/%count%/,e)}}}get variables(){let{delivery:e,billing:t,name:n}=this.translations.translations;return{delivery_interval:e,billing_interval:t,subscription_name:n}}get isNewRecharge(){var e,t,n;return!!(null==(n=this[this.isPreview?"product":"offerProduct"])||null==(t=n.subscriptions[0])||null==(e=t.options)?void 0:e.includes("Recharge Plan ID"))}get isPrepaid(){return this.shippingInterval!==this.billingInterval}get _anyVariantAllocation(){return this.isPreview?c(this,f).find(e=>e.variant_ids):this.plans}get plans(){var e;return this.isPreview?this._anyVariantAllocation?c(this,f).filter(e=>{var t;return null==(t=e.variant_ids)?void 0:t.includes(this.selectedVariant.id)}):c(this,f):null==(e=c(this,f))?void 0:e.filter(e=>{var t,n;return null==(n=this.selectedVariant)||null==(t=n.selling_plan_allocations)?void 0:t.find(t=>{let{selling_plan_id:n}=t;return n===e.id})})}initPlans(e){u(this,f,e.flatMap(e=>{let{selling_plans:t,variant_ids:n}=e;return t.forEach(e=>e.variant_ids=n),t})),this.setFirstPlan()}setFirstPlan(){var e,t;let n=(null==(e=this.plans[0])?void 0:e.id)||(null==(t=this.plans[0])?void 0:t.shopify_id);this.changePlan(n)}applyPreviewModel(){void 0===this.id&&this.handleRechargeLegacy(),u(this,f,c(this,f).map(e=>{let{shopify_id:t,name:n,pricing_policies:r,variant_ids:i}=e;return{name:n,variant_ids:i,id:t,price_adjustments:[{type:null==r?void 0:r[0].adjustment_type.toLowerCase(),value:null==r?void 0:r[0].adjustment_value.percentage}]}}))}changePlan(e){this.plan=e}changeType(e){this.type=e}hasSellingPlan(e){return!!e.find(e=>{var t;let n=(null==e?void 0:e.selling_plan_allocations)||e.selling_plan_allocation;if((null==(t=e.properties)?void 0:t._ocu_offer_id)&&n&&Object.keys(n).length)return e})}renderVariables(e){if(!e)return e;let t=e;return Object.entries(this.variables).forEach(e=>{let[n,r]=e,i=RegExp(`{{\\s*(${n})\\s*}}`,"g");t=t.replace(i,r)}),t}onVariantChange(e){this.selectedVariant=e,this.setFirstPlan(),this.changeType(this.subscriptionOnly||!1)}async handleRechargeLegacy(){let{widget_settings:e}=await this.getRechargeWidget(),{published:t}=e;this.isPublished=!t||"true"===t}async getRechargeWidget(){var e,t;let n,r=await fetch((n=(null==(e=window)?void 0:e.shopOrigin)||(null==(t=window)?void 0:t.Shopify.shop),`https://static.rechargecdn.com/store/${n}/product/2020-12/products.json`));return await r.json()}async getProductConfig(e){var t,n;let r,i="string"==typeof e?+e.match(/\d+/)[0]:e,o=await fetch((r=(null==(t=window)?void 0:t.shopOrigin)||(null==(n=window)?void 0:n.Shopify.shop),`https://static.rechargecdn.com/store/${r}/product/2022-06/${i}.json`));return await o.json()}constructor({products:e,offerProduct:t,id:n,isPreview:r,translations:i,plans:o}){var l,c;if(a(this,h),h.add(this),p(this,"plan",void 0),p(this,"isPublished",!0),p(this,"type",!1),p(this,"selectedVariant",null),c={writable:!0,value:[]},a(this,f),f.set(this,c),p(this,"productConfig",null),this.product=e,this.subscriptionOnly=this.product.requires_selling_plan,this.offerProduct=t,this.type=this.subscriptionOnly,this.id=n,this.isPreview=r,this.$translations=this.isPreview?s:i,this.selectedVariant=null==(l=this.product.variants)?void 0:l[0],this.initPlans(o),this.product.subscriptions)return this.applyPreviewModel();void 0===this.id&&this.handleRechargeLegacy(!1)}},StayAI:w,Loop:w,Bold:w,Seal:w},O={subscriptionWidget:{dynamicPreviewNumber:0},sellingPlans:[],requiresSellingPlanDynamic:!1},T={subscriptionApp:e=>e.subscriptionWidget.app},C={detectApplication(e,t){var n;let{products:r,offerProduct:i,translations:o}=e,s=t?(null==r?void 0:r.subscriptions)||e.sellingPlans:null==r?void 0:r.selling_plan_groups;t&&!(null==r?void 0:r.subscriptions)&&e.sellingPlans&&(r.subscriptions=e.sellingPlans),t&&e.requiresSellingPlanDynamic&&(r.requires_selling_plan=e.requiresSellingPlanDynamic);let a=S.initFeatures(),l=null==s||null==(n=s[0])?void 0:n.app_id;e.isBoldEnabled&&(null==l?void 0:l.length)&&!Object.keys(a).includes(l)&&(s[0].app_id=a.Bold,l=a.Bold);let c=a[l];if(!c)return;let u=s.filter(e=>{let{app_id:t}=e;return t===l});if(!u||!u.length){e.subscriptionWidget.app=null;return}e.subscriptionWidget.app=c&&new x[c]({id:l,products:r,offerProduct:i,isPreview:t,translations:o,plans:u}),e.subscriptionWidget={...e.subscriptionWidget}},setRechargeConfig(e,t){e.subscriptionWidget.app.productConfig=t},changeSubscription(e,t){let{type:n,value:r}=t,i=e.subscriptionWidget.app;"type"===n&&i.changeType(r),"plan"===n&&i.changePlan(r)},setSubscriptionPreview(e,t){e.products.requires_selling_plan=0!==t,e.products.subscriptions=E[t],e.subscriptionWidget.dynamicPreviewNumber=t,this.commit("singleUpsellsModule/detectApplication",!0)},setProductSellingPlans(e,t){e.sellingPlans=null==t?void 0:t.selling_plan_groups,e.requiresSellingPlanDynamic=null==t?void 0:t.requires_selling_plan}},k={initializeSubscriptions(e){e.commit("detectApplication",!1),e.dispatch("fetchRechargeConfig")},async fetchRechargeConfig(e){var t;if(!(null==(t=e.state.subscriptionWidget.app)?void 0:t.getProductConfig))return;let{products:n}=e.state,r=await e.state.subscriptionWidget.app.getProductConfig(n.id);e.commit("setRechargeConfig",r)},async getProductData(e,t){let n=` query MyQuery($id: ID!) { product(id: $id) { ${o} ${r} ${i} } } `;return await fetch("shopify:admin/api/graphql.json",{method:"POST",body:JSON.stringify({query:n,variables:{id:t}})}).then(e=>null==e?void 0:e.json()).then(t=>(e.commit("setProductSellingPlans",this._vm.$utils.parseGraphData(t)),this._vm.$utils.parseGraphData(t))).catch(e=>console.log(e))}}},16612:function(e,t,n){var r=n(77813),i=n(98612),o=n(65776),s=n(13218);e.exports=function(e,t,n){if(!s(n))return!1;var a=typeof t;return("number"==a?!!(i(n)&&o(t,n.length)):"string"==a&&t in n)&&r(n[t],e)}},18351:function(e,t,n){var r=n(62705),i=n(11149),o=n(77813),s=n(67114),a=n(68776),l=n(21814),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=a;case"[object Set]":var h=1&r;if(f||(f=l),e.size!=t.size&&!h)break;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=s(f(e),f(t),r,c,d,p);return p.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},18446:function(e,t,n){var r=n(90939);e.exports=function(e,t){return r(e,t)}},18470:function(e,t,n){var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return -1}},18552:function(e,t,n){e.exports=n(10852)(n(55639),"DataView")},18564:function(e,t,n){"use strict";var r,i;n.d(t,{Z4:()=>o,tQ:()=>s}),null==(r=window.intercomSettings)||r.email,window.location.origin;let o=window.shopOrigin;null==o||o.replace(".myshopify.com",""),Object.values(null!=(i=window.location.ancestorOrigins)?i:{}).includes("https://admin.shopify.com");let s=[{name:"Merriweather",styles:["300","300i","400","400i","700","700i","900","900i"],category:"Serif",shopify_font:[]},{name:"Arvo",styles:["400","400i","700","700i"],category:"Serif",shopify_font:["arvo_n4","arvo_i4","arvo_n7","arvo_i7"]},{name:"BioRhyme",styles:["200","300","400","700","800"],category:"Serif",shopify_font:[]},{name:"Josefin Slab",styles:["100","100i","300","300i","400","400i","600","600i","700","700i"],category:"Serif",shopify_font:["josefin_slab_n1","josefin_slab_i1","josefin_slab_n3","josefin_slab_i3","josefin_slab_n4","josefin_slab_i4","josefin_slab_n6","josefin_slab_i6","josefin_slab_n7","josefin_slab_i7"]},{name:"Rubik",styles:["300","300i","400","400i","500","500i","700","700i","900","900i"],category:"Serif",shopify_font:["rubik_n3","rubik_i3","rubik_n4","rubik_i4","rubik_n5","rubik_i5","rubik_n7","rubik_i7","rubik_n9","rubik_i9"]},{name:"Alegreya",styles:["400","400i","500","500i","700","700i","800","800i","900","900i"],category:"Serif",shopify_font:["alegreya_n4","alegreya_i4","alegreya_n5","alegreya_i5","alegreya_n7","alegreya_i7","alegreya_n8","alegreya_i8","alegreya_n9","alegreya_i9"]},{name:"Crimson Text",styles:["400","400i","600","600i","700","700i"],category:"Serif",shopify_font:["crimson_text_n4","crimson_text_i4","crimson_text_n6","crimson_text_i6","crimson_text_n7","crimson_text_i7"]},{name:"PT Serif",styles:["400","400i","700","700i"],category:"Serif",shopify_font:["pt_serif_n4","pt_serif_i4","pt_serif_n7","pt_serif_i7"]},{name:"Anonymous Pro",styles:["400","400i","700","700i"],category:"Serif",shopify_font:["anonymous_pro_n4","anonymous_pro_i4","anonymous_pro_n7","anonymous_pro_i7"]},{name:"Roboto Slab",styles:["100","300","400","700"],category:"Serif",shopify_font:["roboto_slab_n1","roboto_slab_n3","roboto_slab_n4","roboto_slab_n7"]},{name:"Scope One",styles:["400"],category:"Serif",shopify_font:[]},{name:"Droid Serif",styles:["400","400i","700","700i"],category:"Serif",shopify_font:[]},{name:"Courier New",styles:["400"],category:"Serif",shopify_font:["courier_new_n4","courier_new_i4","courier_new_n7","courier_new_i7"]},{name:"Times New Roman",styles:["400"],category:"Serif",shopify_font:["times_new_roman_n4","times_new_roman_i4","times_new_roman_n7","times_new_roman_i7"]},{name:"Arial",styles:["400","400i","700","700i"],category:"Sans Serif",shopify_font:[]},{name:"Comic Sans MS",styles:["400"],category:"Sans Serif",shopify_font:[]},{name:"Helvetica",styles:["400"],category:"Sans Serif",shopify_font:["helvetica_n3","helvetica_o3","helvetica_n4","helvetica_o4","helvetica_n7","helvetica_o7","helvetica_n9","helvetica_o9"]},{name:"Tahoma",styles:["400"],category:"Sans Serif",shopify_font:[]},{name:"Verdana",styles:["400"],category:"Sans Serif",shopify_font:[]},{name:"Josefin Sans",styles:["100","100i","300","300i","400","400i","600","600i","700","700i"],category:"Sans Serif",shopify_font:["josefin_sans_n1","josefin_sans_i1","josefin_sans_n3","josefin_sans_i3","josefin_sans_n4","josefin_sans_i4","josefin_sans_n6","josefin_sans_i6","josefin_sans_n7","josefin_sans_i7"]},{name:"Work Sans",styles:["100","200","300","400","500","600","700","800","900"],category:"Sans Serif",shopify_font:["work_sans_n1","work_sans_n2","work_sans_n3","work_sans_n4","work_sans_n5","work_sans_n6","work_sans_n7","work_sans_n8","work_sans_n9"]},{name:"Fira Sans",styles:["100","100i","200","200i","300","300i","400","400i","500","500i","600","600i","700","700i","800","800i","900","900i"],category:"Sans Serif",shopify_font:["fira_sans_n1","fira_sans_i1","fira_sans_n2","fira_sans_i2","fira_sans_n3","fira_sans_i3","fira_sans_n4","fira_sans_i4","fira_sans_n5","fira_sans_i5","fira_sans_n6","fira_sans_i6","fira_sans_n7","fira_sans_i7","fira_sans_n8","fira_sans_i8","fira_sans_n9","fira_sans_i9"]},{name:"Alegreya Sans",styles:["100","100i","300","300i","400","400i","500","500i","700","700i","800","800i","900","900i"],category:"Sans Serif",shopify_font:["alegreya_sans_n1","alegreya_sans_i1","alegreya_sans_n3","alegreya_sans_i3","alegreya_sans_n4","alegreya_sans_i4","alegreya_sans_n5","alegreya_sans_i5","alegreya_sans_n7","alegreya_sans_i7","alegreya_sans_n8","alegreya_sans_i8","alegreya_sans_n9","alegreya_sans_i9"]},{name:"Source Sans Pro",styles:["200","200i","300","300i","400","400i","600","600i","700","700i","900","900i"],category:"Sans Serif",shopify_font:["source_sans_pro_n2","source_sans_pro_i2","source_sans_pro_n3","source_sans_pro_i3","source_sans_pro_n4","source_sans_pro_i4","source_sans_pro_n6","source_sans_pro_i6","source_sans_pro_n7","source_sans_pro_i7","source_sans_pro_n9","source_sans_pro_i9"]},{name:"Rajdhani",styles:["300","400","500","600","700"],category:"Sans Serif",shopify_font:["rajdhani_n3","rajdhani_n4","rajdhani_n5","rajdhani_n6","rajdhani_n7"]},{name:"Ubuntu",styles:["300","300i","400","400i","500","500i","700","700i"],category:"Sans Serif",shopify_font:["ubuntu_n3","ubuntu_i3","ubuntu_n4","ubuntu_i4","ubuntu_n5","ubuntu_i5","ubuntu_n7","ubuntu_i7"]},{name:"Dosis",styles:["200","300","400","500","600","700","800"],category:"Sans Serif",shopify_font:["dosis_n2","dosis_n3","dosis_n4","dosis_n5","dosis_n6","dosis_n7","dosis_n8"]},{name:"PT Sans Narrow",styles:["400","700"],category:"Sans Serif",shopify_font:["pt_sans_narrow_n4","pt_sans_narrow_n7"]},{name:"Raleway",styles:["100","100i","200","200i","300","300i","400","400i","500","500i","600","600i","700","700i","800","800i","900","900i"],category:"Sans Serif",shopify_font:["raleway_n1","raleway_i1","raleway_n2","raleway_i2","raleway_n3","raleway_i3","raleway_n4","raleway_i4","raleway_n5","raleway_i5","raleway_n6","raleway_i6","raleway_n7","raleway_i7","raleway_n8","raleway_i8","raleway_n9","raleway_i9"]},{name:"Lato",styles:["100","100i","300","300i","400","400i","700","700i","900","900i"],category:"Sans Serif",shopify_font:["lato_n1","lato_i1","lato_n2","lato_i2","lato_n3","lato_i3","lato_n4","lato_i4","lato_n5","lato_i5","lato_n6","lato_i6","lato_n7","lato_i7","lato_n8","lato_i8","lato_n9","lato_i9"]},{name:"Open Sans",styles:["300","300i","400","400i","600","600i","700","700i","800","800i"],category:"Sans Serif",shopify_font:["open_sans_n3","open_sans_i3","open_sans_n4","open_sans_i4","open_sans_n6","open_sans_i6","open_sans_n7","open_sans_i7","open_sans_n8","open_sans_i8"]},{name:"Bungee",styles:["400"],category:"Headings / Display",shopify_font:[]},{name:"Abril Fatface",styles:["400"],category:"Headings / Display",shopify_font:["abril_fatface_n4"]},{name:"Ultra",styles:["400"],category:"Headings / Display",shopify_font:[]},{name:"Lobster Two",styles:["400","400i","700","700i"],category:"Headings / Display",shopify_font:["lobster_two_n4","lobster_two_i4","lobster_two_n7","lobster_two_i7"]},{name:"Dancing Script",styles:["400","700"],category:"Headings / Display",shopify_font:[]},{name:"Caveat",styles:["400","700"],category:"Headings / Display",shopify_font:[]},{name:"Reenie Beanie",styles:["400"],category:"Headings / Display",shopify_font:[]},{name:"Amatica SC",styles:["400","700"],category:"Headings / Display",shopify_font:[]},{name:"Kaushan Script",styles:["400"],category:"Headings / Display",shopify_font:[]},{name:"Just Another Hand",styles:["400"],category:"Headings / Display",shopify_font:[]},{name:"Poiret One",styles:["400"],category:"Headings / Display",shopify_font:[]},{name:"Montserrat",styles:["100","100i","200","200i","300","300i","400","400i","500","500i","600","600i","700","700i","800","800i","900","900i"],category:"Regular",shopify_font:["montserrat_n1","montserrat_i1","montserrat_n2","montserrat_i2","montserrat_n3","montserrat_i3","montserrat_n4","montserrat_i4","montserrat_n5","montserrat_i5","montserrat_n6","montserrat_i6","montserrat_n7","montserrat_i7","montserrat_n8","montserrat_i8","montserrat_n9","montserrat_i9"]},{name:"Roboto",styles:["100","100i","300","300i","400","400i","500","500i","700","700i","900","900i"],category:"Regular",shopify_font:["roboto_n1","roboto_i1","roboto_n3","roboto_i3","roboto_n4","roboto_i4","roboto_n5","roboto_i5","roboto_n7","roboto_i7","roboto_n9","roboto_i9"]},{name:"Adamina",styles:["400"],category:"Custom",shopify_font:[]},{name:"Cherry Cream Soda",styles:["400"],category:"Custom",shopify_font:[]}],a={background:"background",logo:"logo",icon1:"usp_icon1",icon2:"usp_icon2",icon3:"usp_icon3",image:"image",hero_section_carousel_images:"hero_section_carousel_images",hero_section_image:"hero_section_image_only",usp_image:"buy_box_button_usp_image"};Object.keys(a),Object.entries(a).reduce((e,t)=>({[t[1]]:t[0],...e}),{})},1989:function(e,t,n){var r=n(51789),i=n(80401),o=n(57667),s=n(21327),a=n(81866);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tc,yW:()=>l});var r=n(82991),i=n(61422);e=n.hmd(e);var o={nowSeconds:function(){return Date.now()/1e3}},s=(0,i.KV)()?function(){try{return(0,i.l$)(e,"perf_hooks").performance}catch(e){return}}():function(){var e=(0,r.R)().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),a=void 0===s?o:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},l=o.nowSeconds.bind(o),c=a.nowSeconds.bind(a);!function(){var e=(0,r.R)().performance;if(e&&e.now){var t=e.now(),n=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+t-n):36e5,o=e.timing&&e.timing.navigationStart,s="number"==typeof o?Math.abs(o+t-n):36e5;(i<36e5||s<36e5)&&i<=s&&e.timeOrigin}}()},21275:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},21327:function(e,t,n){var r=n(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},21463:function(e,t,n){var r=n(5976),i=n(16612);e.exports=function(e){return r(function(t,n){var r=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=e.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),t=Object(t);++r$\x80-\uFFFF]/g;var n=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function r(e){for(var r,i="",o=0;null!==(r=t.xmlReplacer.exec(e));){var s=r.index,a=e.charCodeAt(s),l=n.get(a);void 0!==l?(i+=e.substring(o,s)+l,o=s+1):(i+="".concat(e.substring(o,s),"&#x").concat((0,t.getCodePoint)(e,s).toString(16),";"),o=t.xmlReplacer.lastIndex+=Number((64512&a)==55296))}return i+e.substr(o)}function i(e,t){return function(n){for(var r,i=0,o="";r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=i(/[&<>'"]/g,n),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},24785:function(e,t,n){var r=n(1989),i=n(38407),o=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},2492:function(e,t,n){var r=n(46384),i=n(67114),o=n(18351),s=n(16096),a=n(64160),l=n(1469),c=n(44144),u=n(36719),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),_=l(t),b=y?p:a(e),w=_?p:a(t);b=b==d?f:b,w=w==d?f:w;var E=b==f,S=w==f,x=b==w;if(x&&c(e)){if(!c(t))return!1;y=!0,E=!1}if(x&&!E)return v||(v=new r),y||u(e)?i(e,t,n,m,g,v):o(e,t,b,n,m,g,v);if(!(1&n)){var O=E&&h.call(e,"__wrapped__"),T=S&&h.call(t,"__wrapped__");if(O||T){var C=O?e.value():e,k=T?t.value():t;return v||(v=new r),g(C,k,n,m,v)}}return!!x&&(v||(v=new r),s(e,t,n,m,g,v))}},25063:function(e){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),s=r(t),a=s.length;a--;){var l=s[e?a:++i];if(!1===n(o[l],l,o))break}return t}}},25726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},26:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var n,r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function i(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!=(t=r.get(e))?t:e}t.fromCodePoint=null!=(n=String.fromCodePoint)?n:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)},t.replaceCodePoint=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},27040:function(e){e.exports=function(){this.__data__=[],this.size=0}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1?n-1:0),i=1;i/gm),W=p(/\${[\w\W]*}/gm),z=p(/^data-[\-\w.\u00B7-\uFFFF]+$/),G=p(/^aria-[\-\w]+$/),Y=p(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Z=p(/^(?:\w+script|data):/i),J=p(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=p(/^html$/i),K=p(/^[a-z][.\w]*(-[.\w]+)+$/i),Q=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,i="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(i)&&(r=n.currentScript.getAttribute(i));var o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};return function t(){var n,i,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,s=function(e){return t(e)};if(s.version="2.5.8",s.removed=[],!o||!o.document||9!==o.document.nodeType)return s.isSupported=!1,s;var a=o.document,l=o.document,c=o.DocumentFragment,u=o.HTMLTemplateElement,p=o.Node,f=o.Element,h=o.NodeFilter,m=o.NamedNodeMap,g=void 0===m?o.NamedNodeMap||o.MozNamedAttrMap:m,k=o.HTMLFormElement,ee=o.DOMParser,et=o.trustedTypes,en=f.prototype,er=N(en,"cloneNode"),ei=N(en,"nextSibling"),eo=N(en,"childNodes"),es=N(en,"parentNode");if("function"==typeof u){var ea=l.createElement("template");ea.content&&ea.content.ownerDocument&&(l=ea.content.ownerDocument)}var el=Q(et,a),ec=el?el.createHTML(""):"",eu=l,ed=eu.implementation,ep=eu.createNodeIterator,ef=eu.createDocumentFragment,eh=eu.getElementsByTagName,em=a.importNode,eg={};try{eg=A(l).documentMode?l.documentMode:{}}catch(e){}var ev={};s.isSupported="function"==typeof es&&ed&&void 0!==ed.createHTMLDocument&&9!==eg;var ey=Y,e_=null,eb=P({},[].concat(r(D),r(L),r(j),r(I),r($))),ew=null,eE=P({},[].concat(r(B),r(U),r(H),r(q))),eS=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ex=null,eO=null,eT=!0,eC=!0,ek=!1,eP=!0,eA=!1,eN=!0,eD=!1,eL=!1,ej=!1,eM=!1,eI=!1,eR=!1,e$=!0,eB=!1,eU=!0,eH=!1,eq={},eF=null,eV=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eW=null,ez=P({},["audio","video","img","source","image","track"]),eG=null,eY=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eZ="http://www.w3.org/1998/Math/MathML",eJ="http://www.w3.org/2000/svg",eX="http://www.w3.org/1999/xhtml",eK=eX,eQ=!1,e0=null,e1=P({},[eZ,eJ,eX],w),e3=["application/xhtml+xml","text/html"],e2=null,e5=l.createElement("form"),e4=function(e){return e instanceof RegExp||e instanceof Function},e8=function(t){e2&&e2===t||(t&&"object"===e(t)||(t={}),t=A(t),i="application/xhtml+xml"===(n=n=-1===e3.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?w:b,e_="ALLOWED_TAGS"in t?P({},t.ALLOWED_TAGS,i):eb,ew="ALLOWED_ATTR"in t?P({},t.ALLOWED_ATTR,i):eE,e0="ALLOWED_NAMESPACES"in t?P({},t.ALLOWED_NAMESPACES,w):e1,eG="ADD_URI_SAFE_ATTR"in t?P(A(eY),t.ADD_URI_SAFE_ATTR,i):eY,eW="ADD_DATA_URI_TAGS"in t?P(A(ez),t.ADD_DATA_URI_TAGS,i):ez,eF="FORBID_CONTENTS"in t?P({},t.FORBID_CONTENTS,i):eV,ex="FORBID_TAGS"in t?P({},t.FORBID_TAGS,i):{},eO="FORBID_ATTR"in t?P({},t.FORBID_ATTR,i):{},eq="USE_PROFILES"in t&&t.USE_PROFILES,eT=!1!==t.ALLOW_ARIA_ATTR,eC=!1!==t.ALLOW_DATA_ATTR,ek=t.ALLOW_UNKNOWN_PROTOCOLS||!1,eP=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,eA=t.SAFE_FOR_TEMPLATES||!1,eN=!1!==t.SAFE_FOR_XML,eD=t.WHOLE_DOCUMENT||!1,eM=t.RETURN_DOM||!1,eI=t.RETURN_DOM_FRAGMENT||!1,eR=t.RETURN_TRUSTED_TYPE||!1,ej=t.FORCE_BODY||!1,e$=!1!==t.SANITIZE_DOM,eB=t.SANITIZE_NAMED_PROPS||!1,eU=!1!==t.KEEP_CONTENT,eH=t.IN_PLACE||!1,ey=t.ALLOWED_URI_REGEXP||ey,eK=t.NAMESPACE||eX,eS=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&e4(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eS.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&e4(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eS.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eS.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eA&&(eC=!1),eI&&(eM=!0),eq&&(e_=P({},r($)),ew=[],!0===eq.html&&(P(e_,D),P(ew,B)),!0===eq.svg&&(P(e_,L),P(ew,U),P(ew,q)),!0===eq.svgFilters&&(P(e_,j),P(ew,U),P(ew,q)),!0===eq.mathMl&&(P(e_,I),P(ew,H),P(ew,q))),t.ADD_TAGS&&(e_===eb&&(e_=A(e_)),P(e_,t.ADD_TAGS,i)),t.ADD_ATTR&&(ew===eE&&(ew=A(ew)),P(ew,t.ADD_ATTR,i)),t.ADD_URI_SAFE_ATTR&&P(eG,t.ADD_URI_SAFE_ATTR,i),t.FORBID_CONTENTS&&(eF===eV&&(eF=A(eF)),P(eF,t.FORBID_CONTENTS,i)),eU&&(e_["#text"]=!0),eD&&P(e_,["html","head","body"]),e_.table&&(P(e_,["tbody"]),delete ex.tbody),d&&d(t),e2=t)},e6=P({},["mi","mo","mn","ms","mtext"]),e7=P({},["annotation-xml"]),e9=P({},["title","style","font","a","script"]),te=P({},L);P(te,j),P(te,M);var tt=P({},I);P(tt,R);var tn=function(e){var t=es(e);t&&t.tagName||(t={namespaceURI:eK,tagName:"template"});var r=b(e.tagName),i=b(t.tagName);return!!e0[e.namespaceURI]&&(e.namespaceURI===eJ?t.namespaceURI===eX?"svg"===r:t.namespaceURI===eZ?"svg"===r&&("annotation-xml"===i||e6[i]):!!te[r]:e.namespaceURI===eZ?t.namespaceURI===eX?"math"===r:t.namespaceURI===eJ?"math"===r&&e7[i]:!!tt[r]:e.namespaceURI===eX?(t.namespaceURI!==eJ||!!e7[i])&&(t.namespaceURI!==eZ||!!e6[i])&&!tt[r]&&(e9[r]||!te[r]):"application/xhtml+xml"===n&&!!e0[e.namespaceURI])},tr=function(e){_(s.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ec}catch(t){e.remove()}}},ti=function(e,t){try{_(s.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){_(s.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ew[e])if(eM||eI)try{tr(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},to=function(e){if(ej)e=""+e;else{var t,r,i=E(e,/^[\r\n\t ]+/);r=i&&i[0]}"application/xhtml+xml"===n&&eK===eX&&(e=''+e+"");var o=el?el.createHTML(e):e;if(eK===eX)try{t=new ee().parseFromString(o,n)}catch(e){}if(!t||!t.documentElement){t=ed.createDocument(eK,"template",null);try{t.documentElement.innerHTML=eQ?ec:o}catch(e){}}var s=t.body||t.documentElement;return(e&&r&&s.insertBefore(l.createTextNode(r),s.childNodes[0]||null),eK===eX)?eh.call(t,eD?"html":"body")[0]:eD?t.documentElement:s},ts=function(e){return ep.call(e.ownerDocument||e,e,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null,!1)},ta=function(e){return e instanceof k&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof g)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},tl=function(t){return"object"===e(p)?t instanceof p:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},tc=function(e,t,n){ev[e]&&v(ev[e],function(e){e.call(s,t,n,e2)})},tu=function(e){if(tc("beforeSanitizeElements",e,null),ta(e)||T(/[\u0080-\uFFFF]/,e.nodeName))return tr(e),!0;var t,n=i(e.nodeName);if(tc("uponSanitizeElement",e,{tagName:n,allowedTags:e_}),e.hasChildNodes()&&!tl(e.firstElementChild)&&(!tl(e.content)||!tl(e.content.firstElementChild))&&T(/<[/\w]/g,e.innerHTML)&&T(/<[/\w]/g,e.textContent)||"select"===n&&T(/