From 780237f3781ce7b43d54a08eda786d4166909acf Mon Sep 17 00:00:00 2001 From: Alex Iglesias Date: Tue, 1 Sep 2020 09:11:27 +0200 Subject: [PATCH] Updated AWF source --- public/build/bundle.js | 4 ++-- public/build/bundle.js.map | 2 +- src/constants.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/build/bundle.js b/public/build/bundle.js index 6955e5c..5b282c3 100644 --- a/public/build/bundle.js +++ b/public/build/bundle.js @@ -1,9 +1,9 @@ -var app=function(){"use strict";function e(){}const t=e=>e;function n(e,t){for(const n in t)e[n]=t[n];return e}function o(e){return e()}function r(){return Object.create(null)}function i(e){e.forEach(o)}function a(e){return"function"==typeof e}function s(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function l(t,...n){if(null==t)return e;const o=t.subscribe(...n);return o.unsubscribe?()=>o.unsubscribe():o}function c(e,t,n){e.$$.on_destroy.push(l(t,n))}function u(e,t,n,o){if(e){const r=d(e,t,n,o);return e[0](r)}}function d(e,t,o,r){return e[1]&&r?n(o.ctx.slice(),e[1](r(t))):o.ctx}function f(e,t,n,o,r,i,a){const s=function(e,t,n,o){if(e[2]&&o){const r=e[2](o(n));if(void 0===t.dirty)return r;if("object"==typeof r){const e=[],n=Math.max(t.dirty.length,r.length);for(let o=0;owindow.performance.now():()=>Date.now(),g=m?e=>requestAnimationFrame(e):e;const v=new Set;function y(e){v.forEach(t=>{t.c(e)||(v.delete(t),t.f())}),0!==v.size&&g(y)}function $(e){let t;return 0===v.size&&g(y),{promise:new Promise(n=>{v.add(t={c:e,f:n})}),abort(){v.delete(t)}}}function w(e,t){e.appendChild(t)}function k(e,t,n){e.insertBefore(t,n||null)}function x(e){e.parentNode.removeChild(e)}function C(e,t){for(let n=0;ne.removeEventListener(t,n,o)}function O(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function A(e,t){for(const n in t)O(e,n,t[n])}function M(e){return Array.from(e.childNodes)}function I(e,t,n,o){for(let o=0;o>>0}(u)}_${s}`,f=e.ownerDocument;D.add(f);const p=f.__svelte_stylesheet||(f.__svelte_stylesheet=f.head.appendChild(_("style")).sheet),h=f.__svelte_rules||(f.__svelte_rules={});h[d]||(h[d]=!0,p.insertRule(`@keyframes ${d} ${u}`,p.cssRules.length));const m=e.style.animation||"";return e.style.animation=`${m?m+", ":""}${d} ${o}ms linear ${r}ms 1 both`,P+=1,d}function R(e,t){const n=(e.style.animation||"").split(", "),o=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=n.length-o.length;r&&(e.style.animation=o.join(", "),P-=r,P||g(()=>{P||(D.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),D.clear())}))}function Z(e,t){const n=e.getBoundingClientRect();if(t.left!==n.left||t.top!==n.top){const o=getComputedStyle(e),r="none"===o.transform?"":o.transform;e.style.transform=`${r} translate(${t.left-n.left}px, ${t.top-n.top}px)`}}function z(e){q=e}function G(){if(!q)throw new Error("Function called outside component initialization");return q}function Y(e){G().$$.on_mount.push(e)}function U(e){G().$$.on_destroy.push(e)}function J(){const e=G();return(t,n)=>{const o=e.$$.callbacks[t];if(o){const r=V(t,n);o.slice().forEach(t=>{t.call(e,r)})}}}function Q(e){return G().$$.context.get(e)}function X(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach(e=>e(t))}const K=[],ee=[],te=[],ne=[],oe=Promise.resolve();let re=!1;function ie(){re||(re=!0,oe.then(ue))}function ae(e){te.push(e)}function se(e){ne.push(e)}let le=!1;const ce=new Set;function ue(){if(!le){le=!0;do{for(let e=0;e{fe=null})),fe}function he(e,t,n){e.dispatchEvent(V(`${t?"intro":"outro"}${n}`))}const me=new Set;let be;function ge(){be={r:0,c:[],p:be}}function ve(){be.r||i(be.c),be=be.p}function ye(e,t){e&&e.i&&(me.delete(e),e.i(t))}function $e(e,t,n,o){if(e&&e.o){if(me.has(e))return;me.add(e),be.c.push(()=>{me.delete(e),o&&(n&&e.d(1),o())}),e.o(t)}}const we={duration:0};function ke(n,o,r){let i,s,l=o(n,r),c=!1,u=0;function d(){i&&R(n,i)}function f(){const{delay:o=0,duration:r=300,easing:a=t,tick:f=e,css:p}=l||we;p&&(i=W(n,0,1,r,o,a,p,u++)),f(0,1);const h=b()+o,m=h+r;s&&s.abort(),c=!0,ae(()=>he(n,!0,"start")),s=$(e=>{if(c){if(e>=m)return f(1,0),he(n,!0,"end"),d(),c=!1;if(e>=h){const t=a((e-h)/r);f(t,1-t)}}return c})}let p=!1;return{start(){p||(R(n),a(l)?(l=l(),pe().then(f)):f())},invalidate(){p=!1},end(){c&&(d(),c=!1)}}}function xe(n,o,r,s){let l=o(n,r),c=s?0:1,u=null,d=null,f=null;function p(){f&&R(n,f)}function h(e,t){const n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function m(o){const{delay:r=0,duration:a=300,easing:s=t,tick:m=e,css:g}=l||we,v={start:b()+r,b:o};o||(v.group=be,be.r+=1),u?d=v:(g&&(p(),f=W(n,c,o,a,r,s,g)),o&&m(0,1),u=h(v,a),ae(()=>he(n,o,"start")),$(e=>{if(d&&e>d.start&&(u=h(d,a),d=null,he(n,u.b,"start"),g&&(p(),f=W(n,c,u.b,u.duration,0,s,l.css))),u)if(e>=u.end)m(c=u.b,1-c),he(n,u.b,"end"),d||(u.b?p():--u.group.r||i(u.group.c)),u=null;else if(e>=u.start){const t=e-u.start;c=u.a+u.d*s(t/u.duration),m(c,1-c)}return!(!u&&!d)}))}return{run(e){a(l)?pe().then(()=>{l=l(),m(e)}):m(e)},end(){p(),u=d=null}}}function Ce(e,t){e.d(1),t.delete(e.key)}function _e(e,t){$e(e,1,1,()=>{t.delete(e.key)})}function Se(e,t){e.f(),_e(e,t)}function je(e,t,n,o,r,i,a,s,l,c,u,d){let f=e.length,p=i.length,h=f;const m={};for(;h--;)m[e[h].key]=h;const b=[],g=new Map,v=new Map;for(h=p;h--;){const e=d(r,i,h),s=n(e);let l=a.get(s);l?o&&l.p(e,t):(l=c(s,e),l.c()),g.set(s,b[h]=l),s in m&&v.set(s,Math.abs(h-m[s]))}const y=new Set,$=new Set;function w(e){ye(e,1),e.m(s,u),a.set(e.key,e),u=e.first,p--}for(;f&&p;){const t=b[p-1],n=e[f-1],o=t.key,r=n.key;t===n?(u=t.first,f--,p--):g.has(r)?!a.has(o)||y.has(o)?w(t):$.has(r)?f--:v.get(o)>v.get(r)?($.add(o),w(t)):(y.add(r),f--):(l(n,a),f--)}for(;f--;){const t=e[f];g.has(t.key)||l(t,a)}for(;p;)w(b[p-1]);return b}function Ee(e,t){const n={},o={},r={$$scope:1};let i=e.length;for(;i--;){const a=e[i],s=t[i];if(s){for(const e in a)e in s||(o[e]=1);for(const e in s)r[e]||(n[e]=s[e],r[e]=1);e[i]=s}else for(const e in a)r[e]=1}for(const e in o)e in n||(n[e]=void 0);return n}function Te(e){return"object"==typeof e&&null!==e?e:{}}function Le(e,t,n){const o=e.$$.props[t];void 0!==o&&(e.$$.bound[o]=n,n(e.$$.ctx[o]))}function Oe(e){e&&e.c()}function Ae(e,t,n){const{fragment:r,on_mount:s,on_destroy:l,after_update:c}=e.$$;r&&r.m(t,n),ae(()=>{const t=s.map(o).filter(a);l?l.push(...t):i(t),e.$$.on_mount=[]}),c.forEach(ae)}function Me(e,t){const n=e.$$;null!==n.fragment&&(i(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ie(t,n,o,a,s,l,c=[-1]){const u=q;z(t);const d=n.props||{},f=t.$$={fragment:null,ctx:null,props:l,update:e,not_equal:s,bound:r(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:[]),callbacks:r(),dirty:c,skip_bound:!1};let p=!1;if(f.ctx=o?o(t,d,(e,n,...o)=>{const r=o.length?o[0]:n;return f.ctx&&s(f.ctx[e],f.ctx[e]=r)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](r),p&&function(e,t){-1===e.$$.dirty[0]&&(K.push(e),ie(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Be=[];function He(t,n=e){let o;const r=[];function i(e){if(s(t,e)&&(t=e,o)){const e=!Be.length;for(let e=0;e{const e=r.indexOf(l);-1!==e&&r.splice(e,1),0===r.length&&(o(),o=null)}}}}function Ve(t,n,o){const r=!Array.isArray(t),s=r?[t]:t,c=n.length<2;return{subscribe:He(o,t=>{let o=!1;const u=[];let d=0,f=e;const p=()=>{if(d)return;f();const o=n(r?u[0]:u,t);c?t(o):f=a(o)?o:e},h=s.map((e,t)=>l(e,e=>{u[t]=e,d&=~(1<{d|=1<{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class We extends Fe{constructor(e){super(),Ie(this,e,Pe,qe,s,{})}}function Re(t){let o,r,i,a,s,l,c,u,d,f,p,h,m=[{viewBox:"0 0 42 34"},{stroke:"currentColor"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],b={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class ze extends Fe{constructor(e){super(),Ie(this,e,Ze,Re,s,{})}}function Ge(t){let o,r,i,a,s,l,c,u,d,f,p=[{viewBox:"0 0 38 38"},{stroke:"currentColor"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],h={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Ue extends Fe{constructor(e){super(),Ie(this,e,Ye,Ge,s,{})}}function Je(t){let o,r,i,a,s,l,c,u,d=[{viewBox:"0 0 34 30"},{stroke:"currentColor"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],f={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Xe extends Fe{constructor(e){super(),Ie(this,e,Qe,Je,s,{})}}function Ke(e){let t,n,o,r,i,a,s,l,c,u;var d=e[4][e[0]];return d&&(o=new d({})),{c(){t=_("button"),n=_("div"),o&&Oe(o.$$.fragment),r=E(),i=_("div"),a=j(e[1]),O(n,"class","nav-icon"),O(i,"class","nav-text"),O(t,"class",s="nav-item w-inline-block "+e[2]),H(t,"w--current",e[3]===e[0])},m(s,d){k(s,t,d),w(t,n),o&&Ae(o,n,null),w(t,r),w(t,i),w(i,a),l=!0,c||(u=L(t,"click",e[5]),c=!0)},p(e,[r]){if(d!==(d=e[4][e[0]])){if(o){ge();const e=o;$e(e.$$.fragment,1,0,()=>{Me(e,1)}),ve()}d?(o=new d({}),Oe(o.$$.fragment),ye(o.$$.fragment,1),Ae(o,n,null)):o=null}(!l||2&r)&&F(a,e[1]),(!l||4&r&&s!==(s="nav-item w-inline-block "+e[2]))&&O(t,"class",s),13&r&&H(t,"w--current",e[3]===e[0])},i(e){l||(o&&ye(o.$$.fragment,e),l=!0)},o(e){o&&$e(o.$$.fragment,e),l=!1},d(e){e&&x(t),o&&Me(o),c=!1,u()}}}function et(e,t,n){let o;c(e,De,e=>n(3,o=e));let{link:r}=t,{text:i}=t,{extraClass:a=""}=t;const s=[We,ze,Ue,Xe];return e.$$set=e=>{"link"in e&&n(0,r=e.link),"text"in e&&n(1,i=e.text),"extraClass"in e&&n(2,a=e.extraClass)},[r,i,a,o,s,()=>h(De,o=r)]}class tt extends Fe{constructor(e){super(),Ie(this,e,et,Ke,s,{link:0,text:1,extraClass:2})}}function nt(t){let o,r,i=[{viewBox:"0 0 128 128"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class rt extends Fe{constructor(e){super(),Ie(this,e,ot,nt,s,{})}}function it(t){let n,o,r,i,a,s,l,c,u,d,f,p,h,m,b;return r=new rt({props:{class:"logo"}}),s=new tt({props:{link:Ne.HOME,text:"Intro"}}),c=new tt({props:{link:Ne.MSF,text:"Multi Steps"}}),d=new tt({props:{link:Ne.LOGIC,text:"Conditional Logic"}}),p=new tt({props:{link:Ne.CODE,text:"Generate Code",extraClass:"last"}}),{c(){n=_("header"),o=_("a"),Oe(r.$$.fragment),i=E(),a=_("nav"),Oe(s.$$.fragment),l=E(),Oe(c.$$.fragment),u=E(),Oe(d.$$.fragment),f=E(),Oe(p.$$.fragment),h=E(),m=_("p"),m.innerHTML='A project by Alex Iglesias.',O(o,"href","https://brota.me/"),O(o,"target","_blank"),O(o,"class","logo-wrap w-inline-block"),O(a,"class","nav"),O(m,"class","nav-about"),O(n,"class","nav-wrap")},m(e,t){k(e,n,t),w(n,o),Ae(r,o,null),w(n,i),w(n,a),Ae(s,a,null),w(a,l),Ae(c,a,null),w(a,u),Ae(d,a,null),w(a,f),Ae(p,a,null),w(n,h),w(n,m),b=!0},p:e,i(e){b||(ye(r.$$.fragment,e),ye(s.$$.fragment,e),ye(c.$$.fragment,e),ye(d.$$.fragment,e),ye(p.$$.fragment,e),b=!0)},o(e){$e(r.$$.fragment,e),$e(s.$$.fragment,e),$e(c.$$.fragment,e),$e(d.$$.fragment,e),$e(p.$$.fragment,e),b=!1},d(e){e&&x(n),Me(r),Me(s),Me(c),Me(d),Me(p)}}}class at extends Fe{constructor(e){super(),Ie(this,e,null,it,s,{})}}function st(e){let t,n,o,r;return{c(){t=_("button"),n=j(e[2]),O(t,"class","button w-button")},m(i,a){k(i,t,a),w(t,n),o||(r=L(t,"click",e[5]),o=!0)},p(e,t){4&t&&F(n,e[2])},d(e){e&&x(t),o=!1,r()}}}function lt(e){let t,n,o,r;return{c(){t=_("button"),n=j(e[3]),O(t,"class","button outline w-button")},m(i,a){k(i,t,a),w(t,n),o||(r=L(t,"click",e[6]),o=!0)},p(e,t){8&t&&F(n,e[3])},d(e){e&&x(t),o=!1,r()}}}function ct(t){let n,o,r,i,a,s,l,c,u=t[2]&&st(t),d=t[3]&<(t);return{c(){n=_("div"),o=_("h1"),r=j(t[0]),i=E(),a=_("p"),s=E(),l=_("div"),u&&u.c(),c=E(),d&&d.c(),O(o,"class","mb-4"),O(a,"class","mb-8"),O(l,"class","hero-buttons"),O(n,"class","container max-w-xl vflex-c-c center")},m(e,f){k(e,n,f),w(n,o),w(o,r),w(n,i),w(n,a),a.innerHTML=t[1],w(n,s),w(n,l),u&&u.m(l,null),w(l,c),d&&d.m(l,null)},p(e,[t]){1&t&&F(r,e[0]),2&t&&(a.innerHTML=e[1]),e[2]?u?u.p(e,t):(u=st(e),u.c(),u.m(l,c)):u&&(u.d(1),u=null),e[3]?d?d.p(e,t):(d=lt(e),d.c(),d.m(l,null)):d&&(d.d(1),d=null)},i:e,o:e,d(e){e&&x(n),u&&u.d(),d&&d.d()}}}function ut(e,t,n){let{title:o}=t,{subtitle:r}=t,{primaryText:i}=t,{secondaryText:a}=t;const s=J();return e.$$set=e=>{"title"in e&&n(0,o=e.title),"subtitle"in e&&n(1,r=e.subtitle),"primaryText"in e&&n(2,i=e.primaryText),"secondaryText"in e&&n(3,a=e.secondaryText)},[o,r,i,a,s,()=>{s("primaryclick")},()=>{s("secondaryclick")}]}class dt extends Fe{constructor(e){super(),Ie(this,e,ut,ct,s,{title:0,subtitle:1,primaryText:2,secondaryText:3})}}function ft(e){const t=e-1;return t*t*t+1}function pt(e){return--e*e*e*e*e+1}function ht(e,{delay:n=0,duration:o=400,easing:r=t}){const i=+getComputedStyle(e).opacity;return{delay:n,duration:o,easing:r,css:e=>"opacity: "+e*i}}function mt(e,{delay:t=0,duration:n=400,easing:o=ft,x:r=0,y:i=0,opacity:a=0}){const s=getComputedStyle(e),l=+s.opacity,c="none"===s.transform?"":s.transform,u=l*(1-a);return{delay:t,duration:n,easing:o,css:(e,t)=>`\n\t\t\ttransform: ${c} translate(${(1-e)*r}px, ${(1-e)*i}px);\n\t\t\topacity: ${l-u*t}`}}function bt(e,{delay:t=0,duration:n=400,easing:o=ft}){const r=getComputedStyle(e),i=+r.opacity,a=parseFloat(r.height),s=parseFloat(r.paddingTop),l=parseFloat(r.paddingBottom),c=parseFloat(r.marginTop),u=parseFloat(r.marginBottom),d=parseFloat(r.borderTopWidth),f=parseFloat(r.borderBottomWidth);return{delay:t,duration:n,easing:o,css:e=>`overflow: hidden;opacity: ${Math.min(20*e,1)*i};height: ${e*a}px;padding-top: ${e*s}px;padding-bottom: ${e*l}px;margin-top: ${e*c}px;margin-bottom: ${e*u}px;border-top-width: ${e*d}px;border-bottom-width: ${e*f}px;`}}function gt(e){let t,n,o,r;const i=e[2].default,a=u(i,e,e[1],null);return{c(){t=_("div"),a&&a.c(),O(t,"class",n="content-wrap "+e[0])},m(e,n){k(e,t,n),a&&a.m(t,null),r=!0},p(e,[o]){a&&a.p&&2&o&&f(a,i,e,e[1],o,null,null),(!r||1&o&&n!==(n="content-wrap "+e[0]))&&O(t,"class",n)},i(e){r||(ye(a,e),o||ae(()=>{o=ke(t,ht,{duration:250}),o.start()}),r=!0)},o(e){$e(a,e),r=!1},d(e){e&&x(t),a&&a.d(e)}}}function vt(e,t,n){let{extraClass:o=""}=t,{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"extraClass"in e&&n(0,o=e.extraClass),"$$scope"in e&&n(1,i=e.$$scope)},[o,i,r]}class yt extends Fe{constructor(e){super(),Ie(this,e,vt,gt,s,{extraClass:0})}}function $t(t){let n,o,r;return o=new dt({props:{title:"Webflow Advanced Forms",subtitle:'Welcome to the beta version of the Advanced\n Forms Builder. Now you can add multi step functionality and conditional\n logic to your Webflow Forms!
Found a bug? Got a request? Let me know\n alex@brota.me.',primaryText:"Get Started!",secondaryText:"See Demos"}}),o.$on("primaryclick",t[0]),{c(){n=_("section"),Oe(o.$$.fragment),O(n,"class","section")},m(e,t){k(e,n,t),Ae(o,n,null),r=!0},p:e,i(e){r||(ye(o.$$.fragment,e),r=!0)},o(e){$e(o.$$.fragment,e),r=!1},d(e){e&&x(n),Me(o)}}}function wt(e){let t,n;return t=new yt({props:{extraClass:"justify-center",$$slots:{default:[$t]},$$scope:{ctx:e}}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,[n]){const o={};4&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function kt(e,t,n){let o;c(e,De,e=>n(1,o=e));return[()=>{h(De,o=Ne.MSF)}]}class xt extends Fe{constructor(e){super(),Ie(this,e,kt,wt,s,{})}}function Ct(e,t,n){const o=getComputedStyle(e),r="none"===o.transform?"":o.transform,i=t.from.width/e.clientWidth,s=t.from.height/e.clientHeight,l=(t.from.left-t.to.left)/i,c=(t.from.top-t.to.top)/s,u=Math.sqrt(l*l+c*c),{delay:d=0,duration:f=(e=>120*Math.sqrt(e)),easing:p=ft}=n;return{delay:d,duration:a(f)?f(u):f,easing:p,css:(e,t)=>`transform: ${r} translate(${t*l}px, ${t*c}px);`}}const _t=He({hiddeButtonsOnSubmit:!0,scrollTopOnStepChange:!1}),St=He(!1),jt=He([{key:"webflowSetup",title:"Webflow setup"},{key:"elements",title:"Elements"}]),Et=He([{key:"alertSelector",title:"Alert Element",selected:!1},{key:"alertText",title:"Alert Text",selected:!1},{key:"backText",title:"Back Button Text",selected:!1},{key:"backSelector",title:"Back Button",selected:!1},{key:"completedPercentageSelector",title:"Display Completed %",selected:!1},{key:"currentStepSelector",title:"Display Current Step",selected:!1},{key:"customNav",title:"Custom Nav Links",selected:!1},{key:"displayValues",title:"Display Filled Values",selected:!1},{key:"hiddenForm",title:"Extra Hidden Form",selected:!1},{key:"msfGlobal",title:"Global Options",selected:!1},{key:"nextText",title:"Next Button Text",selected:!1},{key:"warningClass",title:"Warning Class",selected:!1}]),Tt={subscribe:Et.subscribe,modify:(e,t)=>{Et.update(n=>n.map(n=>(n.key===e&&(n.selected=t),n)))},checkSelected:e=>{let t=!1;return Et.subscribe(n=>{t=n.find(t=>t.key===e).selected})(),t}},Lt=He(!1),Ot={intro:[{title:"Multi step Feature",content:'

Add multi step functionality to your Webflow Forms in a couple of clicks:

\n
    \n
  • Input validation
  • \n
  • Warnings
  • \n
  • Custom Interactions
  • \n
  • And much more!
  • \n
\n

Simply select all the features that you want to add and the builder will generate the code for you :)

\n

Some functionalities may require a certain setup in Webflow, always check the info before setting them!

',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4654862720cad5da7d_MSF-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4654862720cad5da7d_MSF-transcode.webm"}],webflowSetup:[{title:"Webflow setup",content:'

\n The slides will act as different steps of your form. You can put\n as many slides as you want inside the slider.
\n

\n

\n Each step will check the\n required and visible inputs\n inside it before jumping to the next one.
\n

',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee565486279ea8d5da9a_Webflow Setup-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee565486279ea8d5da9a_Webflow Setup-transcode.webm"}],elements:[{title:"Required elements",content:'

\n Make sure that you set the ID of the Form,\n not the Form Block.
\n

\n

\n The next button doesn't need to be placed inside the form,\n it can be located anywhere in the page.
\n

\n

\n Once the last step is reached, the next button's text will\n change to the submit button's text.
\n

\n

\n Note: remember to place a submit button set to\n display:none anywhere inside the\n form.\n

',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee3490d139ddcd925872_Elements-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee3490d139ddcd925872_Elements-transcode.webm"}],alertSelector:[{title:"Alert element",content:'

\n You can show an element as an alert when there are missing\n fields that must be filled.
\n

\n

\n Eg: show a box that alerts the user to fill the\n missing inputs.\n

\n

This element can be placed anywhere in the page.

\n

\n By default, it will be set to\n display:block when shown, and\n display:none when hidden.
\n

\n

\n If you want to show it using a Webflow Interaction, place a\n hidden Div Block inside it with the custom\n attribute:
\n

\n
    \n
  • Name: data-msf
  • \n
  • Value: alert
  • \n
\n

\n And bind it to a\n Mouse click (tap)\n interaction.
The script will trigger the\n 1st click to show it and the\n 2nd click to hide it.
\n

',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43a0a2b1f46811a0ec526e_Alert%20Element-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43a0a2b1f46811a0ec526e_Alert%20Element-transcode.webm"}],backSelector:[{title:"Back button",content:"

\n Use this button to let the user go back to the previous step.
\n

\n

\n It is recommended that you hide it in the first slide (step) to\n avoid confusing the users.
\n

\n

\n To do so, use a Slider Change interaction to hide it when the\n first slide enters and show it when the first slide leaves.
\n

\n

This element can be placed anywhere in the page.

",video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1122e26a9a3213fcfd_Back Button-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1122e26a9a3213fcfd_Back Button-transcode.webm"}],alertText:[{title:"Alert text",content:'

\n You can show a global alert when there are missing fields that\n must be filled.
\n

\n

Check how it will look:

\n \n Display alert\n ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee0cdb6e8b2c895a3705_Alert Text-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee0cdb6e8b2c895a3705_Alert Text-transcode.webm"}],backText:[{title:"Back button text",content:'

\n Additionally, you can set a different text of the back button in\n any step.
\n

\n

\n If you don't set the text for a particular step\n (for example you set the text for the 2nd and 4th step, but\n not the 3rd)\n it will fall back to the lower closest one\n (the 2nd one in this case).
\n

',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee16ba9928d0613cfdf4_Back Text-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee16ba9928d0613cfdf4_Back Text-transcode.webm"}],nextText:[{title:"Next button text",content:'

\n Additionally, you can set a different text of the next button in\n any step.
\n

\n

\n If you don't set the text for a particular step\n (for example you set the text for the 2nd and 4th step, but\n not the 3rd)\n it will fall back to the lower closest one\n (the 2nd one in this case).
\n

',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4c877e0acbbcd606ff_Next Text-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4c877e0acbbcd606ff_Next Text-transcode.webm"}],completedPercentageSelector:[{title:"Display completed %",content:"

\n You can set any text element (paragraph, text block, heading,\n list item...) to display the completed % of the steps:
\n

\n

\n It will show the percentage starting from 0% in the first step\n to 100% in the last step.
\n

\n

This element can be placed anywhere in the page.

",video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1bdb6e8bc01c5a3710_Completed Percentage-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1bdb6e8bc01c5a3710_Completed Percentage-transcode.webm"}],currentStepSelector:[{title:"Display current step",content:"

\n You can set any text element (paragraph, text block, heading,\n list item...) to display the number of the current step.
\n

\n

\n If you want to show the number of total steps, you should to it\n manually as it is a fixed value.
\n

\n

This element can be placed anywhere in the page.

",video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee267778392e5f0fd1e3_Current Step-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee267778392e5f0fd1e3_Current Step-transcode.webm"}],customNav:[{title:"Custom nav links",content:'

\n You can let the user jump to a specific step adding this custom\n nav links.
\n

\n

\n To do so, give this custom attribute to the element that should\n trigger it when clicked:
\n

\n
    \n
  • Name: data-msf-nav
  • \n
  • \n Value: The number of the step (Eg:\n 2)\n
  • \n
\n

This elements can be placed anywhere in the page.

',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2ab937946f7bdb3864_Custom Nav-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2ab937946f7bdb3864_Custom Nav-transcode.webm"}],displayValues:[{title:"Display filled values",content:'

\n You can set the value of an input to be displayed on any text\n element (paragraph, text block, heading, list item...).
\n

\n

\n To do so, give this custom attribute to the text element that\n should show it:
\n

\n
    \n
  • Name: data-msf-value
  • \n
  • \n Value: The ID of the input (Eg:\n email)\n
  • \n
\n

This elements can be placed anywhere in the page.

',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2f3f5ea2bb18716185_Display Values-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2f3f5ea2bb18716185_Display Values-transcode.webm"}],msfGlobal:[{title:"Global options",content:'

\n The navigation buttons (next, back, and custom navs) are\n disabled once the form is submitted.
\n

\n

\n You can additionally hide the back and next button by checking\n the option. They will be set to\n display:none.
\n

',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee39b937947cdfdb38e9_Global Options-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee39b937947cdfdb38e9_Global Options-transcode.webm"}],warningClass:[{title:"Warning class",content:"

\n You can add a CSS class to each missing input when the user\n tries to jump to the next step.
\n

\n

\n This is useful to highlight those inputs that should be filled,\n like adding a colored border.
\n

\n

\n Once the input is filled, that CSS class will be removed.
\n

\n

\n Radio inputs and checkboxes should be set to\n Custom in the Webflow Designer in order to\n display it correctly.
\n

",video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee51a9fec7dce69ba40c_Warning Class-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee51a9fec7dce69ba40c_Warning Class-transcode.webm"}],hiddenForm:[{title:"Extra hidden form",content:'

\n You can send an additional hidden form when the user completes a\n specific step.
\n

\n

\n This feature is useful if you want to make sure that some of the\n info is collected even if the user doesn't complete the\n whole form.
\n

\n

\n Add this custom attribute to each input that you want to collect\n in the hidden form:
\n

\n
    \n
  • Name: data-msf
  • \n
  • Value: hidden
  • \n
\n

\n The script will automatically create the hidden form, populate\n and send it when the user completes the desired step.
\n

',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee416621331f88cbbca5_Hidden Form-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee416621331f88cbbca5_Hidden Form-transcode.webm"}]};function At(e,t,n){const o=e.slice();return o[8]=t[n],o}function Mt(e){let t,n;return{c(){t=_("label"),n=j(e[1]),O(t,"for",e[2]),O(t,"class","input-label")},m(e,o){k(e,t,o),w(t,n)},p(e,o){2&o&&F(n,e[1]),4&o&&O(t,"for",e[2])},d(e){e&&x(t)}}}function It(e,t){let n,o,r,i,a,s=t[8].name+"";return{key:e,first:null,c(){n=_("option"),o=j(s),r=E(),n.__value=i=t[8].value,n.value=n.__value,n.disabled=a=t[8].disabled,this.first=n},m(e,t){k(e,n,t),w(n,o),w(n,r)},p(e,t){16&t&&s!==(s=e[8].name+"")&&F(o,s),16&t&&i!==(i=e[8].value)&&(n.__value=i,n.value=n.__value),16&t&&a!==(a=e[8].disabled)&&(n.disabled=a)},d(e){e&&x(n)}}}function Ft(t){let n,o,r,a,s,l,c=[],u=new Map,d=t[1]&&Mt(t),f=t[4];const p=e=>e[8].value;for(let e=0;et[7].call(r)),O(n,"class",a="relative "+t[5])},m(e,i){k(e,n,i),d&&d.m(n,null),w(n,o),w(n,r);for(let e=0;e{"label"in e&&n(1,o=e.label),"id"in e&&n(2,r=e.id),"name"in e&&n(3,i=e.name),"options"in e&&n(4,a=e.options),"value"in e&&n(0,s=e.value),"extraClass"in e&&n(5,l=e.extraClass)},[s,o,r,i,a,l,function(t){X(e,t)},function(){s=function(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}(this),n(0,s),n(4,a)}]}class Ht extends Fe{constructor(e){super(),Ie(this,e,Bt,Ft,s,{label:1,id:2,name:3,options:4,value:0,extraClass:5})}}function Vt(e){let t,n,o=e[1]&&Nt();return{c(){t=_("label"),n=j(e[0]),o&&o.c(),O(t,"for",e[3]),O(t,"class","input-label")},m(e,r){k(e,t,r),w(t,n),o&&o.m(t,null)},p(e,r){1&r&&F(n,e[0]),e[1]?o||(o=Nt(),o.c(),o.m(t,null)):o&&(o.d(1),o=null),8&r&&O(t,"for",e[3])},d(e){e&&x(t),o&&o.d()}}}function Nt(e){let t;return{c(){t=_("span"),t.textContent="*",O(t,"class","sea-green")},m(e,n){k(e,t,n)},d(e){e&&x(t)}}}function Dt(t){let n,o,r,a,s,l,c=t[0]&&Vt(t);return{c(){n=_("div"),c&&c.c(),o=E(),r=_("input"),O(r,"type",t[2]),O(r,"name",t[4]),O(r,"placeholder",t[5]),O(r,"id",t[3]),O(r,"min",t[7]),O(r,"max",t[8]),r.value=t[10],O(r,"class","input-field w-input"),O(r,"maxlength","256"),O(n,"class",a="relative "+t[6])},m(e,i){k(e,n,i),c&&c.m(n,null),w(n,o),w(n,r),t[15](r),s||(l=[L(r,"input",t[14]),L(r,"input",t[11])],s=!0)},p(e,[t]){e[0]?c?c.p(e,t):(c=Vt(e),c.c(),c.m(n,o)):c&&(c.d(1),c=null),4&t&&O(r,"type",e[2]),16&t&&O(r,"name",e[4]),32&t&&O(r,"placeholder",e[5]),8&t&&O(r,"id",e[3]),128&t&&O(r,"min",e[7]),256&t&&O(r,"max",e[8]),1024&t&&r.value!==e[10]&&(r.value=e[10]),64&t&&a!==(a="relative "+e[6])&&O(n,"class",a)},i:e,o:e,d(e){e&&x(n),c&&c.d(),t[15](null),s=!1,i(l)}}}function qt(e,t,n){let o,{label:r}=t,{required:i=!1}=t,{type:a="text"}=t,{id:s}=t,{name:l}=t,{value:c=""}=t,{placeholder:u}=t,{extraClass:d=""}=t,{min:f}=t,{max:p}=t,{selector:h}=t,m="";return e.$$set=e=>{"label"in e&&n(0,r=e.label),"required"in e&&n(1,i=e.required),"type"in e&&n(2,a=e.type),"id"in e&&n(3,s=e.id),"name"in e&&n(4,l=e.name),"value"in e&&n(12,c=e.value),"placeholder"in e&&n(5,u=e.placeholder),"extraClass"in e&&n(6,d=e.extraClass),"min"in e&&n(7,f=e.min),"max"in e&&n(8,p=e.max),"selector"in e&&n(13,h=e.selector)},e.$$.update=()=>{4096&e.$$.dirty&&c&&n(10,m=function(e){if(!h)return e;const t=new RegExp({id:"#",class:"."}[h]);return e.replace(t,"")}(c.toString()))},[r,i,a,s,l,u,d,f,p,o,m,function(){n(12,c=o.value.length>0?function(e){return h?"id"===h?"#"+e:"class"===h?"."+e:void 0:e}(o.value):"")},c,h,function(t){X(e,t)},function(e){ee[e?"unshift":"push"](()=>{o=e,n(9,o)})}]}class Pt extends Fe{constructor(e){super(),Ie(this,e,qt,Dt,s,{label:0,required:1,type:2,id:3,name:4,value:12,placeholder:5,extraClass:6,min:7,max:8,selector:13})}}function Wt(e){let t,n,o,r,i;function a(t){e[2].call(null,t)}let s={label:"Element ID",id:"alert-id",name:"Alert ID",placeholder:"Eg: alert-element",selector:"id"};return void 0!==e[0]&&(s.value=e[0]),o=new Pt({props:s}),ee.push(()=>Le(o,"value",a)),{c(){t=_("p"),t.textContent="Check the info to learn how to show / hide it using Webflow interactions.",n=E(),Oe(o.$$.fragment),O(t,"class","mb-8")},m(e,r){k(e,t,r),k(e,n,r),Ae(o,e,r),i=!0},p(e,[t]){const n={};!r&&1&t&&(r=!0,n.value=e[0],se(()=>r=!1)),o.$set(n)},i(e){i||(ye(o.$$.fragment,e),i=!0)},o(e){$e(o.$$.fragment,e),i=!1},d(e){e&&x(t),e&&x(n),Me(o,e)}}}function Rt(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||a()}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class Zt extends Fe{constructor(e){super(),Ie(this,e,Rt,Wt,s,{key:1})}}function zt(e){let t,n,o;function r(t){e[2].call(null,t)}let i={label:"Alert Text",id:"alert-text",name:"Alert Text",placeholder:"Eg: Please, fill all the inputs."};return void 0!==e[0]&&(i.value=e[0]),t=new Pt({props:i}),ee.push(()=>Le(t,"value",r)),{c(){Oe(t.$$.fragment)},m(e,n){Ae(t,e,n),o=!0},p(e,[o]){const r={};!n&&1&o&&(n=!0,r.value=e[0],se(()=>n=!1)),t.$set(r)},i(e){o||(ye(t.$$.fragment,e),o=!0)},o(e){$e(t.$$.fragment,e),o=!1},d(e){Me(t,e)}}}function Gt(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||a()}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class Yt extends Fe{constructor(e){super(),Ie(this,e,Gt,zt,s,{key:1})}}function Ut(e){let t,n,o;function r(t){e[2].call(null,t)}let i={label:"Back Button ID:",id:"back-button",name:"Back Button",placeholder:"Eg: back-id",selector:"id"};return void 0!==e[0]&&(i.value=e[0]),t=new Pt({props:i}),ee.push(()=>Le(t,"value",r)),{c(){Oe(t.$$.fragment)},m(e,n){Ae(t,e,n),o=!0},p(e,[o]){const r={};!n&&1&o&&(n=!0,r.value=e[0],se(()=>n=!1)),t.$set(r)},i(e){o||(ye(t.$$.fragment,e),o=!0)},o(e){$e(t.$$.fragment,e),o=!1},d(e){Me(t,e)}}}function Jt(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||(a(),Tt.checkSelected("backText")&&Tt.modify("backText",!1))}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class Qt extends Fe{constructor(e){super(),Ie(this,e,Jt,Ut,s,{key:1})}}var Xt="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),Kt=new Uint8Array(16);function en(){if(!Xt)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Xt(Kt)}var tn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function nn(e){return"string"==typeof e&&tn.test(e)}for(var on=[],rn=0;rn<256;++rn)on.push((rn+256).toString(16).substr(1));function an(e,t,n){var o=(e=e||{}).random||(e.rng||en)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var r=0;r<16;++r)t[n+r]=o[r];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(on[e[t+0]]+on[e[t+1]]+on[e[t+2]]+on[e[t+3]]+"-"+on[e[t+4]]+on[e[t+5]]+"-"+on[e[t+6]]+on[e[t+7]]+"-"+on[e[t+8]]+on[e[t+9]]+"-"+on[e[t+10]]+on[e[t+11]]+on[e[t+12]]+on[e[t+13]]+on[e[t+14]]+on[e[t+15]]).toLowerCase();if(!nn(n))throw TypeError("Stringified UUID is invalid");return n}(o)}function sn(t){let o,r,i=[{viewBox:"0 0 448 448"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class cn extends Fe{constructor(e){super(),Ie(this,e,ln,sn,s,{})}}function un(t){let o,r,i=[{viewBox:"0 0 448 96"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class fn extends Fe{constructor(e){super(),Ie(this,e,dn,un,s,{})}}function pn(t){let o,r,i=[{viewBox:"0 0 448 512"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class mn extends Fe{constructor(e){super(),Ie(this,e,hn,pn,s,{})}}function bn(e){let t,n;return t=new mn({props:{class:"small-icon"}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function gn(e){let t,n;return t=new fn({props:{class:"small-icon"}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function vn(e){let t,n;return t=new cn({props:{class:"small-icon"}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function yn(e){let t,n,o,r,i,a,s;const l=[vn,gn,bn],c=[];function u(e,t){return"add"===e[1]?0:"delete"===e[1]?1:2}return n=u(e),o=c[n]=l[n](e),{c(){t=_("button"),o.c(),O(t,"type","button"),O(t,"class",r="control-button "+e[1]+"\r\n "+e[2])},m(o,r){k(o,t,r),c[n].m(t,null),e[4](t),i=!0,a||(s=L(t,"click",e[3]),a=!0)},p(e,[a]){let s=n;n=u(e),n!==s&&(ge(),$e(c[s],1,1,()=>{c[s]=null}),ve(),o=c[n],o||(o=c[n]=l[n](e),o.c()),ye(o,1),o.m(t,null)),(!i||6&a&&r!==(r="control-button "+e[1]+"\r\n "+e[2]))&&O(t,"class",r)},i(e){i||(ye(o),i=!0)},o(e){$e(o),i=!1},d(o){o&&x(t),c[n].d(),e[4](null),a=!1,s()}}}function $n(e,t,n){let{action:o="add"}=t,{extraClass:r=""}=t,{button:i=null}=t;return e.$$set=e=>{"action"in e&&n(1,o=e.action),"extraClass"in e&&n(2,r=e.extraClass),"button"in e&&n(0,i=e.button)},[i,o,r,function(t){X(e,t)},function(e){ee[e?"unshift":"push"](()=>{i=e,n(0,i)})}]}class wn extends Fe{constructor(e){super(),Ie(this,e,$n,yn,s,{action:1,extraClass:2,button:0})}}function kn(e,t,n){const o=e.slice();return o[9]=t[n],o[10]=t,o[11]=n,o}function xn(e,t){let n,o,r,i,a,s,l,c,u,d,f,p;function h(e){t[4].call(null,e,t[11])}let m={label:"Step",type:"number",id:"back-text-step-"+t[11],name:"Back Text Step "+t[11],placeholder:"1",min:"1",extraClass:"_w-1-4"};function b(e){t[5].call(null,e,t[11])}void 0!==t[0][t[11]].step&&(m.value=t[0][t[11]].step),o=new Pt({props:m}),ee.push(()=>Le(o,"value",h));let g={label:"Text",id:"back-text-"+t[11],name:"Back Text "+t[11],placeholder:"Eg: Back Step",extraClass:"flex-auto mx-2"};return void 0!==t[0][t[11]].text&&(g.value=t[0][t[11]].text),a=new Pt({props:g}),ee.push(()=>Le(a,"value",b)),c=new wn({props:{action:0===t[11]?"add":"delete"}}),c.$on("click",(function(...e){return t[6](t[11],...e)})),{key:e,first:null,c(){n=_("div"),Oe(o.$$.fragment),i=E(),Oe(a.$$.fragment),l=E(),Oe(c.$$.fragment),u=E(),O(n,"class",d="hflex-c-sb no-wrap "+(t[11]r=!1)),o.$set(l);const u={};1&i&&(u.id="back-text-"+t[11]),1&i&&(u.name="Back Text "+t[11]),!s&&1&i&&(s=!0,u.value=t[0][t[11]].text,se(()=>s=!1)),a.$set(u);const f={};1&i&&(f.action=0===t[11]?"add":"delete"),c.$set(f),(!p||1&i&&d!==(d="hflex-c-sb no-wrap "+(t[11]{f||(f=xe(n,bt,{duration:250},!0)),f.run(1)}),p=!0)},o(e){$e(o.$$.fragment,e),$e(a.$$.fragment,e),$e(c.$$.fragment,e),e&&(f||(f=xe(n,bt,{duration:250},!1)),f.run(0)),p=!1},d(e){e&&x(n),Me(o),Me(a),Me(c),e&&f&&f.end()}}}function Cn(e){let t,n,o=[],r=new Map,i=e[0];const a=e=>e[9].id;for(let t=0;tn(7,o=e));let{key:r}=t,i=o[r]&&o[r].length>0?o[r].map(e=>Object.assign({id:an()},e)):[{id:an()}];function a(){n(0,i=[...i,{id:an()}])}function s(e){n(0,i=i.filter((t,n)=>n!==e))}U(()=>{Tt.checkSelected(r)||delete o[r]}),Y(()=>{Tt.checkSelected("backSelector")||Tt.modify("backSelector",!0)});return e.$$set=e=>{"key"in e&&n(3,r=e.key)},e.$$.update=()=>{9&e.$$.dirty&&h(_t,o[r]=function(e){const t=[];return e.forEach(e=>{const{step:n,text:o}=e;n&&o&&t.push({step:n,text:o})}),t}(i),o)},[i,a,s,r,function(e,t){i[t].step=e,n(0,i)},function(e,t){i[t].text=e,n(0,i)},e=>{0===e?a():s(e)}]}class Sn extends Fe{constructor(e){super(),Ie(this,e,_n,Cn,s,{key:3})}}function jn(t){let n,o;return{c(){n=_("p"),o=j("Check the info to learn how to add this functionality in Webflow."),O(n,"class","mb-0"),O(n,"id",t[0])},m(e,t){k(e,n,t),w(n,o)},p(e,[t]){1&t&&O(n,"id",e[0])},i:e,o:e,d(e){e&&x(n)}}}function En(e,t,n){let{key:o}=t;return e.$$set=e=>{"key"in e&&n(0,o=e.key)},[o]}class Tn extends Fe{constructor(e){super(),Ie(this,e,En,jn,s,{key:0})}}function Ln(e){let t,n,o;function r(t){e[2].call(null,t)}let i={label:"Text Element ID",id:"completed-percentage",name:"Completed Percentage",placeholder:"Eg: completed",selector:"id"};return void 0!==e[0]&&(i.value=e[0]),t=new Pt({props:i}),ee.push(()=>Le(t,"value",r)),{c(){Oe(t.$$.fragment)},m(e,n){Ae(t,e,n),o=!0},p(e,[o]){const r={};!n&&1&o&&(n=!0,r.value=e[0],se(()=>n=!1)),t.$set(r)},i(e){o||(ye(t.$$.fragment,e),o=!0)},o(e){$e(t.$$.fragment,e),o=!1},d(e){Me(t,e)}}}function On(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||a()}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class An extends Fe{constructor(e){super(),Ie(this,e,On,Ln,s,{key:1})}}function Mn(e){let t,n,o;function r(t){e[2].call(null,t)}let i={label:"Text Element ID",id:"current-step",name:"Current Step",placeholder:"Eg: current-step",selector:"id"};return void 0!==e[0]&&(i.value=e[0]),t=new Pt({props:i}),ee.push(()=>Le(t,"value",r)),{c(){Oe(t.$$.fragment)},m(e,n){Ae(t,e,n),o=!0},p(e,[o]){const r={};!n&&1&o&&(n=!0,r.value=e[0],se(()=>n=!1)),t.$set(r)},i(e){o||(ye(t.$$.fragment,e),o=!0)},o(e){$e(t.$$.fragment,e),o=!1},d(e){Me(t,e)}}}function In(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||a()}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class Fn extends Fe{constructor(e){super(),Ie(this,e,In,Mn,s,{key:1})}}function Bn(t){let n,o;return{c(){n=_("p"),o=j("Check the info to learn how to add this functionality in Webflow."),O(n,"class","mb-0"),O(n,"id",t[0])},m(e,t){k(e,n,t),w(n,o)},p(e,[t]){1&t&&O(n,"id",e[0])},i:e,o:e,d(e){e&&x(n)}}}function Hn(e,t,n){let{key:o}=t;return e.$$set=e=>{"key"in e&&n(0,o=e.key)},[o]}class Vn extends Fe{constructor(e){super(),Ie(this,e,Hn,Bn,s,{key:0})}}function Nn(e){let t,n,o,r,i,a;function s(t){e[2].call(null,t)}let l={label:"Form ID",required:!0,id:"form",name:"Form",placeholder:"Eg: form-id",extraClass:"mb-8",selector:"id"};function c(t){e[3].call(null,t)}void 0!==e[0]&&(l.value=e[0]),t=new Pt({props:l}),ee.push(()=>Le(t,"value",s));let u={label:"Next Button ID",required:!0,id:"next-button",name:"Next Button",placeholder:"Eg: next-id",selector:"id"};return void 0!==e[1]&&(u.value=e[1]),r=new Pt({props:u}),ee.push(()=>Le(r,"value",c)),{c(){Oe(t.$$.fragment),o=E(),Oe(r.$$.fragment)},m(e,n){Ae(t,e,n),k(e,o,n),Ae(r,e,n),a=!0},p(e,[o]){const a={};!n&&1&o&&(n=!0,a.value=e[0],se(()=>n=!1)),t.$set(a);const s={};!i&&2&o&&(i=!0,s.value=e[1],se(()=>i=!1)),r.$set(s)},i(e){a||(ye(t.$$.fragment,e),ye(r.$$.fragment,e),a=!0)},o(e){$e(t.$$.fragment,e),$e(r.$$.fragment,e),a=!1},d(e){Me(t,e),e&&x(o),Me(r,e)}}}function Dn(e,t,n){let o,r,i;c(e,_t,e=>n(4,o=e)),c(e,St,e=>n(5,r=e)),c(e,Lt,e=>n(6,i=e));let a=o.formSelector||"",s=o.nextSelector||"";return e.$$.update=()=>{32&e.$$.dirty&&(r||(delete o.formSelector,delete o.nextSelector)),64&e.$$.dirty&&i&&(n(0,a="#msf"),n(1,s="#msf-next"),h(Lt,i=!1)),17&e.$$.dirty&&(a.length>0?h(_t,o.formSelector=a,o):delete o.formSelector),18&e.$$.dirty&&(s.length>0?h(_t,o.nextSelector=s,o):delete o.nextSelector)},[a,s,function(e){a=e,n(0,a)},function(e){s=e,n(1,s)}]}class qn extends Fe{constructor(e){super(),Ie(this,e,Dn,Nn,s,{})}}function Pn(e){let t,n,o,r,i;function a(t){e[2].call(null,t)}let s={type:"number",label:"Step Goal",id:"hidden-form-step",name:"Hidden Form Step",placeholder:"Send after step X. Default: 1",min:"1"};return void 0!==e[0]&&(s.value=e[0]),o=new Pt({props:s}),ee.push(()=>Le(o,"value",a)),{c(){t=_("p"),t.textContent="Check the info to learn how to add this functionality in Webflow.",n=E(),Oe(o.$$.fragment),O(t,"class","mb-8")},m(e,r){k(e,t,r),k(e,n,r),Ae(o,e,r),i=!0},p(e,[t]){const n={};!r&&1&t&&(r=!0,n.value=e[0],se(()=>r=!1)),o.$set(n)},i(e){i||(ye(o.$$.fragment,e),i=!0)},o(e){$e(o.$$.fragment,e),i=!1},d(e){e&&x(t),e&&x(n),Me(o,e)}}}function Wn(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o.hiddenFormStep||"";return Y(()=>h(_t,o.sendHiddenForm=!0,o)),U(()=>{Tt.checkSelected(r)||(delete o.sendHiddenForm,delete o.hiddenFormStep)}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{1&e.$$.dirty&&h(_t,o.hiddenFormStep=+i>0?+i:1,o)},[i,r,function(e){i=e,n(0,i)}]}class Rn extends Fe{constructor(e){super(),Ie(this,e,Wn,Pn,s,{key:1})}}function Zn(t){let o,r,i=[{viewBox:"0 0 496 496"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Gn extends Fe{constructor(e){super(),Ie(this,e,zn,Zn,s,{})}}function Yn(t){let o,r,i=[{viewBox:"0 0 496 496"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Jn extends Fe{constructor(e){super(),Ie(this,e,Un,Yn,s,{})}}function Qn(e){let t,n;return t=new Jn({}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function Xn(e){let t,n;return t=new Gn({}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function Kn(e){let t,n,o,r,i,a,s,l;const c=[Xn,Qn],u=[];function d(e,t){return"info"===e[0]?0:1}return o=d(e),r=u[o]=c[o](e),{c(){t=_("button"),n=_("div"),r.c(),O(n,"class",i="mini-button "+e[0]),O(t,"type","button"),O(t,"class",e[1])},m(r,i){k(r,t,i),w(t,n),u[o].m(n,null),a=!0,s||(l=L(t,"click",e[3]),s=!0)},p(e,[s]){let l=o;o=d(e),o!==l&&(ge(),$e(u[l],1,1,()=>{u[l]=null}),ve(),r=u[o],r||(r=u[o]=c[o](e),r.c()),ye(r,1),r.m(n,null)),(!a||1&s&&i!==(i="mini-button "+e[0]))&&O(n,"class",i),(!a||2&s)&&O(t,"class",e[1])},i(e){a||(ye(r),a=!0)},o(e){$e(r),a=!1},d(e){e&&x(t),u[o].d(),s=!1,l()}}}function eo(e,t,n){let{action:o="info"}=t,{extraClass:r=""}=t;const i=J();return e.$$set=e=>{"action"in e&&n(0,o=e.action),"extraClass"in e&&n(1,r=e.extraClass)},[o,r,i,()=>i(o)]}class to extends Fe{constructor(e){super(),Ie(this,e,eo,Kn,s,{action:0,extraClass:1})}}function no(e){let t;return{c(){t=_("span"),t.textContent="*",O(t,"class","sea-green")},m(e,n){k(e,t,n)},d(e){e&&x(t)}}}function oo(e){let t,n;return t=new to({props:{action:"delete",extraClass:"ml-4"}}),t.$on("delete",e[5]),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function ro(e){let t,n,o,r,i,a,s,l,c,d,p=e[1]&&no();s=new to({}),s.$on("info",e[4]);let h=!e[1]&&oo(e);const m=e[3].default,b=u(m,e,e[2],null);return{c(){t=_("div"),n=_("h3"),o=j(e[0]),p&&p.c(),r=_("span"),i=E(),a=_("div"),Oe(s.$$.fragment),l=E(),h&&h.c(),c=E(),b&&b.c(),O(r,"class","sea-green"),O(n,"class","mb-0"),O(a,"class","hflex-c-s"),O(t,"class","hflex-c-sb mb-8")},m(e,u){k(e,t,u),w(t,n),w(n,o),p&&p.m(n,null),w(n,r),w(t,i),w(t,a),Ae(s,a,null),w(a,l),h&&h.m(a,null),k(e,c,u),b&&b.m(e,u),d=!0},p(e,[t]){(!d||1&t)&&F(o,e[0]),e[1]?p||(p=no(),p.c(),p.m(n,r)):p&&(p.d(1),p=null),e[1]?h&&(ge(),$e(h,1,1,()=>{h=null}),ve()):h?2&t&&ye(h,1):(h=oo(e),h.c(),ye(h,1),h.m(a,null)),b&&b.p&&4&t&&f(b,m,e,e[2],t,null,null)},i(e){d||(ye(s.$$.fragment,e),ye(h),ye(b,e),d=!0)},o(e){$e(s.$$.fragment,e),$e(h),$e(b,e),d=!1},d(e){e&&x(t),p&&p.d(),Me(s),h&&h.d(),e&&x(c),b&&b.d(e)}}}function io(e,t,n){let{title:o}=t,{required:r=!1}=t,{$$slots:i={},$$scope:a}=t;return e.$$set=e=>{"title"in e&&n(0,o=e.title),"required"in e&&n(1,r=e.required),"$$scope"in e&&n(2,a=e.$$scope)},[o,r,a,i,function(t){X(e,t)},function(t){X(e,t)}]}class ao extends Fe{constructor(e){super(),Ie(this,e,io,ro,s,{title:0,required:1})}}function so(t){let n,o,r,i,a,s,l,c,u,d;return{c(){n=_("label"),o=_("div"),r=E(),i=_("input"),a=E(),s=_("span"),l=j(t[3]),O(o,"class","w-checkbox-input w-checkbox-input--inputType-custom checkbox"),H(o,"w--redirected-checked",t[0]),O(i,"type","checkbox"),O(i,"id",t[1]),O(i,"name",t[2]),O(i,"class","svelte-midfjq"),O(s,"for",t[2]),O(s,"class","w-form-label leading-normal"),O(n,"class",c="w-checkbox checkbox-field flex-auto "+t[4])},m(e,c){k(e,n,c),w(n,o),w(n,r),w(n,i),i.checked=t[0],w(n,a),w(n,s),w(s,l),u||(d=L(i,"change",t[5]),u=!0)},p(e,[t]){1&t&&H(o,"w--redirected-checked",e[0]),2&t&&O(i,"id",e[1]),4&t&&O(i,"name",e[2]),1&t&&(i.checked=e[0]),8&t&&F(l,e[3]),4&t&&O(s,"for",e[2]),16&t&&c!==(c="w-checkbox checkbox-field flex-auto "+e[4])&&O(n,"class",c)},i:e,o:e,d(e){e&&x(n),u=!1,d()}}}function lo(e,t,n){let{id:o}=t,{name:r}=t,{checked:i=!1}=t,{label:a}=t,{extraClass:s=""}=t;return e.$$set=e=>{"id"in e&&n(1,o=e.id),"name"in e&&n(2,r=e.name),"checked"in e&&n(0,i=e.checked),"label"in e&&n(3,a=e.label),"extraClass"in e&&n(4,s=e.extraClass)},[i,o,r,a,s,function(){i=this.checked,n(0,i)}]}class co extends Fe{constructor(e){super(),Ie(this,e,lo,so,s,{id:1,name:2,checked:0,label:3,extraClass:4})}}function uo(e){let t,n,o,r,i,a;function s(t){e[2].call(null,t)}let l={id:"scroll-top",name:"Scroll Top",label:"Scroll to the top of the form when the user changes step.",extraClass:"mb-4"};function c(t){e[3].call(null,t)}void 0!==e[0].scrollTopOnStepChange&&(l.checked=e[0].scrollTopOnStepChange),t=new co({props:l}),ee.push(()=>Le(t,"checked",s));let u={id:"hide-nav",name:"Hide Nav",label:"Hide the navigation buttons when the form submits."};return void 0!==e[0].hiddeButtonsOnSubmit&&(u.checked=e[0].hiddeButtonsOnSubmit),r=new co({props:u}),ee.push(()=>Le(r,"checked",c)),{c(){Oe(t.$$.fragment),o=E(),Oe(r.$$.fragment)},m(e,n){Ae(t,e,n),k(e,o,n),Ae(r,e,n),a=!0},p(e,[o]){const a={};!n&&1&o&&(n=!0,a.checked=e[0].scrollTopOnStepChange,se(()=>n=!1)),t.$set(a);const s={};!i&&1&o&&(i=!0,s.checked=e[0].hiddeButtonsOnSubmit,se(()=>i=!1)),r.$set(s)},i(e){a||(ye(t.$$.fragment,e),ye(r.$$.fragment,e),a=!0)},o(e){$e(t.$$.fragment,e),$e(r.$$.fragment,e),a=!1},d(e){Me(t,e),e&&x(o),Me(r,e)}}}function fo(e,t,n){let o;c(e,_t,e=>n(0,o=e));let{key:r}=t;return U(()=>{Tt.checkSelected(r)||(h(_t,o.scrollTopOnStepChange=!1,o),h(_t,o.hiddeButtonsOnSubmit=!0,o))}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},[o,r,function(e){o.scrollTopOnStepChange=e,_t.set(o)},function(e){o.hiddeButtonsOnSubmit=e,_t.set(o)}]}class po extends Fe{constructor(e){super(),Ie(this,e,fo,uo,s,{key:1})}}function ho(e,t,n){const o=e.slice();return o[4]=t[n].key,o[5]=t[n].title,o}function mo(e,t){let n,o,r,i,a,s=t[5]+"";function l(...e){return t[2](t[4],...e)}return{key:e,first:null,c(){n=_("li"),o=j(s),r=E(),O(n,"class","msf-optional"),this.first=n},m(e,t){k(e,n,t),w(n,o),w(n,r),i||(a=L(n,"click",l),i=!0)},p(e,n){t=e,1&n&&s!==(s=t[5]+"")&&F(o,s)},d(e){e&&x(n),i=!1,a()}}}function bo(e){let t,n,o,r,i,a,s,l,c,u,d,f,p=[],h=new Map,m=e[0];const b=e=>e[4];for(let t=0;t{a||(a=xe(n,mt,{x:100,duration:250},!0)),a.run(1)}),ae(()=>{c||(c=xe(l,ht,{duration:250},!0)),c.run(1)}),u=!0)},o(e){a||(a=xe(n,mt,{x:100,duration:250},!1)),a.run(0),c||(c=xe(l,ht,{duration:250},!1)),c.run(0),u=!1},d(e){e&&x(t);for(let e=0;e{"blocks"in e&&n(0,o=e.blocks)},[o,r,e=>r("addoptional",e),()=>r("closemodal")]}class vo extends Fe{constructor(e){super(),Ie(this,e,go,bo,s,{blocks:0})}}function yo(e,t,n){const o=e.slice();return o[9]=t[n],o[10]=t,o[11]=n,o}function $o(e,t){let n,o,r,i,a,s,l,c,u,d,f,p;function h(e){t[4].call(null,e,t[11])}let m={label:"Step",type:"number",id:"next-text-step-"+t[11],name:"Next Text Step "+t[11],placeholder:"1",min:"1",extraClass:"_w-1-4"};function b(e){t[5].call(null,e,t[11])}void 0!==t[0][t[11]].step&&(m.value=t[0][t[11]].step),o=new Pt({props:m}),ee.push(()=>Le(o,"value",h));let g={label:"Text",id:"next-text-"+t[11],name:"Next Text "+t[11],placeholder:"Eg: Next Step",extraClass:"flex-auto mx-2"};return void 0!==t[0][t[11]].text&&(g.value=t[0][t[11]].text),a=new Pt({props:g}),ee.push(()=>Le(a,"value",b)),c=new wn({props:{action:0===t[11]?"add":"delete"}}),c.$on("click",(function(...e){return t[6](t[11],...e)})),{key:e,first:null,c(){n=_("div"),Oe(o.$$.fragment),i=E(),Oe(a.$$.fragment),l=E(),Oe(c.$$.fragment),u=E(),O(n,"class",d="hflex-c-sb no-wrap "+(t[11]r=!1)),o.$set(l);const u={};1&i&&(u.id="next-text-"+t[11]),1&i&&(u.name="Next Text "+t[11]),!s&&1&i&&(s=!0,u.value=t[0][t[11]].text,se(()=>s=!1)),a.$set(u);const f={};1&i&&(f.action=0===t[11]?"add":"delete"),c.$set(f),(!p||1&i&&d!==(d="hflex-c-sb no-wrap "+(t[11]{f||(f=xe(n,bt,{duration:250},!0)),f.run(1)}),p=!0)},o(e){$e(o.$$.fragment,e),$e(a.$$.fragment,e),$e(c.$$.fragment,e),e&&(f||(f=xe(n,bt,{duration:250},!1)),f.run(0)),p=!1},d(e){e&&x(n),Me(o),Me(a),Me(c),e&&f&&f.end()}}}function wo(e){let t,n,o=[],r=new Map,i=e[0];const a=e=>e[9].id;for(let t=0;tn(7,o=e));let{key:r}=t,i=o[r]&&o[r].length>0?o[r].map(e=>Object.assign({id:an()},e)):[{id:an()}];function a(){n(0,i=[...i,{id:an()}])}function s(e){n(0,i=i.filter((t,n)=>n!==e))}U(()=>{Tt.checkSelected(r)||delete o[r]});return e.$$set=e=>{"key"in e&&n(3,r=e.key)},e.$$.update=()=>{9&e.$$.dirty&&h(_t,o[r]=function(e){const t=[];return e.forEach(e=>{const{step:n,text:o}=e;n&&o&&t.push({step:n,text:o})}),t}(i),o)},[i,a,s,r,function(e,t){i[t].step=e,n(0,i)},function(e,t){i[t].text=e,n(0,i)},e=>{0===e?a():s(e)}]}class xo extends Fe{constructor(e){super(),Ie(this,e,ko,wo,s,{key:3})}}function Co(e){let t,n,o;function r(t){e[2].call(null,t)}let i={label:"Warning Class",id:"warning-class",name:"Warning Class",placeholder:"Eg: warning"};return void 0!==e[0]&&(i.value=e[0]),t=new Pt({props:i}),ee.push(()=>Le(t,"value",r)),{c(){Oe(t.$$.fragment)},m(e,n){Ae(t,e,n),o=!0},p(e,[o]){const r={};!n&&1&o&&(n=!0,r.value=e[0],se(()=>n=!1)),t.$set(r)},i(e){o||(ye(t.$$.fragment,e),o=!0)},o(e){$e(t.$$.fragment,e),o=!1},d(e){Me(t,e)}}}function _o(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||a()}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class So extends Fe{constructor(e){super(),Ie(this,e,_o,Co,s,{key:1})}}const jo={type:"@webflow/XscpData",payload:{nodes:[{_id:"38d2366b-4159-2510-38f3-6787f5878486",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f5878487","38d2366b-4159-2510-38f3-6787f58784df","38d2366b-4159-2510-38f3-6787f58784e2","0e1c4535-f4c0-c01c-f501-ba6c754dd6b0"],type:"FormWrapper",data:{form:{type:"wrapper"}}},{_id:"38d2366b-4159-2510-38f3-6787f5878487",tag:"form",classes:[],children:["38d2366b-4159-2510-38f3-6787f5878488","38d2366b-4159-2510-38f3-6787f58784db"],type:"FormForm",data:{attr:{id:"msf",name:"wf-form-Multi-Step-Form","data-name":"Multi Step Form"},form:{type:"form",name:"Multi Step Form"}}},{_id:"38d2366b-4159-2510-38f3-6787f5878488",tag:"div",classes:["9e492cc5-3ba8-670c-f95e-8bb55c86b25a"],children:["38d2366b-4159-2510-38f3-6787f5878489","38d2366b-4159-2510-38f3-6787f58784dc","38d2366b-4159-2510-38f3-6787f58784dd","38d2366b-4159-2510-38f3-6787f58784de"],type:"SliderWrapper",data:{slider:{navSpacing:3,autoplay:!1,delay:4e3,iconArrows:!0,animation:"outin",easing:"ease",navRound:!1,hideArrows:!1,disableSwipe:!0,duration:500,infinite:!1,autoMax:0,type:"wrapper"},attr:{"data-animation":"outin","data-disable-swipe":"1","data-duration":"500"}}},{_id:"38d2366b-4159-2510-38f3-6787f5878489",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f587848a","38d2366b-4159-2510-38f3-6787f58784aa","ef3f2af7-909c-644d-7267-6ccb03424cb6"],type:"SliderMask",data:{slider:{type:"slides"}}},{_id:"38d2366b-4159-2510-38f3-6787f587848a",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f587848b"],type:"SliderSlide",data:{tag:"div",slider:{type:"slide"}}},{_id:"38d2366b-4159-2510-38f3-6787f587848b",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f587848c","38d2366b-4159-2510-38f3-6787f587849d","38d2366b-4159-2510-38f3-6787f587849f","38d2366b-4159-2510-38f3-6787f58784a0","38d2366b-4159-2510-38f3-6787f58784a2","38d2366b-4159-2510-38f3-6787f58784a3","38d2366b-4159-2510-38f3-6787f58784a5","38d2366b-4159-2510-38f3-6787f58784a6"],type:"Block",data:{tag:"div"}},{_id:"38d2366b-4159-2510-38f3-6787f587848c",tag:"p",classes:[],children:["38d2366b-4159-2510-38f3-6787f587848d","38d2366b-4159-2510-38f3-6787f5878494","38d2366b-4159-2510-38f3-6787f5878495","38d2366b-4159-2510-38f3-6787f5878496","38d2366b-4159-2510-38f3-6787f5878497","f9618b03-efc9-eac9-4f27-19306d07c959","2db53dad-7e56-58ab-fbac-23671270cb69","38d2366b-4159-2510-38f3-6787f5878498","38d2366b-4159-2510-38f3-6787f5878499","65d30af1-1b1e-bcf1-c154-86697bc9cf3b","212d637a-f59b-f007-e4db-cc6345cf004a"],type:"Paragraph"},{_id:"38d2366b-4159-2510-38f3-6787f587848d",text:!0,v:"This is a simple form build that has all kind of inputs in 3 steps."},{_id:"38d2366b-4159-2510-38f3-6787f5878494",tag:"br",classes:[],children:[],type:"LineBreak"},{_id:"38d2366b-4159-2510-38f3-6787f5878495",text:!0,v:"‍"},{_id:"38d2366b-4159-2510-38f3-6787f5878496",tag:"br",classes:[],children:[],type:"LineBreak"},{_id:"38d2366b-4159-2510-38f3-6787f5878497",text:!0,v:"You can edit and style it however you want: add, delete or move steps (slides), inputs, confirmation values, etc."},{_id:"f9618b03-efc9-eac9-4f27-19306d07c959",tag:"br",classes:[],children:[],type:"LineBreak"},{_id:"2db53dad-7e56-58ab-fbac-23671270cb69",text:!0,v:"‍"},{_id:"38d2366b-4159-2510-38f3-6787f5878498",tag:"br",classes:[],children:[],type:"LineBreak"},{_id:"38d2366b-4159-2510-38f3-6787f5878499",text:!0,v:"Don't forget to check the "},{_id:"65d30af1-1b1e-bcf1-c154-86697bc9cf3b",tag:"a",classes:[],children:["e80b0a1b-f8ba-13fd-dc36-f3dad133c7d4"],type:"Link",data:{link:{url:"https://advanced-forms.webflow.io/",mode:"external",target:"_blank"},attr:{href:"#"}}},{_id:"e80b0a1b-f8ba-13fd-dc36-f3dad133c7d4",text:!0,v:"Advanced Forms Builder"},{_id:"212d637a-f59b-f007-e4db-cc6345cf004a",text:!0,v:" for further customization and information."},{_id:"38d2366b-4159-2510-38f3-6787f587849d",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f587849e"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"name"}}},{_id:"38d2366b-4159-2510-38f3-6787f587849e",text:!0,v:"Name*"},{_id:"38d2366b-4159-2510-38f3-6787f587849f",tag:"input",classes:[],children:[],type:"FormTextInput",data:{attr:{autofocus:!1,maxlength:256,name:"name","data-name":"Name",placeholder:"Input your name",type:"text",id:"name",disabled:!1,required:!0},form:{type:"input",name:"Name"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a0",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784a1"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"email"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a1",text:!0,v:"Email*"},{_id:"38d2366b-4159-2510-38f3-6787f58784a2",tag:"input",classes:[],children:[],type:"FormTextInput",data:{attr:{autofocus:!1,maxlength:256,name:"email","data-name":"Email",placeholder:"Input your email",type:"email",id:"email",disabled:!1,required:!0},form:{type:"input",name:"Email"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a3",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784a4"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"phone"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a4",text:!0,v:"Phone*"},{_id:"38d2366b-4159-2510-38f3-6787f58784a5",tag:"input",classes:[],children:[],type:"FormTextInput",data:{attr:{autofocus:!1,maxlength:256,name:"phone","data-name":"Phone",placeholder:"Input your phone number",type:"tel",id:"phone",disabled:!1,required:!0},form:{type:"input",name:"Phone"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a6",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784a7","38d2366b-4159-2510-38f3-6787f58784a8"],type:"FormCheckboxWrapper",data:{form:{type:"checkbox"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a7",tag:"input",classes:[],children:[],type:"FormCheckboxInput",data:{attr:{type:"checkbox",id:"checkbox",required:!0,"data-name":"Checkbox",name:"checkbox"},form:{type:"checkbox-input",name:"Checkbox"},inputType:"custom"}},{_id:"38d2366b-4159-2510-38f3-6787f58784a8",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784a9"],type:"FormInlineLabel",data:{form:{type:"checkbox-label"},attr:{for:"Checkbox-2"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a9",text:!0,v:"This is a required checkbox."},{_id:"38d2366b-4159-2510-38f3-6787f58784aa",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784ab"],type:"SliderSlide",data:{tag:"div",slider:{type:"slide"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784ab",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784ac","38d2366b-4159-2510-38f3-6787f58784ae","38d2366b-4159-2510-38f3-6787f58784af","38d2366b-4159-2510-38f3-6787f58784b1"],type:"Block",data:{tag:"div"}},{_id:"38d2366b-4159-2510-38f3-6787f58784ac",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784ad"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"Service"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784ad",text:!0,v:"Select*"},{_id:"38d2366b-4159-2510-38f3-6787f58784ae",tag:"select",classes:[],children:[],v:'\n\n\n',type:"FormSelect",data:{attr:{id:"service",name:"service",required:!0,"data-name":"Service"},form:{type:"select",opts:[{v:"",t:"Select one..."},{v:"First Choice",t:"First Choice"},{v:"Second Choice",t:"Second Choice"},{v:"Third Choice",t:"Third Choice"}],name:"Service"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784af",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784b0"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"amount"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784b0",text:!0,v:"Number*"},{_id:"38d2366b-4159-2510-38f3-6787f58784b1",tag:"input",classes:[],children:[],type:"FormTextInput",data:{attr:{autofocus:!1,maxlength:256,name:"amount","data-name":"Amount",placeholder:"Choose amount",type:"number",id:"amount",disabled:!1,required:!0},form:{type:"input",name:"Amount"}}},{_id:"ef3f2af7-909c-644d-7267-6ccb03424cb6",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da91"],type:"SliderSlide",data:{tag:"div",slider:{type:"slide"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da91",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da98","33127c1b-fb46-2bfa-4b3c-9db5bac6da9a","33127c1b-fb46-2bfa-4b3c-9db5bac6da9e","33127c1b-fb46-2bfa-4b3c-9db5bac6daa2","33127c1b-fb46-2bfa-4b3c-9db5bac6daa6","33127c1b-fb46-2bfa-4b3c-9db5bac6daaa","33127c1b-fb46-2bfa-4b3c-9db5bac6daac"],type:"Block",data:{tag:"div"}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da98",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da99"],type:"FormBlockLabel",data:{form:{type:"label"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da99",text:!0,v:"Radio Group*"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9a",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da9b","33127c1b-fb46-2bfa-4b3c-9db5bac6da9c"],type:"FormRadioWrapper",data:{form:{type:"radio"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9b",tag:"input",classes:[],children:[],type:"FormRadioInput",data:{attr:{type:"radio","data-name":"Options",id:"Option",name:"Options",value:"Option 1",required:!0},form:{type:"radio-input",name:"Options"},inputType:"custom"}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9c",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da9d"],type:"FormInlineLabel",data:{form:{type:"radio-label"},attr:{for:"Option -5"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9d",text:!0,v:"Option 1"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9e",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da9f","33127c1b-fb46-2bfa-4b3c-9db5bac6daa0"],type:"FormRadioWrapper",data:{form:{type:"radio"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9f",tag:"input",classes:[],children:[],type:"FormRadioInput",data:{attr:{type:"radio","data-name":"Options",id:"Option -2",name:"Options",value:"Option 2",required:!0},form:{type:"radio-input",name:"Options"},inputType:"custom"}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa0",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daa1"],type:"FormInlineLabel",data:{form:{type:"radio-label"},attr:{for:"Option -5"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa1",text:!0,v:"Option 2"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa2",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daa3","33127c1b-fb46-2bfa-4b3c-9db5bac6daa4"],type:"FormRadioWrapper",data:{form:{type:"radio"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa3",tag:"input",classes:[],children:[],type:"FormRadioInput",data:{attr:{type:"radio","data-name":"Options",id:"Option -3",name:"Options",value:"Option 3",required:!0},form:{type:"radio-input",name:"Options"},inputType:"custom"}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa4",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daa5"],type:"FormInlineLabel",data:{form:{type:"radio-label"},attr:{for:"Option -5"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa5",text:!0,v:"Option 3"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa6",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daa7","33127c1b-fb46-2bfa-4b3c-9db5bac6daa8"],type:"FormRadioWrapper",data:{form:{type:"radio"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa7",tag:"input",classes:[],children:[],type:"FormRadioInput",data:{attr:{type:"radio","data-name":"Options",id:"Option -4",name:"Options",value:"Option 4",required:!0},form:{type:"radio-input",name:"Options"},inputType:"custom"}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa8",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daa9"],type:"FormInlineLabel",data:{form:{type:"radio-label"},attr:{for:"Option -5"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa9",text:!0,v:"Option 4"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daaa",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daab"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"notes-2"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daab",text:!0,v:"Text Area"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daac",tag:"textarea",classes:[],children:[],type:"FormTextarea",data:{attr:{placeholder:"Tell us anything you need.",maxlength:5e3,id:"notes-2",name:"notes-2","data-name":"Notes 2"},form:{type:"textarea",name:"Notes 2"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784dc",tag:"div",classes:["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],children:[],type:"SliderArrow",data:{slider:{type:"arrow",dir:"left"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784dd",tag:"div",classes:["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],children:[],type:"SliderArrow",data:{slider:{type:"arrow",dir:"right"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784de",tag:"div",classes:["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],children:[],type:"SliderNav",data:{slider:{type:"nav"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784db",tag:"input",classes:["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],children:[],type:"FormButton",data:{attr:{type:"submit",value:"Submit","data-wait":"Please wait..."},form:{type:"button",wait:"Please wait..."}}},{_id:"38d2366b-4159-2510-38f3-6787f58784df",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784e0"],type:"FormSuccessMessage",data:{form:{type:"msg-done"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784e0",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784e1"],type:"Block",data:{tag:"div",text:!0}},{_id:"38d2366b-4159-2510-38f3-6787f58784e1",text:!0,v:"Thank you! Your submission has been received!"},{_id:"38d2366b-4159-2510-38f3-6787f58784e2",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784e3"],type:"FormErrorMessage",data:{form:{type:"msg-fail"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784e3",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784e4"],type:"Block",data:{tag:"div",text:!0}},{_id:"38d2366b-4159-2510-38f3-6787f58784e4",text:!0,v:"Oops! Something went wrong while submitting the form."},{_id:"0e1c4535-f4c0-c01c-f501-ba6c754dd6b0",tag:"a",classes:[],children:["0e1c4535-f4c0-c01c-f501-ba6c754dd6b1"],type:"Link",data:{button:!0,link:{mode:"external"},attr:{id:"msf-next",href:"#msf"}}},{_id:"0e1c4535-f4c0-c01c-f501-ba6c754dd6b1",text:!0,v:"Next"}],styles:[{_id:"9e492cc5-3ba8-670c-f95e-8bb55c86b25a",fake:!1,type:"class",name:"MSF Slider",namespace:"",comb:"",styleLess:"height: auto; background-color: transparent;",variants:{},children:[],selector:null},{_id:"07828abd-7f85-d22f-b6d9-ed59721f9f4b",fake:!1,type:"class",name:"MSF Hidden",namespace:"",comb:"",styleLess:"display: none;",variants:{},children:[],selector:null}],assets:[],ix1:[],ix2:{interactions:[],events:[],actionLists:[]}},meta:{unlinkedSymbolCount:0,droppedLinks:0,dynBindRemovedCount:0,dynListBindRemovedCount:0,paginationRemovedCount:0}};function Eo(t){let n,o,r,a,s,l,c,u;return{c(){n=_("p"),n.textContent="Make sure your form meets the following requirements:",o=E(),r=_("ul"),r.innerHTML='
  • It has a submit button set to\n display:none\n . The script will use the button text and waiting text.
  • \n
  • It has a slider inside it. The slider should have:

    \n
    • Swipe gestures\n deactivated\n .
    • \n
    • Auto-play slides\n deactivated\n .
    • \n
    • Its height forced to be\n auto\n .
    • \n
    • The slider arrows and nav set to\n display:none\n .
  • ',a=E(),s=_("p"),l=j(t[1]),O(r,"role","list"),O(s,"class","button w-button"),O(s,"role","button"),H(s,"error","error"===t[0])},m(e,i){k(e,n,i),k(e,o,i),k(e,r,i),k(e,a,i),k(e,s,i),w(s,l),c||(u=[L(s,"click",To),L(s,"copy",t[2])],c=!0)},p(e,[t]){2&t&&F(l,e[1]),1&t&&H(s,"error","error"===e[0])},i:e,o:e,d(e){e&&x(n),e&&x(o),e&&x(r),e&&x(a),e&&x(s),c=!1,i(u)}}}function To(){document.execCommand("copy")}function Lo(e,t,n){let o;c(e,Lt,e=>n(3,o=e));let r=void 0,i="Copy Starter Form";function a(e){r||(n(0,r=e),setTimeout(()=>{n(0,r=void 0)},2e3))}return e.$$.update=()=>{1&e.$$.dirty&&n(1,i="success"===r?"Copied! Paste it in Webflow :)":"error"===r?"An error ocurred":"Copy Starter Form")},[r,i,function(e){try{e.clipboardData.setData("application/json",JSON.stringify(jo).trim()),e.preventDefault(),h(Lt,o=!0),a("success")}catch(e){a("error")}}]}class Oo extends Fe{constructor(e){super(),Ie(this,e,Lo,Eo,s,{})}}const Ao=document.body;let Mo=0;function Io(t){let o,r,i=[{viewBox:"0 0 512 512"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Bo extends Fe{constructor(e){super(),Ie(this,e,Fo,Io,s,{})}}function Ho(t){let o,r,i=[{viewBox:"0 0 448 256"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class No extends Fe{constructor(e){super(),Ie(this,e,Vo,Ho,s,{})}}function Do(t){let o,r,i=[{viewBox:"0 0 448 256"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Po extends Fe{constructor(e){super(),Ie(this,e,qo,Do,s,{})}}function Wo(e){let t,n;return t=new Po({props:{class:"icon"}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function Ro(e){let t,n,o,r,a,s,l,c,u,d,f,p,h,m,b,g,v,y,$,C,S,T,A,M,I,B,V,N,D,q,P,W,R,Z,z,G,Y,U,J,Q=e[5]?"Finish":"Next";h=new No({props:{class:"icon mr-2"}});let X=!e[5]&&Wo();return z=new Bo({}),{c(){t=_("div"),n=_("div"),o=_("div"),r=_("h3"),a=j(e[1]),s=E(),l=_("div"),c=E(),u=_("div"),d=E(),f=_("div"),p=_("div"),Oe(h.$$.fragment),m=E(),b=_("div"),b.textContent="Back",g=E(),v=_("div"),y=_("div"),$=j(Q),C=E(),X&&X.c(),S=E(),T=_("div"),A=_("video"),M=_("source"),B=_("source"),W=E(),R=_("div"),Z=_("div"),Oe(z.$$.fragment),O(r,"class","mb-2"),O(l,"class","logic-block-divider mb-4"),O(u,"class","modal-text"),O(b,"class","uppercase"),O(p,"class","modal-nav svelte-1gc8jlh"),H(p,"hidden",0===e[0]),O(y,"class","uppercase mr-2"),O(v,"class","modal-nav"),O(f,"class","hflex-c-sb mt-auto"),O(o,"class","vflex-str-s"),M.src!==(I=e[3])&&O(M,"src",I),B.src!==(V=e[4])&&O(B,"src",V),A.autoplay=N=!0,A.loop=D=!0,A.muted=q=!0,A.playsInline=P=!0,O(A,"class","svelte-1gc8jlh"),O(T,"class","vflex-str-c modal-image svelte-1gc8jlh"),O(n,"class","modal-content"),O(Z,"class","_w-full vflex-str-c"),O(R,"class","modal-close"),O(t,"class","modal-content-wrap")},m(i,x){k(i,t,x),w(t,n),w(n,o),w(o,r),w(r,a),w(o,s),w(o,l),w(o,c),w(o,u),u.innerHTML=e[2],w(o,d),w(o,f),w(f,p),Ae(h,p,null),w(p,m),w(p,b),w(f,g),w(f,v),w(v,y),w(y,$),w(v,C),X&&X.m(v,null),w(n,S),w(n,T),w(T,A),w(A,M),w(A,B),e[10](A),w(t,W),w(t,R),w(R,Z),Ae(z,Z,null),Y=!0,U||(J=[L(p,"click",e[8]),L(v,"click",e[9]),L(R,"click",e[11])],U=!0)},p(e,[t]){(!Y||2&t)&&F(a,e[1]),(!Y||4&t)&&(u.innerHTML=e[2]),1&t&&H(p,"hidden",0===e[0]),(!Y||32&t)&&Q!==(Q=e[5]?"Finish":"Next")&&F($,Q),e[5]?X&&(ge(),$e(X,1,1,()=>{X=null}),ve()):X?32&t&&ye(X,1):(X=Wo(),X.c(),ye(X,1),X.m(v,null)),(!Y||8&t&&M.src!==(I=e[3]))&&O(M,"src",I),(!Y||16&t&&B.src!==(V=e[4]))&&O(B,"src",V)},i(e){Y||(ye(h.$$.fragment,e),ye(X),ye(z.$$.fragment,e),ae(()=>{G||(G=xe(t,mt,{y:100,duration:250,easing:pt},!0)),G.run(1)}),Y=!0)},o(e){$e(h.$$.fragment,e),$e(X),$e(z.$$.fragment,e),G||(G=xe(t,mt,{y:100,duration:250,easing:pt},!1)),G.run(0),Y=!1},d(n){n&&x(t),Me(h),X&&X.d(),e[10](null),Me(z),n&&G&&G.end(),U=!1,i(J)}}}function Zo(e,t,n){let o,{currentSlide:r}=t,{title:i}=t,{content:a}=t,{video1:s}=t,{video2:l}=t,{isLast:c}=t;const u=J();return e.$$set=e=>{"currentSlide"in e&&n(0,r=e.currentSlide),"title"in e&&n(1,i=e.title),"content"in e&&n(2,a=e.content),"video1"in e&&n(3,s=e.video1),"video2"in e&&n(4,l=e.video2),"isLast"in e&&n(5,c=e.isLast)},e.$$.update=()=>{8&e.$$.dirty&&s&&o&&o.load()},[r,i,a,s,l,c,o,u,()=>u("previous"),()=>u("next"),function(e){ee[e?"unshift":"push"](()=>{o=e,n(6,o)})},()=>u("closemodal")]}class zo extends Fe{constructor(e){super(),Ie(this,e,Zo,Ro,s,{currentSlide:0,title:1,content:2,video1:3,video2:4,isLast:5})}}function Go(e){let t,o,r,i,a,s,l,c;const u=[e[0][e[1]],{currentSlide:e[1]},{isLast:e[1]===e[0].length-1}];let d={};for(let e=0;e{a=ke(i,ht,{duration:100}),a.start()}),s=!0)},o(e){$e(o.$$.fragment,e),s=!1},d(e){e&&x(t),Me(o),l=!1,c()}}}function Yo(e,t,n){let{slides:o}=t,r=0;function i(){n(1,r+=1)}const a=J();Y(()=>{!function(){Mo=window.pageYOffset;let e=Ao.clientWidth;Ao.style.overflow="hidden",Ao.style.position="fixed",Ao.style.top=`-${Mo}px`,Ao.style.width=e+"px"}()}),U(()=>{"hidden"!==Ao.style.overflow&&(Mo=window.pageYOffset),Ao.style.overflow="",Ao.style.position="",Ao.style.top="",Ao.style.width="",window.scrollTo(0,Mo)});return e.$$set=e=>{"slides"in e&&n(0,o=e.slides)},[o,r,i,function(){n(1,r-=1)},a,function(t){X(e,t)},()=>{r===o.length-1?a("closemodal"):i()},()=>a("closemodal")]}class Uo extends Fe{constructor(e){super(),Ie(this,e,Yo,Go,s,{slides:0})}}function Jo(e,t,n){const o=e.slice();return o[18]=t[n].key,o[19]=t[n].title,o}function Qo(e,t,n){const o=e.slice();return o[18]=t[n].key,o[19]=t[n].title,o}function Xo(e){let t,n,o,r,i,a,s,l,c,u,d,f,p=[],h=new Map,m=[],b=new Map,g=e[5];const v=e=>e[18];for(let t=0;te[18];for(let t=0;t{n||(n=xe(t,ht,{duration:250},!0)),n.run(1)}),ye(s.$$.fragment,e),e&&ae(()=>{l||(l=xe(r,ht,{duration:250},!0)),l.run(1)});for(let e=0;e{d||(d=xe(u,ht,{duration:250},!0)),d.run(1)}),f=!0}},o(e){for(let e=0;e{Me(e,1)}),ve()}r?(t=new r({}),Oe(t.$$.fragment),ye(t.$$.fragment,1),Ae(t,n.parentNode,n)):t=null}},i(e){o||(t&&ye(t.$$.fragment,e),o=!0)},o(e){t&&$e(t.$$.fragment,e),o=!1},d(e){e&&x(n),t&&Me(t,e)}}}function er(e,t){let n,o,r,i,a;return o=new ao({props:{title:t[19],required:!0,$$slots:{default:[Ko]},$$scope:{ctx:t}}}),o.$on("info",(function(...e){return t[13](t[18],...e)})),{key:e,first:null,c(){n=_("div"),Oe(o.$$.fragment),r=E(),O(n,"class","msf-block"),this.first=n},m(e,t){k(e,n,t),Ae(o,n,null),w(n,r),a=!0},p(e,n){t=e;const r={};32&n&&(r.title=t[19]),16777248&n&&(r.$$scope={dirty:n,ctx:t}),o.$set(r)},i(e){a||(ye(o.$$.fragment,e),e&&ae(()=>{i||(i=xe(n,ht,{duration:250},!0)),i.run(1)}),a=!0)},o(e){$e(o.$$.fragment,e),e&&(i||(i=xe(n,ht,{duration:250},!1)),i.run(0)),a=!1},d(e){e&&x(n),Me(o),e&&i&&i.end()}}}function tr(e){let t,n,o;var r=e[6][e[18]];function i(e){return{props:{key:e[18]}}}return r&&(t=new r(i(e))),{c(){t&&Oe(t.$$.fragment),n=T()},m(e,r){t&&Ae(t,e,r),k(e,n,r),o=!0},p(e,o){const a={};if(4&o&&(a.key=e[18]),r!==(r=e[6][e[18]])){if(t){ge();const e=t;$e(e.$$.fragment,1,0,()=>{Me(e,1)}),ve()}r?(t=new r(i(e)),Oe(t.$$.fragment),ye(t.$$.fragment,1),Ae(t,n.parentNode,n)):t=null}else r&&t.$set(a)},i(e){o||(t&&ye(t.$$.fragment,e),o=!0)},o(e){t&&$e(t.$$.fragment,e),o=!1},d(e){e&&x(n),t&&Me(t,e)}}}function nr(n,o){let r,i,a,s,l,c,u=e;return i=new ao({props:{title:o[19],$$slots:{default:[tr]},$$scope:{ctx:o}}}),i.$on("info",(function(...e){return o[15](o[18],...e)})),i.$on("delete",(function(...e){return o[16](o[18],...e)})),{key:n,first:null,c(){r=_("div"),Oe(i.$$.fragment),a=E(),O(r,"class","msf-block"),this.first=r},m(e,t){k(e,r,t),Ae(i,r,null),w(r,a),c=!0},p(e,t){o=e;const n={};4&t&&(n.title=o[19]),16777220&t&&(n.$$scope={dirty:t,ctx:o}),i.$set(n)},r(){l=r.getBoundingClientRect()},f(){!function(e){const t=getComputedStyle(e);if("absolute"!==t.position&&"fixed"!==t.position){const{width:n,height:o}=t,r=e.getBoundingClientRect();e.style.position="absolute",e.style.width=n,e.style.height=o,Z(e,r)}}(r),u(),Z(r,l)},a(){u(),u=function(n,o,r,i){if(!o)return e;const a=n.getBoundingClientRect();if(o.left===a.left&&o.right===a.right&&o.top===a.top&&o.bottom===a.bottom)return e;const{delay:s=0,duration:l=300,easing:c=t,start:u=b()+s,end:d=u+l,tick:f=e,css:p}=r(n,{from:o,to:a},i);let h,m=!0,g=!1;function v(){p&&R(n,h),m=!1}return $(e=>{if(!g&&e>=u&&(g=!0),g&&e>=d&&(f(1,0),v()),!m)return!1;if(g){const t=0+1*c((e-u)/l);f(t,1-t)}return!0}),p&&(h=W(n,0,1,l,s,c,p)),s||(g=!0),f(0,1),v}(r,l,Ct,{duration:250})},i(e){c||(ye(i.$$.fragment,e),e&&ae(()=>{s||(s=xe(r,ht,{duration:250},!0)),s.run(1)}),c=!0)},o(e){$e(i.$$.fragment,e),e&&(s||(s=xe(r,ht,{duration:250},!1)),s.run(0)),c=!1},d(e){e&&x(r),Me(i),e&&s&&s.end()}}}function or(e){let t,n;return t=new Uo({props:{slides:e[1]}}),t.$on("closemodal",e[9]),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,n){const o={};2&n&&(o.slides=e[1]),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function rr(e){let t,n;return t=new vo({props:{blocks:e[3]}}),t.$on("closemodal",e[9]),t.$on("addoptional",e[10]),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,n){const o={};8&n&&(o.blocks=e[3]),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function ir(e){let t,n,o,r,i,a,s,l,c,u,d,f,p,h,m,b,g,v=e[4]?"Required setup":"Activate";n=new dt({props:{title:"Multi Steps",subtitle:"Set up multi-step functionality for your forms.",primaryText:"Quick intro",secondaryText:"Watch tutorials"}}),n.$on("primaryclick",e[12]),d=new wn({props:{action:e[4]?"delete":"add"}}),d.$on("click",e[7]);let y=e[4]&&Xo(e);const $=[rr,or],C=[];function S(e,t){return"optional"===e[0]?0:"info"===e[0]?1:-1}return~(h=S(e))&&(m=C[h]=$[h](e)),{c(){t=_("section"),Oe(n.$$.fragment),o=E(),r=_("div"),i=_("div"),a=E(),s=_("div"),l=_("h2"),c=j(v),u=E(),Oe(d.$$.fragment),f=E(),y&&y.c(),p=E(),m&&m.c(),b=T(),O(i,"class","logic-block-divider my-12"),O(l,"class","mb-0 mr-4"),O(s,"class","hflex-c-s mb-6"),O(r,"class","container max-w-3xl"),O(t,"class","section")},m(e,m){k(e,t,m),Ae(n,t,null),w(t,o),w(t,r),w(r,i),w(r,a),w(r,s),w(s,l),w(l,c),w(s,u),Ae(d,s,null),w(r,f),y&&y.m(r,null),k(e,p,m),~h&&C[h].m(e,m),k(e,b,m),g=!0},p(e,t){(!g||16&t)&&v!==(v=e[4]?"Required setup":"Activate")&&F(c,v);const n={};16&t&&(n.action=e[4]?"delete":"add"),d.$set(n),e[4]?y?(y.p(e,t),16&t&&ye(y,1)):(y=Xo(e),y.c(),ye(y,1),y.m(r,null)):y&&(ge(),$e(y,1,1,()=>{y=null}),ve());let o=h;h=S(e),h===o?~h&&C[h].p(e,t):(m&&(ge(),$e(C[o],1,1,()=>{C[o]=null}),ve()),~h?(m=C[h],m||(m=C[h]=$[h](e),m.c()),ye(m,1),m.m(b.parentNode,b)):m=null)},i(e){g||(ye(n.$$.fragment,e),ye(d.$$.fragment,e),ye(y),ye(m),g=!0)},o(e){$e(n.$$.fragment,e),$e(d.$$.fragment,e),$e(y),$e(m),g=!1},d(e){e&&x(t),Me(n),Me(d),y&&y.d(),e&&x(p),~h&&C[h].d(e),e&&x(b)}}}function ar(e){let t,n;return t=new yt({props:{$$slots:{default:[ir]},$$scope:{ctx:e}}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,[n]){const o={};16777279&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function sr(e,t,n){let o,r,i;c(e,Tt,e=>n(17,o=e)),c(e,St,e=>n(4,r=e)),c(e,jt,e=>n(5,i=e));let a=void 0,s=[];const l={alertSelector:Zt,alertText:Yt,backText:Sn,backSelector:Qt,completedPercentageSelector:An,currentStepSelector:Fn,customNav:Tn,displayValues:Vn,elements:qn,hiddenForm:Rn,msfGlobal:po,nextText:xo,warningClass:So,webflowSetup:Oo};function u(e,t){t&&n(1,s=Ot[t]),n(0,a=e)}function d(e){Tt.modify(e,!1)}let f,p;return e.$$.update=()=>{131072&e.$$.dirty&&n(2,f=o.filter(e=>e.selected)),131072&e.$$.dirty&&n(3,p=o.filter(e=>!e.selected))},[a,s,f,p,r,i,l,function(){r&&h(jt,i=i.map(e=>Object.assign(Object.assign({},e),{selected:!1}))),h(St,r=!r)},u,function(){n(0,a=void 0)},function(e){const t=e.detail;Tt.modify(t,!0),n(0,a=void 0)},d,()=>u("info","intro"),e=>u("info",e),()=>u("optional"),e=>u("info",e),e=>d(e)]}class lr extends Fe{constructor(e){super(),Ie(this,e,sr,ar,s,{})}}var cr="object"==typeof global&&global&&global.Object===Object&&global,ur="object"==typeof self&&self&&self.Object===Object&&self,dr=cr||ur||Function("return this")(),fr=dr.Symbol,pr=Object.prototype,hr=pr.hasOwnProperty,mr=pr.toString,br=fr?fr.toStringTag:void 0;var gr=Object.prototype.toString;var vr=fr?fr.toStringTag:void 0;function yr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":vr&&vr in Object(e)?function(e){var t=hr.call(e,br),n=e[br];try{e[br]=void 0;var o=!0}catch(e){}var r=mr.call(e);return o&&(t?e[br]=n:delete e[br]),r}(e):function(e){return gr.call(e)}(e)}function $r(e){return null!=e&&"object"==typeof e}var wr=Array.isArray;function kr(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xr(e){if(!kr(e))return!1;var t=yr(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var Cr,_r=dr["__core-js_shared__"],Sr=(Cr=/[^.]+$/.exec(_r&&_r.keys&&_r.keys.IE_PROTO||""))?"Symbol(src)_1."+Cr:"";var jr=Function.prototype.toString;function Er(e){if(null!=e){try{return jr.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Tr=/^\[object .+?Constructor\]$/,Lr=Function.prototype,Or=Object.prototype,Ar=Lr.toString,Mr=Or.hasOwnProperty,Ir=RegExp("^"+Ar.call(Mr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Fr(e){return!(!kr(e)||(t=e,Sr&&Sr in t))&&(xr(e)?Ir:Tr).test(Er(e));var t}function Br(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Fr(n)?n:void 0}var Hr=Br(dr,"WeakMap"),Vr=Object.create,Nr=function(){function e(){}return function(t){if(!kr(t))return{};if(Vr)return Vr(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Dr=function(){try{var e=Br(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var qr=/^(?:0|[1-9]\d*)$/;function Pr(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&qr.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function Ur(e){return null!=e&&Yr(e.length)&&!xr(e)}var Jr=Object.prototype;function Qr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Jr)}function Xr(e){return $r(e)&&"[object Arguments]"==yr(e)}var Kr=Object.prototype,ei=Kr.hasOwnProperty,ti=Kr.propertyIsEnumerable,ni=Xr(function(){return arguments}())?Xr:function(e){return $r(e)&&ei.call(e,"callee")&&!ti.call(e,"callee")};var oi="object"==typeof exports&&exports&&!exports.nodeType&&exports,ri=oi&&"object"==typeof module&&module&&!module.nodeType&&module,ii=ri&&ri.exports===oi?dr.Buffer:void 0,ai=(ii?ii.isBuffer:void 0)||function(){return!1},si={};function li(e){return function(t){return e(t)}}si["[object Float32Array]"]=si["[object Float64Array]"]=si["[object Int8Array]"]=si["[object Int16Array]"]=si["[object Int32Array]"]=si["[object Uint8Array]"]=si["[object Uint8ClampedArray]"]=si["[object Uint16Array]"]=si["[object Uint32Array]"]=!0,si["[object Arguments]"]=si["[object Array]"]=si["[object ArrayBuffer]"]=si["[object Boolean]"]=si["[object DataView]"]=si["[object Date]"]=si["[object Error]"]=si["[object Function]"]=si["[object Map]"]=si["[object Number]"]=si["[object Object]"]=si["[object RegExp]"]=si["[object Set]"]=si["[object String]"]=si["[object WeakMap]"]=!1;var ci="object"==typeof exports&&exports&&!exports.nodeType&&exports,ui=ci&&"object"==typeof module&&module&&!module.nodeType&&module,di=ui&&ui.exports===ci&&cr.process,fi=function(){try{var e=ui&&ui.require&&ui.require("util").types;return e||di&&di.binding&&di.binding("util")}catch(e){}}(),pi=fi&&fi.isTypedArray,hi=pi?li(pi):function(e){return $r(e)&&Yr(e.length)&&!!si[yr(e)]},mi=Object.prototype.hasOwnProperty;function bi(e,t){var n=wr(e),o=!n&&ni(e),r=!n&&!o&&ai(e),i=!n&&!o&&!r&&hi(e),a=n||o||r||i,s=a?function(e,t){for(var n=-1,o=Array(e);++n-1},Li.prototype.set=function(e,t){var n=this.__data__,o=Ei(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};var Oi=Br(dr,"Map");function Ai(e,t){var n,o,r=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Mi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{ya.update(t=>[...t,e])},modify:e=>{ya.update(t=>t.map(t=>t.id===e.id?Object.assign(Object.assign({},t),e):t))},remove:e=>{ya.update(t=>t.filter(t=>t.id!==e))}},wa=He({submitHiddenInputs:!1,checkConditionsOnLoad:!0}),ka=Ve([ya,wa],([e,t])=>{const n=va(e),{submitHiddenInputs:o,checkConditionsOnLoad:r}=t;return n.forEach(e=>{delete e.id,e.conditions.forEach(e=>{"radios"===e.type?e.selector=`input[name="${e.selector}"]`:e.selector.startsWith("#")||(e.selector="#"+e.selector),"checked"===e.operator&&(e.value="true",e.operator="equal"),"not-checked"===e.operator&&(e.value="false",e.operator="equal"),delete e.type}),e.actions.forEach(e=>{e.selector="#"+e.selector})}),{logicList:n,submitHiddenInputs:o,checkConditionsOnLoad:r}});function xa(t){let o,r,i=[{viewBox:"0 0 512 512"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class _a extends Fe{constructor(e){super(),Ie(this,e,Ca,xa,s,{})}}function Sa(t){let o,r,i=[{viewBox:"0 0 512 512"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Ea extends Fe{constructor(e){super(),Ie(this,e,ja,Sa,s,{})}}function Ta(e,t,n){const o=e.slice();return o[9]=t[n],o[4]=n,o}function La(e,t,n){const o=e.slice();return o[11]=t[n],o[4]=n,o}function Oa(e){let t,n=e[11].value+"";return{c(){t=j(n)},m(e,n){k(e,t,n)},p(e,o){2&o&&n!==(n=e[11].value+"")&&F(t,n)},d(e){e&&x(t)}}}function Aa(e){let t,n,o,r,i,a,s,l,c,u,d=(0===e[4]?"If":e[2])+"",f=e[11].selector+"",p=Fa(e[11].operator)+"",h=e[11].value&&Oa(e);return{c(){t=_("div"),n=_("strong"),o=j(d),r=E(),i=j(f),a=E(),s=_("span"),l=j(p),c=E(),h&&h.c(),u=E(),O(n,"class","capitalize"),O(s,"class","sea-green"),O(t,"class","mb-2")},m(e,d){k(e,t,d),w(t,n),w(n,o),w(t,r),w(t,i),w(t,a),w(t,s),w(s,l),w(t,c),h&&h.m(t,null),w(t,u)},p(e,n){4&n&&d!==(d=(0===e[4]?"If":e[2])+"")&&F(o,d),2&n&&f!==(f=e[11].selector+"")&&F(i,f),2&n&&p!==(p=Fa(e[11].operator)+"")&&F(l,p),e[11].value?h?h.p(e,n):(h=Oa(e),h.c(),h.m(t,u)):h&&(h.d(1),h=null)},d(e){e&&x(t),h&&h.d()}}}function Ma(e){let t,n,o,r,i,a,s,l,c,u=e[9].action+"",d=e[9].selector+"",f=e[9].clear?"and clear its value":"";return{c(){t=_("div"),n=_("span"),o=j(u),r=E(),i=j(d),a=E(),l=E(),O(n,"class","sea-green capitalize"),s=new N(l),O(t,"class",c=e[4]and clear its value":"")&&s.p(f),8&n&&c!==(c=e[4]{"index"in e&&n(4,o=e.index),"id"in e&&n(0,r=e.id),"conditions"in e&&n(1,i=e.conditions),"operator"in e&&n(2,a=e.operator),"actions"in e&&n(3,s=e.actions)},[r,i,a,s,o,l,c,()=>c(r),()=>l("delete",r)]}class Ha extends Fe{constructor(e){super(),Ie(this,e,Ba,Ia,s,{index:4,id:0,conditions:1,operator:2,actions:3})}}function Va(e){let t,n,o,r,i,a,s,l,c,u,d,f,p,h,m;function b(t){e[2].call(null,t)}let g={id:"submit-hidden",name:"Submit Hidden",label:"Submit hidden inputs",extraClass:"mr-3"};function v(t){e[4].call(null,t)}void 0!==e[0].submitHiddenInputs&&(g.checked=e[0].submitHiddenInputs),i=new co({props:g}),ee.push(()=>Le(i,"checked",b)),l=new to({props:{action:"info"}}),l.$on("info",e[3]);let y={id:"check-conditions-on-load",name:"Check Conditions On Load",label:"Check conditions on load",extraClass:"mr-3"};return void 0!==e[0].checkConditionsOnLoad&&(y.checked=e[0].checkConditionsOnLoad),d=new co({props:y}),ee.push(()=>Le(d,"checked",v)),h=new to({props:{action:"info"}}),h.$on("info",e[5]),{c(){t=_("div"),n=_("div"),n.textContent="Global Options:",o=E(),r=_("div"),Oe(i.$$.fragment),s=E(),Oe(l.$$.fragment),c=E(),u=_("div"),Oe(d.$$.fragment),p=E(),Oe(h.$$.fragment),O(n,"class","bold mb-3"),O(r,"class","hflex-c-s mb-2"),O(u,"class","hflex-c-s")},m(e,a){k(e,t,a),w(t,n),w(t,o),w(t,r),Ae(i,r,null),w(r,s),Ae(l,r,null),w(t,c),w(t,u),Ae(d,u,null),w(u,p),Ae(h,u,null),m=!0},p(e,[t]){const n={};!a&&1&t&&(a=!0,n.checked=e[0].submitHiddenInputs,se(()=>a=!1)),i.$set(n);const o={};!f&&1&t&&(f=!0,o.checked=e[0].checkConditionsOnLoad,se(()=>f=!1)),d.$set(o)},i(e){m||(ye(i.$$.fragment,e),ye(l.$$.fragment,e),ye(d.$$.fragment,e),ye(h.$$.fragment,e),m=!0)},o(e){$e(i.$$.fragment,e),$e(l.$$.fragment,e),$e(d.$$.fragment,e),$e(h.$$.fragment,e),m=!1},d(e){e&&x(t),Me(i),Me(l),Me(d),Me(h)}}}function Na(e,t,n){let o;c(e,wa,e=>n(0,o=e));const{openModal:r}=Q("logic");return[o,r,function(e){o.submitHiddenInputs=e,wa.set(o)},()=>r("submitHiddenInputs"),function(e){o.checkConditionsOnLoad=e,wa.set(o)},()=>r("checkConditionsOnLoad")]}class Da extends Fe{constructor(e){super(),Ie(this,e,Na,Va,s,{})}}function qa(e,t,n){const o=e.slice();return o[4]=t[n],o[6]=n,o}function Pa(e,t){let o,r,i,a,s;const l=[t[4],{index:t[6]}];let c={};for(let e=0;e{a||(a=xe(o,ht,{duration:250},!0)),a.run(1)}),s=!0)},o(e){$e(r.$$.fragment,e),e&&(a||(a=xe(o,ht,{duration:250},!1)),a.run(0)),s=!1},d(e){e&&x(o),Me(r),e&&a&&a.end()}}}function Wa(e){let t,n,o,r,i,a,s,l,c,u,d,f,p,h=[],m=new Map;c=new wn({}),c.$on("click",e[3]),d=new Da({});let b=e[0];const g=e=>e[4].id;for(let t=0;tn(0,o=e));const r=J();return[o,e=>{$a.remove(e.detail)},r,()=>r("newLogic")]}class Za extends Fe{constructor(e){super(),Ie(this,e,Ra,Wa,s,{})}}function za(e){let t,n,o,r,i,a,s,l;function c(t){e[16].call(null,t)}let u={type:"number"===e[0].type?"number":"text",name:"Condition Value",placeholder:"Your Value",id:"value-"+e[1],extraClass:"flex-auto"};return void 0!==e[5]&&(u.value=e[5]),a=new Pt({props:u}),ee.push(()=>Le(a,"value",c)),a.$on("input",e[17]),{c(){t=_("div"),n=_("label"),o=j("the value"),i=E(),Oe(a.$$.fragment),O(n,"for",r="value-"+e[1]),O(n,"class","mr-2"),O(t,"class","hflex-c-s")},m(e,r){k(e,t,r),w(t,n),w(n,o),w(t,i),Ae(a,t,null),l=!0},p(e,t){(!l||2&t&&r!==(r="value-"+e[1]))&&O(n,"for",r);const o={};1&t&&(o.type="number"===e[0].type?"number":"text"),2&t&&(o.id="value-"+e[1]),!s&&32&t&&(s=!0,o.value=e[5],se(()=>s=!1)),a.$set(o)},i(e){l||(ye(a.$$.fragment,e),l=!0)},o(e){$e(a.$$.fragment,e),l=!1},d(e){e&&x(t),Me(a)}}}function Ga(t){let n,o;return n=new wn({props:{action:"delete",extraClass:"ml-4"}}),n.$on("click",t[19]),{c(){Oe(n.$$.fragment)},m(e,t){Ae(n,e,t),o=!0},p:e,i(e){o||(ye(n.$$.fragment,e),o=!0)},o(e){$e(n.$$.fragment,e),o=!1},d(e){Me(n,e)}}}function Ya(e){let t,n,o,r,i,a,s,l,c,u,d,f,p,h,m,b,g,v,y,$,C,S,T,L,A,M,I,B,H,V,N,D="radios"===e[0].type?"which Group Name is":"which ID is";function q(t){e[10].call(null,t)}let P={id:"type-"+e[1],name:"Condition Origin Type",extraClass:"flex-auto",options:e[7]};function W(t){e[12].call(null,t)}void 0!==e[2]&&(P.value=e[2]),l=new Ht({props:P}),ee.push(()=>Le(l,"value",q)),l.$on("input",e[9]),l.$on("input",e[11]);let R={name:"Condition Selector",placeholder:"your-element",id:"selector-"+e[1],extraClass:"flex-auto"};function Z(t){e[14].call(null,t)}void 0!==e[3]&&(R.value=e[3]),b=new Pt({props:R}),ee.push(()=>Le(b,"value",W)),b.$on("input",e[13]);let z={id:"operator-"+e[1],name:"Condition Operator",options:e[6],extraClass:"flex-auto"};void 0!==e[4]&&(z.value=e[4]),L=new Ht({props:z}),ee.push(()=>Le(L,"value",Z)),L.$on("input",e[15]);let G="checkbox"!==e[0].type&&"empty"!==e[0].operator&&"filled"!==e[0].operator&&za(e);H=new wn({props:{extraClass:"ml-4 mb-4"}}),H.$on("click",e[18]);let Y=0!==e[1]&&Ga(e);return{c(){t=_("div"),n=_("div"),o=_("div"),r=_("label"),i=j("The"),s=E(),Oe(l.$$.fragment),u=E(),d=_("div"),f=_("label"),p=j(D),m=E(),Oe(b.$$.fragment),v=E(),y=_("div"),$=_("label"),C=j("must"),T=E(),Oe(L.$$.fragment),M=E(),G&&G.c(),I=E(),B=_("div"),Oe(H.$$.fragment),V=E(),Y&&Y.c(),O(r,"for",a="type-"+e[1]),O(r,"class","mr-2"),O(o,"class","hflex-c-s"),O(f,"for",h="selector-"+e[1]),O(f,"class","mr-2"),O(d,"class","hflex-c-s"),O($,"for",S="operator-"+e[1]),O($,"class","mr-2"),O(y,"class","hflex-c-s"),O(n,"class","condition-grid"),O(t,"class","logic-block")},m(e,a){k(e,t,a),w(t,n),w(n,o),w(o,r),w(r,i),w(o,s),Ae(l,o,null),w(n,u),w(n,d),w(d,f),w(f,p),w(d,m),Ae(b,d,null),w(n,v),w(n,y),w(y,$),w($,C),w(y,T),Ae(L,y,null),w(n,M),G&&G.m(n,null),k(e,I,a),k(e,B,a),Ae(H,B,null),w(B,V),Y&&Y.m(B,null),N=!0},p(e,[t]){(!N||2&t&&a!==(a="type-"+e[1]))&&O(r,"for",a);const o={};2&t&&(o.id="type-"+e[1]),!c&&4&t&&(c=!0,o.value=e[2],se(()=>c=!1)),l.$set(o),(!N||1&t)&&D!==(D="radios"===e[0].type?"which Group Name is":"which ID is")&&F(p,D),(!N||2&t&&h!==(h="selector-"+e[1]))&&O(f,"for",h);const i={};2&t&&(i.id="selector-"+e[1]),!g&&8&t&&(g=!0,i.value=e[3],se(()=>g=!1)),b.$set(i),(!N||2&t&&S!==(S="operator-"+e[1]))&&O($,"for",S);const s={};2&t&&(s.id="operator-"+e[1]),64&t&&(s.options=e[6]),!A&&16&t&&(A=!0,s.value=e[4],se(()=>A=!1)),L.$set(s),"checkbox"!==e[0].type&&"empty"!==e[0].operator&&"filled"!==e[0].operator?G?(G.p(e,t),1&t&&ye(G,1)):(G=za(e),G.c(),ye(G,1),G.m(n,null)):G&&(ge(),$e(G,1,1,()=>{G=null}),ve()),0!==e[1]?Y?(Y.p(e,t),2&t&&ye(Y,1)):(Y=Ga(e),Y.c(),ye(Y,1),Y.m(B,null)):Y&&(ge(),$e(Y,1,1,()=>{Y=null}),ve())},i(e){N||(ye(l.$$.fragment,e),ye(b.$$.fragment,e),ye(L.$$.fragment,e),ye(G),ye(H.$$.fragment,e),ye(Y),N=!0)},o(e){$e(l.$$.fragment,e),$e(b.$$.fragment,e),$e(L.$$.fragment,e),$e(G),$e(H.$$.fragment,e),$e(Y),N=!1},d(e){e&&x(t),Me(l),Me(b),Me(L),G&&G.d(),e&&x(I),e&&x(B),Me(H),Y&&Y.d()}}}function Ua(e,t,n){let{condition:o}=t,{index:r}=t;const i=[{name:"-- Select Operator --",value:"",compatibleTypes:["text","email","password","phone","number","select","radios","number","checkbox"],disabled:!0},{name:"Be Equal To",value:"equal",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Not Be Equal To",value:"not-equal",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Contain",value:"contain",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Not Contain",value:"not-contain",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Be Empty",value:"empty",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Be Filled",value:"filled",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Be Greater Than",value:"greater",compatibleTypes:["number"]},{name:"Be Greater or Equal Than",value:"greater-equal",compatibleTypes:["number"]},{name:"Be Less Than",value:"less",compatibleTypes:["number"]},{name:"Be Less or Equal Than",value:"less-equal",compatibleTypes:["number"]},{name:"Be Checked",value:"checked",compatibleTypes:["checkbox"]},{name:"Not Be Checked",value:"not-checked",compatibleTypes:["checkbox"]}];let a=o.type||"text",s=o.selector||"",l=o.operator||"",c=o.value||"";const u=J();let d;return e.$$set=e=>{"condition"in e&&n(0,o=e.condition),"index"in e&&n(1,r=e.index)},e.$$.update=()=>{4&e.$$.dirty&&n(0,o.type=a,o),8&e.$$.dirty&&n(0,o.selector=s,o),16&e.$$.dirty&&n(0,o.operator=l,o),32&e.$$.dirty&&n(0,o.value=c,o),17&e.$$.dirty&&["empty","filled","checked","not-checked"].includes(l)&&delete o.value,4&e.$$.dirty&&n(6,d=i.filter(e=>e.compatibleTypes.includes(a)))},[o,r,a,s,l,c,d,[{name:"Plain / Textarea Field",value:"text"},{name:"Email Field",value:"email"},{name:"Password Field",value:"password"},{name:"Phone Field",value:"phone"},{name:"Number Field",value:"number"},{name:"Select Field",value:"select"},{name:"Checkbox",value:"checkbox"},{name:"Radio Group",value:"radios"}],u,function(){n(4,l="")},function(e){a=e,n(2,a)},function(t){X(e,t)},function(e){s=e,n(3,s)},function(t){X(e,t)},function(e){l=e,n(4,l)},function(t){X(e,t)},function(e){c=e,n(5,c)},function(t){X(e,t)},()=>u("addcondition"),()=>u("removecondition",o)]}class Ja extends Fe{constructor(e){super(),Ie(this,e,Ua,Ya,s,{condition:0,index:1})}}function Qa(t){let n,o;return n=new wn({props:{action:"delete",extraClass:"ml-4"}}),n.$on("click",t[10]),{c(){Oe(n.$$.fragment)},m(e,t){Ae(n,e,t),o=!0},p:e,i(e){o||(ye(n.$$.fragment,e),o=!0)},o(e){$e(n.$$.fragment,e),o=!1},d(e){Me(n,e)}}}function Xa(e){let t,n,o,r,i,a,s,l,c,u,d,f,p,h,m,b,g,v,y,$,C,S,T,L,A;function M(t){e[4].call(null,t)}let I={id:"action-"+e[1],name:"Action",options:e[2],extraClass:"flex-auto"};function F(t){e[6].call(null,t)}void 0!==e[0].action&&(I.value=e[0].action),l=new Ht({props:I}),ee.push(()=>Le(l,"value",M)),l.$on("input",e[5]);let B={name:"Action Selector",placeholder:"your-target",id:"action-selector-"+e[1],extraClass:"flex-auto"};function H(t){e[8].call(null,t)}void 0!==e[0].selector&&(B.value=e[0].selector),b=new Pt({props:B}),ee.push(()=>Le(b,"value",F)),b.$on("input",e[7]);let V={id:"clear-"+e[1],name:"Clear Action Target",label:"And clear its value"};void 0!==e[0].clear&&(V.checked=e[0].clear),y=new co({props:V}),ee.push(()=>Le(y,"checked",H)),T=new wn({props:{extraClass:"ml-4 mb-4"}}),T.$on("click",e[9]);let N=0!==e[1]&&Qa(e);return{c(){t=_("div"),n=_("div"),o=_("div"),r=_("label"),i=j("Trigger"),s=E(),Oe(l.$$.fragment),u=E(),d=_("div"),f=_("label"),p=j("on the element with an ID of"),m=E(),Oe(b.$$.fragment),v=E(),Oe(y.$$.fragment),C=E(),S=_("div"),Oe(T.$$.fragment),L=E(),N&&N.c(),O(r,"for",a="action-"+e[1]),O(r,"class","mr-2"),O(o,"class","hflex-c-s"),O(f,"for",h="action-selector-"+e[1]),O(f,"class","mr-2"),O(d,"class","hflex-c-s"),O(n,"class","action-grid"),O(t,"class","logic-block")},m(e,a){k(e,t,a),w(t,n),w(n,o),w(o,r),w(r,i),w(o,s),Ae(l,o,null),w(n,u),w(n,d),w(d,f),w(f,p),w(d,m),Ae(b,d,null),w(n,v),Ae(y,n,null),k(e,C,a),k(e,S,a),Ae(T,S,null),w(S,L),N&&N.m(S,null),A=!0},p(e,[t]){(!A||2&t&&a!==(a="action-"+e[1]))&&O(r,"for",a);const n={};2&t&&(n.id="action-"+e[1]),!c&&1&t&&(c=!0,n.value=e[0].action,se(()=>c=!1)),l.$set(n),(!A||2&t&&h!==(h="action-selector-"+e[1]))&&O(f,"for",h);const o={};2&t&&(o.id="action-selector-"+e[1]),!g&&1&t&&(g=!0,o.value=e[0].selector,se(()=>g=!1)),b.$set(o);const i={};2&t&&(i.id="clear-"+e[1]),!$&&1&t&&($=!0,i.checked=e[0].clear,se(()=>$=!1)),y.$set(i),0!==e[1]?N?(N.p(e,t),2&t&&ye(N,1)):(N=Qa(e),N.c(),ye(N,1),N.m(S,null)):N&&(ge(),$e(N,1,1,()=>{N=null}),ve())},i(e){A||(ye(l.$$.fragment,e),ye(b.$$.fragment,e),ye(y.$$.fragment,e),ye(T.$$.fragment,e),ye(N),A=!0)},o(e){$e(l.$$.fragment,e),$e(b.$$.fragment,e),$e(y.$$.fragment,e),$e(T.$$.fragment,e),$e(N),A=!1},d(e){e&&x(t),Me(l),Me(b),Me(y),e&&x(C),e&&x(S),Me(T),N&&N.d()}}}function Ka(e,t,n){let{action:o}=t,{index:r}=t;const i=J();return e.$$set=e=>{"action"in e&&n(0,o=e.action),"index"in e&&n(1,r=e.index)},[o,r,[{name:"Show",value:"show"},{name:"Hide",value:"hide"},{name:"Enable",value:"enable"},{name:"Disable",value:"disable"},{name:"Require",value:"require"},{name:"Unrequire",value:"unrequire"},{name:"Interaction",value:"custom"}],i,function(e){o.action=e,n(0,o)},function(t){X(e,t)},function(e){o.selector=e,n(0,o)},function(t){X(e,t)},function(e){o.clear=e,n(0,o)},()=>i("addaction"),()=>i("removeaction",o)]}class es extends Fe{constructor(e){super(),Ie(this,e,Ka,Xa,s,{action:0,index:1})}}function ts(t){let o,r,i=[{viewBox:"0 0 512 253"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class os extends Fe{constructor(e){super(),Ie(this,e,ns,ts,s,{})}}function rs(t){let n,o,r,i,a;return o=new os({props:{class:"back-button"}}),{c(){n=_("button"),Oe(o.$$.fragment),O(n,"type","button")},m(e,s){k(e,n,s),Ae(o,n,null),r=!0,i||(a=L(n,"click",t[0]),i=!0)},p:e,i(e){r||(ye(o.$$.fragment,e),r=!0)},o(e){$e(o.$$.fragment,e),r=!1},d(e){e&&x(n),Me(o),i=!1,a()}}}function is(e){return[function(t){X(e,t)}]}class as extends Fe{constructor(e){super(),Ie(this,e,is,rs,s,{})}}function ss(e,t,n){const o=e.slice();return o[19]=t[n],o[21]=n,o}function ls(e,t,n){const o=e.slice();return o[22]=t[n],o[21]=n,o}function cs(e,t){let n,o,r,i,a;return o=new Ja({props:{condition:t[22],index:t[21]}}),o.$on("addcondition",t[8]),o.$on("removecondition",t[10]),o.$on("input",t[6]),{key:e,first:null,c(){n=_("div"),Oe(o.$$.fragment),r=E(),O(n,"class","hflex-c-s mb-4"),this.first=n},m(e,t){k(e,n,t),Ae(o,n,null),w(n,r),a=!0},p(e,t){const n={};8&t&&(n.condition=e[22]),8&t&&(n.index=e[21]),o.$set(n)},i(e){a||(ye(o.$$.fragment,e),e&&ae(()=>{i||(i=xe(n,ht,{duration:250},!0)),i.run(1)}),a=!0)},o(e){$e(o.$$.fragment,e),e&&(i||(i=xe(n,ht,{duration:250},!1)),i.run(0)),a=!1},d(e){e&&x(n),Me(o),e&&i&&i.end()}}}function us(t){let n;return{c(){n=_("div"),n.textContent="If the condition is met, then do the following actions:",O(n,"class","bold")},m(e,t){k(e,n,t)},p:e,i:e,o:e,d(e){e&&x(n)}}}function ds(e){let t,n,o,r,i,a,s;function l(t){e[13].call(null,t)}let c={id:"operator",name:"Operator",options:e[4],extraClass:"_w-auto flex-initial mx-2"};return void 0!==e[3].operator&&(c.value=e[3].operator),o=new Ht({props:c}),ee.push(()=>Le(o,"value",l)),{c(){t=_("label"),t.textContent="If",n=E(),Oe(o.$$.fragment),i=E(),a=_("div"),a.textContent="then do the following actions:",O(t,"for","operator"),O(t,"class","bold"),O(a,"class","bold")},m(e,r){k(e,t,r),k(e,n,r),Ae(o,e,r),k(e,i,r),k(e,a,r),s=!0},p(e,t){const n={};!r&&8&t&&(r=!0,n.value=e[3].operator,se(()=>r=!1)),o.$set(n)},i(e){s||(ye(o.$$.fragment,e),s=!0)},o(e){$e(o.$$.fragment,e),s=!1},d(e){e&&x(t),e&&x(n),Me(o,e),e&&x(i),e&&x(a)}}}function fs(e,t){let n,o,r,i,a;return o=new es({props:{action:t[19],index:t[21]}}),o.$on("addaction",t[9]),o.$on("removeaction",t[11]),o.$on("input",t[6]),{key:e,first:null,c(){n=_("div"),Oe(o.$$.fragment),r=E(),O(n,"class","hflex-c-s mb-4"),this.first=n},m(e,t){k(e,n,t),Ae(o,n,null),w(n,r),a=!0},p(e,t){const n={};8&t&&(n.action=e[19]),8&t&&(n.index=e[21]),o.$set(n)},i(e){a||(ye(o.$$.fragment,e),e&&ae(()=>{i||(i=xe(n,ht,{duration:250},!0)),i.run(1)}),a=!0)},o(e){$e(o.$$.fragment,e),e&&(i||(i=xe(n,ht,{duration:250},!1)),i.run(0)),a=!1},d(e){e&&x(n),Me(o),e&&i&&i.end()}}}function ps(e){let t,n,o,r,a,s,l,c,u,d,f,p,h,m,b,g,v,y,$,C,S,T,A,M=e[0]?"Edit":"Add new",I=[],B=new Map,V=[],N=new Map,D=e[1]&&e[2]?"Some Fields Are Missing":"Save Logic";o=new as({}),o.$on("click",e[12]);let q=e[3].conditions;const P=e=>e[21];for(let t=0;t1?0:1}p=Z(e),h=R[p]=W[p](e);let z=e[3].actions;const G=e=>e[21];for(let t=0;t{R[n]=null}),ve(),h=R[p],h||(h=R[p]=W[p](e),h.c()),ye(h,1),h.m(f,null)),2632&t){const n=e[3].actions;ge(),V=je(V,t,G,1,e,n,N,u,_e,fs,b,ss),ve()}(!S||6&t)&&D!==(D=e[1]&&e[2]?"Some Fields Are Missing":"Save Logic")&&F(C,D),6&t&&H($,"error",e[1]&&e[2])},i(e){if(!S){ye(o.$$.fragment,e);for(let e=0;en(15,o=e));var r=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))};let{editID:i}=t;const a={selector:"",type:"text",operator:"equal"},s={selector:"",action:"show"};let l,u,d={id:an(),conditions:[va(a)],operator:"and",actions:[va(s)]};const f=J();function p(){return r(this,void 0,void 0,(function*(){yield(ie(),oe);for(const e of d.conditions)if(n(1,l=!e.type||!e.selector||!e.operator),l)break;if(!l)for(const e of d.actions)if(n(1,l=!e.selector||!e.action),l)break}))}return e.$$set=e=>{"editID"in e&&n(0,i=e.editID)},e.$$.update=()=>{32769&e.$$.dirty&&i&&n(3,d=o.find(e=>e.id===i))},[i,l,u,d,[{name:"All Conditions Are Met",value:"and"},{name:"One Condition Is Met",value:"or"}],f,p,function(){return r(this,void 0,void 0,(function*(){u||n(2,u=!0),yield p(),l||(i?$a.modify(d):$a.add(d),f("cancel"))}))},function(){n(3,d.conditions=[...d.conditions,va(a)],d)},function(){n(3,d.actions=[...d.actions,va(s)],d)},function(e){n(3,d.conditions=d.conditions.filter(t=>t!==e.detail),d),p()},function(e){n(3,d.actions=d.actions.filter(t=>t!==e.detail),d),p()},()=>f("cancel"),function(e){d.operator=e,n(3,d),n(0,i),n(15,o)},()=>f("cancel")]}class ms extends Fe{constructor(e){super(),Ie(this,e,hs,ps,s,{editID:0})}}const bs={intro:[{title:"Intro",content:"

    \n Build your form in the Webflow Designer as you would normally\n do.
    \n

    \n

    \n Then, create your logic in the builder. You can set as many\n conditions and actions to be performed, the code will be\n automatically generated for you!
    \n

    \n

    Check the next steps to see what you can do with it :)

    ",video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee9b27330483f41b4be2_Intro-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee9b27330483f41b4be2_Intro-transcode.webm"},{title:"Single action target",content:'

    \n You can set the target of an action to be any form element (input,\n select, checkbox, radio...).
    \n

    \n

    To do so, use its ID:

    \n

    \n E.g. make input which ID is surname\n to be required.
    \n

    \n

    \n You can show, hide, enable, disable, require or unrequire it.
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43eea0273304c2341b4be3_Single Action Target-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43eea0273304c2341b4be3_Single Action Target-transcode.webm"},{title:"Group action target",content:'

    \n You can also group multiple elements inside a\n Div Block.
    \n

    \n

    \n If you set that Div Block as the target of an action, all\n the inputs inside it will be affected.
    \n

    \n

    To do so, use that block ID:

    \n

    \n E.g. disable all inputs that are inside the\n Div Block which ID is\n contact-info.
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee94877e0a3bf5d60731_Group Action Target-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee94877e0a3bf5d60731_Group Action Target-transcode.webm"},{title:"Action Interactions",content:'

    \n You can trigger Webflow Interactions when any action is\n performed.
    \n

    \n

    \n To do so, you must first set your target as a Group Action\n Target:
    \n

    \n

    \n "Put your target inside a Div Block and use its ID as\n the target."\n

    \n

    \n Then add inside the group a hidden Div Block with the\n custom attribute:
    \n

    \n
      \n
    • Name: data-logic
    • \n
    • \n Value: show, hide, enable, disable, require\n or unrequire.\n
    • \n
    \n

    \n And bind it to a\n Mouse click (tap)\n interaction.
    When an action is performed, the script will\n click the correspondent trigger.
    \n

    \n

    \n E.g. when you show the input\n phone, the script will click the\n Div Block that has the attribute\n data-logic=show.\n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee8bf4340039b7f3c9f0_Action Interactions-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee8bf4340039b7f3c9f0_Action Interactions-transcode.webm"},{title:"Important!",content:'

    \n When you choose to show or hide a target, by\n default the script will set it to\n display: block or\n display: none.
    \n

    \n

    \n If you bind a Webflow Interaction to the hide or\n show actions, you should set that display property.
    \n

    \n

    \n E.g. when the target is showed, trigger a Webflow\n Interaction that sets\n display: flex and\n opacity: 100%.
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee986da478c1e7b0e034_Important-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee986da478c1e7b0e034_Important-transcode.webm"},{title:"Custom interactions",content:'

    \n You can also trigger a random interaction that isn't binded\n to any specific action.
    \n

    \n

    \n To do so, select Interaction as the\n trigger.
    \n

    \n

    \n The script will click that trigger when the conditions are\n met.
    \n

    \n

    \n E.g. click the element with the ID\n show-modal when the conditions\n are met.\n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee90128e383bb89ab0db_Custom Interactions-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee90128e383bb89ab0db_Custom Interactions-transcode.webm"}],submitHiddenInputs:[{title:"Submit hidden inputs",content:'

    \n You can choose if the inputs that are affected by the action\n hide should be submitted or not.
    \n

    \n

    \n Warning: not submitting the hidden inputs can\n affect 3rd party integrations like Zapier, as the form could\n receive different fields depending on user actions.\n

    ',video1:"",video2:""}],checkConditionsOnLoad:[{title:"Check conditions on load",content:'

    \n If you select this option, the script will check if any of the\n conditions is already met when the page loads and triggers the\n correspondent actions.
    \n

    \n

    \n Note: it is recommended to leave this option\n checked, as not doing so could lead to unexpected behaviours.\n

    ',video1:"",video2:""}]};function gs(e){let t,n;return t=new yt({props:{$$slots:{default:[ys]},$$scope:{ctx:e}}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,n){const o={};1024&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function vs(e){let t,n;return t=new yt({props:{$$slots:{default:[$s]},$$scope:{ctx:e}}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,n){const o={};1026&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function ys(t){let n,o,r,i,a;return o=new dt({props:{title:"Conditional Logic",subtitle:"Here you can build all the conditions and actions that you\r\n want to add to the form.",primaryText:"Quick intro",secondaryText:"Watch tutorials"}}),o.$on("primaryclick",t[8]),i=new Za({}),i.$on("newLogic",t[4]),{c(){n=_("section"),Oe(o.$$.fragment),r=E(),Oe(i.$$.fragment),O(n,"class","section")},m(e,t){k(e,n,t),Ae(o,n,null),w(n,r),Ae(i,n,null),a=!0},p:e,i(e){a||(ye(o.$$.fragment,e),ye(i.$$.fragment,e),a=!0)},o(e){$e(o.$$.fragment,e),$e(i.$$.fragment,e),a=!1},d(e){e&&x(n),Me(o),Me(i)}}}function $s(e){let t,n,o;return n=new ms({props:{editID:e[1]}}),n.$on("cancel",e[5]),{c(){t=_("section"),Oe(n.$$.fragment),O(t,"class","section min-h-screen")},m(e,r){k(e,t,r),Ae(n,t,null),o=!0},p(e,t){const o={};2&t&&(o.editID=e[1]),n.$set(o)},i(e){o||(ye(n.$$.fragment,e),o=!0)},o(e){$e(n.$$.fragment,e),o=!1},d(e){e&&x(t),Me(n)}}}function ws(e){let t,n;return t=new Uo({props:{slides:e[3]}}),t.$on("closemodal",e[7]),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,n){const o={};8&n&&(o.slides=e[3]),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function ks(e){let t,n,o,r,i;const a=[vs,gs],s=[];function l(e,t){return e[0]?0:1}t=l(e),n=s[t]=a[t](e);let c=e[2]&&ws(e);return{c(){n.c(),o=E(),c&&c.c(),r=T()},m(e,n){s[t].m(e,n),k(e,o,n),c&&c.m(e,n),k(e,r,n),i=!0},p(e,[i]){let u=t;t=l(e),t===u?s[t].p(e,i):(ge(),$e(s[u],1,1,()=>{s[u]=null}),ve(),n=s[t],n||(n=s[t]=a[t](e),n.c()),ye(n,1),n.m(o.parentNode,o)),e[2]?c?(c.p(e,i),4&i&&ye(c,1)):(c=ws(e),c.c(),ye(c,1),c.m(r.parentNode,r)):c&&(ge(),$e(c,1,1,()=>{c=null}),ve())},i(e){i||(ye(n),ye(c),i=!0)},o(e){$e(n),$e(c),i=!1},d(e){s[t].d(e),e&&x(o),c&&c.d(e),e&&x(r)}}}function xs(e,t,n){let o=!1,r=null,i=!1,a=[];function s(e){n(3,a=bs[e]),n(2,i=!0)}var l,c;l="logic",c={editLogic:function(e){n(0,o=!0),n(1,r=e)},openModal:s},G().$$.context.set(l,c);return[o,r,i,a,function(){n(0,o=!0)},function(){n(0,o=!1),n(1,r=null)},s,function(){n(2,i=!1)},()=>s("intro")]}class Cs extends Fe{constructor(e){super(),Ie(this,e,xs,ks,s,{})}}var _s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ss(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var js=Ss((function(e,t){ +var app=function(){"use strict";function e(){}const t=e=>e;function n(e,t){for(const n in t)e[n]=t[n];return e}function o(e){return e()}function r(){return Object.create(null)}function i(e){e.forEach(o)}function a(e){return"function"==typeof e}function s(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function l(t,...n){if(null==t)return e;const o=t.subscribe(...n);return o.unsubscribe?()=>o.unsubscribe():o}function c(e,t,n){e.$$.on_destroy.push(l(t,n))}function u(e,t,n,o){if(e){const r=d(e,t,n,o);return e[0](r)}}function d(e,t,o,r){return e[1]&&r?n(o.ctx.slice(),e[1](r(t))):o.ctx}function f(e,t,n,o,r,i,a){const s=function(e,t,n,o){if(e[2]&&o){const r=e[2](o(n));if(void 0===t.dirty)return r;if("object"==typeof r){const e=[],n=Math.max(t.dirty.length,r.length);for(let o=0;owindow.performance.now():()=>Date.now(),g=m?e=>requestAnimationFrame(e):e;const v=new Set;function y(e){v.forEach(t=>{t.c(e)||(v.delete(t),t.f())}),0!==v.size&&g(y)}function $(e){let t;return 0===v.size&&g(y),{promise:new Promise(n=>{v.add(t={c:e,f:n})}),abort(){v.delete(t)}}}function w(e,t){e.appendChild(t)}function k(e,t,n){e.insertBefore(t,n||null)}function x(e){e.parentNode.removeChild(e)}function C(e,t){for(let n=0;ne.removeEventListener(t,n,o)}function O(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function A(e,t){for(const n in t)O(e,n,t[n])}function M(e){return Array.from(e.childNodes)}function I(e,t,n,o){for(let o=0;o>>0}(u)}_${s}`,f=e.ownerDocument;D.add(f);const p=f.__svelte_stylesheet||(f.__svelte_stylesheet=f.head.appendChild(_("style")).sheet),h=f.__svelte_rules||(f.__svelte_rules={});h[d]||(h[d]=!0,p.insertRule(`@keyframes ${d} ${u}`,p.cssRules.length));const m=e.style.animation||"";return e.style.animation=`${m?m+", ":""}${d} ${o}ms linear ${r}ms 1 both`,P+=1,d}function R(e,t){const n=(e.style.animation||"").split(", "),o=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=n.length-o.length;r&&(e.style.animation=o.join(", "),P-=r,P||g(()=>{P||(D.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),D.clear())}))}function Z(e,t){const n=e.getBoundingClientRect();if(t.left!==n.left||t.top!==n.top){const o=getComputedStyle(e),r="none"===o.transform?"":o.transform;e.style.transform=`${r} translate(${t.left-n.left}px, ${t.top-n.top}px)`}}function z(e){q=e}function G(){if(!q)throw new Error("Function called outside component initialization");return q}function Y(e){G().$$.on_mount.push(e)}function U(e){G().$$.on_destroy.push(e)}function J(){const e=G();return(t,n)=>{const o=e.$$.callbacks[t];if(o){const r=V(t,n);o.slice().forEach(t=>{t.call(e,r)})}}}function Q(e){return G().$$.context.get(e)}function X(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach(e=>e(t))}const K=[],ee=[],te=[],ne=[],oe=Promise.resolve();let re=!1;function ie(){re||(re=!0,oe.then(ue))}function ae(e){te.push(e)}function se(e){ne.push(e)}let le=!1;const ce=new Set;function ue(){if(!le){le=!0;do{for(let e=0;e{fe=null})),fe}function he(e,t,n){e.dispatchEvent(V(`${t?"intro":"outro"}${n}`))}const me=new Set;let be;function ge(){be={r:0,c:[],p:be}}function ve(){be.r||i(be.c),be=be.p}function ye(e,t){e&&e.i&&(me.delete(e),e.i(t))}function $e(e,t,n,o){if(e&&e.o){if(me.has(e))return;me.add(e),be.c.push(()=>{me.delete(e),o&&(n&&e.d(1),o())}),e.o(t)}}const we={duration:0};function ke(n,o,r){let i,s,l=o(n,r),c=!1,u=0;function d(){i&&R(n,i)}function f(){const{delay:o=0,duration:r=300,easing:a=t,tick:f=e,css:p}=l||we;p&&(i=W(n,0,1,r,o,a,p,u++)),f(0,1);const h=b()+o,m=h+r;s&&s.abort(),c=!0,ae(()=>he(n,!0,"start")),s=$(e=>{if(c){if(e>=m)return f(1,0),he(n,!0,"end"),d(),c=!1;if(e>=h){const t=a((e-h)/r);f(t,1-t)}}return c})}let p=!1;return{start(){p||(R(n),a(l)?(l=l(),pe().then(f)):f())},invalidate(){p=!1},end(){c&&(d(),c=!1)}}}function xe(n,o,r,s){let l=o(n,r),c=s?0:1,u=null,d=null,f=null;function p(){f&&R(n,f)}function h(e,t){const n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function m(o){const{delay:r=0,duration:a=300,easing:s=t,tick:m=e,css:g}=l||we,v={start:b()+r,b:o};o||(v.group=be,be.r+=1),u?d=v:(g&&(p(),f=W(n,c,o,a,r,s,g)),o&&m(0,1),u=h(v,a),ae(()=>he(n,o,"start")),$(e=>{if(d&&e>d.start&&(u=h(d,a),d=null,he(n,u.b,"start"),g&&(p(),f=W(n,c,u.b,u.duration,0,s,l.css))),u)if(e>=u.end)m(c=u.b,1-c),he(n,u.b,"end"),d||(u.b?p():--u.group.r||i(u.group.c)),u=null;else if(e>=u.start){const t=e-u.start;c=u.a+u.d*s(t/u.duration),m(c,1-c)}return!(!u&&!d)}))}return{run(e){a(l)?pe().then(()=>{l=l(),m(e)}):m(e)},end(){p(),u=d=null}}}function Ce(e,t){e.d(1),t.delete(e.key)}function _e(e,t){$e(e,1,1,()=>{t.delete(e.key)})}function Se(e,t){e.f(),_e(e,t)}function je(e,t,n,o,r,i,a,s,l,c,u,d){let f=e.length,p=i.length,h=f;const m={};for(;h--;)m[e[h].key]=h;const b=[],g=new Map,v=new Map;for(h=p;h--;){const e=d(r,i,h),s=n(e);let l=a.get(s);l?o&&l.p(e,t):(l=c(s,e),l.c()),g.set(s,b[h]=l),s in m&&v.set(s,Math.abs(h-m[s]))}const y=new Set,$=new Set;function w(e){ye(e,1),e.m(s,u),a.set(e.key,e),u=e.first,p--}for(;f&&p;){const t=b[p-1],n=e[f-1],o=t.key,r=n.key;t===n?(u=t.first,f--,p--):g.has(r)?!a.has(o)||y.has(o)?w(t):$.has(r)?f--:v.get(o)>v.get(r)?($.add(o),w(t)):(y.add(r),f--):(l(n,a),f--)}for(;f--;){const t=e[f];g.has(t.key)||l(t,a)}for(;p;)w(b[p-1]);return b}function Ee(e,t){const n={},o={},r={$$scope:1};let i=e.length;for(;i--;){const a=e[i],s=t[i];if(s){for(const e in a)e in s||(o[e]=1);for(const e in s)r[e]||(n[e]=s[e],r[e]=1);e[i]=s}else for(const e in a)r[e]=1}for(const e in o)e in n||(n[e]=void 0);return n}function Te(e){return"object"==typeof e&&null!==e?e:{}}function Le(e,t,n){const o=e.$$.props[t];void 0!==o&&(e.$$.bound[o]=n,n(e.$$.ctx[o]))}function Oe(e){e&&e.c()}function Ae(e,t,n){const{fragment:r,on_mount:s,on_destroy:l,after_update:c}=e.$$;r&&r.m(t,n),ae(()=>{const t=s.map(o).filter(a);l?l.push(...t):i(t),e.$$.on_mount=[]}),c.forEach(ae)}function Me(e,t){const n=e.$$;null!==n.fragment&&(i(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ie(t,n,o,a,s,l,c=[-1]){const u=q;z(t);const d=n.props||{},f=t.$$={fragment:null,ctx:null,props:l,update:e,not_equal:s,bound:r(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:[]),callbacks:r(),dirty:c,skip_bound:!1};let p=!1;if(f.ctx=o?o(t,d,(e,n,...o)=>{const r=o.length?o[0]:n;return f.ctx&&s(f.ctx[e],f.ctx[e]=r)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](r),p&&function(e,t){-1===e.$$.dirty[0]&&(K.push(e),ie(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Be=[];function He(t,n=e){let o;const r=[];function i(e){if(s(t,e)&&(t=e,o)){const e=!Be.length;for(let e=0;e{const e=r.indexOf(l);-1!==e&&r.splice(e,1),0===r.length&&(o(),o=null)}}}}function Ve(t,n,o){const r=!Array.isArray(t),s=r?[t]:t,c=n.length<2;return{subscribe:He(o,t=>{let o=!1;const u=[];let d=0,f=e;const p=()=>{if(d)return;f();const o=n(r?u[0]:u,t);c?t(o):f=a(o)?o:e},h=s.map((e,t)=>l(e,e=>{u[t]=e,d&=~(1<{d|=1<{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class We extends Fe{constructor(e){super(),Ie(this,e,Pe,qe,s,{})}}function Re(t){let o,r,i,a,s,l,c,u,d,f,p,h,m=[{viewBox:"0 0 42 34"},{stroke:"currentColor"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],b={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class ze extends Fe{constructor(e){super(),Ie(this,e,Ze,Re,s,{})}}function Ge(t){let o,r,i,a,s,l,c,u,d,f,p=[{viewBox:"0 0 38 38"},{stroke:"currentColor"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],h={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Ue extends Fe{constructor(e){super(),Ie(this,e,Ye,Ge,s,{})}}function Je(t){let o,r,i,a,s,l,c,u,d=[{viewBox:"0 0 34 30"},{stroke:"currentColor"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],f={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Xe extends Fe{constructor(e){super(),Ie(this,e,Qe,Je,s,{})}}function Ke(e){let t,n,o,r,i,a,s,l,c,u;var d=e[4][e[0]];return d&&(o=new d({})),{c(){t=_("button"),n=_("div"),o&&Oe(o.$$.fragment),r=E(),i=_("div"),a=j(e[1]),O(n,"class","nav-icon"),O(i,"class","nav-text"),O(t,"class",s="nav-item w-inline-block "+e[2]),H(t,"w--current",e[3]===e[0])},m(s,d){k(s,t,d),w(t,n),o&&Ae(o,n,null),w(t,r),w(t,i),w(i,a),l=!0,c||(u=L(t,"click",e[5]),c=!0)},p(e,[r]){if(d!==(d=e[4][e[0]])){if(o){ge();const e=o;$e(e.$$.fragment,1,0,()=>{Me(e,1)}),ve()}d?(o=new d({}),Oe(o.$$.fragment),ye(o.$$.fragment,1),Ae(o,n,null)):o=null}(!l||2&r)&&F(a,e[1]),(!l||4&r&&s!==(s="nav-item w-inline-block "+e[2]))&&O(t,"class",s),13&r&&H(t,"w--current",e[3]===e[0])},i(e){l||(o&&ye(o.$$.fragment,e),l=!0)},o(e){o&&$e(o.$$.fragment,e),l=!1},d(e){e&&x(t),o&&Me(o),c=!1,u()}}}function et(e,t,n){let o;c(e,De,e=>n(3,o=e));let{link:r}=t,{text:i}=t,{extraClass:a=""}=t;const s=[We,ze,Ue,Xe];return e.$$set=e=>{"link"in e&&n(0,r=e.link),"text"in e&&n(1,i=e.text),"extraClass"in e&&n(2,a=e.extraClass)},[r,i,a,o,s,()=>h(De,o=r)]}class tt extends Fe{constructor(e){super(),Ie(this,e,et,Ke,s,{link:0,text:1,extraClass:2})}}function nt(t){let o,r,i=[{viewBox:"0 0 128 128"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class rt extends Fe{constructor(e){super(),Ie(this,e,ot,nt,s,{})}}function it(t){let n,o,r,i,a,s,l,c,u,d,f,p,h,m,b;return r=new rt({props:{class:"logo"}}),s=new tt({props:{link:Ne.HOME,text:"Intro"}}),c=new tt({props:{link:Ne.MSF,text:"Multi Steps"}}),d=new tt({props:{link:Ne.LOGIC,text:"Conditional Logic"}}),p=new tt({props:{link:Ne.CODE,text:"Generate Code",extraClass:"last"}}),{c(){n=_("header"),o=_("a"),Oe(r.$$.fragment),i=E(),a=_("nav"),Oe(s.$$.fragment),l=E(),Oe(c.$$.fragment),u=E(),Oe(d.$$.fragment),f=E(),Oe(p.$$.fragment),h=E(),m=_("p"),m.innerHTML='A project by Alex Iglesias.',O(o,"href","https://brota.me/"),O(o,"target","_blank"),O(o,"class","logo-wrap w-inline-block"),O(a,"class","nav"),O(m,"class","nav-about"),O(n,"class","nav-wrap")},m(e,t){k(e,n,t),w(n,o),Ae(r,o,null),w(n,i),w(n,a),Ae(s,a,null),w(a,l),Ae(c,a,null),w(a,u),Ae(d,a,null),w(a,f),Ae(p,a,null),w(n,h),w(n,m),b=!0},p:e,i(e){b||(ye(r.$$.fragment,e),ye(s.$$.fragment,e),ye(c.$$.fragment,e),ye(d.$$.fragment,e),ye(p.$$.fragment,e),b=!0)},o(e){$e(r.$$.fragment,e),$e(s.$$.fragment,e),$e(c.$$.fragment,e),$e(d.$$.fragment,e),$e(p.$$.fragment,e),b=!1},d(e){e&&x(n),Me(r),Me(s),Me(c),Me(d),Me(p)}}}class at extends Fe{constructor(e){super(),Ie(this,e,null,it,s,{})}}function st(e){let t,n,o,r;return{c(){t=_("button"),n=j(e[2]),O(t,"class","button w-button")},m(i,a){k(i,t,a),w(t,n),o||(r=L(t,"click",e[5]),o=!0)},p(e,t){4&t&&F(n,e[2])},d(e){e&&x(t),o=!1,r()}}}function lt(e){let t,n,o,r;return{c(){t=_("button"),n=j(e[3]),O(t,"class","button outline w-button")},m(i,a){k(i,t,a),w(t,n),o||(r=L(t,"click",e[6]),o=!0)},p(e,t){8&t&&F(n,e[3])},d(e){e&&x(t),o=!1,r()}}}function ct(t){let n,o,r,i,a,s,l,c,u=t[2]&&st(t),d=t[3]&<(t);return{c(){n=_("div"),o=_("h1"),r=j(t[0]),i=E(),a=_("p"),s=E(),l=_("div"),u&&u.c(),c=E(),d&&d.c(),O(o,"class","mb-4"),O(a,"class","mb-8"),O(l,"class","hero-buttons"),O(n,"class","container max-w-xl vflex-c-c center")},m(e,f){k(e,n,f),w(n,o),w(o,r),w(n,i),w(n,a),a.innerHTML=t[1],w(n,s),w(n,l),u&&u.m(l,null),w(l,c),d&&d.m(l,null)},p(e,[t]){1&t&&F(r,e[0]),2&t&&(a.innerHTML=e[1]),e[2]?u?u.p(e,t):(u=st(e),u.c(),u.m(l,c)):u&&(u.d(1),u=null),e[3]?d?d.p(e,t):(d=lt(e),d.c(),d.m(l,null)):d&&(d.d(1),d=null)},i:e,o:e,d(e){e&&x(n),u&&u.d(),d&&d.d()}}}function ut(e,t,n){let{title:o}=t,{subtitle:r}=t,{primaryText:i}=t,{secondaryText:a}=t;const s=J();return e.$$set=e=>{"title"in e&&n(0,o=e.title),"subtitle"in e&&n(1,r=e.subtitle),"primaryText"in e&&n(2,i=e.primaryText),"secondaryText"in e&&n(3,a=e.secondaryText)},[o,r,i,a,s,()=>{s("primaryclick")},()=>{s("secondaryclick")}]}class dt extends Fe{constructor(e){super(),Ie(this,e,ut,ct,s,{title:0,subtitle:1,primaryText:2,secondaryText:3})}}function ft(e){const t=e-1;return t*t*t+1}function pt(e){return--e*e*e*e*e+1}function ht(e,{delay:n=0,duration:o=400,easing:r=t}){const i=+getComputedStyle(e).opacity;return{delay:n,duration:o,easing:r,css:e=>"opacity: "+e*i}}function mt(e,{delay:t=0,duration:n=400,easing:o=ft,x:r=0,y:i=0,opacity:a=0}){const s=getComputedStyle(e),l=+s.opacity,c="none"===s.transform?"":s.transform,u=l*(1-a);return{delay:t,duration:n,easing:o,css:(e,t)=>`\n\t\t\ttransform: ${c} translate(${(1-e)*r}px, ${(1-e)*i}px);\n\t\t\topacity: ${l-u*t}`}}function bt(e,{delay:t=0,duration:n=400,easing:o=ft}){const r=getComputedStyle(e),i=+r.opacity,a=parseFloat(r.height),s=parseFloat(r.paddingTop),l=parseFloat(r.paddingBottom),c=parseFloat(r.marginTop),u=parseFloat(r.marginBottom),d=parseFloat(r.borderTopWidth),f=parseFloat(r.borderBottomWidth);return{delay:t,duration:n,easing:o,css:e=>`overflow: hidden;opacity: ${Math.min(20*e,1)*i};height: ${e*a}px;padding-top: ${e*s}px;padding-bottom: ${e*l}px;margin-top: ${e*c}px;margin-bottom: ${e*u}px;border-top-width: ${e*d}px;border-bottom-width: ${e*f}px;`}}function gt(e){let t,n,o,r;const i=e[2].default,a=u(i,e,e[1],null);return{c(){t=_("div"),a&&a.c(),O(t,"class",n="content-wrap "+e[0])},m(e,n){k(e,t,n),a&&a.m(t,null),r=!0},p(e,[o]){a&&a.p&&2&o&&f(a,i,e,e[1],o,null,null),(!r||1&o&&n!==(n="content-wrap "+e[0]))&&O(t,"class",n)},i(e){r||(ye(a,e),o||ae(()=>{o=ke(t,ht,{duration:250}),o.start()}),r=!0)},o(e){$e(a,e),r=!1},d(e){e&&x(t),a&&a.d(e)}}}function vt(e,t,n){let{extraClass:o=""}=t,{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"extraClass"in e&&n(0,o=e.extraClass),"$$scope"in e&&n(1,i=e.$$scope)},[o,i,r]}class yt extends Fe{constructor(e){super(),Ie(this,e,vt,gt,s,{extraClass:0})}}function $t(t){let n,o,r;return o=new dt({props:{title:"Advanced Webflow Forms",subtitle:'Welcome to the beta version of the Advanced\n Forms Builder. Now you can add multi step functionality and conditional\n logic to your Webflow Forms!
    Found a bug? Got a request? Let me know\n alex@brota.me.',primaryText:"Get Started!",secondaryText:"See Demos"}}),o.$on("primaryclick",t[0]),{c(){n=_("section"),Oe(o.$$.fragment),O(n,"class","section")},m(e,t){k(e,n,t),Ae(o,n,null),r=!0},p:e,i(e){r||(ye(o.$$.fragment,e),r=!0)},o(e){$e(o.$$.fragment,e),r=!1},d(e){e&&x(n),Me(o)}}}function wt(e){let t,n;return t=new yt({props:{extraClass:"justify-center",$$slots:{default:[$t]},$$scope:{ctx:e}}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,[n]){const o={};4&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function kt(e,t,n){let o;c(e,De,e=>n(1,o=e));return[()=>{h(De,o=Ne.MSF)}]}class xt extends Fe{constructor(e){super(),Ie(this,e,kt,wt,s,{})}}function Ct(e,t,n){const o=getComputedStyle(e),r="none"===o.transform?"":o.transform,i=t.from.width/e.clientWidth,s=t.from.height/e.clientHeight,l=(t.from.left-t.to.left)/i,c=(t.from.top-t.to.top)/s,u=Math.sqrt(l*l+c*c),{delay:d=0,duration:f=(e=>120*Math.sqrt(e)),easing:p=ft}=n;return{delay:d,duration:a(f)?f(u):f,easing:p,css:(e,t)=>`transform: ${r} translate(${t*l}px, ${t*c}px);`}}const _t=He({hiddeButtonsOnSubmit:!0,scrollTopOnStepChange:!1}),St=He(!1),jt=He([{key:"webflowSetup",title:"Webflow setup"},{key:"elements",title:"Elements"}]),Et=He([{key:"alertSelector",title:"Alert Element",selected:!1},{key:"alertText",title:"Alert Text",selected:!1},{key:"backText",title:"Back Button Text",selected:!1},{key:"backSelector",title:"Back Button",selected:!1},{key:"completedPercentageSelector",title:"Display Completed %",selected:!1},{key:"currentStepSelector",title:"Display Current Step",selected:!1},{key:"customNav",title:"Custom Nav Links",selected:!1},{key:"displayValues",title:"Display Filled Values",selected:!1},{key:"hiddenForm",title:"Extra Hidden Form",selected:!1},{key:"msfGlobal",title:"Global Options",selected:!1},{key:"nextText",title:"Next Button Text",selected:!1},{key:"warningClass",title:"Warning Class",selected:!1}]),Tt={subscribe:Et.subscribe,modify:(e,t)=>{Et.update(n=>n.map(n=>(n.key===e&&(n.selected=t),n)))},checkSelected:e=>{let t=!1;return Et.subscribe(n=>{t=n.find(t=>t.key===e).selected})(),t}},Lt=He(!1),Ot={intro:[{title:"Multi step Feature",content:'

    Add multi step functionality to your Webflow Forms in a couple of clicks:

    \n
      \n
    • Input validation
    • \n
    • Warnings
    • \n
    • Custom Interactions
    • \n
    • And much more!
    • \n
    \n

    Simply select all the features that you want to add and the builder will generate the code for you :)

    \n

    Some functionalities may require a certain setup in Webflow, always check the info before setting them!

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4654862720cad5da7d_MSF-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4654862720cad5da7d_MSF-transcode.webm"}],webflowSetup:[{title:"Webflow setup",content:'

    \n The slides will act as different steps of your form. You can put\n as many slides as you want inside the slider.
    \n

    \n

    \n Each step will check the\n required and visible inputs\n inside it before jumping to the next one.
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee565486279ea8d5da9a_Webflow Setup-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee565486279ea8d5da9a_Webflow Setup-transcode.webm"}],elements:[{title:"Required elements",content:'

    \n Make sure that you set the ID of the Form,\n not the Form Block.
    \n

    \n

    \n The next button doesn't need to be placed inside the form,\n it can be located anywhere in the page.
    \n

    \n

    \n Once the last step is reached, the next button's text will\n change to the submit button's text.
    \n

    \n

    \n Note: remember to place a submit button set to\n display:none anywhere inside the\n form.\n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee3490d139ddcd925872_Elements-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee3490d139ddcd925872_Elements-transcode.webm"}],alertSelector:[{title:"Alert element",content:'

    \n You can show an element as an alert when there are missing\n fields that must be filled.
    \n

    \n

    \n Eg: show a box that alerts the user to fill the\n missing inputs.\n

    \n

    This element can be placed anywhere in the page.

    \n

    \n By default, it will be set to\n display:block when shown, and\n display:none when hidden.
    \n

    \n

    \n If you want to show it using a Webflow Interaction, place a\n hidden Div Block inside it with the custom\n attribute:
    \n

    \n
      \n
    • Name: data-msf
    • \n
    • Value: alert
    • \n
    \n

    \n And bind it to a\n Mouse click (tap)\n interaction.
    The script will trigger the\n 1st click to show it and the\n 2nd click to hide it.
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43a0a2b1f46811a0ec526e_Alert%20Element-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43a0a2b1f46811a0ec526e_Alert%20Element-transcode.webm"}],backSelector:[{title:"Back button",content:"

    \n Use this button to let the user go back to the previous step.
    \n

    \n

    \n It is recommended that you hide it in the first slide (step) to\n avoid confusing the users.
    \n

    \n

    \n To do so, use a Slider Change interaction to hide it when the\n first slide enters and show it when the first slide leaves.
    \n

    \n

    This element can be placed anywhere in the page.

    ",video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1122e26a9a3213fcfd_Back Button-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1122e26a9a3213fcfd_Back Button-transcode.webm"}],alertText:[{title:"Alert text",content:'

    \n You can show a global alert when there are missing fields that\n must be filled.
    \n

    \n

    Check how it will look:

    \n \n Display alert\n ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee0cdb6e8b2c895a3705_Alert Text-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee0cdb6e8b2c895a3705_Alert Text-transcode.webm"}],backText:[{title:"Back button text",content:'

    \n Additionally, you can set a different text of the back button in\n any step.
    \n

    \n

    \n If you don't set the text for a particular step\n (for example you set the text for the 2nd and 4th step, but\n not the 3rd)\n it will fall back to the lower closest one\n (the 2nd one in this case).
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee16ba9928d0613cfdf4_Back Text-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee16ba9928d0613cfdf4_Back Text-transcode.webm"}],nextText:[{title:"Next button text",content:'

    \n Additionally, you can set a different text of the next button in\n any step.
    \n

    \n

    \n If you don't set the text for a particular step\n (for example you set the text for the 2nd and 4th step, but\n not the 3rd)\n it will fall back to the lower closest one\n (the 2nd one in this case).
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4c877e0acbbcd606ff_Next Text-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4c877e0acbbcd606ff_Next Text-transcode.webm"}],completedPercentageSelector:[{title:"Display completed %",content:"

    \n You can set any text element (paragraph, text block, heading,\n list item...) to display the completed % of the steps:
    \n

    \n

    \n It will show the percentage starting from 0% in the first step\n to 100% in the last step.
    \n

    \n

    This element can be placed anywhere in the page.

    ",video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1bdb6e8bc01c5a3710_Completed Percentage-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1bdb6e8bc01c5a3710_Completed Percentage-transcode.webm"}],currentStepSelector:[{title:"Display current step",content:"

    \n You can set any text element (paragraph, text block, heading,\n list item...) to display the number of the current step.
    \n

    \n

    \n If you want to show the number of total steps, you should to it\n manually as it is a fixed value.
    \n

    \n

    This element can be placed anywhere in the page.

    ",video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee267778392e5f0fd1e3_Current Step-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee267778392e5f0fd1e3_Current Step-transcode.webm"}],customNav:[{title:"Custom nav links",content:'

    \n You can let the user jump to a specific step adding this custom\n nav links.
    \n

    \n

    \n To do so, give this custom attribute to the element that should\n trigger it when clicked:
    \n

    \n
      \n
    • Name: data-msf-nav
    • \n
    • \n Value: The number of the step (Eg:\n 2)\n
    • \n
    \n

    This elements can be placed anywhere in the page.

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2ab937946f7bdb3864_Custom Nav-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2ab937946f7bdb3864_Custom Nav-transcode.webm"}],displayValues:[{title:"Display filled values",content:'

    \n You can set the value of an input to be displayed on any text\n element (paragraph, text block, heading, list item...).
    \n

    \n

    \n To do so, give this custom attribute to the text element that\n should show it:
    \n

    \n
      \n
    • Name: data-msf-value
    • \n
    • \n Value: The ID of the input (Eg:\n email)\n
    • \n
    \n

    This elements can be placed anywhere in the page.

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2f3f5ea2bb18716185_Display Values-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2f3f5ea2bb18716185_Display Values-transcode.webm"}],msfGlobal:[{title:"Global options",content:'

    \n The navigation buttons (next, back, and custom navs) are\n disabled once the form is submitted.
    \n

    \n

    \n You can additionally hide the back and next button by checking\n the option. They will be set to\n display:none.
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee39b937947cdfdb38e9_Global Options-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee39b937947cdfdb38e9_Global Options-transcode.webm"}],warningClass:[{title:"Warning class",content:"

    \n You can add a CSS class to each missing input when the user\n tries to jump to the next step.
    \n

    \n

    \n This is useful to highlight those inputs that should be filled,\n like adding a colored border.
    \n

    \n

    \n Once the input is filled, that CSS class will be removed.
    \n

    \n

    \n Radio inputs and checkboxes should be set to\n Custom in the Webflow Designer in order to\n display it correctly.
    \n

    ",video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee51a9fec7dce69ba40c_Warning Class-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee51a9fec7dce69ba40c_Warning Class-transcode.webm"}],hiddenForm:[{title:"Extra hidden form",content:'

    \n You can send an additional hidden form when the user completes a\n specific step.
    \n

    \n

    \n This feature is useful if you want to make sure that some of the\n info is collected even if the user doesn't complete the\n whole form.
    \n

    \n

    \n Add this custom attribute to each input that you want to collect\n in the hidden form:
    \n

    \n
      \n
    • Name: data-msf
    • \n
    • Value: hidden
    • \n
    \n

    \n The script will automatically create the hidden form, populate\n and send it when the user completes the desired step.
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee416621331f88cbbca5_Hidden Form-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee416621331f88cbbca5_Hidden Form-transcode.webm"}]};function At(e,t,n){const o=e.slice();return o[8]=t[n],o}function Mt(e){let t,n;return{c(){t=_("label"),n=j(e[1]),O(t,"for",e[2]),O(t,"class","input-label")},m(e,o){k(e,t,o),w(t,n)},p(e,o){2&o&&F(n,e[1]),4&o&&O(t,"for",e[2])},d(e){e&&x(t)}}}function It(e,t){let n,o,r,i,a,s=t[8].name+"";return{key:e,first:null,c(){n=_("option"),o=j(s),r=E(),n.__value=i=t[8].value,n.value=n.__value,n.disabled=a=t[8].disabled,this.first=n},m(e,t){k(e,n,t),w(n,o),w(n,r)},p(e,t){16&t&&s!==(s=e[8].name+"")&&F(o,s),16&t&&i!==(i=e[8].value)&&(n.__value=i,n.value=n.__value),16&t&&a!==(a=e[8].disabled)&&(n.disabled=a)},d(e){e&&x(n)}}}function Ft(t){let n,o,r,a,s,l,c=[],u=new Map,d=t[1]&&Mt(t),f=t[4];const p=e=>e[8].value;for(let e=0;et[7].call(r)),O(n,"class",a="relative "+t[5])},m(e,i){k(e,n,i),d&&d.m(n,null),w(n,o),w(n,r);for(let e=0;e{"label"in e&&n(1,o=e.label),"id"in e&&n(2,r=e.id),"name"in e&&n(3,i=e.name),"options"in e&&n(4,a=e.options),"value"in e&&n(0,s=e.value),"extraClass"in e&&n(5,l=e.extraClass)},[s,o,r,i,a,l,function(t){X(e,t)},function(){s=function(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}(this),n(0,s),n(4,a)}]}class Ht extends Fe{constructor(e){super(),Ie(this,e,Bt,Ft,s,{label:1,id:2,name:3,options:4,value:0,extraClass:5})}}function Vt(e){let t,n,o=e[1]&&Nt();return{c(){t=_("label"),n=j(e[0]),o&&o.c(),O(t,"for",e[3]),O(t,"class","input-label")},m(e,r){k(e,t,r),w(t,n),o&&o.m(t,null)},p(e,r){1&r&&F(n,e[0]),e[1]?o||(o=Nt(),o.c(),o.m(t,null)):o&&(o.d(1),o=null),8&r&&O(t,"for",e[3])},d(e){e&&x(t),o&&o.d()}}}function Nt(e){let t;return{c(){t=_("span"),t.textContent="*",O(t,"class","sea-green")},m(e,n){k(e,t,n)},d(e){e&&x(t)}}}function Dt(t){let n,o,r,a,s,l,c=t[0]&&Vt(t);return{c(){n=_("div"),c&&c.c(),o=E(),r=_("input"),O(r,"type",t[2]),O(r,"name",t[4]),O(r,"placeholder",t[5]),O(r,"id",t[3]),O(r,"min",t[7]),O(r,"max",t[8]),r.value=t[10],O(r,"class","input-field w-input"),O(r,"maxlength","256"),O(n,"class",a="relative "+t[6])},m(e,i){k(e,n,i),c&&c.m(n,null),w(n,o),w(n,r),t[15](r),s||(l=[L(r,"input",t[14]),L(r,"input",t[11])],s=!0)},p(e,[t]){e[0]?c?c.p(e,t):(c=Vt(e),c.c(),c.m(n,o)):c&&(c.d(1),c=null),4&t&&O(r,"type",e[2]),16&t&&O(r,"name",e[4]),32&t&&O(r,"placeholder",e[5]),8&t&&O(r,"id",e[3]),128&t&&O(r,"min",e[7]),256&t&&O(r,"max",e[8]),1024&t&&r.value!==e[10]&&(r.value=e[10]),64&t&&a!==(a="relative "+e[6])&&O(n,"class",a)},i:e,o:e,d(e){e&&x(n),c&&c.d(),t[15](null),s=!1,i(l)}}}function qt(e,t,n){let o,{label:r}=t,{required:i=!1}=t,{type:a="text"}=t,{id:s}=t,{name:l}=t,{value:c=""}=t,{placeholder:u}=t,{extraClass:d=""}=t,{min:f}=t,{max:p}=t,{selector:h}=t,m="";return e.$$set=e=>{"label"in e&&n(0,r=e.label),"required"in e&&n(1,i=e.required),"type"in e&&n(2,a=e.type),"id"in e&&n(3,s=e.id),"name"in e&&n(4,l=e.name),"value"in e&&n(12,c=e.value),"placeholder"in e&&n(5,u=e.placeholder),"extraClass"in e&&n(6,d=e.extraClass),"min"in e&&n(7,f=e.min),"max"in e&&n(8,p=e.max),"selector"in e&&n(13,h=e.selector)},e.$$.update=()=>{4096&e.$$.dirty&&c&&n(10,m=function(e){if(!h)return e;const t=new RegExp({id:"#",class:"."}[h]);return e.replace(t,"")}(c.toString()))},[r,i,a,s,l,u,d,f,p,o,m,function(){n(12,c=o.value.length>0?function(e){return h?"id"===h?"#"+e:"class"===h?"."+e:void 0:e}(o.value):"")},c,h,function(t){X(e,t)},function(e){ee[e?"unshift":"push"](()=>{o=e,n(9,o)})}]}class Pt extends Fe{constructor(e){super(),Ie(this,e,qt,Dt,s,{label:0,required:1,type:2,id:3,name:4,value:12,placeholder:5,extraClass:6,min:7,max:8,selector:13})}}function Wt(e){let t,n,o,r,i;function a(t){e[2].call(null,t)}let s={label:"Element ID",id:"alert-id",name:"Alert ID",placeholder:"Eg: alert-element",selector:"id"};return void 0!==e[0]&&(s.value=e[0]),o=new Pt({props:s}),ee.push(()=>Le(o,"value",a)),{c(){t=_("p"),t.textContent="Check the info to learn how to show / hide it using Webflow interactions.",n=E(),Oe(o.$$.fragment),O(t,"class","mb-8")},m(e,r){k(e,t,r),k(e,n,r),Ae(o,e,r),i=!0},p(e,[t]){const n={};!r&&1&t&&(r=!0,n.value=e[0],se(()=>r=!1)),o.$set(n)},i(e){i||(ye(o.$$.fragment,e),i=!0)},o(e){$e(o.$$.fragment,e),i=!1},d(e){e&&x(t),e&&x(n),Me(o,e)}}}function Rt(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||a()}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class Zt extends Fe{constructor(e){super(),Ie(this,e,Rt,Wt,s,{key:1})}}function zt(e){let t,n,o;function r(t){e[2].call(null,t)}let i={label:"Alert Text",id:"alert-text",name:"Alert Text",placeholder:"Eg: Please, fill all the inputs."};return void 0!==e[0]&&(i.value=e[0]),t=new Pt({props:i}),ee.push(()=>Le(t,"value",r)),{c(){Oe(t.$$.fragment)},m(e,n){Ae(t,e,n),o=!0},p(e,[o]){const r={};!n&&1&o&&(n=!0,r.value=e[0],se(()=>n=!1)),t.$set(r)},i(e){o||(ye(t.$$.fragment,e),o=!0)},o(e){$e(t.$$.fragment,e),o=!1},d(e){Me(t,e)}}}function Gt(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||a()}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class Yt extends Fe{constructor(e){super(),Ie(this,e,Gt,zt,s,{key:1})}}function Ut(e){let t,n,o;function r(t){e[2].call(null,t)}let i={label:"Back Button ID:",id:"back-button",name:"Back Button",placeholder:"Eg: back-id",selector:"id"};return void 0!==e[0]&&(i.value=e[0]),t=new Pt({props:i}),ee.push(()=>Le(t,"value",r)),{c(){Oe(t.$$.fragment)},m(e,n){Ae(t,e,n),o=!0},p(e,[o]){const r={};!n&&1&o&&(n=!0,r.value=e[0],se(()=>n=!1)),t.$set(r)},i(e){o||(ye(t.$$.fragment,e),o=!0)},o(e){$e(t.$$.fragment,e),o=!1},d(e){Me(t,e)}}}function Jt(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||(a(),Tt.checkSelected("backText")&&Tt.modify("backText",!1))}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class Qt extends Fe{constructor(e){super(),Ie(this,e,Jt,Ut,s,{key:1})}}var Xt="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),Kt=new Uint8Array(16);function en(){if(!Xt)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Xt(Kt)}var tn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function nn(e){return"string"==typeof e&&tn.test(e)}for(var on=[],rn=0;rn<256;++rn)on.push((rn+256).toString(16).substr(1));function an(e,t,n){var o=(e=e||{}).random||(e.rng||en)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var r=0;r<16;++r)t[n+r]=o[r];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(on[e[t+0]]+on[e[t+1]]+on[e[t+2]]+on[e[t+3]]+"-"+on[e[t+4]]+on[e[t+5]]+"-"+on[e[t+6]]+on[e[t+7]]+"-"+on[e[t+8]]+on[e[t+9]]+"-"+on[e[t+10]]+on[e[t+11]]+on[e[t+12]]+on[e[t+13]]+on[e[t+14]]+on[e[t+15]]).toLowerCase();if(!nn(n))throw TypeError("Stringified UUID is invalid");return n}(o)}function sn(t){let o,r,i=[{viewBox:"0 0 448 448"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class cn extends Fe{constructor(e){super(),Ie(this,e,ln,sn,s,{})}}function un(t){let o,r,i=[{viewBox:"0 0 448 96"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class fn extends Fe{constructor(e){super(),Ie(this,e,dn,un,s,{})}}function pn(t){let o,r,i=[{viewBox:"0 0 448 512"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class mn extends Fe{constructor(e){super(),Ie(this,e,hn,pn,s,{})}}function bn(e){let t,n;return t=new mn({props:{class:"small-icon"}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function gn(e){let t,n;return t=new fn({props:{class:"small-icon"}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function vn(e){let t,n;return t=new cn({props:{class:"small-icon"}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function yn(e){let t,n,o,r,i,a,s;const l=[vn,gn,bn],c=[];function u(e,t){return"add"===e[1]?0:"delete"===e[1]?1:2}return n=u(e),o=c[n]=l[n](e),{c(){t=_("button"),o.c(),O(t,"type","button"),O(t,"class",r="control-button "+e[1]+"\r\n "+e[2])},m(o,r){k(o,t,r),c[n].m(t,null),e[4](t),i=!0,a||(s=L(t,"click",e[3]),a=!0)},p(e,[a]){let s=n;n=u(e),n!==s&&(ge(),$e(c[s],1,1,()=>{c[s]=null}),ve(),o=c[n],o||(o=c[n]=l[n](e),o.c()),ye(o,1),o.m(t,null)),(!i||6&a&&r!==(r="control-button "+e[1]+"\r\n "+e[2]))&&O(t,"class",r)},i(e){i||(ye(o),i=!0)},o(e){$e(o),i=!1},d(o){o&&x(t),c[n].d(),e[4](null),a=!1,s()}}}function $n(e,t,n){let{action:o="add"}=t,{extraClass:r=""}=t,{button:i=null}=t;return e.$$set=e=>{"action"in e&&n(1,o=e.action),"extraClass"in e&&n(2,r=e.extraClass),"button"in e&&n(0,i=e.button)},[i,o,r,function(t){X(e,t)},function(e){ee[e?"unshift":"push"](()=>{i=e,n(0,i)})}]}class wn extends Fe{constructor(e){super(),Ie(this,e,$n,yn,s,{action:1,extraClass:2,button:0})}}function kn(e,t,n){const o=e.slice();return o[9]=t[n],o[10]=t,o[11]=n,o}function xn(e,t){let n,o,r,i,a,s,l,c,u,d,f,p;function h(e){t[4].call(null,e,t[11])}let m={label:"Step",type:"number",id:"back-text-step-"+t[11],name:"Back Text Step "+t[11],placeholder:"1",min:"1",extraClass:"_w-1-4"};function b(e){t[5].call(null,e,t[11])}void 0!==t[0][t[11]].step&&(m.value=t[0][t[11]].step),o=new Pt({props:m}),ee.push(()=>Le(o,"value",h));let g={label:"Text",id:"back-text-"+t[11],name:"Back Text "+t[11],placeholder:"Eg: Back Step",extraClass:"flex-auto mx-2"};return void 0!==t[0][t[11]].text&&(g.value=t[0][t[11]].text),a=new Pt({props:g}),ee.push(()=>Le(a,"value",b)),c=new wn({props:{action:0===t[11]?"add":"delete"}}),c.$on("click",(function(...e){return t[6](t[11],...e)})),{key:e,first:null,c(){n=_("div"),Oe(o.$$.fragment),i=E(),Oe(a.$$.fragment),l=E(),Oe(c.$$.fragment),u=E(),O(n,"class",d="hflex-c-sb no-wrap "+(t[11]r=!1)),o.$set(l);const u={};1&i&&(u.id="back-text-"+t[11]),1&i&&(u.name="Back Text "+t[11]),!s&&1&i&&(s=!0,u.value=t[0][t[11]].text,se(()=>s=!1)),a.$set(u);const f={};1&i&&(f.action=0===t[11]?"add":"delete"),c.$set(f),(!p||1&i&&d!==(d="hflex-c-sb no-wrap "+(t[11]{f||(f=xe(n,bt,{duration:250},!0)),f.run(1)}),p=!0)},o(e){$e(o.$$.fragment,e),$e(a.$$.fragment,e),$e(c.$$.fragment,e),e&&(f||(f=xe(n,bt,{duration:250},!1)),f.run(0)),p=!1},d(e){e&&x(n),Me(o),Me(a),Me(c),e&&f&&f.end()}}}function Cn(e){let t,n,o=[],r=new Map,i=e[0];const a=e=>e[9].id;for(let t=0;tn(7,o=e));let{key:r}=t,i=o[r]&&o[r].length>0?o[r].map(e=>Object.assign({id:an()},e)):[{id:an()}];function a(){n(0,i=[...i,{id:an()}])}function s(e){n(0,i=i.filter((t,n)=>n!==e))}U(()=>{Tt.checkSelected(r)||delete o[r]}),Y(()=>{Tt.checkSelected("backSelector")||Tt.modify("backSelector",!0)});return e.$$set=e=>{"key"in e&&n(3,r=e.key)},e.$$.update=()=>{9&e.$$.dirty&&h(_t,o[r]=function(e){const t=[];return e.forEach(e=>{const{step:n,text:o}=e;n&&o&&t.push({step:n,text:o})}),t}(i),o)},[i,a,s,r,function(e,t){i[t].step=e,n(0,i)},function(e,t){i[t].text=e,n(0,i)},e=>{0===e?a():s(e)}]}class Sn extends Fe{constructor(e){super(),Ie(this,e,_n,Cn,s,{key:3})}}function jn(t){let n,o;return{c(){n=_("p"),o=j("Check the info to learn how to add this functionality in Webflow."),O(n,"class","mb-0"),O(n,"id",t[0])},m(e,t){k(e,n,t),w(n,o)},p(e,[t]){1&t&&O(n,"id",e[0])},i:e,o:e,d(e){e&&x(n)}}}function En(e,t,n){let{key:o}=t;return e.$$set=e=>{"key"in e&&n(0,o=e.key)},[o]}class Tn extends Fe{constructor(e){super(),Ie(this,e,En,jn,s,{key:0})}}function Ln(e){let t,n,o;function r(t){e[2].call(null,t)}let i={label:"Text Element ID",id:"completed-percentage",name:"Completed Percentage",placeholder:"Eg: completed",selector:"id"};return void 0!==e[0]&&(i.value=e[0]),t=new Pt({props:i}),ee.push(()=>Le(t,"value",r)),{c(){Oe(t.$$.fragment)},m(e,n){Ae(t,e,n),o=!0},p(e,[o]){const r={};!n&&1&o&&(n=!0,r.value=e[0],se(()=>n=!1)),t.$set(r)},i(e){o||(ye(t.$$.fragment,e),o=!0)},o(e){$e(t.$$.fragment,e),o=!1},d(e){Me(t,e)}}}function On(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||a()}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class An extends Fe{constructor(e){super(),Ie(this,e,On,Ln,s,{key:1})}}function Mn(e){let t,n,o;function r(t){e[2].call(null,t)}let i={label:"Text Element ID",id:"current-step",name:"Current Step",placeholder:"Eg: current-step",selector:"id"};return void 0!==e[0]&&(i.value=e[0]),t=new Pt({props:i}),ee.push(()=>Le(t,"value",r)),{c(){Oe(t.$$.fragment)},m(e,n){Ae(t,e,n),o=!0},p(e,[o]){const r={};!n&&1&o&&(n=!0,r.value=e[0],se(()=>n=!1)),t.$set(r)},i(e){o||(ye(t.$$.fragment,e),o=!0)},o(e){$e(t.$$.fragment,e),o=!1},d(e){Me(t,e)}}}function In(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||a()}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class Fn extends Fe{constructor(e){super(),Ie(this,e,In,Mn,s,{key:1})}}function Bn(t){let n,o;return{c(){n=_("p"),o=j("Check the info to learn how to add this functionality in Webflow."),O(n,"class","mb-0"),O(n,"id",t[0])},m(e,t){k(e,n,t),w(n,o)},p(e,[t]){1&t&&O(n,"id",e[0])},i:e,o:e,d(e){e&&x(n)}}}function Hn(e,t,n){let{key:o}=t;return e.$$set=e=>{"key"in e&&n(0,o=e.key)},[o]}class Vn extends Fe{constructor(e){super(),Ie(this,e,Hn,Bn,s,{key:0})}}function Nn(e){let t,n,o,r,i,a;function s(t){e[2].call(null,t)}let l={label:"Form ID",required:!0,id:"form",name:"Form",placeholder:"Eg: form-id",extraClass:"mb-8",selector:"id"};function c(t){e[3].call(null,t)}void 0!==e[0]&&(l.value=e[0]),t=new Pt({props:l}),ee.push(()=>Le(t,"value",s));let u={label:"Next Button ID",required:!0,id:"next-button",name:"Next Button",placeholder:"Eg: next-id",selector:"id"};return void 0!==e[1]&&(u.value=e[1]),r=new Pt({props:u}),ee.push(()=>Le(r,"value",c)),{c(){Oe(t.$$.fragment),o=E(),Oe(r.$$.fragment)},m(e,n){Ae(t,e,n),k(e,o,n),Ae(r,e,n),a=!0},p(e,[o]){const a={};!n&&1&o&&(n=!0,a.value=e[0],se(()=>n=!1)),t.$set(a);const s={};!i&&2&o&&(i=!0,s.value=e[1],se(()=>i=!1)),r.$set(s)},i(e){a||(ye(t.$$.fragment,e),ye(r.$$.fragment,e),a=!0)},o(e){$e(t.$$.fragment,e),$e(r.$$.fragment,e),a=!1},d(e){Me(t,e),e&&x(o),Me(r,e)}}}function Dn(e,t,n){let o,r,i;c(e,_t,e=>n(4,o=e)),c(e,St,e=>n(5,r=e)),c(e,Lt,e=>n(6,i=e));let a=o.formSelector||"",s=o.nextSelector||"";return e.$$.update=()=>{32&e.$$.dirty&&(r||(delete o.formSelector,delete o.nextSelector)),64&e.$$.dirty&&i&&(n(0,a="#msf"),n(1,s="#msf-next"),h(Lt,i=!1)),17&e.$$.dirty&&(a.length>0?h(_t,o.formSelector=a,o):delete o.formSelector),18&e.$$.dirty&&(s.length>0?h(_t,o.nextSelector=s,o):delete o.nextSelector)},[a,s,function(e){a=e,n(0,a)},function(e){s=e,n(1,s)}]}class qn extends Fe{constructor(e){super(),Ie(this,e,Dn,Nn,s,{})}}function Pn(e){let t,n,o,r,i;function a(t){e[2].call(null,t)}let s={type:"number",label:"Step Goal",id:"hidden-form-step",name:"Hidden Form Step",placeholder:"Send after step X. Default: 1",min:"1"};return void 0!==e[0]&&(s.value=e[0]),o=new Pt({props:s}),ee.push(()=>Le(o,"value",a)),{c(){t=_("p"),t.textContent="Check the info to learn how to add this functionality in Webflow.",n=E(),Oe(o.$$.fragment),O(t,"class","mb-8")},m(e,r){k(e,t,r),k(e,n,r),Ae(o,e,r),i=!0},p(e,[t]){const n={};!r&&1&t&&(r=!0,n.value=e[0],se(()=>r=!1)),o.$set(n)},i(e){i||(ye(o.$$.fragment,e),i=!0)},o(e){$e(o.$$.fragment,e),i=!1},d(e){e&&x(t),e&&x(n),Me(o,e)}}}function Wn(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o.hiddenFormStep||"";return Y(()=>h(_t,o.sendHiddenForm=!0,o)),U(()=>{Tt.checkSelected(r)||(delete o.sendHiddenForm,delete o.hiddenFormStep)}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{1&e.$$.dirty&&h(_t,o.hiddenFormStep=+i>0?+i:1,o)},[i,r,function(e){i=e,n(0,i)}]}class Rn extends Fe{constructor(e){super(),Ie(this,e,Wn,Pn,s,{key:1})}}function Zn(t){let o,r,i=[{viewBox:"0 0 496 496"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Gn extends Fe{constructor(e){super(),Ie(this,e,zn,Zn,s,{})}}function Yn(t){let o,r,i=[{viewBox:"0 0 496 496"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Jn extends Fe{constructor(e){super(),Ie(this,e,Un,Yn,s,{})}}function Qn(e){let t,n;return t=new Jn({}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function Xn(e){let t,n;return t=new Gn({}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function Kn(e){let t,n,o,r,i,a,s,l;const c=[Xn,Qn],u=[];function d(e,t){return"info"===e[0]?0:1}return o=d(e),r=u[o]=c[o](e),{c(){t=_("button"),n=_("div"),r.c(),O(n,"class",i="mini-button "+e[0]),O(t,"type","button"),O(t,"class",e[1])},m(r,i){k(r,t,i),w(t,n),u[o].m(n,null),a=!0,s||(l=L(t,"click",e[3]),s=!0)},p(e,[s]){let l=o;o=d(e),o!==l&&(ge(),$e(u[l],1,1,()=>{u[l]=null}),ve(),r=u[o],r||(r=u[o]=c[o](e),r.c()),ye(r,1),r.m(n,null)),(!a||1&s&&i!==(i="mini-button "+e[0]))&&O(n,"class",i),(!a||2&s)&&O(t,"class",e[1])},i(e){a||(ye(r),a=!0)},o(e){$e(r),a=!1},d(e){e&&x(t),u[o].d(),s=!1,l()}}}function eo(e,t,n){let{action:o="info"}=t,{extraClass:r=""}=t;const i=J();return e.$$set=e=>{"action"in e&&n(0,o=e.action),"extraClass"in e&&n(1,r=e.extraClass)},[o,r,i,()=>i(o)]}class to extends Fe{constructor(e){super(),Ie(this,e,eo,Kn,s,{action:0,extraClass:1})}}function no(e){let t;return{c(){t=_("span"),t.textContent="*",O(t,"class","sea-green")},m(e,n){k(e,t,n)},d(e){e&&x(t)}}}function oo(e){let t,n;return t=new to({props:{action:"delete",extraClass:"ml-4"}}),t.$on("delete",e[5]),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function ro(e){let t,n,o,r,i,a,s,l,c,d,p=e[1]&&no();s=new to({}),s.$on("info",e[4]);let h=!e[1]&&oo(e);const m=e[3].default,b=u(m,e,e[2],null);return{c(){t=_("div"),n=_("h3"),o=j(e[0]),p&&p.c(),r=_("span"),i=E(),a=_("div"),Oe(s.$$.fragment),l=E(),h&&h.c(),c=E(),b&&b.c(),O(r,"class","sea-green"),O(n,"class","mb-0"),O(a,"class","hflex-c-s"),O(t,"class","hflex-c-sb mb-8")},m(e,u){k(e,t,u),w(t,n),w(n,o),p&&p.m(n,null),w(n,r),w(t,i),w(t,a),Ae(s,a,null),w(a,l),h&&h.m(a,null),k(e,c,u),b&&b.m(e,u),d=!0},p(e,[t]){(!d||1&t)&&F(o,e[0]),e[1]?p||(p=no(),p.c(),p.m(n,r)):p&&(p.d(1),p=null),e[1]?h&&(ge(),$e(h,1,1,()=>{h=null}),ve()):h?2&t&&ye(h,1):(h=oo(e),h.c(),ye(h,1),h.m(a,null)),b&&b.p&&4&t&&f(b,m,e,e[2],t,null,null)},i(e){d||(ye(s.$$.fragment,e),ye(h),ye(b,e),d=!0)},o(e){$e(s.$$.fragment,e),$e(h),$e(b,e),d=!1},d(e){e&&x(t),p&&p.d(),Me(s),h&&h.d(),e&&x(c),b&&b.d(e)}}}function io(e,t,n){let{title:o}=t,{required:r=!1}=t,{$$slots:i={},$$scope:a}=t;return e.$$set=e=>{"title"in e&&n(0,o=e.title),"required"in e&&n(1,r=e.required),"$$scope"in e&&n(2,a=e.$$scope)},[o,r,a,i,function(t){X(e,t)},function(t){X(e,t)}]}class ao extends Fe{constructor(e){super(),Ie(this,e,io,ro,s,{title:0,required:1})}}function so(t){let n,o,r,i,a,s,l,c,u,d;return{c(){n=_("label"),o=_("div"),r=E(),i=_("input"),a=E(),s=_("span"),l=j(t[3]),O(o,"class","w-checkbox-input w-checkbox-input--inputType-custom checkbox"),H(o,"w--redirected-checked",t[0]),O(i,"type","checkbox"),O(i,"id",t[1]),O(i,"name",t[2]),O(i,"class","svelte-midfjq"),O(s,"for",t[2]),O(s,"class","w-form-label leading-normal"),O(n,"class",c="w-checkbox checkbox-field flex-auto "+t[4])},m(e,c){k(e,n,c),w(n,o),w(n,r),w(n,i),i.checked=t[0],w(n,a),w(n,s),w(s,l),u||(d=L(i,"change",t[5]),u=!0)},p(e,[t]){1&t&&H(o,"w--redirected-checked",e[0]),2&t&&O(i,"id",e[1]),4&t&&O(i,"name",e[2]),1&t&&(i.checked=e[0]),8&t&&F(l,e[3]),4&t&&O(s,"for",e[2]),16&t&&c!==(c="w-checkbox checkbox-field flex-auto "+e[4])&&O(n,"class",c)},i:e,o:e,d(e){e&&x(n),u=!1,d()}}}function lo(e,t,n){let{id:o}=t,{name:r}=t,{checked:i=!1}=t,{label:a}=t,{extraClass:s=""}=t;return e.$$set=e=>{"id"in e&&n(1,o=e.id),"name"in e&&n(2,r=e.name),"checked"in e&&n(0,i=e.checked),"label"in e&&n(3,a=e.label),"extraClass"in e&&n(4,s=e.extraClass)},[i,o,r,a,s,function(){i=this.checked,n(0,i)}]}class co extends Fe{constructor(e){super(),Ie(this,e,lo,so,s,{id:1,name:2,checked:0,label:3,extraClass:4})}}function uo(e){let t,n,o,r,i,a;function s(t){e[2].call(null,t)}let l={id:"scroll-top",name:"Scroll Top",label:"Scroll to the top of the form when the user changes step.",extraClass:"mb-4"};function c(t){e[3].call(null,t)}void 0!==e[0].scrollTopOnStepChange&&(l.checked=e[0].scrollTopOnStepChange),t=new co({props:l}),ee.push(()=>Le(t,"checked",s));let u={id:"hide-nav",name:"Hide Nav",label:"Hide the navigation buttons when the form submits."};return void 0!==e[0].hiddeButtonsOnSubmit&&(u.checked=e[0].hiddeButtonsOnSubmit),r=new co({props:u}),ee.push(()=>Le(r,"checked",c)),{c(){Oe(t.$$.fragment),o=E(),Oe(r.$$.fragment)},m(e,n){Ae(t,e,n),k(e,o,n),Ae(r,e,n),a=!0},p(e,[o]){const a={};!n&&1&o&&(n=!0,a.checked=e[0].scrollTopOnStepChange,se(()=>n=!1)),t.$set(a);const s={};!i&&1&o&&(i=!0,s.checked=e[0].hiddeButtonsOnSubmit,se(()=>i=!1)),r.$set(s)},i(e){a||(ye(t.$$.fragment,e),ye(r.$$.fragment,e),a=!0)},o(e){$e(t.$$.fragment,e),$e(r.$$.fragment,e),a=!1},d(e){Me(t,e),e&&x(o),Me(r,e)}}}function fo(e,t,n){let o;c(e,_t,e=>n(0,o=e));let{key:r}=t;return U(()=>{Tt.checkSelected(r)||(h(_t,o.scrollTopOnStepChange=!1,o),h(_t,o.hiddeButtonsOnSubmit=!0,o))}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},[o,r,function(e){o.scrollTopOnStepChange=e,_t.set(o)},function(e){o.hiddeButtonsOnSubmit=e,_t.set(o)}]}class po extends Fe{constructor(e){super(),Ie(this,e,fo,uo,s,{key:1})}}function ho(e,t,n){const o=e.slice();return o[4]=t[n].key,o[5]=t[n].title,o}function mo(e,t){let n,o,r,i,a,s=t[5]+"";function l(...e){return t[2](t[4],...e)}return{key:e,first:null,c(){n=_("li"),o=j(s),r=E(),O(n,"class","msf-optional"),this.first=n},m(e,t){k(e,n,t),w(n,o),w(n,r),i||(a=L(n,"click",l),i=!0)},p(e,n){t=e,1&n&&s!==(s=t[5]+"")&&F(o,s)},d(e){e&&x(n),i=!1,a()}}}function bo(e){let t,n,o,r,i,a,s,l,c,u,d,f,p=[],h=new Map,m=e[0];const b=e=>e[4];for(let t=0;t{a||(a=xe(n,mt,{x:100,duration:250},!0)),a.run(1)}),ae(()=>{c||(c=xe(l,ht,{duration:250},!0)),c.run(1)}),u=!0)},o(e){a||(a=xe(n,mt,{x:100,duration:250},!1)),a.run(0),c||(c=xe(l,ht,{duration:250},!1)),c.run(0),u=!1},d(e){e&&x(t);for(let e=0;e{"blocks"in e&&n(0,o=e.blocks)},[o,r,e=>r("addoptional",e),()=>r("closemodal")]}class vo extends Fe{constructor(e){super(),Ie(this,e,go,bo,s,{blocks:0})}}function yo(e,t,n){const o=e.slice();return o[9]=t[n],o[10]=t,o[11]=n,o}function $o(e,t){let n,o,r,i,a,s,l,c,u,d,f,p;function h(e){t[4].call(null,e,t[11])}let m={label:"Step",type:"number",id:"next-text-step-"+t[11],name:"Next Text Step "+t[11],placeholder:"1",min:"1",extraClass:"_w-1-4"};function b(e){t[5].call(null,e,t[11])}void 0!==t[0][t[11]].step&&(m.value=t[0][t[11]].step),o=new Pt({props:m}),ee.push(()=>Le(o,"value",h));let g={label:"Text",id:"next-text-"+t[11],name:"Next Text "+t[11],placeholder:"Eg: Next Step",extraClass:"flex-auto mx-2"};return void 0!==t[0][t[11]].text&&(g.value=t[0][t[11]].text),a=new Pt({props:g}),ee.push(()=>Le(a,"value",b)),c=new wn({props:{action:0===t[11]?"add":"delete"}}),c.$on("click",(function(...e){return t[6](t[11],...e)})),{key:e,first:null,c(){n=_("div"),Oe(o.$$.fragment),i=E(),Oe(a.$$.fragment),l=E(),Oe(c.$$.fragment),u=E(),O(n,"class",d="hflex-c-sb no-wrap "+(t[11]r=!1)),o.$set(l);const u={};1&i&&(u.id="next-text-"+t[11]),1&i&&(u.name="Next Text "+t[11]),!s&&1&i&&(s=!0,u.value=t[0][t[11]].text,se(()=>s=!1)),a.$set(u);const f={};1&i&&(f.action=0===t[11]?"add":"delete"),c.$set(f),(!p||1&i&&d!==(d="hflex-c-sb no-wrap "+(t[11]{f||(f=xe(n,bt,{duration:250},!0)),f.run(1)}),p=!0)},o(e){$e(o.$$.fragment,e),$e(a.$$.fragment,e),$e(c.$$.fragment,e),e&&(f||(f=xe(n,bt,{duration:250},!1)),f.run(0)),p=!1},d(e){e&&x(n),Me(o),Me(a),Me(c),e&&f&&f.end()}}}function wo(e){let t,n,o=[],r=new Map,i=e[0];const a=e=>e[9].id;for(let t=0;tn(7,o=e));let{key:r}=t,i=o[r]&&o[r].length>0?o[r].map(e=>Object.assign({id:an()},e)):[{id:an()}];function a(){n(0,i=[...i,{id:an()}])}function s(e){n(0,i=i.filter((t,n)=>n!==e))}U(()=>{Tt.checkSelected(r)||delete o[r]});return e.$$set=e=>{"key"in e&&n(3,r=e.key)},e.$$.update=()=>{9&e.$$.dirty&&h(_t,o[r]=function(e){const t=[];return e.forEach(e=>{const{step:n,text:o}=e;n&&o&&t.push({step:n,text:o})}),t}(i),o)},[i,a,s,r,function(e,t){i[t].step=e,n(0,i)},function(e,t){i[t].text=e,n(0,i)},e=>{0===e?a():s(e)}]}class xo extends Fe{constructor(e){super(),Ie(this,e,ko,wo,s,{key:3})}}function Co(e){let t,n,o;function r(t){e[2].call(null,t)}let i={label:"Warning Class",id:"warning-class",name:"Warning Class",placeholder:"Eg: warning"};return void 0!==e[0]&&(i.value=e[0]),t=new Pt({props:i}),ee.push(()=>Le(t,"value",r)),{c(){Oe(t.$$.fragment)},m(e,n){Ae(t,e,n),o=!0},p(e,[o]){const r={};!n&&1&o&&(n=!0,r.value=e[0],se(()=>n=!1)),t.$set(r)},i(e){o||(ye(t.$$.fragment,e),o=!0)},o(e){$e(t.$$.fragment,e),o=!1},d(e){Me(t,e)}}}function _o(e,t,n){let o;c(e,_t,e=>n(3,o=e));let{key:r}=t,i=o[r]||"";function a(){delete o[r]}return U(()=>{Tt.checkSelected(r)||a()}),e.$$set=e=>{"key"in e&&n(1,r=e.key)},e.$$.update=()=>{3&e.$$.dirty&&(i.length>0?h(_t,o[r]=i,o):a())},[i,r,function(e){i=e,n(0,i)}]}class So extends Fe{constructor(e){super(),Ie(this,e,_o,Co,s,{key:1})}}const jo={type:"@webflow/XscpData",payload:{nodes:[{_id:"38d2366b-4159-2510-38f3-6787f5878486",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f5878487","38d2366b-4159-2510-38f3-6787f58784df","38d2366b-4159-2510-38f3-6787f58784e2","0e1c4535-f4c0-c01c-f501-ba6c754dd6b0"],type:"FormWrapper",data:{form:{type:"wrapper"}}},{_id:"38d2366b-4159-2510-38f3-6787f5878487",tag:"form",classes:[],children:["38d2366b-4159-2510-38f3-6787f5878488","38d2366b-4159-2510-38f3-6787f58784db"],type:"FormForm",data:{attr:{id:"msf",name:"wf-form-Multi-Step-Form","data-name":"Multi Step Form"},form:{type:"form",name:"Multi Step Form"}}},{_id:"38d2366b-4159-2510-38f3-6787f5878488",tag:"div",classes:["9e492cc5-3ba8-670c-f95e-8bb55c86b25a"],children:["38d2366b-4159-2510-38f3-6787f5878489","38d2366b-4159-2510-38f3-6787f58784dc","38d2366b-4159-2510-38f3-6787f58784dd","38d2366b-4159-2510-38f3-6787f58784de"],type:"SliderWrapper",data:{slider:{navSpacing:3,autoplay:!1,delay:4e3,iconArrows:!0,animation:"outin",easing:"ease",navRound:!1,hideArrows:!1,disableSwipe:!0,duration:500,infinite:!1,autoMax:0,type:"wrapper"},attr:{"data-animation":"outin","data-disable-swipe":"1","data-duration":"500"}}},{_id:"38d2366b-4159-2510-38f3-6787f5878489",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f587848a","38d2366b-4159-2510-38f3-6787f58784aa","ef3f2af7-909c-644d-7267-6ccb03424cb6"],type:"SliderMask",data:{slider:{type:"slides"}}},{_id:"38d2366b-4159-2510-38f3-6787f587848a",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f587848b"],type:"SliderSlide",data:{tag:"div",slider:{type:"slide"}}},{_id:"38d2366b-4159-2510-38f3-6787f587848b",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f587848c","38d2366b-4159-2510-38f3-6787f587849d","38d2366b-4159-2510-38f3-6787f587849f","38d2366b-4159-2510-38f3-6787f58784a0","38d2366b-4159-2510-38f3-6787f58784a2","38d2366b-4159-2510-38f3-6787f58784a3","38d2366b-4159-2510-38f3-6787f58784a5","38d2366b-4159-2510-38f3-6787f58784a6"],type:"Block",data:{tag:"div"}},{_id:"38d2366b-4159-2510-38f3-6787f587848c",tag:"p",classes:[],children:["38d2366b-4159-2510-38f3-6787f587848d","38d2366b-4159-2510-38f3-6787f5878494","38d2366b-4159-2510-38f3-6787f5878495","38d2366b-4159-2510-38f3-6787f5878496","38d2366b-4159-2510-38f3-6787f5878497","f9618b03-efc9-eac9-4f27-19306d07c959","2db53dad-7e56-58ab-fbac-23671270cb69","38d2366b-4159-2510-38f3-6787f5878498","38d2366b-4159-2510-38f3-6787f5878499","65d30af1-1b1e-bcf1-c154-86697bc9cf3b","212d637a-f59b-f007-e4db-cc6345cf004a"],type:"Paragraph"},{_id:"38d2366b-4159-2510-38f3-6787f587848d",text:!0,v:"This is a simple form build that has all kind of inputs in 3 steps."},{_id:"38d2366b-4159-2510-38f3-6787f5878494",tag:"br",classes:[],children:[],type:"LineBreak"},{_id:"38d2366b-4159-2510-38f3-6787f5878495",text:!0,v:"‍"},{_id:"38d2366b-4159-2510-38f3-6787f5878496",tag:"br",classes:[],children:[],type:"LineBreak"},{_id:"38d2366b-4159-2510-38f3-6787f5878497",text:!0,v:"You can edit and style it however you want: add, delete or move steps (slides), inputs, confirmation values, etc."},{_id:"f9618b03-efc9-eac9-4f27-19306d07c959",tag:"br",classes:[],children:[],type:"LineBreak"},{_id:"2db53dad-7e56-58ab-fbac-23671270cb69",text:!0,v:"‍"},{_id:"38d2366b-4159-2510-38f3-6787f5878498",tag:"br",classes:[],children:[],type:"LineBreak"},{_id:"38d2366b-4159-2510-38f3-6787f5878499",text:!0,v:"Don't forget to check the "},{_id:"65d30af1-1b1e-bcf1-c154-86697bc9cf3b",tag:"a",classes:[],children:["e80b0a1b-f8ba-13fd-dc36-f3dad133c7d4"],type:"Link",data:{link:{url:"https://advanced-forms.webflow.io/",mode:"external",target:"_blank"},attr:{href:"#"}}},{_id:"e80b0a1b-f8ba-13fd-dc36-f3dad133c7d4",text:!0,v:"Advanced Forms Builder"},{_id:"212d637a-f59b-f007-e4db-cc6345cf004a",text:!0,v:" for further customization and information."},{_id:"38d2366b-4159-2510-38f3-6787f587849d",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f587849e"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"name"}}},{_id:"38d2366b-4159-2510-38f3-6787f587849e",text:!0,v:"Name*"},{_id:"38d2366b-4159-2510-38f3-6787f587849f",tag:"input",classes:[],children:[],type:"FormTextInput",data:{attr:{autofocus:!1,maxlength:256,name:"name","data-name":"Name",placeholder:"Input your name",type:"text",id:"name",disabled:!1,required:!0},form:{type:"input",name:"Name"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a0",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784a1"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"email"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a1",text:!0,v:"Email*"},{_id:"38d2366b-4159-2510-38f3-6787f58784a2",tag:"input",classes:[],children:[],type:"FormTextInput",data:{attr:{autofocus:!1,maxlength:256,name:"email","data-name":"Email",placeholder:"Input your email",type:"email",id:"email",disabled:!1,required:!0},form:{type:"input",name:"Email"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a3",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784a4"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"phone"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a4",text:!0,v:"Phone*"},{_id:"38d2366b-4159-2510-38f3-6787f58784a5",tag:"input",classes:[],children:[],type:"FormTextInput",data:{attr:{autofocus:!1,maxlength:256,name:"phone","data-name":"Phone",placeholder:"Input your phone number",type:"tel",id:"phone",disabled:!1,required:!0},form:{type:"input",name:"Phone"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a6",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784a7","38d2366b-4159-2510-38f3-6787f58784a8"],type:"FormCheckboxWrapper",data:{form:{type:"checkbox"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a7",tag:"input",classes:[],children:[],type:"FormCheckboxInput",data:{attr:{type:"checkbox",id:"checkbox",required:!0,"data-name":"Checkbox",name:"checkbox"},form:{type:"checkbox-input",name:"Checkbox"},inputType:"custom"}},{_id:"38d2366b-4159-2510-38f3-6787f58784a8",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784a9"],type:"FormInlineLabel",data:{form:{type:"checkbox-label"},attr:{for:"Checkbox-2"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784a9",text:!0,v:"This is a required checkbox."},{_id:"38d2366b-4159-2510-38f3-6787f58784aa",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784ab"],type:"SliderSlide",data:{tag:"div",slider:{type:"slide"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784ab",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784ac","38d2366b-4159-2510-38f3-6787f58784ae","38d2366b-4159-2510-38f3-6787f58784af","38d2366b-4159-2510-38f3-6787f58784b1"],type:"Block",data:{tag:"div"}},{_id:"38d2366b-4159-2510-38f3-6787f58784ac",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784ad"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"Service"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784ad",text:!0,v:"Select*"},{_id:"38d2366b-4159-2510-38f3-6787f58784ae",tag:"select",classes:[],children:[],v:'\n\n\n',type:"FormSelect",data:{attr:{id:"service",name:"service",required:!0,"data-name":"Service"},form:{type:"select",opts:[{v:"",t:"Select one..."},{v:"First Choice",t:"First Choice"},{v:"Second Choice",t:"Second Choice"},{v:"Third Choice",t:"Third Choice"}],name:"Service"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784af",tag:"label",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784b0"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"amount"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784b0",text:!0,v:"Number*"},{_id:"38d2366b-4159-2510-38f3-6787f58784b1",tag:"input",classes:[],children:[],type:"FormTextInput",data:{attr:{autofocus:!1,maxlength:256,name:"amount","data-name":"Amount",placeholder:"Choose amount",type:"number",id:"amount",disabled:!1,required:!0},form:{type:"input",name:"Amount"}}},{_id:"ef3f2af7-909c-644d-7267-6ccb03424cb6",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da91"],type:"SliderSlide",data:{tag:"div",slider:{type:"slide"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da91",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da98","33127c1b-fb46-2bfa-4b3c-9db5bac6da9a","33127c1b-fb46-2bfa-4b3c-9db5bac6da9e","33127c1b-fb46-2bfa-4b3c-9db5bac6daa2","33127c1b-fb46-2bfa-4b3c-9db5bac6daa6","33127c1b-fb46-2bfa-4b3c-9db5bac6daaa","33127c1b-fb46-2bfa-4b3c-9db5bac6daac"],type:"Block",data:{tag:"div"}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da98",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da99"],type:"FormBlockLabel",data:{form:{type:"label"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da99",text:!0,v:"Radio Group*"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9a",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da9b","33127c1b-fb46-2bfa-4b3c-9db5bac6da9c"],type:"FormRadioWrapper",data:{form:{type:"radio"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9b",tag:"input",classes:[],children:[],type:"FormRadioInput",data:{attr:{type:"radio","data-name":"Options",id:"Option",name:"Options",value:"Option 1",required:!0},form:{type:"radio-input",name:"Options"},inputType:"custom"}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9c",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da9d"],type:"FormInlineLabel",data:{form:{type:"radio-label"},attr:{for:"Option -5"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9d",text:!0,v:"Option 1"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9e",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6da9f","33127c1b-fb46-2bfa-4b3c-9db5bac6daa0"],type:"FormRadioWrapper",data:{form:{type:"radio"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6da9f",tag:"input",classes:[],children:[],type:"FormRadioInput",data:{attr:{type:"radio","data-name":"Options",id:"Option -2",name:"Options",value:"Option 2",required:!0},form:{type:"radio-input",name:"Options"},inputType:"custom"}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa0",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daa1"],type:"FormInlineLabel",data:{form:{type:"radio-label"},attr:{for:"Option -5"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa1",text:!0,v:"Option 2"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa2",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daa3","33127c1b-fb46-2bfa-4b3c-9db5bac6daa4"],type:"FormRadioWrapper",data:{form:{type:"radio"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa3",tag:"input",classes:[],children:[],type:"FormRadioInput",data:{attr:{type:"radio","data-name":"Options",id:"Option -3",name:"Options",value:"Option 3",required:!0},form:{type:"radio-input",name:"Options"},inputType:"custom"}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa4",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daa5"],type:"FormInlineLabel",data:{form:{type:"radio-label"},attr:{for:"Option -5"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa5",text:!0,v:"Option 3"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa6",tag:"div",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daa7","33127c1b-fb46-2bfa-4b3c-9db5bac6daa8"],type:"FormRadioWrapper",data:{form:{type:"radio"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa7",tag:"input",classes:[],children:[],type:"FormRadioInput",data:{attr:{type:"radio","data-name":"Options",id:"Option -4",name:"Options",value:"Option 4",required:!0},form:{type:"radio-input",name:"Options"},inputType:"custom"}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa8",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daa9"],type:"FormInlineLabel",data:{form:{type:"radio-label"},attr:{for:"Option -5"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daa9",text:!0,v:"Option 4"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daaa",tag:"label",classes:[],children:["33127c1b-fb46-2bfa-4b3c-9db5bac6daab"],type:"FormBlockLabel",data:{form:{type:"label"},attr:{for:"notes-2"}}},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daab",text:!0,v:"Text Area"},{_id:"33127c1b-fb46-2bfa-4b3c-9db5bac6daac",tag:"textarea",classes:[],children:[],type:"FormTextarea",data:{attr:{placeholder:"Tell us anything you need.",maxlength:5e3,id:"notes-2",name:"notes-2","data-name":"Notes 2"},form:{type:"textarea",name:"Notes 2"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784dc",tag:"div",classes:["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],children:[],type:"SliderArrow",data:{slider:{type:"arrow",dir:"left"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784dd",tag:"div",classes:["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],children:[],type:"SliderArrow",data:{slider:{type:"arrow",dir:"right"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784de",tag:"div",classes:["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],children:[],type:"SliderNav",data:{slider:{type:"nav"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784db",tag:"input",classes:["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],children:[],type:"FormButton",data:{attr:{type:"submit",value:"Submit","data-wait":"Please wait..."},form:{type:"button",wait:"Please wait..."}}},{_id:"38d2366b-4159-2510-38f3-6787f58784df",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784e0"],type:"FormSuccessMessage",data:{form:{type:"msg-done"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784e0",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784e1"],type:"Block",data:{tag:"div",text:!0}},{_id:"38d2366b-4159-2510-38f3-6787f58784e1",text:!0,v:"Thank you! Your submission has been received!"},{_id:"38d2366b-4159-2510-38f3-6787f58784e2",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784e3"],type:"FormErrorMessage",data:{form:{type:"msg-fail"}}},{_id:"38d2366b-4159-2510-38f3-6787f58784e3",tag:"div",classes:[],children:["38d2366b-4159-2510-38f3-6787f58784e4"],type:"Block",data:{tag:"div",text:!0}},{_id:"38d2366b-4159-2510-38f3-6787f58784e4",text:!0,v:"Oops! Something went wrong while submitting the form."},{_id:"0e1c4535-f4c0-c01c-f501-ba6c754dd6b0",tag:"a",classes:[],children:["0e1c4535-f4c0-c01c-f501-ba6c754dd6b1"],type:"Link",data:{button:!0,link:{mode:"external"},attr:{id:"msf-next",href:"#msf"}}},{_id:"0e1c4535-f4c0-c01c-f501-ba6c754dd6b1",text:!0,v:"Next"}],styles:[{_id:"9e492cc5-3ba8-670c-f95e-8bb55c86b25a",fake:!1,type:"class",name:"MSF Slider",namespace:"",comb:"",styleLess:"height: auto; background-color: transparent;",variants:{},children:[],selector:null},{_id:"07828abd-7f85-d22f-b6d9-ed59721f9f4b",fake:!1,type:"class",name:"MSF Hidden",namespace:"",comb:"",styleLess:"display: none;",variants:{},children:[],selector:null}],assets:[],ix1:[],ix2:{interactions:[],events:[],actionLists:[]}},meta:{unlinkedSymbolCount:0,droppedLinks:0,dynBindRemovedCount:0,dynListBindRemovedCount:0,paginationRemovedCount:0}};function Eo(t){let n,o,r,a,s,l,c,u;return{c(){n=_("p"),n.textContent="Make sure your form meets the following requirements:",o=E(),r=_("ul"),r.innerHTML='
  • It has a submit button set to\n display:none\n . The script will use the button text and waiting text.
  • \n
  • It has a slider inside it. The slider should have:

    \n
    • Swipe gestures\n deactivated\n .
    • \n
    • Auto-play slides\n deactivated\n .
    • \n
    • Its height forced to be\n auto\n .
    • \n
    • The slider arrows and nav set to\n display:none\n .
  • ',a=E(),s=_("p"),l=j(t[1]),O(r,"role","list"),O(s,"class","button w-button"),O(s,"role","button"),H(s,"error","error"===t[0])},m(e,i){k(e,n,i),k(e,o,i),k(e,r,i),k(e,a,i),k(e,s,i),w(s,l),c||(u=[L(s,"click",To),L(s,"copy",t[2])],c=!0)},p(e,[t]){2&t&&F(l,e[1]),1&t&&H(s,"error","error"===e[0])},i:e,o:e,d(e){e&&x(n),e&&x(o),e&&x(r),e&&x(a),e&&x(s),c=!1,i(u)}}}function To(){document.execCommand("copy")}function Lo(e,t,n){let o;c(e,Lt,e=>n(3,o=e));let r=void 0,i="Copy Starter Form";function a(e){r||(n(0,r=e),setTimeout(()=>{n(0,r=void 0)},2e3))}return e.$$.update=()=>{1&e.$$.dirty&&n(1,i="success"===r?"Copied! Paste it in Webflow :)":"error"===r?"An error ocurred":"Copy Starter Form")},[r,i,function(e){try{e.clipboardData.setData("application/json",JSON.stringify(jo).trim()),e.preventDefault(),h(Lt,o=!0),a("success")}catch(e){a("error")}}]}class Oo extends Fe{constructor(e){super(),Ie(this,e,Lo,Eo,s,{})}}const Ao=document.body;let Mo=0;function Io(t){let o,r,i=[{viewBox:"0 0 512 512"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Bo extends Fe{constructor(e){super(),Ie(this,e,Fo,Io,s,{})}}function Ho(t){let o,r,i=[{viewBox:"0 0 448 256"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class No extends Fe{constructor(e){super(),Ie(this,e,Vo,Ho,s,{})}}function Do(t){let o,r,i=[{viewBox:"0 0 448 256"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Po extends Fe{constructor(e){super(),Ie(this,e,qo,Do,s,{})}}function Wo(e){let t,n;return t=new Po({props:{class:"icon"}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function Ro(e){let t,n,o,r,a,s,l,c,u,d,f,p,h,m,b,g,v,y,$,C,S,T,A,M,I,B,V,N,D,q,P,W,R,Z,z,G,Y,U,J,Q=e[5]?"Finish":"Next";h=new No({props:{class:"icon mr-2"}});let X=!e[5]&&Wo();return z=new Bo({}),{c(){t=_("div"),n=_("div"),o=_("div"),r=_("h3"),a=j(e[1]),s=E(),l=_("div"),c=E(),u=_("div"),d=E(),f=_("div"),p=_("div"),Oe(h.$$.fragment),m=E(),b=_("div"),b.textContent="Back",g=E(),v=_("div"),y=_("div"),$=j(Q),C=E(),X&&X.c(),S=E(),T=_("div"),A=_("video"),M=_("source"),B=_("source"),W=E(),R=_("div"),Z=_("div"),Oe(z.$$.fragment),O(r,"class","mb-2"),O(l,"class","logic-block-divider mb-4"),O(u,"class","modal-text"),O(b,"class","uppercase"),O(p,"class","modal-nav svelte-1gc8jlh"),H(p,"hidden",0===e[0]),O(y,"class","uppercase mr-2"),O(v,"class","modal-nav"),O(f,"class","hflex-c-sb mt-auto"),O(o,"class","vflex-str-s"),M.src!==(I=e[3])&&O(M,"src",I),B.src!==(V=e[4])&&O(B,"src",V),A.autoplay=N=!0,A.loop=D=!0,A.muted=q=!0,A.playsInline=P=!0,O(A,"class","svelte-1gc8jlh"),O(T,"class","vflex-str-c modal-image svelte-1gc8jlh"),O(n,"class","modal-content"),O(Z,"class","_w-full vflex-str-c"),O(R,"class","modal-close"),O(t,"class","modal-content-wrap")},m(i,x){k(i,t,x),w(t,n),w(n,o),w(o,r),w(r,a),w(o,s),w(o,l),w(o,c),w(o,u),u.innerHTML=e[2],w(o,d),w(o,f),w(f,p),Ae(h,p,null),w(p,m),w(p,b),w(f,g),w(f,v),w(v,y),w(y,$),w(v,C),X&&X.m(v,null),w(n,S),w(n,T),w(T,A),w(A,M),w(A,B),e[10](A),w(t,W),w(t,R),w(R,Z),Ae(z,Z,null),Y=!0,U||(J=[L(p,"click",e[8]),L(v,"click",e[9]),L(R,"click",e[11])],U=!0)},p(e,[t]){(!Y||2&t)&&F(a,e[1]),(!Y||4&t)&&(u.innerHTML=e[2]),1&t&&H(p,"hidden",0===e[0]),(!Y||32&t)&&Q!==(Q=e[5]?"Finish":"Next")&&F($,Q),e[5]?X&&(ge(),$e(X,1,1,()=>{X=null}),ve()):X?32&t&&ye(X,1):(X=Wo(),X.c(),ye(X,1),X.m(v,null)),(!Y||8&t&&M.src!==(I=e[3]))&&O(M,"src",I),(!Y||16&t&&B.src!==(V=e[4]))&&O(B,"src",V)},i(e){Y||(ye(h.$$.fragment,e),ye(X),ye(z.$$.fragment,e),ae(()=>{G||(G=xe(t,mt,{y:100,duration:250,easing:pt},!0)),G.run(1)}),Y=!0)},o(e){$e(h.$$.fragment,e),$e(X),$e(z.$$.fragment,e),G||(G=xe(t,mt,{y:100,duration:250,easing:pt},!1)),G.run(0),Y=!1},d(n){n&&x(t),Me(h),X&&X.d(),e[10](null),Me(z),n&&G&&G.end(),U=!1,i(J)}}}function Zo(e,t,n){let o,{currentSlide:r}=t,{title:i}=t,{content:a}=t,{video1:s}=t,{video2:l}=t,{isLast:c}=t;const u=J();return e.$$set=e=>{"currentSlide"in e&&n(0,r=e.currentSlide),"title"in e&&n(1,i=e.title),"content"in e&&n(2,a=e.content),"video1"in e&&n(3,s=e.video1),"video2"in e&&n(4,l=e.video2),"isLast"in e&&n(5,c=e.isLast)},e.$$.update=()=>{8&e.$$.dirty&&s&&o&&o.load()},[r,i,a,s,l,c,o,u,()=>u("previous"),()=>u("next"),function(e){ee[e?"unshift":"push"](()=>{o=e,n(6,o)})},()=>u("closemodal")]}class zo extends Fe{constructor(e){super(),Ie(this,e,Zo,Ro,s,{currentSlide:0,title:1,content:2,video1:3,video2:4,isLast:5})}}function Go(e){let t,o,r,i,a,s,l,c;const u=[e[0][e[1]],{currentSlide:e[1]},{isLast:e[1]===e[0].length-1}];let d={};for(let e=0;e{a=ke(i,ht,{duration:100}),a.start()}),s=!0)},o(e){$e(o.$$.fragment,e),s=!1},d(e){e&&x(t),Me(o),l=!1,c()}}}function Yo(e,t,n){let{slides:o}=t,r=0;function i(){n(1,r+=1)}const a=J();Y(()=>{!function(){Mo=window.pageYOffset;let e=Ao.clientWidth;Ao.style.overflow="hidden",Ao.style.position="fixed",Ao.style.top=`-${Mo}px`,Ao.style.width=e+"px"}()}),U(()=>{"hidden"!==Ao.style.overflow&&(Mo=window.pageYOffset),Ao.style.overflow="",Ao.style.position="",Ao.style.top="",Ao.style.width="",window.scrollTo(0,Mo)});return e.$$set=e=>{"slides"in e&&n(0,o=e.slides)},[o,r,i,function(){n(1,r-=1)},a,function(t){X(e,t)},()=>{r===o.length-1?a("closemodal"):i()},()=>a("closemodal")]}class Uo extends Fe{constructor(e){super(),Ie(this,e,Yo,Go,s,{slides:0})}}function Jo(e,t,n){const o=e.slice();return o[18]=t[n].key,o[19]=t[n].title,o}function Qo(e,t,n){const o=e.slice();return o[18]=t[n].key,o[19]=t[n].title,o}function Xo(e){let t,n,o,r,i,a,s,l,c,u,d,f,p=[],h=new Map,m=[],b=new Map,g=e[5];const v=e=>e[18];for(let t=0;te[18];for(let t=0;t{n||(n=xe(t,ht,{duration:250},!0)),n.run(1)}),ye(s.$$.fragment,e),e&&ae(()=>{l||(l=xe(r,ht,{duration:250},!0)),l.run(1)});for(let e=0;e{d||(d=xe(u,ht,{duration:250},!0)),d.run(1)}),f=!0}},o(e){for(let e=0;e{Me(e,1)}),ve()}r?(t=new r({}),Oe(t.$$.fragment),ye(t.$$.fragment,1),Ae(t,n.parentNode,n)):t=null}},i(e){o||(t&&ye(t.$$.fragment,e),o=!0)},o(e){t&&$e(t.$$.fragment,e),o=!1},d(e){e&&x(n),t&&Me(t,e)}}}function er(e,t){let n,o,r,i,a;return o=new ao({props:{title:t[19],required:!0,$$slots:{default:[Ko]},$$scope:{ctx:t}}}),o.$on("info",(function(...e){return t[13](t[18],...e)})),{key:e,first:null,c(){n=_("div"),Oe(o.$$.fragment),r=E(),O(n,"class","msf-block"),this.first=n},m(e,t){k(e,n,t),Ae(o,n,null),w(n,r),a=!0},p(e,n){t=e;const r={};32&n&&(r.title=t[19]),16777248&n&&(r.$$scope={dirty:n,ctx:t}),o.$set(r)},i(e){a||(ye(o.$$.fragment,e),e&&ae(()=>{i||(i=xe(n,ht,{duration:250},!0)),i.run(1)}),a=!0)},o(e){$e(o.$$.fragment,e),e&&(i||(i=xe(n,ht,{duration:250},!1)),i.run(0)),a=!1},d(e){e&&x(n),Me(o),e&&i&&i.end()}}}function tr(e){let t,n,o;var r=e[6][e[18]];function i(e){return{props:{key:e[18]}}}return r&&(t=new r(i(e))),{c(){t&&Oe(t.$$.fragment),n=T()},m(e,r){t&&Ae(t,e,r),k(e,n,r),o=!0},p(e,o){const a={};if(4&o&&(a.key=e[18]),r!==(r=e[6][e[18]])){if(t){ge();const e=t;$e(e.$$.fragment,1,0,()=>{Me(e,1)}),ve()}r?(t=new r(i(e)),Oe(t.$$.fragment),ye(t.$$.fragment,1),Ae(t,n.parentNode,n)):t=null}else r&&t.$set(a)},i(e){o||(t&&ye(t.$$.fragment,e),o=!0)},o(e){t&&$e(t.$$.fragment,e),o=!1},d(e){e&&x(n),t&&Me(t,e)}}}function nr(n,o){let r,i,a,s,l,c,u=e;return i=new ao({props:{title:o[19],$$slots:{default:[tr]},$$scope:{ctx:o}}}),i.$on("info",(function(...e){return o[15](o[18],...e)})),i.$on("delete",(function(...e){return o[16](o[18],...e)})),{key:n,first:null,c(){r=_("div"),Oe(i.$$.fragment),a=E(),O(r,"class","msf-block"),this.first=r},m(e,t){k(e,r,t),Ae(i,r,null),w(r,a),c=!0},p(e,t){o=e;const n={};4&t&&(n.title=o[19]),16777220&t&&(n.$$scope={dirty:t,ctx:o}),i.$set(n)},r(){l=r.getBoundingClientRect()},f(){!function(e){const t=getComputedStyle(e);if("absolute"!==t.position&&"fixed"!==t.position){const{width:n,height:o}=t,r=e.getBoundingClientRect();e.style.position="absolute",e.style.width=n,e.style.height=o,Z(e,r)}}(r),u(),Z(r,l)},a(){u(),u=function(n,o,r,i){if(!o)return e;const a=n.getBoundingClientRect();if(o.left===a.left&&o.right===a.right&&o.top===a.top&&o.bottom===a.bottom)return e;const{delay:s=0,duration:l=300,easing:c=t,start:u=b()+s,end:d=u+l,tick:f=e,css:p}=r(n,{from:o,to:a},i);let h,m=!0,g=!1;function v(){p&&R(n,h),m=!1}return $(e=>{if(!g&&e>=u&&(g=!0),g&&e>=d&&(f(1,0),v()),!m)return!1;if(g){const t=0+1*c((e-u)/l);f(t,1-t)}return!0}),p&&(h=W(n,0,1,l,s,c,p)),s||(g=!0),f(0,1),v}(r,l,Ct,{duration:250})},i(e){c||(ye(i.$$.fragment,e),e&&ae(()=>{s||(s=xe(r,ht,{duration:250},!0)),s.run(1)}),c=!0)},o(e){$e(i.$$.fragment,e),e&&(s||(s=xe(r,ht,{duration:250},!1)),s.run(0)),c=!1},d(e){e&&x(r),Me(i),e&&s&&s.end()}}}function or(e){let t,n;return t=new Uo({props:{slides:e[1]}}),t.$on("closemodal",e[9]),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,n){const o={};2&n&&(o.slides=e[1]),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function rr(e){let t,n;return t=new vo({props:{blocks:e[3]}}),t.$on("closemodal",e[9]),t.$on("addoptional",e[10]),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,n){const o={};8&n&&(o.blocks=e[3]),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function ir(e){let t,n,o,r,i,a,s,l,c,u,d,f,p,h,m,b,g,v=e[4]?"Required setup":"Activate";n=new dt({props:{title:"Multi Steps",subtitle:"Set up multi-step functionality for your forms.",primaryText:"Quick intro",secondaryText:"Watch tutorials"}}),n.$on("primaryclick",e[12]),d=new wn({props:{action:e[4]?"delete":"add"}}),d.$on("click",e[7]);let y=e[4]&&Xo(e);const $=[rr,or],C=[];function S(e,t){return"optional"===e[0]?0:"info"===e[0]?1:-1}return~(h=S(e))&&(m=C[h]=$[h](e)),{c(){t=_("section"),Oe(n.$$.fragment),o=E(),r=_("div"),i=_("div"),a=E(),s=_("div"),l=_("h2"),c=j(v),u=E(),Oe(d.$$.fragment),f=E(),y&&y.c(),p=E(),m&&m.c(),b=T(),O(i,"class","logic-block-divider my-12"),O(l,"class","mb-0 mr-4"),O(s,"class","hflex-c-s mb-6"),O(r,"class","container max-w-3xl"),O(t,"class","section")},m(e,m){k(e,t,m),Ae(n,t,null),w(t,o),w(t,r),w(r,i),w(r,a),w(r,s),w(s,l),w(l,c),w(s,u),Ae(d,s,null),w(r,f),y&&y.m(r,null),k(e,p,m),~h&&C[h].m(e,m),k(e,b,m),g=!0},p(e,t){(!g||16&t)&&v!==(v=e[4]?"Required setup":"Activate")&&F(c,v);const n={};16&t&&(n.action=e[4]?"delete":"add"),d.$set(n),e[4]?y?(y.p(e,t),16&t&&ye(y,1)):(y=Xo(e),y.c(),ye(y,1),y.m(r,null)):y&&(ge(),$e(y,1,1,()=>{y=null}),ve());let o=h;h=S(e),h===o?~h&&C[h].p(e,t):(m&&(ge(),$e(C[o],1,1,()=>{C[o]=null}),ve()),~h?(m=C[h],m||(m=C[h]=$[h](e),m.c()),ye(m,1),m.m(b.parentNode,b)):m=null)},i(e){g||(ye(n.$$.fragment,e),ye(d.$$.fragment,e),ye(y),ye(m),g=!0)},o(e){$e(n.$$.fragment,e),$e(d.$$.fragment,e),$e(y),$e(m),g=!1},d(e){e&&x(t),Me(n),Me(d),y&&y.d(),e&&x(p),~h&&C[h].d(e),e&&x(b)}}}function ar(e){let t,n;return t=new yt({props:{$$slots:{default:[ir]},$$scope:{ctx:e}}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,[n]){const o={};16777279&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function sr(e,t,n){let o,r,i;c(e,Tt,e=>n(17,o=e)),c(e,St,e=>n(4,r=e)),c(e,jt,e=>n(5,i=e));let a=void 0,s=[];const l={alertSelector:Zt,alertText:Yt,backText:Sn,backSelector:Qt,completedPercentageSelector:An,currentStepSelector:Fn,customNav:Tn,displayValues:Vn,elements:qn,hiddenForm:Rn,msfGlobal:po,nextText:xo,warningClass:So,webflowSetup:Oo};function u(e,t){t&&n(1,s=Ot[t]),n(0,a=e)}function d(e){Tt.modify(e,!1)}let f,p;return e.$$.update=()=>{131072&e.$$.dirty&&n(2,f=o.filter(e=>e.selected)),131072&e.$$.dirty&&n(3,p=o.filter(e=>!e.selected))},[a,s,f,p,r,i,l,function(){r&&h(jt,i=i.map(e=>Object.assign(Object.assign({},e),{selected:!1}))),h(St,r=!r)},u,function(){n(0,a=void 0)},function(e){const t=e.detail;Tt.modify(t,!0),n(0,a=void 0)},d,()=>u("info","intro"),e=>u("info",e),()=>u("optional"),e=>u("info",e),e=>d(e)]}class lr extends Fe{constructor(e){super(),Ie(this,e,sr,ar,s,{})}}var cr="object"==typeof global&&global&&global.Object===Object&&global,ur="object"==typeof self&&self&&self.Object===Object&&self,dr=cr||ur||Function("return this")(),fr=dr.Symbol,pr=Object.prototype,hr=pr.hasOwnProperty,mr=pr.toString,br=fr?fr.toStringTag:void 0;var gr=Object.prototype.toString;var vr=fr?fr.toStringTag:void 0;function yr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":vr&&vr in Object(e)?function(e){var t=hr.call(e,br),n=e[br];try{e[br]=void 0;var o=!0}catch(e){}var r=mr.call(e);return o&&(t?e[br]=n:delete e[br]),r}(e):function(e){return gr.call(e)}(e)}function $r(e){return null!=e&&"object"==typeof e}var wr=Array.isArray;function kr(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xr(e){if(!kr(e))return!1;var t=yr(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var Cr,_r=dr["__core-js_shared__"],Sr=(Cr=/[^.]+$/.exec(_r&&_r.keys&&_r.keys.IE_PROTO||""))?"Symbol(src)_1."+Cr:"";var jr=Function.prototype.toString;function Er(e){if(null!=e){try{return jr.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Tr=/^\[object .+?Constructor\]$/,Lr=Function.prototype,Or=Object.prototype,Ar=Lr.toString,Mr=Or.hasOwnProperty,Ir=RegExp("^"+Ar.call(Mr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Fr(e){return!(!kr(e)||(t=e,Sr&&Sr in t))&&(xr(e)?Ir:Tr).test(Er(e));var t}function Br(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Fr(n)?n:void 0}var Hr=Br(dr,"WeakMap"),Vr=Object.create,Nr=function(){function e(){}return function(t){if(!kr(t))return{};if(Vr)return Vr(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Dr=function(){try{var e=Br(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var qr=/^(?:0|[1-9]\d*)$/;function Pr(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&qr.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function Ur(e){return null!=e&&Yr(e.length)&&!xr(e)}var Jr=Object.prototype;function Qr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Jr)}function Xr(e){return $r(e)&&"[object Arguments]"==yr(e)}var Kr=Object.prototype,ei=Kr.hasOwnProperty,ti=Kr.propertyIsEnumerable,ni=Xr(function(){return arguments}())?Xr:function(e){return $r(e)&&ei.call(e,"callee")&&!ti.call(e,"callee")};var oi="object"==typeof exports&&exports&&!exports.nodeType&&exports,ri=oi&&"object"==typeof module&&module&&!module.nodeType&&module,ii=ri&&ri.exports===oi?dr.Buffer:void 0,ai=(ii?ii.isBuffer:void 0)||function(){return!1},si={};function li(e){return function(t){return e(t)}}si["[object Float32Array]"]=si["[object Float64Array]"]=si["[object Int8Array]"]=si["[object Int16Array]"]=si["[object Int32Array]"]=si["[object Uint8Array]"]=si["[object Uint8ClampedArray]"]=si["[object Uint16Array]"]=si["[object Uint32Array]"]=!0,si["[object Arguments]"]=si["[object Array]"]=si["[object ArrayBuffer]"]=si["[object Boolean]"]=si["[object DataView]"]=si["[object Date]"]=si["[object Error]"]=si["[object Function]"]=si["[object Map]"]=si["[object Number]"]=si["[object Object]"]=si["[object RegExp]"]=si["[object Set]"]=si["[object String]"]=si["[object WeakMap]"]=!1;var ci="object"==typeof exports&&exports&&!exports.nodeType&&exports,ui=ci&&"object"==typeof module&&module&&!module.nodeType&&module,di=ui&&ui.exports===ci&&cr.process,fi=function(){try{var e=ui&&ui.require&&ui.require("util").types;return e||di&&di.binding&&di.binding("util")}catch(e){}}(),pi=fi&&fi.isTypedArray,hi=pi?li(pi):function(e){return $r(e)&&Yr(e.length)&&!!si[yr(e)]},mi=Object.prototype.hasOwnProperty;function bi(e,t){var n=wr(e),o=!n&&ni(e),r=!n&&!o&&ai(e),i=!n&&!o&&!r&&hi(e),a=n||o||r||i,s=a?function(e,t){for(var n=-1,o=Array(e);++n-1},Li.prototype.set=function(e,t){var n=this.__data__,o=Ei(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};var Oi=Br(dr,"Map");function Ai(e,t){var n,o,r=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Mi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{ya.update(t=>[...t,e])},modify:e=>{ya.update(t=>t.map(t=>t.id===e.id?Object.assign(Object.assign({},t),e):t))},remove:e=>{ya.update(t=>t.filter(t=>t.id!==e))}},wa=He({submitHiddenInputs:!1,checkConditionsOnLoad:!0}),ka=Ve([ya,wa],([e,t])=>{const n=va(e),{submitHiddenInputs:o,checkConditionsOnLoad:r}=t;return n.forEach(e=>{delete e.id,e.conditions.forEach(e=>{"radios"===e.type?e.selector=`input[name="${e.selector}"]`:e.selector.startsWith("#")||(e.selector="#"+e.selector),"checked"===e.operator&&(e.value="true",e.operator="equal"),"not-checked"===e.operator&&(e.value="false",e.operator="equal"),delete e.type}),e.actions.forEach(e=>{e.selector="#"+e.selector})}),{logicList:n,submitHiddenInputs:o,checkConditionsOnLoad:r}});function xa(t){let o,r,i=[{viewBox:"0 0 512 512"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class _a extends Fe{constructor(e){super(),Ie(this,e,Ca,xa,s,{})}}function Sa(t){let o,r,i=[{viewBox:"0 0 512 512"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class Ea extends Fe{constructor(e){super(),Ie(this,e,ja,Sa,s,{})}}function Ta(e,t,n){const o=e.slice();return o[9]=t[n],o[4]=n,o}function La(e,t,n){const o=e.slice();return o[11]=t[n],o[4]=n,o}function Oa(e){let t,n=e[11].value+"";return{c(){t=j(n)},m(e,n){k(e,t,n)},p(e,o){2&o&&n!==(n=e[11].value+"")&&F(t,n)},d(e){e&&x(t)}}}function Aa(e){let t,n,o,r,i,a,s,l,c,u,d=(0===e[4]?"If":e[2])+"",f=e[11].selector+"",p=Fa(e[11].operator)+"",h=e[11].value&&Oa(e);return{c(){t=_("div"),n=_("strong"),o=j(d),r=E(),i=j(f),a=E(),s=_("span"),l=j(p),c=E(),h&&h.c(),u=E(),O(n,"class","capitalize"),O(s,"class","sea-green"),O(t,"class","mb-2")},m(e,d){k(e,t,d),w(t,n),w(n,o),w(t,r),w(t,i),w(t,a),w(t,s),w(s,l),w(t,c),h&&h.m(t,null),w(t,u)},p(e,n){4&n&&d!==(d=(0===e[4]?"If":e[2])+"")&&F(o,d),2&n&&f!==(f=e[11].selector+"")&&F(i,f),2&n&&p!==(p=Fa(e[11].operator)+"")&&F(l,p),e[11].value?h?h.p(e,n):(h=Oa(e),h.c(),h.m(t,u)):h&&(h.d(1),h=null)},d(e){e&&x(t),h&&h.d()}}}function Ma(e){let t,n,o,r,i,a,s,l,c,u=e[9].action+"",d=e[9].selector+"",f=e[9].clear?"and clear its value":"";return{c(){t=_("div"),n=_("span"),o=j(u),r=E(),i=j(d),a=E(),l=E(),O(n,"class","sea-green capitalize"),s=new N(l),O(t,"class",c=e[4]and clear its value":"")&&s.p(f),8&n&&c!==(c=e[4]{"index"in e&&n(4,o=e.index),"id"in e&&n(0,r=e.id),"conditions"in e&&n(1,i=e.conditions),"operator"in e&&n(2,a=e.operator),"actions"in e&&n(3,s=e.actions)},[r,i,a,s,o,l,c,()=>c(r),()=>l("delete",r)]}class Ha extends Fe{constructor(e){super(),Ie(this,e,Ba,Ia,s,{index:4,id:0,conditions:1,operator:2,actions:3})}}function Va(e){let t,n,o,r,i,a,s,l,c,u,d,f,p,h,m;function b(t){e[2].call(null,t)}let g={id:"submit-hidden",name:"Submit Hidden",label:"Submit hidden inputs",extraClass:"mr-3"};function v(t){e[4].call(null,t)}void 0!==e[0].submitHiddenInputs&&(g.checked=e[0].submitHiddenInputs),i=new co({props:g}),ee.push(()=>Le(i,"checked",b)),l=new to({props:{action:"info"}}),l.$on("info",e[3]);let y={id:"check-conditions-on-load",name:"Check Conditions On Load",label:"Check conditions on load",extraClass:"mr-3"};return void 0!==e[0].checkConditionsOnLoad&&(y.checked=e[0].checkConditionsOnLoad),d=new co({props:y}),ee.push(()=>Le(d,"checked",v)),h=new to({props:{action:"info"}}),h.$on("info",e[5]),{c(){t=_("div"),n=_("div"),n.textContent="Global Options:",o=E(),r=_("div"),Oe(i.$$.fragment),s=E(),Oe(l.$$.fragment),c=E(),u=_("div"),Oe(d.$$.fragment),p=E(),Oe(h.$$.fragment),O(n,"class","bold mb-3"),O(r,"class","hflex-c-s mb-2"),O(u,"class","hflex-c-s")},m(e,a){k(e,t,a),w(t,n),w(t,o),w(t,r),Ae(i,r,null),w(r,s),Ae(l,r,null),w(t,c),w(t,u),Ae(d,u,null),w(u,p),Ae(h,u,null),m=!0},p(e,[t]){const n={};!a&&1&t&&(a=!0,n.checked=e[0].submitHiddenInputs,se(()=>a=!1)),i.$set(n);const o={};!f&&1&t&&(f=!0,o.checked=e[0].checkConditionsOnLoad,se(()=>f=!1)),d.$set(o)},i(e){m||(ye(i.$$.fragment,e),ye(l.$$.fragment,e),ye(d.$$.fragment,e),ye(h.$$.fragment,e),m=!0)},o(e){$e(i.$$.fragment,e),$e(l.$$.fragment,e),$e(d.$$.fragment,e),$e(h.$$.fragment,e),m=!1},d(e){e&&x(t),Me(i),Me(l),Me(d),Me(h)}}}function Na(e,t,n){let o;c(e,wa,e=>n(0,o=e));const{openModal:r}=Q("logic");return[o,r,function(e){o.submitHiddenInputs=e,wa.set(o)},()=>r("submitHiddenInputs"),function(e){o.checkConditionsOnLoad=e,wa.set(o)},()=>r("checkConditionsOnLoad")]}class Da extends Fe{constructor(e){super(),Ie(this,e,Na,Va,s,{})}}function qa(e,t,n){const o=e.slice();return o[4]=t[n],o[6]=n,o}function Pa(e,t){let o,r,i,a,s;const l=[t[4],{index:t[6]}];let c={};for(let e=0;e{a||(a=xe(o,ht,{duration:250},!0)),a.run(1)}),s=!0)},o(e){$e(r.$$.fragment,e),e&&(a||(a=xe(o,ht,{duration:250},!1)),a.run(0)),s=!1},d(e){e&&x(o),Me(r),e&&a&&a.end()}}}function Wa(e){let t,n,o,r,i,a,s,l,c,u,d,f,p,h=[],m=new Map;c=new wn({}),c.$on("click",e[3]),d=new Da({});let b=e[0];const g=e=>e[4].id;for(let t=0;tn(0,o=e));const r=J();return[o,e=>{$a.remove(e.detail)},r,()=>r("newLogic")]}class Za extends Fe{constructor(e){super(),Ie(this,e,Ra,Wa,s,{})}}function za(e){let t,n,o,r,i,a,s,l;function c(t){e[16].call(null,t)}let u={type:"number"===e[0].type?"number":"text",name:"Condition Value",placeholder:"Your Value",id:"value-"+e[1],extraClass:"flex-auto"};return void 0!==e[5]&&(u.value=e[5]),a=new Pt({props:u}),ee.push(()=>Le(a,"value",c)),a.$on("input",e[17]),{c(){t=_("div"),n=_("label"),o=j("the value"),i=E(),Oe(a.$$.fragment),O(n,"for",r="value-"+e[1]),O(n,"class","mr-2"),O(t,"class","hflex-c-s")},m(e,r){k(e,t,r),w(t,n),w(n,o),w(t,i),Ae(a,t,null),l=!0},p(e,t){(!l||2&t&&r!==(r="value-"+e[1]))&&O(n,"for",r);const o={};1&t&&(o.type="number"===e[0].type?"number":"text"),2&t&&(o.id="value-"+e[1]),!s&&32&t&&(s=!0,o.value=e[5],se(()=>s=!1)),a.$set(o)},i(e){l||(ye(a.$$.fragment,e),l=!0)},o(e){$e(a.$$.fragment,e),l=!1},d(e){e&&x(t),Me(a)}}}function Ga(t){let n,o;return n=new wn({props:{action:"delete",extraClass:"ml-4"}}),n.$on("click",t[19]),{c(){Oe(n.$$.fragment)},m(e,t){Ae(n,e,t),o=!0},p:e,i(e){o||(ye(n.$$.fragment,e),o=!0)},o(e){$e(n.$$.fragment,e),o=!1},d(e){Me(n,e)}}}function Ya(e){let t,n,o,r,i,a,s,l,c,u,d,f,p,h,m,b,g,v,y,$,C,S,T,L,A,M,I,B,H,V,N,D="radios"===e[0].type?"which Group Name is":"which ID is";function q(t){e[10].call(null,t)}let P={id:"type-"+e[1],name:"Condition Origin Type",extraClass:"flex-auto",options:e[7]};function W(t){e[12].call(null,t)}void 0!==e[2]&&(P.value=e[2]),l=new Ht({props:P}),ee.push(()=>Le(l,"value",q)),l.$on("input",e[9]),l.$on("input",e[11]);let R={name:"Condition Selector",placeholder:"your-element",id:"selector-"+e[1],extraClass:"flex-auto"};function Z(t){e[14].call(null,t)}void 0!==e[3]&&(R.value=e[3]),b=new Pt({props:R}),ee.push(()=>Le(b,"value",W)),b.$on("input",e[13]);let z={id:"operator-"+e[1],name:"Condition Operator",options:e[6],extraClass:"flex-auto"};void 0!==e[4]&&(z.value=e[4]),L=new Ht({props:z}),ee.push(()=>Le(L,"value",Z)),L.$on("input",e[15]);let G="checkbox"!==e[0].type&&"empty"!==e[0].operator&&"filled"!==e[0].operator&&za(e);H=new wn({props:{extraClass:"ml-4 mb-4"}}),H.$on("click",e[18]);let Y=0!==e[1]&&Ga(e);return{c(){t=_("div"),n=_("div"),o=_("div"),r=_("label"),i=j("The"),s=E(),Oe(l.$$.fragment),u=E(),d=_("div"),f=_("label"),p=j(D),m=E(),Oe(b.$$.fragment),v=E(),y=_("div"),$=_("label"),C=j("must"),T=E(),Oe(L.$$.fragment),M=E(),G&&G.c(),I=E(),B=_("div"),Oe(H.$$.fragment),V=E(),Y&&Y.c(),O(r,"for",a="type-"+e[1]),O(r,"class","mr-2"),O(o,"class","hflex-c-s"),O(f,"for",h="selector-"+e[1]),O(f,"class","mr-2"),O(d,"class","hflex-c-s"),O($,"for",S="operator-"+e[1]),O($,"class","mr-2"),O(y,"class","hflex-c-s"),O(n,"class","condition-grid"),O(t,"class","logic-block")},m(e,a){k(e,t,a),w(t,n),w(n,o),w(o,r),w(r,i),w(o,s),Ae(l,o,null),w(n,u),w(n,d),w(d,f),w(f,p),w(d,m),Ae(b,d,null),w(n,v),w(n,y),w(y,$),w($,C),w(y,T),Ae(L,y,null),w(n,M),G&&G.m(n,null),k(e,I,a),k(e,B,a),Ae(H,B,null),w(B,V),Y&&Y.m(B,null),N=!0},p(e,[t]){(!N||2&t&&a!==(a="type-"+e[1]))&&O(r,"for",a);const o={};2&t&&(o.id="type-"+e[1]),!c&&4&t&&(c=!0,o.value=e[2],se(()=>c=!1)),l.$set(o),(!N||1&t)&&D!==(D="radios"===e[0].type?"which Group Name is":"which ID is")&&F(p,D),(!N||2&t&&h!==(h="selector-"+e[1]))&&O(f,"for",h);const i={};2&t&&(i.id="selector-"+e[1]),!g&&8&t&&(g=!0,i.value=e[3],se(()=>g=!1)),b.$set(i),(!N||2&t&&S!==(S="operator-"+e[1]))&&O($,"for",S);const s={};2&t&&(s.id="operator-"+e[1]),64&t&&(s.options=e[6]),!A&&16&t&&(A=!0,s.value=e[4],se(()=>A=!1)),L.$set(s),"checkbox"!==e[0].type&&"empty"!==e[0].operator&&"filled"!==e[0].operator?G?(G.p(e,t),1&t&&ye(G,1)):(G=za(e),G.c(),ye(G,1),G.m(n,null)):G&&(ge(),$e(G,1,1,()=>{G=null}),ve()),0!==e[1]?Y?(Y.p(e,t),2&t&&ye(Y,1)):(Y=Ga(e),Y.c(),ye(Y,1),Y.m(B,null)):Y&&(ge(),$e(Y,1,1,()=>{Y=null}),ve())},i(e){N||(ye(l.$$.fragment,e),ye(b.$$.fragment,e),ye(L.$$.fragment,e),ye(G),ye(H.$$.fragment,e),ye(Y),N=!0)},o(e){$e(l.$$.fragment,e),$e(b.$$.fragment,e),$e(L.$$.fragment,e),$e(G),$e(H.$$.fragment,e),$e(Y),N=!1},d(e){e&&x(t),Me(l),Me(b),Me(L),G&&G.d(),e&&x(I),e&&x(B),Me(H),Y&&Y.d()}}}function Ua(e,t,n){let{condition:o}=t,{index:r}=t;const i=[{name:"-- Select Operator --",value:"",compatibleTypes:["text","email","password","phone","number","select","radios","number","checkbox"],disabled:!0},{name:"Be Equal To",value:"equal",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Not Be Equal To",value:"not-equal",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Contain",value:"contain",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Not Contain",value:"not-contain",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Be Empty",value:"empty",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Be Filled",value:"filled",compatibleTypes:["text","email","password","phone","number","select","radios"]},{name:"Be Greater Than",value:"greater",compatibleTypes:["number"]},{name:"Be Greater or Equal Than",value:"greater-equal",compatibleTypes:["number"]},{name:"Be Less Than",value:"less",compatibleTypes:["number"]},{name:"Be Less or Equal Than",value:"less-equal",compatibleTypes:["number"]},{name:"Be Checked",value:"checked",compatibleTypes:["checkbox"]},{name:"Not Be Checked",value:"not-checked",compatibleTypes:["checkbox"]}];let a=o.type||"text",s=o.selector||"",l=o.operator||"",c=o.value||"";const u=J();let d;return e.$$set=e=>{"condition"in e&&n(0,o=e.condition),"index"in e&&n(1,r=e.index)},e.$$.update=()=>{4&e.$$.dirty&&n(0,o.type=a,o),8&e.$$.dirty&&n(0,o.selector=s,o),16&e.$$.dirty&&n(0,o.operator=l,o),32&e.$$.dirty&&n(0,o.value=c,o),17&e.$$.dirty&&["empty","filled","checked","not-checked"].includes(l)&&delete o.value,4&e.$$.dirty&&n(6,d=i.filter(e=>e.compatibleTypes.includes(a)))},[o,r,a,s,l,c,d,[{name:"Plain / Textarea Field",value:"text"},{name:"Email Field",value:"email"},{name:"Password Field",value:"password"},{name:"Phone Field",value:"phone"},{name:"Number Field",value:"number"},{name:"Select Field",value:"select"},{name:"Checkbox",value:"checkbox"},{name:"Radio Group",value:"radios"}],u,function(){n(4,l="")},function(e){a=e,n(2,a)},function(t){X(e,t)},function(e){s=e,n(3,s)},function(t){X(e,t)},function(e){l=e,n(4,l)},function(t){X(e,t)},function(e){c=e,n(5,c)},function(t){X(e,t)},()=>u("addcondition"),()=>u("removecondition",o)]}class Ja extends Fe{constructor(e){super(),Ie(this,e,Ua,Ya,s,{condition:0,index:1})}}function Qa(t){let n,o;return n=new wn({props:{action:"delete",extraClass:"ml-4"}}),n.$on("click",t[10]),{c(){Oe(n.$$.fragment)},m(e,t){Ae(n,e,t),o=!0},p:e,i(e){o||(ye(n.$$.fragment,e),o=!0)},o(e){$e(n.$$.fragment,e),o=!1},d(e){Me(n,e)}}}function Xa(e){let t,n,o,r,i,a,s,l,c,u,d,f,p,h,m,b,g,v,y,$,C,S,T,L,A;function M(t){e[4].call(null,t)}let I={id:"action-"+e[1],name:"Action",options:e[2],extraClass:"flex-auto"};function F(t){e[6].call(null,t)}void 0!==e[0].action&&(I.value=e[0].action),l=new Ht({props:I}),ee.push(()=>Le(l,"value",M)),l.$on("input",e[5]);let B={name:"Action Selector",placeholder:"your-target",id:"action-selector-"+e[1],extraClass:"flex-auto"};function H(t){e[8].call(null,t)}void 0!==e[0].selector&&(B.value=e[0].selector),b=new Pt({props:B}),ee.push(()=>Le(b,"value",F)),b.$on("input",e[7]);let V={id:"clear-"+e[1],name:"Clear Action Target",label:"And clear its value"};void 0!==e[0].clear&&(V.checked=e[0].clear),y=new co({props:V}),ee.push(()=>Le(y,"checked",H)),T=new wn({props:{extraClass:"ml-4 mb-4"}}),T.$on("click",e[9]);let N=0!==e[1]&&Qa(e);return{c(){t=_("div"),n=_("div"),o=_("div"),r=_("label"),i=j("Trigger"),s=E(),Oe(l.$$.fragment),u=E(),d=_("div"),f=_("label"),p=j("on the element with an ID of"),m=E(),Oe(b.$$.fragment),v=E(),Oe(y.$$.fragment),C=E(),S=_("div"),Oe(T.$$.fragment),L=E(),N&&N.c(),O(r,"for",a="action-"+e[1]),O(r,"class","mr-2"),O(o,"class","hflex-c-s"),O(f,"for",h="action-selector-"+e[1]),O(f,"class","mr-2"),O(d,"class","hflex-c-s"),O(n,"class","action-grid"),O(t,"class","logic-block")},m(e,a){k(e,t,a),w(t,n),w(n,o),w(o,r),w(r,i),w(o,s),Ae(l,o,null),w(n,u),w(n,d),w(d,f),w(f,p),w(d,m),Ae(b,d,null),w(n,v),Ae(y,n,null),k(e,C,a),k(e,S,a),Ae(T,S,null),w(S,L),N&&N.m(S,null),A=!0},p(e,[t]){(!A||2&t&&a!==(a="action-"+e[1]))&&O(r,"for",a);const n={};2&t&&(n.id="action-"+e[1]),!c&&1&t&&(c=!0,n.value=e[0].action,se(()=>c=!1)),l.$set(n),(!A||2&t&&h!==(h="action-selector-"+e[1]))&&O(f,"for",h);const o={};2&t&&(o.id="action-selector-"+e[1]),!g&&1&t&&(g=!0,o.value=e[0].selector,se(()=>g=!1)),b.$set(o);const i={};2&t&&(i.id="clear-"+e[1]),!$&&1&t&&($=!0,i.checked=e[0].clear,se(()=>$=!1)),y.$set(i),0!==e[1]?N?(N.p(e,t),2&t&&ye(N,1)):(N=Qa(e),N.c(),ye(N,1),N.m(S,null)):N&&(ge(),$e(N,1,1,()=>{N=null}),ve())},i(e){A||(ye(l.$$.fragment,e),ye(b.$$.fragment,e),ye(y.$$.fragment,e),ye(T.$$.fragment,e),ye(N),A=!0)},o(e){$e(l.$$.fragment,e),$e(b.$$.fragment,e),$e(y.$$.fragment,e),$e(T.$$.fragment,e),$e(N),A=!1},d(e){e&&x(t),Me(l),Me(b),Me(y),e&&x(C),e&&x(S),Me(T),N&&N.d()}}}function Ka(e,t,n){let{action:o}=t,{index:r}=t;const i=J();return e.$$set=e=>{"action"in e&&n(0,o=e.action),"index"in e&&n(1,r=e.index)},[o,r,[{name:"Show",value:"show"},{name:"Hide",value:"hide"},{name:"Enable",value:"enable"},{name:"Disable",value:"disable"},{name:"Require",value:"require"},{name:"Unrequire",value:"unrequire"},{name:"Interaction",value:"custom"}],i,function(e){o.action=e,n(0,o)},function(t){X(e,t)},function(e){o.selector=e,n(0,o)},function(t){X(e,t)},function(e){o.clear=e,n(0,o)},()=>i("addaction"),()=>i("removeaction",o)]}class es extends Fe{constructor(e){super(),Ie(this,e,Ka,Xa,s,{action:0,index:1})}}function ts(t){let o,r,i=[{viewBox:"0 0 512 253"},{fill:"currentColor"},{xmlns:"http://www.w3.org/2000/svg"},t[0]],a={};for(let e=0;e{o(0,t=n(n({},t),p(e)))},[t=p(t)]}class os extends Fe{constructor(e){super(),Ie(this,e,ns,ts,s,{})}}function rs(t){let n,o,r,i,a;return o=new os({props:{class:"back-button"}}),{c(){n=_("button"),Oe(o.$$.fragment),O(n,"type","button")},m(e,s){k(e,n,s),Ae(o,n,null),r=!0,i||(a=L(n,"click",t[0]),i=!0)},p:e,i(e){r||(ye(o.$$.fragment,e),r=!0)},o(e){$e(o.$$.fragment,e),r=!1},d(e){e&&x(n),Me(o),i=!1,a()}}}function is(e){return[function(t){X(e,t)}]}class as extends Fe{constructor(e){super(),Ie(this,e,is,rs,s,{})}}function ss(e,t,n){const o=e.slice();return o[19]=t[n],o[21]=n,o}function ls(e,t,n){const o=e.slice();return o[22]=t[n],o[21]=n,o}function cs(e,t){let n,o,r,i,a;return o=new Ja({props:{condition:t[22],index:t[21]}}),o.$on("addcondition",t[8]),o.$on("removecondition",t[10]),o.$on("input",t[6]),{key:e,first:null,c(){n=_("div"),Oe(o.$$.fragment),r=E(),O(n,"class","hflex-c-s mb-4"),this.first=n},m(e,t){k(e,n,t),Ae(o,n,null),w(n,r),a=!0},p(e,t){const n={};8&t&&(n.condition=e[22]),8&t&&(n.index=e[21]),o.$set(n)},i(e){a||(ye(o.$$.fragment,e),e&&ae(()=>{i||(i=xe(n,ht,{duration:250},!0)),i.run(1)}),a=!0)},o(e){$e(o.$$.fragment,e),e&&(i||(i=xe(n,ht,{duration:250},!1)),i.run(0)),a=!1},d(e){e&&x(n),Me(o),e&&i&&i.end()}}}function us(t){let n;return{c(){n=_("div"),n.textContent="If the condition is met, then do the following actions:",O(n,"class","bold")},m(e,t){k(e,n,t)},p:e,i:e,o:e,d(e){e&&x(n)}}}function ds(e){let t,n,o,r,i,a,s;function l(t){e[13].call(null,t)}let c={id:"operator",name:"Operator",options:e[4],extraClass:"_w-auto flex-initial mx-2"};return void 0!==e[3].operator&&(c.value=e[3].operator),o=new Ht({props:c}),ee.push(()=>Le(o,"value",l)),{c(){t=_("label"),t.textContent="If",n=E(),Oe(o.$$.fragment),i=E(),a=_("div"),a.textContent="then do the following actions:",O(t,"for","operator"),O(t,"class","bold"),O(a,"class","bold")},m(e,r){k(e,t,r),k(e,n,r),Ae(o,e,r),k(e,i,r),k(e,a,r),s=!0},p(e,t){const n={};!r&&8&t&&(r=!0,n.value=e[3].operator,se(()=>r=!1)),o.$set(n)},i(e){s||(ye(o.$$.fragment,e),s=!0)},o(e){$e(o.$$.fragment,e),s=!1},d(e){e&&x(t),e&&x(n),Me(o,e),e&&x(i),e&&x(a)}}}function fs(e,t){let n,o,r,i,a;return o=new es({props:{action:t[19],index:t[21]}}),o.$on("addaction",t[9]),o.$on("removeaction",t[11]),o.$on("input",t[6]),{key:e,first:null,c(){n=_("div"),Oe(o.$$.fragment),r=E(),O(n,"class","hflex-c-s mb-4"),this.first=n},m(e,t){k(e,n,t),Ae(o,n,null),w(n,r),a=!0},p(e,t){const n={};8&t&&(n.action=e[19]),8&t&&(n.index=e[21]),o.$set(n)},i(e){a||(ye(o.$$.fragment,e),e&&ae(()=>{i||(i=xe(n,ht,{duration:250},!0)),i.run(1)}),a=!0)},o(e){$e(o.$$.fragment,e),e&&(i||(i=xe(n,ht,{duration:250},!1)),i.run(0)),a=!1},d(e){e&&x(n),Me(o),e&&i&&i.end()}}}function ps(e){let t,n,o,r,a,s,l,c,u,d,f,p,h,m,b,g,v,y,$,C,S,T,A,M=e[0]?"Edit":"Add new",I=[],B=new Map,V=[],N=new Map,D=e[1]&&e[2]?"Some Fields Are Missing":"Save Logic";o=new as({}),o.$on("click",e[12]);let q=e[3].conditions;const P=e=>e[21];for(let t=0;t1?0:1}p=Z(e),h=R[p]=W[p](e);let z=e[3].actions;const G=e=>e[21];for(let t=0;t{R[n]=null}),ve(),h=R[p],h||(h=R[p]=W[p](e),h.c()),ye(h,1),h.m(f,null)),2632&t){const n=e[3].actions;ge(),V=je(V,t,G,1,e,n,N,u,_e,fs,b,ss),ve()}(!S||6&t)&&D!==(D=e[1]&&e[2]?"Some Fields Are Missing":"Save Logic")&&F(C,D),6&t&&H($,"error",e[1]&&e[2])},i(e){if(!S){ye(o.$$.fragment,e);for(let e=0;en(15,o=e));var r=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))};let{editID:i}=t;const a={selector:"",type:"text",operator:"equal"},s={selector:"",action:"show"};let l,u,d={id:an(),conditions:[va(a)],operator:"and",actions:[va(s)]};const f=J();function p(){return r(this,void 0,void 0,(function*(){yield(ie(),oe);for(const e of d.conditions)if(n(1,l=!e.type||!e.selector||!e.operator),l)break;if(!l)for(const e of d.actions)if(n(1,l=!e.selector||!e.action),l)break}))}return e.$$set=e=>{"editID"in e&&n(0,i=e.editID)},e.$$.update=()=>{32769&e.$$.dirty&&i&&n(3,d=o.find(e=>e.id===i))},[i,l,u,d,[{name:"All Conditions Are Met",value:"and"},{name:"One Condition Is Met",value:"or"}],f,p,function(){return r(this,void 0,void 0,(function*(){u||n(2,u=!0),yield p(),l||(i?$a.modify(d):$a.add(d),f("cancel"))}))},function(){n(3,d.conditions=[...d.conditions,va(a)],d)},function(){n(3,d.actions=[...d.actions,va(s)],d)},function(e){n(3,d.conditions=d.conditions.filter(t=>t!==e.detail),d),p()},function(e){n(3,d.actions=d.actions.filter(t=>t!==e.detail),d),p()},()=>f("cancel"),function(e){d.operator=e,n(3,d),n(0,i),n(15,o)},()=>f("cancel")]}class ms extends Fe{constructor(e){super(),Ie(this,e,hs,ps,s,{editID:0})}}const bs={intro:[{title:"Intro",content:"

    \n Build your form in the Webflow Designer as you would normally\n do.
    \n

    \n

    \n Then, create your logic in the builder. You can set as many\n conditions and actions to be performed, the code will be\n automatically generated for you!
    \n

    \n

    Check the next steps to see what you can do with it :)

    ",video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee9b27330483f41b4be2_Intro-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee9b27330483f41b4be2_Intro-transcode.webm"},{title:"Single action target",content:'

    \n You can set the target of an action to be any form element (input,\n select, checkbox, radio...).
    \n

    \n

    To do so, use its ID:

    \n

    \n E.g. make input which ID is surname\n to be required.
    \n

    \n

    \n You can show, hide, enable, disable, require or unrequire it.
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43eea0273304c2341b4be3_Single Action Target-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43eea0273304c2341b4be3_Single Action Target-transcode.webm"},{title:"Group action target",content:'

    \n You can also group multiple elements inside a\n Div Block.
    \n

    \n

    \n If you set that Div Block as the target of an action, all\n the inputs inside it will be affected.
    \n

    \n

    To do so, use that block ID:

    \n

    \n E.g. disable all inputs that are inside the\n Div Block which ID is\n contact-info.
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee94877e0a3bf5d60731_Group Action Target-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee94877e0a3bf5d60731_Group Action Target-transcode.webm"},{title:"Action Interactions",content:'

    \n You can trigger Webflow Interactions when any action is\n performed.
    \n

    \n

    \n To do so, you must first set your target as a Group Action\n Target:
    \n

    \n

    \n "Put your target inside a Div Block and use its ID as\n the target."\n

    \n

    \n Then add inside the group a hidden Div Block with the\n custom attribute:
    \n

    \n
      \n
    • Name: data-logic
    • \n
    • \n Value: show, hide, enable, disable, require\n or unrequire.\n
    • \n
    \n

    \n And bind it to a\n Mouse click (tap)\n interaction.
    When an action is performed, the script will\n click the correspondent trigger.
    \n

    \n

    \n E.g. when you show the input\n phone, the script will click the\n Div Block that has the attribute\n data-logic=show.\n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee8bf4340039b7f3c9f0_Action Interactions-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee8bf4340039b7f3c9f0_Action Interactions-transcode.webm"},{title:"Important!",content:'

    \n When you choose to show or hide a target, by\n default the script will set it to\n display: block or\n display: none.
    \n

    \n

    \n If you bind a Webflow Interaction to the hide or\n show actions, you should set that display property.
    \n

    \n

    \n E.g. when the target is showed, trigger a Webflow\n Interaction that sets\n display: flex and\n opacity: 100%.
    \n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee986da478c1e7b0e034_Important-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee986da478c1e7b0e034_Important-transcode.webm"},{title:"Custom interactions",content:'

    \n You can also trigger a random interaction that isn't binded\n to any specific action.
    \n

    \n

    \n To do so, select Interaction as the\n trigger.
    \n

    \n

    \n The script will click that trigger when the conditions are\n met.
    \n

    \n

    \n E.g. click the element with the ID\n show-modal when the conditions\n are met.\n

    ',video1:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee90128e383bb89ab0db_Custom Interactions-transcode.mp4",video2:"https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee90128e383bb89ab0db_Custom Interactions-transcode.webm"}],submitHiddenInputs:[{title:"Submit hidden inputs",content:'

    \n You can choose if the inputs that are affected by the action\n hide should be submitted or not.
    \n

    \n

    \n Warning: not submitting the hidden inputs can\n affect 3rd party integrations like Zapier, as the form could\n receive different fields depending on user actions.\n

    ',video1:"",video2:""}],checkConditionsOnLoad:[{title:"Check conditions on load",content:'

    \n If you select this option, the script will check if any of the\n conditions is already met when the page loads and triggers the\n correspondent actions.
    \n

    \n

    \n Note: it is recommended to leave this option\n checked, as not doing so could lead to unexpected behaviours.\n

    ',video1:"",video2:""}]};function gs(e){let t,n;return t=new yt({props:{$$slots:{default:[ys]},$$scope:{ctx:e}}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,n){const o={};1024&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function vs(e){let t,n;return t=new yt({props:{$$slots:{default:[$s]},$$scope:{ctx:e}}}),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,n){const o={};1026&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function ys(t){let n,o,r,i,a;return o=new dt({props:{title:"Conditional Logic",subtitle:"Here you can build all the conditions and actions that you\r\n want to add to the form.",primaryText:"Quick intro",secondaryText:"Watch tutorials"}}),o.$on("primaryclick",t[8]),i=new Za({}),i.$on("newLogic",t[4]),{c(){n=_("section"),Oe(o.$$.fragment),r=E(),Oe(i.$$.fragment),O(n,"class","section")},m(e,t){k(e,n,t),Ae(o,n,null),w(n,r),Ae(i,n,null),a=!0},p:e,i(e){a||(ye(o.$$.fragment,e),ye(i.$$.fragment,e),a=!0)},o(e){$e(o.$$.fragment,e),$e(i.$$.fragment,e),a=!1},d(e){e&&x(n),Me(o),Me(i)}}}function $s(e){let t,n,o;return n=new ms({props:{editID:e[1]}}),n.$on("cancel",e[5]),{c(){t=_("section"),Oe(n.$$.fragment),O(t,"class","section min-h-screen")},m(e,r){k(e,t,r),Ae(n,t,null),o=!0},p(e,t){const o={};2&t&&(o.editID=e[1]),n.$set(o)},i(e){o||(ye(n.$$.fragment,e),o=!0)},o(e){$e(n.$$.fragment,e),o=!1},d(e){e&&x(t),Me(n)}}}function ws(e){let t,n;return t=new Uo({props:{slides:e[3]}}),t.$on("closemodal",e[7]),{c(){Oe(t.$$.fragment)},m(e,o){Ae(t,e,o),n=!0},p(e,n){const o={};8&n&&(o.slides=e[3]),t.$set(o)},i(e){n||(ye(t.$$.fragment,e),n=!0)},o(e){$e(t.$$.fragment,e),n=!1},d(e){Me(t,e)}}}function ks(e){let t,n,o,r,i;const a=[vs,gs],s=[];function l(e,t){return e[0]?0:1}t=l(e),n=s[t]=a[t](e);let c=e[2]&&ws(e);return{c(){n.c(),o=E(),c&&c.c(),r=T()},m(e,n){s[t].m(e,n),k(e,o,n),c&&c.m(e,n),k(e,r,n),i=!0},p(e,[i]){let u=t;t=l(e),t===u?s[t].p(e,i):(ge(),$e(s[u],1,1,()=>{s[u]=null}),ve(),n=s[t],n||(n=s[t]=a[t](e),n.c()),ye(n,1),n.m(o.parentNode,o)),e[2]?c?(c.p(e,i),4&i&&ye(c,1)):(c=ws(e),c.c(),ye(c,1),c.m(r.parentNode,r)):c&&(ge(),$e(c,1,1,()=>{c=null}),ve())},i(e){i||(ye(n),ye(c),i=!0)},o(e){$e(n),$e(c),i=!1},d(e){s[t].d(e),e&&x(o),c&&c.d(e),e&&x(r)}}}function xs(e,t,n){let o=!1,r=null,i=!1,a=[];function s(e){n(3,a=bs[e]),n(2,i=!0)}var l,c;l="logic",c={editLogic:function(e){n(0,o=!0),n(1,r=e)},openModal:s},G().$$.context.set(l,c);return[o,r,i,a,function(){n(0,o=!0)},function(){n(0,o=!1),n(1,r=null)},s,function(){n(2,i=!1)},()=>s("intro")]}class Cs extends Fe{constructor(e){super(),Ie(this,e,xs,ks,s,{})}}var _s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ss(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var js=Ss((function(e,t){ /*! * clipboard.js v2.0.6 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */ -var n;n=function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},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=6)}([function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(e),o.removeAllRanges(),o.addRange(r),t=o.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=r()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=r()(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}(),l=n(1),c=n.n(l),u=n(2),d=n.n(u),f="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},p=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===f(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=d()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new s({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return m("action",e)}},{key:"defaultTarget",value:function(e){var t=m("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return m("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(c.a);function m(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}t.default=h}]).default},e.exports=n()}));const Es=Ss((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=e=>Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))})).default;var Ts=(e,t,n)=>{const o=[];return function e(t,n,r){let i;(n=n||{}).indent=n.indent||"\t",r=r||"",i=void 0===n.inlineCharacterLimit?{newLine:"\n",newLineOrSpace:"\n",pad:r,indent:r+n.indent}:{newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const a=e=>{if(void 0===n.inlineCharacterLimit)return e;const t=e.replace(new RegExp(i.newLine,"g"),"").replace(new RegExp(i.newLineOrSpace,"g")," ").replace(new RegExp(i.pad+"|"+i.indent,"g"),"");return t.length<=n.inlineCharacterLimit?t:e.replace(new RegExp(i.newLine+"|"+i.newLineOrSpace,"g"),"\n").replace(new RegExp(i.pad,"g"),r).replace(new RegExp(i.indent,"g"),r+n.indent)};if(-1!==o.indexOf(t))return'"[Circular]"';if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||(s=t,"[object RegExp]"===Object.prototype.toString.call(s)))return String(t);var s,l,c;if(t instanceof Date)return`new Date('${t.toISOString()}')`;if(Array.isArray(t)){if(0===t.length)return"[]";o.push(t);const s="["+i.newLine+t.map((o,a)=>{const s=t.length-1===a?i.newLine:","+i.newLineOrSpace;let l=e(o,n,r+n.indent);return n.transform&&(l=n.transform(t,a,l)),i.indent+l+s}).join("")+i.pad+"]";return o.pop(),a(s)}if(c=typeof(l=t),null!==l&&("object"===c||"function"===c)){let s=Object.keys(t).concat(Es(t));if(n.filter&&(s=s.filter(e=>n.filter(t,e))),0===s.length)return"{}";o.push(t);const l="{"+i.newLine+s.map((o,a)=>{const l=s.length-1===a?i.newLine:","+i.newLineOrSpace,c="symbol"==typeof o,u=!c&&/^[a-z$_][a-z$_0-9]*$/i.test(o),d=c||u?o:e(o,n);let f=e(t[o],n,r+n.indent);return n.transform&&(f=n.transform(t,o,f)),i.indent+String(d)+": "+f+l}).join("")+i.pad+"}";return o.pop(),a(l)}return t=String(t).replace(/[\r\n]/g,e=>"\n"===e?"\\n":"\\r"),!1===n.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/\\?'/g,"\\'")}'`}(e,t,n)};const Ls=Ve([ka,_t],([e,t])=>`\x3c!-- Advanced Forms Code --\x3e\n`;\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, false, false, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor(anchor = null) {\n this.a = anchor;\n this.e = this.n = null;\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n this.e = element(target.nodeName);\n this.t = target;\n this.h(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\n\nconst active_docs = new Set();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = node.ownerDocument;\n active_docs.add(doc);\n const stylesheet = doc.__svelte_stylesheet || (doc.__svelte_stylesheet = doc.head.appendChild(element('style')).sheet);\n const current_rules = doc.__svelte_rules || (doc.__svelte_rules = {});\n if (!current_rules[name]) {\n current_rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ``}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n active_docs.forEach(doc => {\n const stylesheet = doc.__svelte_stylesheet;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n doc.__svelte_rules = {};\n });\n active_docs.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error(`Function called outside component initialization`);\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail);\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n }\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n callbacks.slice().forEach(fn => fn(event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\nlet flushing = false;\nconst seen_callbacks = new Set();\nfunction flush() {\n if (flushing)\n return;\n flushing = true;\n do {\n // first, call beforeUpdate functions\n // and update components\n for (let i = 0; i < dirty_components.length; i += 1) {\n const component = dirty_components[i];\n set_current_component(component);\n update(component.$$);\n }\n dirty_components.length = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n flushing = false;\n seen_callbacks.clear();\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = program.b - t;\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n info.blocks[i] = null;\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error(`Cannot have duplicate keys in a keyed each`);\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, classes_to_add) {\n const attributes = Object.assign({}, ...args);\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += \" \" + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += \" \" + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${String(value).replace(/\"/g, '"').replace(/'/g, ''')}\"`;\n }\n });\n return str;\n}\nconst escaped = {\n '\"': '"',\n \"'\": ''',\n '&': '&',\n '<': '<',\n '>': '>'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(parent_component ? parent_component.$$.context : []),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, options = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, options);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n return ` ${name}${value === true ? '' : `=${typeof value === 'string' ? JSON.stringify(escape(value)) : `\"${value}\"`}`}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : ``;\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const prop_values = options.props || {};\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n before_update: [],\n after_update: [],\n context: new Map(parent_component ? parent_component.$$.context : []),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false\n };\n let ready = false;\n $$.ctx = instance\n ? instance(component, prop_values, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor);\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.24.1' }, detail)));\n}\nfunction append_dev(target, node) {\n dispatch_dev(\"SvelteDOMInsert\", { target, node });\n append(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev(\"SvelteDOMInsert\", { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev(\"SvelteDOMRemove\", { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? [\"capture\"] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev(\"SvelteDOMAddEventListener\", { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev(\"SvelteDOMRemoveEventListener\", { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev(\"SvelteDOMRemoveAttribute\", { node, attribute });\n else\n dispatch_dev(\"SvelteDOMSetAttribute\", { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev(\"SvelteDOMSetProperty\", { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev(\"SvelteDOMSetDataset\", { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev(\"SvelteDOMSetData\", { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(`'target' is a required option`);\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn(`Component was already destroyed`); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error(`Infinite loop detected`);\n }\n };\n}\n\nexport { HtmlTag, SvelteComponent, SvelteComponentDev, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_transform, afterUpdate, append, append_dev, assign, attr, attr_dev, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_space, claim_text, clear_loops, component_subscribe, compute_rest_props, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, escape, escaped, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getContext, get_binding_group_value, get_current_component, get_slot_changes, get_slot_context, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, has_prop, identity, init, insert, insert_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, listen, listen_dev, loop, loop_guard, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, update_keyed_each, update_slot, validate_component, validate_each_argument, validate_each_keys, validate_slots, validate_store, xlink_attr };\n","import { noop, safe_not_equal, subscribe, run_all, is_function } from '../internal';\nexport { get_store_value as get } from '../internal';\n\nconst subscriber_queue = [];\n/**\n * Creates a `Readable` store that allows reading by subscription.\n * @param value initial value\n * @param {StartStopNotifier}start start and stop notifications for subscriptions\n */\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe,\n };\n}\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n * @param {*=}value initial value\n * @param {StartStopNotifier=}start start and stop notifications for subscriptions\n */\nfunction writable(value, start = noop) {\n let stop;\n const subscribers = [];\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) { // store is ready\n const run_queue = !subscriber_queue.length;\n for (let i = 0; i < subscribers.length; i += 1) {\n const s = subscribers[i];\n s[1]();\n subscriber_queue.push(s, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(value));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.push(subscriber);\n if (subscribers.length === 1) {\n stop = start(set) || noop;\n }\n run(value);\n return () => {\n const index = subscribers.indexOf(subscriber);\n if (index !== -1) {\n subscribers.splice(index, 1);\n }\n if (subscribers.length === 0) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction derived(stores, fn, initial_value) {\n const single = !Array.isArray(stores);\n const stores_array = single\n ? [stores]\n : stores;\n const auto = fn.length < 2;\n return readable(initial_value, (set) => {\n let inited = false;\n const values = [];\n let pending = 0;\n let cleanup = noop;\n const sync = () => {\n if (pending) {\n return;\n }\n cleanup();\n const result = fn(single ? values[0] : values, set);\n if (auto) {\n set(result);\n }\n else {\n cleanup = is_function(result) ? result : noop;\n }\n };\n const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {\n values[i] = value;\n pending &= ~(1 << i);\n if (inited) {\n sync();\n }\n }, () => {\n pending |= (1 << i);\n }));\n inited = true;\n sync();\n return function stop() {\n run_all(unsubscribers);\n cleanup();\n };\n });\n}\n\nexport { derived, readable, writable };\n","export var Pages;\r\n(function (Pages) {\r\n Pages[Pages[\"HOME\"] = 0] = \"HOME\";\r\n Pages[Pages[\"MSF\"] = 1] = \"MSF\";\r\n Pages[Pages[\"LOGIC\"] = 2] = \"LOGIC\";\r\n Pages[Pages[\"CODE\"] = 3] = \"CODE\";\r\n})(Pages || (Pages = {}));\r\n","import { writable } from 'svelte/store';\r\nimport { Pages } from '../types';\r\nexport const currentPage = writable(Pages.HOME);\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n","\r\n\r\n\r\n\r\n ($currentPage = link)}>\r\n
    \r\n \r\n
    \r\n
    {text}
    \r\n\r\n","\r\n \r\n","\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n

    A project by Alex Iglesias.

    \r\n
    \r\n","\r\n\r\n
    \r\n\r\n \r\n

    {title}

    \r\n\r\n \r\n

    \r\n {@html subtitle}\r\n

    \r\n\r\n \r\n
    \r\n {#if primaryText}\r\n {\r\n dispatch('primaryclick');\r\n }}>\r\n {primaryText}\r\n \r\n {/if}\r\n {#if secondaryText}\r\n {\r\n dispatch('secondaryclick');\r\n }}>\r\n {secondaryText}\r\n \r\n {/if}\r\n
    \r\n
    \r\n","export { identity as linear } from '../internal';\n\n/*\nAdapted from https://github.com/mattdesl\nDistributed under MIT License https://github.com/mattdesl/eases/blob/master/LICENSE.md\n*/\nfunction backInOut(t) {\n const s = 1.70158 * 1.525;\n if ((t *= 2) < 1)\n return 0.5 * (t * t * ((s + 1) * t - s));\n return 0.5 * ((t -= 2) * t * ((s + 1) * t + s) + 2);\n}\nfunction backIn(t) {\n const s = 1.70158;\n return t * t * ((s + 1) * t - s);\n}\nfunction backOut(t) {\n const s = 1.70158;\n return --t * t * ((s + 1) * t + s) + 1;\n}\nfunction bounceOut(t) {\n const a = 4.0 / 11.0;\n const b = 8.0 / 11.0;\n const c = 9.0 / 10.0;\n const ca = 4356.0 / 361.0;\n const cb = 35442.0 / 1805.0;\n const cc = 16061.0 / 1805.0;\n const t2 = t * t;\n return t < a\n ? 7.5625 * t2\n : t < b\n ? 9.075 * t2 - 9.9 * t + 3.4\n : t < c\n ? ca * t2 - cb * t + cc\n : 10.8 * t * t - 20.52 * t + 10.72;\n}\nfunction bounceInOut(t) {\n return t < 0.5\n ? 0.5 * (1.0 - bounceOut(1.0 - t * 2.0))\n : 0.5 * bounceOut(t * 2.0 - 1.0) + 0.5;\n}\nfunction bounceIn(t) {\n return 1.0 - bounceOut(1.0 - t);\n}\nfunction circInOut(t) {\n if ((t *= 2) < 1)\n return -0.5 * (Math.sqrt(1 - t * t) - 1);\n return 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);\n}\nfunction circIn(t) {\n return 1.0 - Math.sqrt(1.0 - t * t);\n}\nfunction circOut(t) {\n return Math.sqrt(1 - --t * t);\n}\nfunction cubicInOut(t) {\n return t < 0.5 ? 4.0 * t * t * t : 0.5 * Math.pow(2.0 * t - 2.0, 3.0) + 1.0;\n}\nfunction cubicIn(t) {\n return t * t * t;\n}\nfunction cubicOut(t) {\n const f = t - 1.0;\n return f * f * f + 1.0;\n}\nfunction elasticInOut(t) {\n return t < 0.5\n ? 0.5 *\n Math.sin(((+13.0 * Math.PI) / 2) * 2.0 * t) *\n Math.pow(2.0, 10.0 * (2.0 * t - 1.0))\n : 0.5 *\n Math.sin(((-13.0 * Math.PI) / 2) * (2.0 * t - 1.0 + 1.0)) *\n Math.pow(2.0, -10.0 * (2.0 * t - 1.0)) +\n 1.0;\n}\nfunction elasticIn(t) {\n return Math.sin((13.0 * t * Math.PI) / 2) * Math.pow(2.0, 10.0 * (t - 1.0));\n}\nfunction elasticOut(t) {\n return (Math.sin((-13.0 * (t + 1.0) * Math.PI) / 2) * Math.pow(2.0, -10.0 * t) + 1.0);\n}\nfunction expoInOut(t) {\n return t === 0.0 || t === 1.0\n ? t\n : t < 0.5\n ? +0.5 * Math.pow(2.0, 20.0 * t - 10.0)\n : -0.5 * Math.pow(2.0, 10.0 - t * 20.0) + 1.0;\n}\nfunction expoIn(t) {\n return t === 0.0 ? t : Math.pow(2.0, 10.0 * (t - 1.0));\n}\nfunction expoOut(t) {\n return t === 1.0 ? t : 1.0 - Math.pow(2.0, -10.0 * t);\n}\nfunction quadInOut(t) {\n t /= 0.5;\n if (t < 1)\n return 0.5 * t * t;\n t--;\n return -0.5 * (t * (t - 2) - 1);\n}\nfunction quadIn(t) {\n return t * t;\n}\nfunction quadOut(t) {\n return -t * (t - 2.0);\n}\nfunction quartInOut(t) {\n return t < 0.5\n ? +8.0 * Math.pow(t, 4.0)\n : -8.0 * Math.pow(t - 1.0, 4.0) + 1.0;\n}\nfunction quartIn(t) {\n return Math.pow(t, 4.0);\n}\nfunction quartOut(t) {\n return Math.pow(t - 1.0, 3.0) * (1.0 - t) + 1.0;\n}\nfunction quintInOut(t) {\n if ((t *= 2) < 1)\n return 0.5 * t * t * t * t * t;\n return 0.5 * ((t -= 2) * t * t * t * t + 2);\n}\nfunction quintIn(t) {\n return t * t * t * t * t;\n}\nfunction quintOut(t) {\n return --t * t * t * t * t + 1;\n}\nfunction sineInOut(t) {\n return -0.5 * (Math.cos(Math.PI * t) - 1);\n}\nfunction sineIn(t) {\n const v = Math.cos(t * Math.PI * 0.5);\n if (Math.abs(v) < 1e-14)\n return 1;\n else\n return 1 - v;\n}\nfunction sineOut(t) {\n return Math.sin((t * Math.PI) / 2);\n}\n\nexport { backIn, backInOut, backOut, bounceIn, bounceInOut, bounceOut, circIn, circInOut, circOut, cubicIn, cubicInOut, cubicOut, elasticIn, elasticInOut, elasticOut, expoIn, expoInOut, expoOut, quadIn, quadInOut, quadOut, quartIn, quartInOut, quartOut, quintIn, quintInOut, quintOut, sineIn, sineInOut, sineOut };\n","import { cubicInOut, linear, cubicOut } from '../easing';\nimport { is_function, assign } from '../internal';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\n\nfunction blur(node, { delay = 0, duration = 400, easing = cubicInOut, amount = 5, opacity = 0 }) {\n const style = getComputedStyle(node);\n const target_opacity = +style.opacity;\n const f = style.filter === 'none' ? '' : style.filter;\n const od = target_opacity * (1 - opacity);\n return {\n delay,\n duration,\n easing,\n css: (_t, u) => `opacity: ${target_opacity - (od * u)}; filter: ${f} blur(${u * amount}px);`\n };\n}\nfunction fade(node, { delay = 0, duration = 400, easing = linear }) {\n const o = +getComputedStyle(node).opacity;\n return {\n delay,\n duration,\n easing,\n css: t => `opacity: ${t * o}`\n };\n}\nfunction fly(node, { delay = 0, duration = 400, easing = cubicOut, x = 0, y = 0, opacity = 0 }) {\n const style = getComputedStyle(node);\n const target_opacity = +style.opacity;\n const transform = style.transform === 'none' ? '' : style.transform;\n const od = target_opacity * (1 - opacity);\n return {\n delay,\n duration,\n easing,\n css: (t, u) => `\n\t\t\ttransform: ${transform} translate(${(1 - t) * x}px, ${(1 - t) * y}px);\n\t\t\topacity: ${target_opacity - (od * u)}`\n };\n}\nfunction slide(node, { delay = 0, duration = 400, easing = cubicOut }) {\n const style = getComputedStyle(node);\n const opacity = +style.opacity;\n const height = parseFloat(style.height);\n const padding_top = parseFloat(style.paddingTop);\n const padding_bottom = parseFloat(style.paddingBottom);\n const margin_top = parseFloat(style.marginTop);\n const margin_bottom = parseFloat(style.marginBottom);\n const border_top_width = parseFloat(style.borderTopWidth);\n const border_bottom_width = parseFloat(style.borderBottomWidth);\n return {\n delay,\n duration,\n easing,\n css: t => `overflow: hidden;` +\n `opacity: ${Math.min(t * 20, 1) * opacity};` +\n `height: ${t * height}px;` +\n `padding-top: ${t * padding_top}px;` +\n `padding-bottom: ${t * padding_bottom}px;` +\n `margin-top: ${t * margin_top}px;` +\n `margin-bottom: ${t * margin_bottom}px;` +\n `border-top-width: ${t * border_top_width}px;` +\n `border-bottom-width: ${t * border_bottom_width}px;`\n };\n}\nfunction scale(node, { delay = 0, duration = 400, easing = cubicOut, start = 0, opacity = 0 }) {\n const style = getComputedStyle(node);\n const target_opacity = +style.opacity;\n const transform = style.transform === 'none' ? '' : style.transform;\n const sd = 1 - start;\n const od = target_opacity * (1 - opacity);\n return {\n delay,\n duration,\n easing,\n css: (_t, u) => `\n\t\t\ttransform: ${transform} scale(${1 - (sd * u)});\n\t\t\topacity: ${target_opacity - (od * u)}\n\t\t`\n };\n}\nfunction draw(node, { delay = 0, speed, duration, easing = cubicInOut }) {\n const len = node.getTotalLength();\n if (duration === undefined) {\n if (speed === undefined) {\n duration = 800;\n }\n else {\n duration = len / speed;\n }\n }\n else if (typeof duration === 'function') {\n duration = duration(len);\n }\n return {\n delay,\n duration,\n easing,\n css: (t, u) => `stroke-dasharray: ${t * len} ${u * len}`\n };\n}\nfunction crossfade(_a) {\n var { fallback } = _a, defaults = __rest(_a, [\"fallback\"]);\n const to_receive = new Map();\n const to_send = new Map();\n function crossfade(from, node, params) {\n const { delay = 0, duration = d => Math.sqrt(d) * 30, easing = cubicOut } = assign(assign({}, defaults), params);\n const to = node.getBoundingClientRect();\n const dx = from.left - to.left;\n const dy = from.top - to.top;\n const dw = from.width / to.width;\n const dh = from.height / to.height;\n const d = Math.sqrt(dx * dx + dy * dy);\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n const opacity = +style.opacity;\n return {\n delay,\n duration: is_function(duration) ? duration(d) : duration,\n easing,\n css: (t, u) => `\n\t\t\t\topacity: ${t * opacity};\n\t\t\t\ttransform-origin: top left;\n\t\t\t\ttransform: ${transform} translate(${u * dx}px,${u * dy}px) scale(${t + (1 - t) * dw}, ${t + (1 - t) * dh});\n\t\t\t`\n };\n }\n function transition(items, counterparts, intro) {\n return (node, params) => {\n items.set(params.key, {\n rect: node.getBoundingClientRect()\n });\n return () => {\n if (counterparts.has(params.key)) {\n const { rect } = counterparts.get(params.key);\n counterparts.delete(params.key);\n return crossfade(rect, node, params);\n }\n // if the node is disappearing altogether\n // (i.e. wasn't claimed by the other list)\n // then we need to supply an outro\n items.delete(params.key);\n return fallback && fallback(node, params, intro);\n };\n };\n }\n return [\n transition(to_send, to_receive, false),\n transition(to_receive, to_send, true)\n ];\n}\n\nexport { blur, crossfade, draw, fade, fly, scale, slide };\n","\r\n\r\n
    \r\n \r\n
    \r\n","\r\n\r\n\r\n
    \r\n beta version of the Advanced\r\n Forms Builder. Now you can add multi step functionality and conditional\r\n logic to your Webflow Forms!
    Found a bug? Got a request? Let me know\r\n alex@brota.me.`}\r\n primaryText=\"Get Started!\"\r\n secondaryText=\"See Demos\"\r\n on:primaryclick={startBuilder} />\r\n
    \r\n
    \r\n","import { cubicOut } from '../easing';\nimport { is_function } from '../internal';\n\nfunction flip(node, animation, params) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n const scaleX = animation.from.width / node.clientWidth;\n const scaleY = animation.from.height / node.clientHeight;\n const dx = (animation.from.left - animation.to.left) / scaleX;\n const dy = (animation.from.top - animation.to.top) / scaleY;\n const d = Math.sqrt(dx * dx + dy * dy);\n const { delay = 0, duration = (d) => Math.sqrt(d) * 120, easing = cubicOut } = params;\n return {\n delay,\n duration: is_function(duration) ? duration(d) : duration,\n easing,\n css: (_t, u) => `transform: ${transform} translate(${u * dx}px, ${u * dy}px);`\n };\n}\n\nexport { flip };\n","import { writable } from 'svelte/store';\r\n// Variables\r\nconst required = [\r\n { key: 'webflowSetup', title: 'Webflow setup' },\r\n { key: 'elements', title: 'Elements' },\r\n];\r\nconst optional = [\r\n { key: 'alertSelector', title: 'Alert Element', selected: false },\r\n { key: 'alertText', title: 'Alert Text', selected: false },\r\n { key: 'backText', title: 'Back Button Text', selected: false },\r\n { key: 'backSelector', title: 'Back Button', selected: false },\r\n {\r\n key: 'completedPercentageSelector',\r\n title: 'Display Completed %',\r\n selected: false,\r\n },\r\n {\r\n key: 'currentStepSelector',\r\n title: 'Display Current Step',\r\n selected: false,\r\n },\r\n { key: 'customNav', title: 'Custom Nav Links', selected: false },\r\n { key: 'displayValues', title: 'Display Filled Values', selected: false },\r\n { key: 'hiddenForm', title: 'Extra Hidden Form', selected: false },\r\n { key: 'msfGlobal', title: 'Global Options', selected: false },\r\n { key: 'nextText', title: 'Next Button Text', selected: false },\r\n { key: 'warningClass', title: 'Warning Class', selected: false },\r\n];\r\nconst params = {\r\n hiddeButtonsOnSubmit: true,\r\n scrollTopOnStepChange: false,\r\n};\r\nconst msfStore = writable(params);\r\nexport default msfStore;\r\nexport const msfActivated = writable(false);\r\nexport const msfRequired = writable(required);\r\nconst optionalStore = writable(optional);\r\nexport const msfOptional = {\r\n subscribe: optionalStore.subscribe,\r\n modify: (key, selected) => {\r\n optionalStore.update((items) => items.map((item) => {\r\n if (item.key === key)\r\n item.selected = selected;\r\n return item;\r\n }));\r\n },\r\n checkSelected: (key) => {\r\n let selected = false;\r\n const unsubscribe = optionalStore.subscribe((items) => {\r\n selected = items.find((item) => item.key === key).selected;\r\n });\r\n unsubscribe();\r\n return selected;\r\n },\r\n};\r\n// Checks if the starter form has been copied\r\nexport const msfCopy = writable(false);\r\n","const msfSlides = {\r\n intro: [\r\n {\r\n title: 'Multi step Feature',\r\n content: `

    Add multi step functionality to your Webflow Forms in a couple of clicks:

    \r\n
      \r\n
    • Input validation
    • \r\n
    • Warnings
    • \r\n
    • Custom Interactions
    • \r\n
    • And much more!
    • \r\n
    \r\n

    Simply select all the features that you want to add and the builder will generate the code for you :)

    \r\n

    Some functionalities may require a certain setup in Webflow, always check the info before setting them!

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4654862720cad5da7d_MSF-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4654862720cad5da7d_MSF-transcode.webm',\r\n },\r\n ],\r\n webflowSetup: [\r\n {\r\n title: 'Webflow setup',\r\n content: `

    \r\n The slides will act as different steps of your form. You can put\r\n as many slides as you want inside the slider.
    \r\n

    \r\n

    \r\n Each step will check the\r\n required and visible inputs\r\n inside it before jumping to the next one.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee565486279ea8d5da9a_Webflow Setup-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee565486279ea8d5da9a_Webflow Setup-transcode.webm',\r\n },\r\n ],\r\n elements: [\r\n {\r\n title: 'Required elements',\r\n content: `

    \r\n Make sure that you set the ID of the Form,\r\n not the Form Block.
    \r\n

    \r\n

    \r\n The next button doesn't need to be placed inside the form,\r\n it can be located anywhere in the page.
    \r\n

    \r\n

    \r\n Once the last step is reached, the next button's text will\r\n change to the submit button's text.
    \r\n

    \r\n

    \r\n Note: remember to place a submit button set to\r\n display:none anywhere inside the\r\n form.\r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee3490d139ddcd925872_Elements-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee3490d139ddcd925872_Elements-transcode.webm',\r\n },\r\n ],\r\n alertSelector: [\r\n {\r\n title: 'Alert element',\r\n content: `

    \r\n You can show an element as an alert when there are missing\r\n fields that must be filled.
    \r\n

    \r\n

    \r\n Eg: show a box that alerts the user to fill the\r\n missing inputs.\r\n

    \r\n

    This element can be placed anywhere in the page.

    \r\n

    \r\n By default, it will be set to\r\n display:block when shown, and\r\n display:none when hidden.
    \r\n

    \r\n

    \r\n If you want to show it using a Webflow Interaction, place a\r\n hidden Div Block inside it with the custom\r\n attribute:
    \r\n

    \r\n
      \r\n
    • Name: data-msf
    • \r\n
    • Value: alert
    • \r\n
    \r\n

    \r\n And bind it to a\r\n Mouse click (tap)\r\n interaction.
    The script will trigger the\r\n 1st click to show it and the\r\n 2nd click to hide it.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43a0a2b1f46811a0ec526e_Alert%20Element-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43a0a2b1f46811a0ec526e_Alert%20Element-transcode.webm',\r\n },\r\n ],\r\n backSelector: [\r\n {\r\n title: 'Back button',\r\n content: `

    \r\n Use this button to let the user go back to the previous step.
    \r\n

    \r\n

    \r\n It is recommended that you hide it in the first slide (step) to\r\n avoid confusing the users.
    \r\n

    \r\n

    \r\n To do so, use a Slider Change interaction to hide it when the\r\n first slide enters and show it when the first slide leaves.
    \r\n

    \r\n

    This element can be placed anywhere in the page.

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1122e26a9a3213fcfd_Back Button-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1122e26a9a3213fcfd_Back Button-transcode.webm',\r\n },\r\n ],\r\n alertText: [\r\n {\r\n title: 'Alert text',\r\n content: `

    \r\n You can show a global alert when there are missing fields that\r\n must be filled.
    \r\n

    \r\n

    Check how it will look:

    \r\n \r\n Display alert\r\n `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee0cdb6e8b2c895a3705_Alert Text-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee0cdb6e8b2c895a3705_Alert Text-transcode.webm',\r\n },\r\n ],\r\n backText: [\r\n {\r\n title: 'Back button text',\r\n content: `

    \r\n Additionally, you can set a different text of the back button in\r\n any step.
    \r\n

    \r\n

    \r\n If you don't set the text for a particular step\r\n (for example you set the text for the 2nd and 4th step, but\r\n not the 3rd)\r\n it will fall back to the lower closest one\r\n (the 2nd one in this case).
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee16ba9928d0613cfdf4_Back Text-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee16ba9928d0613cfdf4_Back Text-transcode.webm',\r\n },\r\n ],\r\n nextText: [\r\n {\r\n title: 'Next button text',\r\n content: `

    \r\n Additionally, you can set a different text of the next button in\r\n any step.
    \r\n

    \r\n

    \r\n If you don't set the text for a particular step\r\n (for example you set the text for the 2nd and 4th step, but\r\n not the 3rd)\r\n it will fall back to the lower closest one\r\n (the 2nd one in this case).
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4c877e0acbbcd606ff_Next Text-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4c877e0acbbcd606ff_Next Text-transcode.webm',\r\n },\r\n ],\r\n completedPercentageSelector: [\r\n {\r\n title: 'Display completed %',\r\n content: `

    \r\n You can set any text element (paragraph, text block, heading,\r\n list item...) to display the completed % of the steps:
    \r\n

    \r\n

    \r\n It will show the percentage starting from 0% in the first step\r\n to 100% in the last step.
    \r\n

    \r\n

    This element can be placed anywhere in the page.

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1bdb6e8bc01c5a3710_Completed Percentage-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1bdb6e8bc01c5a3710_Completed Percentage-transcode.webm',\r\n },\r\n ],\r\n currentStepSelector: [\r\n {\r\n title: 'Display current step',\r\n content: `

    \r\n You can set any text element (paragraph, text block, heading,\r\n list item...) to display the number of the current step.
    \r\n

    \r\n

    \r\n If you want to show the number of total steps, you should to it\r\n manually as it is a fixed value.
    \r\n

    \r\n

    This element can be placed anywhere in the page.

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee267778392e5f0fd1e3_Current Step-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee267778392e5f0fd1e3_Current Step-transcode.webm',\r\n },\r\n ],\r\n customNav: [\r\n {\r\n title: 'Custom nav links',\r\n content: `

    \r\n You can let the user jump to a specific step adding this custom\r\n nav links.
    \r\n

    \r\n

    \r\n To do so, give this custom attribute to the element that should\r\n trigger it when clicked:
    \r\n

    \r\n
      \r\n
    • Name: data-msf-nav
    • \r\n
    • \r\n Value: The number of the step (Eg:\r\n 2)\r\n
    • \r\n
    \r\n

    This elements can be placed anywhere in the page.

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2ab937946f7bdb3864_Custom Nav-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2ab937946f7bdb3864_Custom Nav-transcode.webm',\r\n },\r\n ],\r\n displayValues: [\r\n {\r\n title: 'Display filled values',\r\n content: `

    \r\n You can set the value of an input to be displayed on any text\r\n element (paragraph, text block, heading, list item...).
    \r\n

    \r\n

    \r\n To do so, give this custom attribute to the text element that\r\n should show it:
    \r\n

    \r\n
      \r\n
    • Name: data-msf-value
    • \r\n
    • \r\n Value: The ID of the input (Eg:\r\n email)\r\n
    • \r\n
    \r\n

    This elements can be placed anywhere in the page.

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2f3f5ea2bb18716185_Display Values-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2f3f5ea2bb18716185_Display Values-transcode.webm',\r\n },\r\n ],\r\n msfGlobal: [\r\n {\r\n title: 'Global options',\r\n content: `

    \r\n The navigation buttons (next, back, and custom navs) are\r\n disabled once the form is submitted.
    \r\n

    \r\n

    \r\n You can additionally hide the back and next button by checking\r\n the option. They will be set to\r\n display:none.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee39b937947cdfdb38e9_Global Options-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee39b937947cdfdb38e9_Global Options-transcode.webm',\r\n },\r\n ],\r\n warningClass: [\r\n {\r\n title: 'Warning class',\r\n content: `

    \r\n You can add a CSS class to each missing input when the user\r\n tries to jump to the next step.
    \r\n

    \r\n

    \r\n This is useful to highlight those inputs that should be filled,\r\n like adding a colored border.
    \r\n

    \r\n

    \r\n Once the input is filled, that CSS class will be removed.
    \r\n

    \r\n

    \r\n Radio inputs and checkboxes should be set to\r\n Custom in the Webflow Designer in order to\r\n display it correctly.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee51a9fec7dce69ba40c_Warning Class-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee51a9fec7dce69ba40c_Warning Class-transcode.webm',\r\n },\r\n ],\r\n hiddenForm: [\r\n {\r\n title: 'Extra hidden form',\r\n content: `

    \r\n You can send an additional hidden form when the user completes a\r\n specific step.
    \r\n

    \r\n

    \r\n This feature is useful if you want to make sure that some of the\r\n info is collected even if the user doesn't complete the\r\n whole form.
    \r\n

    \r\n

    \r\n Add this custom attribute to each input that you want to collect\r\n in the hidden form:
    \r\n

    \r\n
      \r\n
    • Name: data-msf
    • \r\n
    • Value: hidden
    • \r\n
    \r\n

    \r\n The script will automatically create the hidden form, populate\r\n and send it when the user completes the desired step.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee416621331f88cbbca5_Hidden Form-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee416621331f88cbbca5_Hidden Form-transcode.webm',\r\n },\r\n ],\r\n};\r\nexport default msfSlides;\r\n","\r\n\r\n
    \r\n \r\n {#if label}\r\n \r\n {/if}\r\n\r\n \r\n \r\n
    \r\n","\r\n\r\n
    \r\n \r\n {#if label}\r\n \r\n \r\n {/if}\r\n \r\n
    \r\n","\r\n\r\n

    \r\n Check the info to learn how to show / hide it using Webflow interactions.\r\n

    \r\n\r\n\r\n","\r\n\r\n\r\n","\r\n\r\n\r\n","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n// find the complete implementation of crypto (msCrypto) on IE11.\nvar getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n\n return getRandomValues(rnds8);\n}","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","\r\n\r\n","\r\n\r\n","\r\n\r\n","\r\n\r\n\r\n\r\n {#if action === 'add'}\r\n \r\n {:else if action === 'delete'}\r\n \r\n {:else}\r\n \r\n {/if}\r\n\r\n","\r\n\r\n{#each params as param, index (param.id)}\r\n \r\n \r\n\r\n \r\n\r\n {\r\n if (index === 0) addButtonText();\r\n else removeButtonText(index);\r\n }} />\r\n \r\n{/each}\r\n","\r\n\r\n

    \r\n Check the info to learn how to add this functionality in Webflow.\r\n

    \r\n","\r\n\r\n\r\n","\r\n\r\n\r\n","\r\n\r\n

    \r\n Check the info to learn how to add this functionality in Webflow.\r\n

    \r\n","\r\n\r\n\r\n\r\n\r\n","\r\n\r\n

    \r\n Check the info to learn how to add this functionality in Webflow.\r\n

    \r\n\r\n\r\n","\r\n\r\n","\r\n\r\n","\r\n\r\n\r\n\r\n","\r\n\r\n\r\n
    \r\n \r\n \r\n

    {title}{#if required}*{/if}

    \r\n\r\n \r\n
    \r\n \r\n \r\n\r\n \r\n {#if !required}\r\n \r\n {/if}\r\n
    \r\n
    \r\n\r\n\r\n\r\n","\r\n\r\n\r\n\r\n\r\n","\r\n\r\n\r\n\r\n\r\n\r\n\r\n","\r\n\r\n\r\n\r\n
    \r\n
    \r\n

    Add optional

    \r\n
      \r\n {#each blocks as { key, title } (key)}\r\n
    • dispatch('addoptional', key)}>\r\n {title}\r\n
    • \r\n {/each}\r\n
    \r\n
    \r\n dispatch('closemodal')}\r\n transition:fade={{ duration: 250 }} />\r\n
    \r\n","\r\n\r\n{#each params as param, index (param.id)}\r\n \r\n \r\n\r\n \r\n\r\n {\r\n if (index === 0) addButtonText();\r\n else removeButtonText(index);\r\n }} />\r\n \r\n{/each}\r\n","\r\n\r\n\r\n","export const scriptSrc = 'https://cdn.jsdelivr.net/gh/brotame/advanced-webflow-forms@1.1.2/dist/awf.js';\r\n//prettier-ignore\r\nexport const starterForm = { \"type\": \"@webflow/XscpData\", \"payload\": { \"nodes\": [{ \"_id\": \"38d2366b-4159-2510-38f3-6787f5878486\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f5878487\", \"38d2366b-4159-2510-38f3-6787f58784df\", \"38d2366b-4159-2510-38f3-6787f58784e2\", \"0e1c4535-f4c0-c01c-f501-ba6c754dd6b0\"], \"type\": \"FormWrapper\", \"data\": { \"form\": { \"type\": \"wrapper\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878487\", \"tag\": \"form\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f5878488\", \"38d2366b-4159-2510-38f3-6787f58784db\"], \"type\": \"FormForm\", \"data\": { \"attr\": { \"id\": \"msf\", \"name\": \"wf-form-Multi-Step-Form\", \"data-name\": \"Multi Step Form\" }, \"form\": { \"type\": \"form\", \"name\": \"Multi Step Form\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878488\", \"tag\": \"div\", \"classes\": [\"9e492cc5-3ba8-670c-f95e-8bb55c86b25a\"], \"children\": [\"38d2366b-4159-2510-38f3-6787f5878489\", \"38d2366b-4159-2510-38f3-6787f58784dc\", \"38d2366b-4159-2510-38f3-6787f58784dd\", \"38d2366b-4159-2510-38f3-6787f58784de\"], \"type\": \"SliderWrapper\", \"data\": { \"slider\": { \"navSpacing\": 3, \"autoplay\": false, \"delay\": 4000, \"iconArrows\": true, \"animation\": \"outin\", \"easing\": \"ease\", \"navRound\": false, \"hideArrows\": false, \"disableSwipe\": true, \"duration\": 500, \"infinite\": false, \"autoMax\": 0, \"type\": \"wrapper\" }, \"attr\": { \"data-animation\": \"outin\", \"data-disable-swipe\": \"1\", \"data-duration\": \"500\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878489\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f587848a\", \"38d2366b-4159-2510-38f3-6787f58784aa\", \"ef3f2af7-909c-644d-7267-6ccb03424cb6\"], \"type\": \"SliderMask\", \"data\": { \"slider\": { \"type\": \"slides\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587848a\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f587848b\"], \"type\": \"SliderSlide\", \"data\": { \"tag\": \"div\", \"slider\": { \"type\": \"slide\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587848b\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f587848c\", \"38d2366b-4159-2510-38f3-6787f587849d\", \"38d2366b-4159-2510-38f3-6787f587849f\", \"38d2366b-4159-2510-38f3-6787f58784a0\", \"38d2366b-4159-2510-38f3-6787f58784a2\", \"38d2366b-4159-2510-38f3-6787f58784a3\", \"38d2366b-4159-2510-38f3-6787f58784a5\", \"38d2366b-4159-2510-38f3-6787f58784a6\"], \"type\": \"Block\", \"data\": { \"tag\": \"div\" } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587848c\", \"tag\": \"p\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f587848d\", \"38d2366b-4159-2510-38f3-6787f5878494\", \"38d2366b-4159-2510-38f3-6787f5878495\", \"38d2366b-4159-2510-38f3-6787f5878496\", \"38d2366b-4159-2510-38f3-6787f5878497\", \"f9618b03-efc9-eac9-4f27-19306d07c959\", \"2db53dad-7e56-58ab-fbac-23671270cb69\", \"38d2366b-4159-2510-38f3-6787f5878498\", \"38d2366b-4159-2510-38f3-6787f5878499\", \"65d30af1-1b1e-bcf1-c154-86697bc9cf3b\", \"212d637a-f59b-f007-e4db-cc6345cf004a\"], \"type\": \"Paragraph\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587848d\", \"text\": true, \"v\": \"This is a simple form build that has all kind of inputs in 3 steps.\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878494\", \"tag\": \"br\", \"classes\": [], \"children\": [], \"type\": \"LineBreak\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878495\", \"text\": true, \"v\": \"‍\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878496\", \"tag\": \"br\", \"classes\": [], \"children\": [], \"type\": \"LineBreak\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878497\", \"text\": true, \"v\": \"You can edit and style it however you want: add, delete or move steps (slides), inputs, confirmation values, etc.\" }, { \"_id\": \"f9618b03-efc9-eac9-4f27-19306d07c959\", \"tag\": \"br\", \"classes\": [], \"children\": [], \"type\": \"LineBreak\" }, { \"_id\": \"2db53dad-7e56-58ab-fbac-23671270cb69\", \"text\": true, \"v\": \"‍\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878498\", \"tag\": \"br\", \"classes\": [], \"children\": [], \"type\": \"LineBreak\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878499\", \"text\": true, \"v\": \"Don't forget to check the \" }, { \"_id\": \"65d30af1-1b1e-bcf1-c154-86697bc9cf3b\", \"tag\": \"a\", \"classes\": [], \"children\": [\"e80b0a1b-f8ba-13fd-dc36-f3dad133c7d4\"], \"type\": \"Link\", \"data\": { \"link\": { \"url\": \"https://advanced-forms.webflow.io/\", \"mode\": \"external\", \"target\": \"_blank\" }, \"attr\": { \"href\": \"#\" } } }, { \"_id\": \"e80b0a1b-f8ba-13fd-dc36-f3dad133c7d4\", \"text\": true, \"v\": \"Advanced Forms Builder\" }, { \"_id\": \"212d637a-f59b-f007-e4db-cc6345cf004a\", \"text\": true, \"v\": \" for further customization and information.\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587849d\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f587849e\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"name\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587849e\", \"text\": true, \"v\": \"Name*\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587849f\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormTextInput\", \"data\": { \"attr\": { \"autofocus\": false, \"maxlength\": 256, \"name\": \"name\", \"data-name\": \"Name\", \"placeholder\": \"Input your name\", \"type\": \"text\", \"id\": \"name\", \"disabled\": false, \"required\": true }, \"form\": { \"type\": \"input\", \"name\": \"Name\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a0\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784a1\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"email\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a1\", \"text\": true, \"v\": \"Email*\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a2\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormTextInput\", \"data\": { \"attr\": { \"autofocus\": false, \"maxlength\": 256, \"name\": \"email\", \"data-name\": \"Email\", \"placeholder\": \"Input your email\", \"type\": \"email\", \"id\": \"email\", \"disabled\": false, \"required\": true }, \"form\": { \"type\": \"input\", \"name\": \"Email\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a3\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784a4\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"phone\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a4\", \"text\": true, \"v\": \"Phone*\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a5\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormTextInput\", \"data\": { \"attr\": { \"autofocus\": false, \"maxlength\": 256, \"name\": \"phone\", \"data-name\": \"Phone\", \"placeholder\": \"Input your phone number\", \"type\": \"tel\", \"id\": \"phone\", \"disabled\": false, \"required\": true }, \"form\": { \"type\": \"input\", \"name\": \"Phone\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a6\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784a7\", \"38d2366b-4159-2510-38f3-6787f58784a8\"], \"type\": \"FormCheckboxWrapper\", \"data\": { \"form\": { \"type\": \"checkbox\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a7\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormCheckboxInput\", \"data\": { \"attr\": { \"type\": \"checkbox\", \"id\": \"checkbox\", \"required\": true, \"data-name\": \"Checkbox\", \"name\": \"checkbox\" }, \"form\": { \"type\": \"checkbox-input\", \"name\": \"Checkbox\" }, \"inputType\": \"custom\" } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a8\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784a9\"], \"type\": \"FormInlineLabel\", \"data\": { \"form\": { \"type\": \"checkbox-label\" }, \"attr\": { \"for\": \"Checkbox-2\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a9\", \"text\": true, \"v\": \"This is a required checkbox.\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784aa\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784ab\"], \"type\": \"SliderSlide\", \"data\": { \"tag\": \"div\", \"slider\": { \"type\": \"slide\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784ab\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784ac\", \"38d2366b-4159-2510-38f3-6787f58784ae\", \"38d2366b-4159-2510-38f3-6787f58784af\", \"38d2366b-4159-2510-38f3-6787f58784b1\"], \"type\": \"Block\", \"data\": { \"tag\": \"div\" } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784ac\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784ad\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"Service\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784ad\", \"text\": true, \"v\": \"Select*\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784ae\", \"tag\": \"select\", \"classes\": [], \"children\": [], \"v\": \"\\n\\n\\n\", \"type\": \"FormSelect\", \"data\": { \"attr\": { \"id\": \"service\", \"name\": \"service\", \"required\": true, \"data-name\": \"Service\" }, \"form\": { \"type\": \"select\", \"opts\": [{ \"v\": \"\", \"t\": \"Select one...\" }, { \"v\": \"First Choice\", \"t\": \"First Choice\" }, { \"v\": \"Second Choice\", \"t\": \"Second Choice\" }, { \"v\": \"Third Choice\", \"t\": \"Third Choice\" }], \"name\": \"Service\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784af\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784b0\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"amount\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784b0\", \"text\": true, \"v\": \"Number*\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784b1\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormTextInput\", \"data\": { \"attr\": { \"autofocus\": false, \"maxlength\": 256, \"name\": \"amount\", \"data-name\": \"Amount\", \"placeholder\": \"Choose amount\", \"type\": \"number\", \"id\": \"amount\", \"disabled\": false, \"required\": true }, \"form\": { \"type\": \"input\", \"name\": \"Amount\" } } }, { \"_id\": \"ef3f2af7-909c-644d-7267-6ccb03424cb6\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da91\"], \"type\": \"SliderSlide\", \"data\": { \"tag\": \"div\", \"slider\": { \"type\": \"slide\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da91\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da98\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9a\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9e\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa2\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa6\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daaa\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daac\"], \"type\": \"Block\", \"data\": { \"tag\": \"div\" } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da98\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da99\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da99\", \"text\": true, \"v\": \"Radio Group*\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9a\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da9b\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9c\"], \"type\": \"FormRadioWrapper\", \"data\": { \"form\": { \"type\": \"radio\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9b\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormRadioInput\", \"data\": { \"attr\": { \"type\": \"radio\", \"data-name\": \"Options\", \"id\": \"Option\", \"name\": \"Options\", \"value\": \"Option 1\", \"required\": true }, \"form\": { \"type\": \"radio-input\", \"name\": \"Options\" }, \"inputType\": \"custom\" } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9c\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da9d\"], \"type\": \"FormInlineLabel\", \"data\": { \"form\": { \"type\": \"radio-label\" }, \"attr\": { \"for\": \"Option -5\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9d\", \"text\": true, \"v\": \"Option 1\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9e\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da9f\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa0\"], \"type\": \"FormRadioWrapper\", \"data\": { \"form\": { \"type\": \"radio\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9f\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormRadioInput\", \"data\": { \"attr\": { \"type\": \"radio\", \"data-name\": \"Options\", \"id\": \"Option -2\", \"name\": \"Options\", \"value\": \"Option 2\", \"required\": true }, \"form\": { \"type\": \"radio-input\", \"name\": \"Options\" }, \"inputType\": \"custom\" } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa0\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daa1\"], \"type\": \"FormInlineLabel\", \"data\": { \"form\": { \"type\": \"radio-label\" }, \"attr\": { \"for\": \"Option -5\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa1\", \"text\": true, \"v\": \"Option 2\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa2\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daa3\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa4\"], \"type\": \"FormRadioWrapper\", \"data\": { \"form\": { \"type\": \"radio\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa3\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormRadioInput\", \"data\": { \"attr\": { \"type\": \"radio\", \"data-name\": \"Options\", \"id\": \"Option -3\", \"name\": \"Options\", \"value\": \"Option 3\", \"required\": true }, \"form\": { \"type\": \"radio-input\", \"name\": \"Options\" }, \"inputType\": \"custom\" } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa4\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daa5\"], \"type\": \"FormInlineLabel\", \"data\": { \"form\": { \"type\": \"radio-label\" }, \"attr\": { \"for\": \"Option -5\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa5\", \"text\": true, \"v\": \"Option 3\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa6\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daa7\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa8\"], \"type\": \"FormRadioWrapper\", \"data\": { \"form\": { \"type\": \"radio\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa7\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormRadioInput\", \"data\": { \"attr\": { \"type\": \"radio\", \"data-name\": \"Options\", \"id\": \"Option -4\", \"name\": \"Options\", \"value\": \"Option 4\", \"required\": true }, \"form\": { \"type\": \"radio-input\", \"name\": \"Options\" }, \"inputType\": \"custom\" } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa8\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daa9\"], \"type\": \"FormInlineLabel\", \"data\": { \"form\": { \"type\": \"radio-label\" }, \"attr\": { \"for\": \"Option -5\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa9\", \"text\": true, \"v\": \"Option 4\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daaa\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daab\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"notes-2\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daab\", \"text\": true, \"v\": \"Text Area\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daac\", \"tag\": \"textarea\", \"classes\": [], \"children\": [], \"type\": \"FormTextarea\", \"data\": { \"attr\": { \"placeholder\": \"Tell us anything you need.\", \"maxlength\": 5000, \"id\": \"notes-2\", \"name\": \"notes-2\", \"data-name\": \"Notes 2\" }, \"form\": { \"type\": \"textarea\", \"name\": \"Notes 2\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784dc\", \"tag\": \"div\", \"classes\": [\"07828abd-7f85-d22f-b6d9-ed59721f9f4b\"], \"children\": [], \"type\": \"SliderArrow\", \"data\": { \"slider\": { \"type\": \"arrow\", \"dir\": \"left\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784dd\", \"tag\": \"div\", \"classes\": [\"07828abd-7f85-d22f-b6d9-ed59721f9f4b\"], \"children\": [], \"type\": \"SliderArrow\", \"data\": { \"slider\": { \"type\": \"arrow\", \"dir\": \"right\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784de\", \"tag\": \"div\", \"classes\": [\"07828abd-7f85-d22f-b6d9-ed59721f9f4b\"], \"children\": [], \"type\": \"SliderNav\", \"data\": { \"slider\": { \"type\": \"nav\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784db\", \"tag\": \"input\", \"classes\": [\"07828abd-7f85-d22f-b6d9-ed59721f9f4b\"], \"children\": [], \"type\": \"FormButton\", \"data\": { \"attr\": { \"type\": \"submit\", \"value\": \"Submit\", \"data-wait\": \"Please wait...\" }, \"form\": { \"type\": \"button\", \"wait\": \"Please wait...\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784df\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784e0\"], \"type\": \"FormSuccessMessage\", \"data\": { \"form\": { \"type\": \"msg-done\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784e0\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784e1\"], \"type\": \"Block\", \"data\": { \"tag\": \"div\", \"text\": true } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784e1\", \"text\": true, \"v\": \"Thank you! Your submission has been received!\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784e2\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784e3\"], \"type\": \"FormErrorMessage\", \"data\": { \"form\": { \"type\": \"msg-fail\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784e3\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784e4\"], \"type\": \"Block\", \"data\": { \"tag\": \"div\", \"text\": true } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784e4\", \"text\": true, \"v\": \"Oops! Something went wrong while submitting the form.\" }, { \"_id\": \"0e1c4535-f4c0-c01c-f501-ba6c754dd6b0\", \"tag\": \"a\", \"classes\": [], \"children\": [\"0e1c4535-f4c0-c01c-f501-ba6c754dd6b1\"], \"type\": \"Link\", \"data\": { \"button\": true, \"link\": { \"mode\": \"external\" }, \"attr\": { \"id\": \"msf-next\", \"href\": \"#msf\" } } }, { \"_id\": \"0e1c4535-f4c0-c01c-f501-ba6c754dd6b1\", \"text\": true, \"v\": \"Next\" }], \"styles\": [{ \"_id\": \"9e492cc5-3ba8-670c-f95e-8bb55c86b25a\", \"fake\": false, \"type\": \"class\", \"name\": \"MSF Slider\", \"namespace\": \"\", \"comb\": \"\", \"styleLess\": \"height: auto; background-color: transparent;\", \"variants\": {}, \"children\": [], \"selector\": null }, { \"_id\": \"07828abd-7f85-d22f-b6d9-ed59721f9f4b\", \"fake\": false, \"type\": \"class\", \"name\": \"MSF Hidden\", \"namespace\": \"\", \"comb\": \"\", \"styleLess\": \"display: none;\", \"variants\": {}, \"children\": [], \"selector\": null }], \"assets\": [], \"ix1\": [], \"ix2\": { \"interactions\": [], \"events\": [], \"actionLists\": [] } }, \"meta\": { \"unlinkedSymbolCount\": 0, \"droppedLinks\": 0, \"dynBindRemovedCount\": 0, \"dynListBindRemovedCount\": 0, \"paginationRemovedCount\": 0 } };\r\n","\r\n\r\n

    Make sure your form meets the following requirements:

    \r\n
      \r\n
    • \r\n It has a submit button set to\r\n display:none\r\n . The script will use the button text and waiting text.\r\n
    • \r\n
    • \r\n

      It has a slider inside it. The slider should have:

      \r\n
        \r\n
      • \r\n Swipe gestures\r\n deactivated\r\n .\r\n
      • \r\n
      • \r\n Auto-play slides\r\n deactivated\r\n .\r\n
      • \r\n
      • \r\n Its height forced to be\r\n auto\r\n .\r\n
      • \r\n
      • \r\n The slider arrows and nav set to\r\n display:none\r\n .\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n\r\n {buttonText}\r\n

    \r\n","const body = document.body;\r\nlet scrollPosition = 0;\r\nexport function disableScroll() {\r\n scrollPosition = window.pageYOffset;\r\n let oldWidth = body.clientWidth;\r\n body.style.overflow = 'hidden';\r\n body.style.position = 'fixed';\r\n body.style.top = `-${scrollPosition}px`;\r\n body.style.width = `${oldWidth}px`;\r\n}\r\nexport function enableScroll() {\r\n if (body.style.overflow !== 'hidden')\r\n scrollPosition = window.pageYOffset;\r\n body.style.overflow = '';\r\n body.style.position = '';\r\n body.style.top = ``;\r\n body.style.width = ``;\r\n window.scrollTo(0, scrollPosition);\r\n}\r\n","\r\n \r\n","\r\n \r\n","\r\n\r\n","\r\n\r\n\r\n\r\n\r\n\r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n

    {title}

    \r\n\r\n \r\n
    \r\n\r\n \r\n
    \r\n {@html content}\r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n dispatch('previous')}>\r\n \r\n
    Back
    \r\n
    \r\n\r\n \r\n
    dispatch('next')}>\r\n
    {isLast ? 'Finish' : 'Next'}
    \r\n {#if !isLast}\r\n \r\n {/if}\r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n \r\n
    dispatch('closemodal')}>\r\n
    \r\n \r\n
    \r\n
    \r\n\r\n","\r\n\r\n\r\n\r\n
    \r\n {\r\n if (currentSlide === slides.length - 1) dispatch('closemodal');\r\n else nextSlide();\r\n }} />\r\n dispatch('closemodal')} />\r\n
    \r\n","\r\n\r\n\r\n
    \r\n \r\n openModal('info', 'intro')} />\r\n\r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n

    \r\n {$msfActivated ? 'Required setup' : 'Activate'}\r\n

    \r\n \r\n
    \r\n\r\n {#if $msfActivated}\r\n \r\n
    \r\n {#each $msfRequired as { key, title } (key)}\r\n
    \r\n\r\n openModal('info', key)}>\r\n \r\n \r\n\r\n
    \r\n {/each}\r\n
    \r\n\r\n \r\n
    \r\n

    Optional setup

    \r\n openModal('optional')} />\r\n
    \r\n\r\n \r\n
    \r\n {#each optionalBlocks as { key, title } (key)}\r\n \r\n\r\n openModal('info', key)}\r\n on:delete={() => deleteOptional(key)}>\r\n \r\n \r\n\r\n
    \r\n {/each}\r\n
    \r\n {/if}\r\n
    \r\n
    \r\n\r\n {#if showModal === 'optional'}\r\n \r\n {:else if showModal === 'info'}\r\n \r\n {/if}\r\n\r\n
    \r\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nexport default isArray;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n","import baseGetTag from './_baseGetTag.js';\nimport isObject from './isObject.js';\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nexport default isFunction;\n","import root from './_root.js';\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nexport default coreJsData;\n","import coreJsData from './_coreJsData.js';\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nexport default isMasked;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nexport default toSource;\n","import isFunction from './isFunction.js';\nimport isMasked from './_isMasked.js';\nimport isObject from './isObject.js';\nimport toSource from './_toSource.js';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nexport default baseIsNative;\n","import baseIsNative from './_baseIsNative.js';\nimport getValue from './_getValue.js';\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nexport default getNative;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nexport default getValue;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nexport default WeakMap;\n","import isObject from './isObject.js';\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nexport default baseCreate;\n","import getNative from './_getNative.js';\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nexport default defineProperty;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nexport default isIndex;\n","import defineProperty from './_defineProperty.js';\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nexport default baseAssignValue;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nexport default eq;\n","import baseAssignValue from './_baseAssignValue.js';\nimport eq from './eq.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nexport default assignValue;\n","import assignValue from './_assignValue.js';\nimport baseAssignValue from './_baseAssignValue.js';\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nexport default copyObject;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nexport default isLength;\n","import isFunction from './isFunction.js';\nimport isLength from './isLength.js';\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nexport default isArrayLike;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nexport default isPrototype;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nexport default baseIsArguments;\n","import baseIsArguments from './_baseIsArguments.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nexport default isArguments;\n","import root from './_root.js';\nimport stubFalse from './stubFalse.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nexport default isBuffer;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nexport default stubFalse;\n","import baseGetTag from './_baseGetTag.js';\nimport isLength from './isLength.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nexport default baseIsTypedArray;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nexport default baseUnary;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nexport default nodeUtil;\n","import baseIsTypedArray from './_baseIsTypedArray.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nexport default isTypedArray;\n","import baseTimes from './_baseTimes.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isIndex from './_isIndex.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default arrayLikeKeys;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nexport default baseTimes;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nexport default overArg;\n","import overArg from './_overArg.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nexport default nativeKeys;\n","import isPrototype from './_isPrototype.js';\nimport nativeKeys from './_nativeKeys.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeys;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeys from './_baseKeys.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nexport default keys;\n","import isObject from './isObject.js';\nimport isPrototype from './_isPrototype.js';\nimport nativeKeysIn from './_nativeKeysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeysIn;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default nativeKeysIn;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeysIn from './_baseKeysIn.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nexport default keysIn;\n","import getNative from './_getNative.js';\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nexport default nativeCreate;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nexport default hashGet;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nexport default hashHas;\n","import hashClear from './_hashClear.js';\nimport hashDelete from './_hashDelete.js';\nimport hashGet from './_hashGet.js';\nimport hashHas from './_hashHas.js';\nimport hashSet from './_hashSet.js';\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nexport default Hash;\n","import eq from './eq.js';\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nexport default assocIndexOf;\n","import nativeCreate from './_nativeCreate.js';\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nexport default hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default hashDelete;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nexport default hashSet;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nexport default listCacheDelete;\n","import listCacheClear from './_listCacheClear.js';\nimport listCacheDelete from './_listCacheDelete.js';\nimport listCacheGet from './_listCacheGet.js';\nimport listCacheHas from './_listCacheHas.js';\nimport listCacheSet from './_listCacheSet.js';\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nexport default ListCache;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nexport default listCacheClear;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nexport default listCacheGet;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nexport default listCacheHas;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nexport default listCacheSet;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nexport default Map;\n","import isKeyable from './_isKeyable.js';\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nexport default getMapData;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nexport default isKeyable;\n","import mapCacheClear from './_mapCacheClear.js';\nimport mapCacheDelete from './_mapCacheDelete.js';\nimport mapCacheGet from './_mapCacheGet.js';\nimport mapCacheHas from './_mapCacheHas.js';\nimport mapCacheSet from './_mapCacheSet.js';\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nexport default MapCache;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nexport default arrayPush;\n","import Hash from './_Hash.js';\nimport ListCache from './_ListCache.js';\nimport Map from './_Map.js';\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nexport default mapCacheClear;\n","import getMapData from './_getMapData.js';\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default mapCacheDelete;\n","import getMapData from './_getMapData.js';\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nexport default mapCacheGet;\n","import getMapData from './_getMapData.js';\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nexport default mapCacheHas;\n","import getMapData from './_getMapData.js';\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nexport default mapCacheSet;\n","import overArg from './_overArg.js';\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nexport default getPrototype;\n","import ListCache from './_ListCache.js';\nimport stackClear from './_stackClear.js';\nimport stackDelete from './_stackDelete.js';\nimport stackGet from './_stackGet.js';\nimport stackHas from './_stackHas.js';\nimport stackSet from './_stackSet.js';\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nexport default Stack;\n","import ListCache from './_ListCache.js';\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nexport default stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nexport default stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nexport default stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nexport default stackHas;\n","import ListCache from './_ListCache.js';\nimport Map from './_Map.js';\nimport MapCache from './_MapCache.js';\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nexport default stackSet;\n","import root from './_root.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nexport default cloneBuffer;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nexport default stubArray;\n","import arrayFilter from './_arrayFilter.js';\nimport stubArray from './stubArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nexport default getSymbols;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nexport default arrayFilter;\n","import arrayPush from './_arrayPush.js';\nimport getPrototype from './_getPrototype.js';\nimport getSymbols from './_getSymbols.js';\nimport stubArray from './stubArray.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nexport default getSymbolsIn;\n","import arrayPush from './_arrayPush.js';\nimport isArray from './isArray.js';\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nexport default baseGetAllKeys;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbols from './_getSymbols.js';\nimport keys from './keys.js';\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nexport default getAllKeys;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\nimport keysIn from './keysIn.js';\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nexport default getAllKeysIn;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nexport default DataView;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nexport default Promise;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nexport default Set;\n","import DataView from './_DataView.js';\nimport Map from './_Map.js';\nimport Promise from './_Promise.js';\nimport Set from './_Set.js';\nimport WeakMap from './_WeakMap.js';\nimport baseGetTag from './_baseGetTag.js';\nimport toSource from './_toSource.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nexport default getTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nexport default initCloneArray;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nexport default Uint8Array;\n","import Uint8Array from './_Uint8Array.js';\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nexport default cloneArrayBuffer;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nexport default cloneRegExp;\n","import Symbol from './_Symbol.js';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nexport default cloneSymbol;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\nimport cloneDataView from './_cloneDataView.js';\nimport cloneRegExp from './_cloneRegExp.js';\nimport cloneSymbol from './_cloneSymbol.js';\nimport cloneTypedArray from './_cloneTypedArray.js';\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nexport default initCloneByTag;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nexport default cloneTypedArray;\n","import baseIsMap from './_baseIsMap.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nexport default isMap;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nexport default baseIsMap;\n","import baseIsSet from './_baseIsSet.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nexport default isSet;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nexport default baseIsSet;\n","import Stack from './_Stack.js';\nimport arrayEach from './_arrayEach.js';\nimport assignValue from './_assignValue.js';\nimport baseAssign from './_baseAssign.js';\nimport baseAssignIn from './_baseAssignIn.js';\nimport cloneBuffer from './_cloneBuffer.js';\nimport copyArray from './_copyArray.js';\nimport copySymbols from './_copySymbols.js';\nimport copySymbolsIn from './_copySymbolsIn.js';\nimport getAllKeys from './_getAllKeys.js';\nimport getAllKeysIn from './_getAllKeysIn.js';\nimport getTag from './_getTag.js';\nimport initCloneArray from './_initCloneArray.js';\nimport initCloneByTag from './_initCloneByTag.js';\nimport initCloneObject from './_initCloneObject.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isMap from './isMap.js';\nimport isObject from './isObject.js';\nimport isSet from './isSet.js';\nimport keys from './keys.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nexport default baseClone;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nexport default copyArray;\n","import baseCreate from './_baseCreate.js';\nimport getPrototype from './_getPrototype.js';\nimport isPrototype from './_isPrototype.js';\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nexport default initCloneObject;\n","import copyObject from './_copyObject.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nexport default copySymbolsIn;\n","import copyObject from './_copyObject.js';\nimport keysIn from './keysIn.js';\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nexport default baseAssignIn;\n","import copyObject from './_copyObject.js';\nimport getSymbols from './_getSymbols.js';\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nexport default copySymbols;\n","import copyObject from './_copyObject.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nexport default baseAssign;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nexport default arrayEach;\n","import baseClone from './_baseClone.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nexport default cloneDeep;\n","// Svelte\r\nimport { writable, derived } from 'svelte/store';\r\n// Helpers\r\nimport { cloneDeep } from 'lodash-es';\r\nconst defaults = [];\r\nconst logicStore = writable(defaults);\r\nconst customLogicStore = {\r\n subscribe: logicStore.subscribe,\r\n add: (newLogic) => {\r\n logicStore.update((items) => [...items, newLogic]);\r\n },\r\n modify: (data) => {\r\n logicStore.update((items) => items.map((item) => (item.id === data.id ? Object.assign(Object.assign({}, item), data) : item)));\r\n },\r\n remove: (id) => {\r\n logicStore.update((items) => items.filter((item) => item.id !== id));\r\n },\r\n};\r\nexport default customLogicStore;\r\nexport const logicParams = writable({\r\n submitHiddenInputs: false,\r\n checkConditionsOnLoad: true,\r\n});\r\nexport const logicExport = derived([logicStore, logicParams], ([$logicStore, $logicParams]) => {\r\n const newStore = cloneDeep($logicStore);\r\n const { submitHiddenInputs, checkConditionsOnLoad } = $logicParams;\r\n newStore.forEach((logic) => {\r\n delete logic.id;\r\n logic.conditions.forEach((condition) => {\r\n if (condition.type === 'radios') {\r\n condition.selector = `input[name=\"${condition.selector}\"]`;\r\n }\r\n else {\r\n if (!condition.selector.startsWith('#'))\r\n condition.selector = `#${condition.selector}`;\r\n }\r\n if (condition.operator === 'checked') {\r\n condition.value = 'true';\r\n condition.operator = 'equal';\r\n }\r\n if (condition.operator === 'not-checked') {\r\n condition.value = 'false';\r\n condition.operator = 'equal';\r\n }\r\n delete condition.type;\r\n });\r\n logic.actions.forEach((action) => {\r\n action.selector = `#${action.selector}`;\r\n });\r\n });\r\n return {\r\n logicList: newStore,\r\n submitHiddenInputs,\r\n checkConditionsOnLoad,\r\n };\r\n});\r\n","\r\n\r\n","\r\n\r\n","\r\n\r\n\r\n
    {index + 1}
    \r\n\r\n\r\n
    \r\n\r\n \r\n {#each conditions as condition, index}\r\n
    \r\n {index === 0 ? 'If' : operator}\r\n {condition.selector}\r\n {convertOperator(condition.operator)}\r\n {#if condition.value}{condition.value}{/if}\r\n
    \r\n {/each}\r\n\r\n \r\n
    \r\n\r\n \r\n {#each actions as action, index}\r\n
    \r\n {action.action}\r\n {action.selector}\r\n {@html action.clear ? `and clear its value` : ``}\r\n
    \r\n {/each}\r\n
    \r\n\r\n\r\n
    \r\n\r\n \r\n \r\n\r\n \r\n \r\n
    \r\n","\r\n\r\n
    \r\n
    Global Options:
    \r\n\r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n openModal('checkConditionsOnLoad')} />\r\n
    \r\n
    \r\n","\r\n\r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n
    \r\n\r\n
    \r\n\r\n \r\n
    \r\n

    Add New

    \r\n dispatch('newLogic')} />\r\n
    \r\n\r\n \r\n \r\n
    \r\n\r\n \r\n {#each $logicStore as logic, index (logic.id)}\r\n
    \r\n \r\n
    \r\n {/each}\r\n
    \r\n
    \r\n","\r\n\r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n \r\n
    \r\n\r\n \r\n
    \r\n \r\n\r\n \r\n\r\n
    \r\n\r\n \r\n
    \r\n \r\n\r\n \r\n
    \r\n\r\n \r\n {#if condition.type !== 'checkbox' && condition.operator !== 'empty' && condition.operator !== 'filled'}\r\n
    \r\n \r\n\r\n \r\n
    \r\n {/if}\r\n\r\n
    \r\n
    \r\n\r\n\r\n
    \r\n \r\n dispatch('addcondition')} />\r\n\r\n \r\n {#if index !== 0}\r\n dispatch('removecondition', condition)} />\r\n {/if}\r\n
    \r\n","\r\n\r\n
    \r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n \r\n
    \r\n\r\n \r\n
    \r\n \r\n\r\n \r\n
    \r\n\r\n \r\n \r\n
    \r\n
    \r\n\r\n\r\n
    \r\n\r\n \r\n dispatch('addaction')} />\r\n\r\n \r\n {#if index !== 0}\r\n dispatch('removeaction', action)} />\r\n {/if}\r\n\r\n
    \r\n","\r\n\r\n","\r\n\r\n\r\n
    \r\n
    \r\n dispatch('cancel')} />\r\n

    {editID ? 'Edit' : 'Add new'} logic

    \r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n {#each logic.conditions as condition, index (index)}\r\n
    \r\n \r\n
    \r\n {/each}\r\n\r\n \r\n
    \r\n\r\n {#if logic.conditions.length > 1}\r\n \r\n\r\n \r\n\r\n
    then do the following actions:
    \r\n {:else}\r\n
    \r\n If the condition is met, then do the following actions:\r\n
    \r\n {/if}\r\n\r\n
    \r\n\r\n \r\n {#each logic.actions as action, index (index)}\r\n
    \r\n \r\n
    \r\n {/each}\r\n\r\n \r\n
    \r\n\r\n \r\n dispatch('cancel')}>\r\n Cancel\r\n \r\n\r\n \r\n \r\n {missingFields && triedToSubmit ? 'Some Fields Are Missing' : 'Save Logic'}\r\n \r\n
    \r\n\r\n
    \r\n\r\n
    \r\n","const logicSlides = {\r\n intro: [\r\n {\r\n title: 'Intro',\r\n content: `

    \r\n Build your form in the Webflow Designer as you would normally\r\n do.
    \r\n

    \r\n

    \r\n Then, create your logic in the builder. You can set as many\r\n conditions and actions to be performed, the code will be\r\n automatically generated for you!
    \r\n

    \r\n

    Check the next steps to see what you can do with it :)

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee9b27330483f41b4be2_Intro-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee9b27330483f41b4be2_Intro-transcode.webm',\r\n },\r\n {\r\n title: 'Single action target',\r\n content: `

    \r\n You can set the target of an action to be any form element (input,\r\n select, checkbox, radio...).
    \r\n

    \r\n

    To do so, use its ID:

    \r\n

    \r\n E.g. make input which ID is surname\r\n to be required.
    \r\n

    \r\n

    \r\n You can show, hide, enable, disable, require or unrequire it.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43eea0273304c2341b4be3_Single Action Target-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43eea0273304c2341b4be3_Single Action Target-transcode.webm',\r\n },\r\n {\r\n title: 'Group action target',\r\n content: `

    \r\n You can also group multiple elements inside a\r\n Div Block.
    \r\n

    \r\n

    \r\n If you set that Div Block as the target of an action, all\r\n the inputs inside it will be affected.
    \r\n

    \r\n

    To do so, use that block ID:

    \r\n

    \r\n E.g. disable all inputs that are inside the\r\n Div Block which ID is\r\n contact-info.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee94877e0a3bf5d60731_Group Action Target-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee94877e0a3bf5d60731_Group Action Target-transcode.webm',\r\n },\r\n {\r\n title: 'Action Interactions',\r\n content: `

    \r\n You can trigger Webflow Interactions when any action is\r\n performed.
    \r\n

    \r\n

    \r\n To do so, you must first set your target as a Group Action\r\n Target:
    \r\n

    \r\n

    \r\n "Put your target inside a Div Block and use its ID as\r\n the target."\r\n

    \r\n

    \r\n Then add inside the group a hidden Div Block with the\r\n custom attribute:
    \r\n

    \r\n
      \r\n
    • Name: data-logic
    • \r\n
    • \r\n Value: show, hide, enable, disable, require\r\n or unrequire.\r\n
    • \r\n
    \r\n

    \r\n And bind it to a\r\n Mouse click (tap)\r\n interaction.
    When an action is performed, the script will\r\n click the correspondent trigger.
    \r\n

    \r\n

    \r\n E.g. when you show the input\r\n phone, the script will click the\r\n Div Block that has the attribute\r\n data-logic=show.\r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee8bf4340039b7f3c9f0_Action Interactions-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee8bf4340039b7f3c9f0_Action Interactions-transcode.webm',\r\n },\r\n {\r\n title: 'Important!',\r\n content: `

    \r\n When you choose to show or hide a target, by\r\n default the script will set it to\r\n display: block or\r\n display: none.
    \r\n

    \r\n

    \r\n If you bind a Webflow Interaction to the hide or\r\n show actions, you should set that display property.
    \r\n

    \r\n

    \r\n E.g. when the target is showed, trigger a Webflow\r\n Interaction that sets\r\n display: flex and\r\n opacity: 100%.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee986da478c1e7b0e034_Important-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee986da478c1e7b0e034_Important-transcode.webm',\r\n },\r\n {\r\n title: 'Custom interactions',\r\n content: `

    \r\n You can also trigger a random interaction that isn't binded\r\n to any specific action.
    \r\n

    \r\n

    \r\n To do so, select Interaction as the\r\n trigger.
    \r\n

    \r\n

    \r\n The script will click that trigger when the conditions are\r\n met.
    \r\n

    \r\n

    \r\n E.g. click the element with the ID\r\n show-modal when the conditions\r\n are met.\r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee90128e383bb89ab0db_Custom Interactions-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee90128e383bb89ab0db_Custom Interactions-transcode.webm',\r\n },\r\n ],\r\n submitHiddenInputs: [\r\n {\r\n title: 'Submit hidden inputs',\r\n content: `

    \r\n You can choose if the inputs that are affected by the action\r\n hide should be submitted or not.
    \r\n

    \r\n

    \r\n Warning: not submitting the hidden inputs can\r\n affect 3rd party integrations like Zapier, as the form could\r\n receive different fields depending on user actions.\r\n

    `,\r\n video1: '',\r\n video2: '',\r\n },\r\n ],\r\n checkConditionsOnLoad: [\r\n {\r\n title: 'Check conditions on load',\r\n content: `

    \r\n If you select this option, the script will check if any of the\r\n conditions is already met when the page loads and triggers the\r\n correspondent actions.
    \r\n

    \r\n

    \r\n Note: it is recommended to leave this option\r\n checked, as not doing so could lead to unexpected behaviours.\r\n

    `,\r\n video1: '',\r\n video2: '',\r\n },\r\n ],\r\n};\r\nexport default logicSlides;\r\n","\r\n\r\n\r\n{#if editMode}\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n \r\n{:else}\r\n \r\n
    \r\n \r\n openModal('intro')} />\r\n\r\n \r\n \r\n
    \r\n
    \r\n{/if}\r\n\r\n\r\n{#if showModal}\r\n \r\n{/if}\r\n","/*!\n * clipboard.js v2.0.6\n * https://clipboardjs.com/\n * \n * Licensed MIT © Zeno Rocha\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ClipboardJS\"] = factory();\n\telse\n\t\troot[\"ClipboardJS\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 6);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\nfunction select(element) {\n var selectedText;\n\n if (element.nodeName === 'SELECT') {\n element.focus();\n\n selectedText = element.value;\n }\n else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {\n var isReadOnly = element.hasAttribute('readonly');\n\n if (!isReadOnly) {\n element.setAttribute('readonly', '');\n }\n\n element.select();\n element.setSelectionRange(0, element.value.length);\n\n if (!isReadOnly) {\n element.removeAttribute('readonly');\n }\n\n selectedText = element.value;\n }\n else {\n if (element.hasAttribute('contenteditable')) {\n element.focus();\n }\n\n var selection = window.getSelection();\n var range = document.createRange();\n\n range.selectNodeContents(element);\n selection.removeAllRanges();\n selection.addRange(range);\n\n selectedText = selection.toString();\n }\n\n return selectedText;\n}\n\nmodule.exports = select;\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\nfunction E () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n}\n\nE.prototype = {\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx\n });\n\n return this;\n },\n\n once: function (name, callback, ctx) {\n var self = this;\n function listener () {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n };\n\n listener._ = callback\n return this.on(name, listener, ctx);\n },\n\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n\n return this;\n },\n\n off: function (name, callback) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n\n if (evts && callback) {\n for (var i = 0, len = evts.length; i < len; i++) {\n if (evts[i].fn !== callback && evts[i].fn._ !== callback)\n liveEvents.push(evts[i]);\n }\n }\n\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n\n (liveEvents.length)\n ? e[name] = liveEvents\n : delete e[name];\n\n return this;\n }\n};\n\nmodule.exports = E;\nmodule.exports.TinyEmitter = E;\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar is = __webpack_require__(3);\nvar delegate = __webpack_require__(4);\n\n/**\n * Validates all params and calls the right\n * listener function based on its target type.\n *\n * @param {String|HTMLElement|HTMLCollection|NodeList} target\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listen(target, type, callback) {\n if (!target && !type && !callback) {\n throw new Error('Missing required arguments');\n }\n\n if (!is.string(type)) {\n throw new TypeError('Second argument must be a String');\n }\n\n if (!is.fn(callback)) {\n throw new TypeError('Third argument must be a Function');\n }\n\n if (is.node(target)) {\n return listenNode(target, type, callback);\n }\n else if (is.nodeList(target)) {\n return listenNodeList(target, type, callback);\n }\n else if (is.string(target)) {\n return listenSelector(target, type, callback);\n }\n else {\n throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList');\n }\n}\n\n/**\n * Adds an event listener to a HTML element\n * and returns a remove listener function.\n *\n * @param {HTMLElement} node\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNode(node, type, callback) {\n node.addEventListener(type, callback);\n\n return {\n destroy: function() {\n node.removeEventListener(type, callback);\n }\n }\n}\n\n/**\n * Add an event listener to a list of HTML elements\n * and returns a remove listener function.\n *\n * @param {NodeList|HTMLCollection} nodeList\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNodeList(nodeList, type, callback) {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.addEventListener(type, callback);\n });\n\n return {\n destroy: function() {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.removeEventListener(type, callback);\n });\n }\n }\n}\n\n/**\n * Add an event listener to a selector\n * and returns a remove listener function.\n *\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenSelector(selector, type, callback) {\n return delegate(document.body, selector, type, callback);\n}\n\nmodule.exports = listen;\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n/**\n * Check if argument is a HTML element.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.node = function(value) {\n return value !== undefined\n && value instanceof HTMLElement\n && value.nodeType === 1;\n};\n\n/**\n * Check if argument is a list of HTML elements.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.nodeList = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return value !== undefined\n && (type === '[object NodeList]' || type === '[object HTMLCollection]')\n && ('length' in value)\n && (value.length === 0 || exports.node(value[0]));\n};\n\n/**\n * Check if argument is a string.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.string = function(value) {\n return typeof value === 'string'\n || value instanceof String;\n};\n\n/**\n * Check if argument is a function.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.fn = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return type === '[object Function]';\n};\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar closest = __webpack_require__(5);\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction _delegate(element, selector, type, callback, useCapture) {\n var listenerFn = listener.apply(this, arguments);\n\n element.addEventListener(type, listenerFn, useCapture);\n\n return {\n destroy: function() {\n element.removeEventListener(type, listenerFn, useCapture);\n }\n }\n}\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element|String|Array} [elements]\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction delegate(elements, selector, type, callback, useCapture) {\n // Handle the regular Element usage\n if (typeof elements.addEventListener === 'function') {\n return _delegate.apply(null, arguments);\n }\n\n // Handle Element-less usage, it defaults to global delegation\n if (typeof type === 'function') {\n // Use `document` as the first parameter, then apply arguments\n // This is a short way to .unshift `arguments` without running into deoptimizations\n return _delegate.bind(null, document).apply(null, arguments);\n }\n\n // Handle Selector-based usage\n if (typeof elements === 'string') {\n elements = document.querySelectorAll(elements);\n }\n\n // Handle Array-like based usage\n return Array.prototype.map.call(elements, function (element) {\n return _delegate(element, selector, type, callback, useCapture);\n });\n}\n\n/**\n * Finds closest match and invokes callback.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Function}\n */\nfunction listener(element, selector, type, callback) {\n return function(e) {\n e.delegateTarget = closest(e.target, selector);\n\n if (e.delegateTarget) {\n callback.call(element, e);\n }\n }\n}\n\nmodule.exports = delegate;\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports) {\n\nvar DOCUMENT_NODE_TYPE = 9;\n\n/**\n * A polyfill for Element.matches()\n */\nif (typeof Element !== 'undefined' && !Element.prototype.matches) {\n var proto = Element.prototype;\n\n proto.matches = proto.matchesSelector ||\n proto.mozMatchesSelector ||\n proto.msMatchesSelector ||\n proto.oMatchesSelector ||\n proto.webkitMatchesSelector;\n}\n\n/**\n * Finds the closest parent that matches a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @return {Function}\n */\nfunction closest (element, selector) {\n while (element && element.nodeType !== DOCUMENT_NODE_TYPE) {\n if (typeof element.matches === 'function' &&\n element.matches(selector)) {\n return element;\n }\n element = element.parentNode;\n }\n}\n\nmodule.exports = closest;\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n\n// EXTERNAL MODULE: ./node_modules/select/src/select.js\nvar src_select = __webpack_require__(0);\nvar select_default = /*#__PURE__*/__webpack_require__.n(src_select);\n\n// CONCATENATED MODULE: ./src/clipboard-action.js\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n\n\n/**\n * Inner class which performs selection from either `text` or `target`\n * properties and then executes copy or cut operations.\n */\n\nvar clipboard_action_ClipboardAction = function () {\n /**\n * @param {Object} options\n */\n function ClipboardAction(options) {\n _classCallCheck(this, ClipboardAction);\n\n this.resolveOptions(options);\n this.initSelection();\n }\n\n /**\n * Defines base properties passed from constructor.\n * @param {Object} options\n */\n\n\n _createClass(ClipboardAction, [{\n key: 'resolveOptions',\n value: function resolveOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this.action = options.action;\n this.container = options.container;\n this.emitter = options.emitter;\n this.target = options.target;\n this.text = options.text;\n this.trigger = options.trigger;\n\n this.selectedText = '';\n }\n\n /**\n * Decides which selection strategy is going to be applied based\n * on the existence of `text` and `target` properties.\n */\n\n }, {\n key: 'initSelection',\n value: function initSelection() {\n if (this.text) {\n this.selectFake();\n } else if (this.target) {\n this.selectTarget();\n }\n }\n\n /**\n * Creates a fake textarea element, sets its value from `text` property,\n * and makes a selection on it.\n */\n\n }, {\n key: 'selectFake',\n value: function selectFake() {\n var _this = this;\n\n var isRTL = document.documentElement.getAttribute('dir') == 'rtl';\n\n this.removeFake();\n\n this.fakeHandlerCallback = function () {\n return _this.removeFake();\n };\n this.fakeHandler = this.container.addEventListener('click', this.fakeHandlerCallback) || true;\n\n this.fakeElem = document.createElement('textarea');\n // Prevent zooming on iOS\n this.fakeElem.style.fontSize = '12pt';\n // Reset box model\n this.fakeElem.style.border = '0';\n this.fakeElem.style.padding = '0';\n this.fakeElem.style.margin = '0';\n // Move element out of screen horizontally\n this.fakeElem.style.position = 'absolute';\n this.fakeElem.style[isRTL ? 'right' : 'left'] = '-9999px';\n // Move element to the same position vertically\n var yPosition = window.pageYOffset || document.documentElement.scrollTop;\n this.fakeElem.style.top = yPosition + 'px';\n\n this.fakeElem.setAttribute('readonly', '');\n this.fakeElem.value = this.text;\n\n this.container.appendChild(this.fakeElem);\n\n this.selectedText = select_default()(this.fakeElem);\n this.copyText();\n }\n\n /**\n * Only removes the fake element after another click event, that way\n * a user can hit `Ctrl+C` to copy because selection still exists.\n */\n\n }, {\n key: 'removeFake',\n value: function removeFake() {\n if (this.fakeHandler) {\n this.container.removeEventListener('click', this.fakeHandlerCallback);\n this.fakeHandler = null;\n this.fakeHandlerCallback = null;\n }\n\n if (this.fakeElem) {\n this.container.removeChild(this.fakeElem);\n this.fakeElem = null;\n }\n }\n\n /**\n * Selects the content from element passed on `target` property.\n */\n\n }, {\n key: 'selectTarget',\n value: function selectTarget() {\n this.selectedText = select_default()(this.target);\n this.copyText();\n }\n\n /**\n * Executes the copy operation based on the current selection.\n */\n\n }, {\n key: 'copyText',\n value: function copyText() {\n var succeeded = void 0;\n\n try {\n succeeded = document.execCommand(this.action);\n } catch (err) {\n succeeded = false;\n }\n\n this.handleResult(succeeded);\n }\n\n /**\n * Fires an event based on the copy operation result.\n * @param {Boolean} succeeded\n */\n\n }, {\n key: 'handleResult',\n value: function handleResult(succeeded) {\n this.emitter.emit(succeeded ? 'success' : 'error', {\n action: this.action,\n text: this.selectedText,\n trigger: this.trigger,\n clearSelection: this.clearSelection.bind(this)\n });\n }\n\n /**\n * Moves focus away from `target` and back to the trigger, removes current selection.\n */\n\n }, {\n key: 'clearSelection',\n value: function clearSelection() {\n if (this.trigger) {\n this.trigger.focus();\n }\n document.activeElement.blur();\n window.getSelection().removeAllRanges();\n }\n\n /**\n * Sets the `action` to be performed which can be either 'copy' or 'cut'.\n * @param {String} action\n */\n\n }, {\n key: 'destroy',\n\n\n /**\n * Destroy lifecycle.\n */\n value: function destroy() {\n this.removeFake();\n }\n }, {\n key: 'action',\n set: function set() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'copy';\n\n this._action = action;\n\n if (this._action !== 'copy' && this._action !== 'cut') {\n throw new Error('Invalid \"action\" value, use either \"copy\" or \"cut\"');\n }\n }\n\n /**\n * Gets the `action` property.\n * @return {String}\n */\n ,\n get: function get() {\n return this._action;\n }\n\n /**\n * Sets the `target` property using an element\n * that will be have its content copied.\n * @param {Element} target\n */\n\n }, {\n key: 'target',\n set: function set(target) {\n if (target !== undefined) {\n if (target && (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' && target.nodeType === 1) {\n if (this.action === 'copy' && target.hasAttribute('disabled')) {\n throw new Error('Invalid \"target\" attribute. Please use \"readonly\" instead of \"disabled\" attribute');\n }\n\n if (this.action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) {\n throw new Error('Invalid \"target\" attribute. You can\\'t cut text from elements with \"readonly\" or \"disabled\" attributes');\n }\n\n this._target = target;\n } else {\n throw new Error('Invalid \"target\" value, use a valid Element');\n }\n }\n }\n\n /**\n * Gets the `target` property.\n * @return {String|HTMLElement}\n */\n ,\n get: function get() {\n return this._target;\n }\n }]);\n\n return ClipboardAction;\n}();\n\n/* harmony default export */ var clipboard_action = (clipboard_action_ClipboardAction);\n// EXTERNAL MODULE: ./node_modules/tiny-emitter/index.js\nvar tiny_emitter = __webpack_require__(1);\nvar tiny_emitter_default = /*#__PURE__*/__webpack_require__.n(tiny_emitter);\n\n// EXTERNAL MODULE: ./node_modules/good-listener/src/listen.js\nvar listen = __webpack_require__(2);\nvar listen_default = /*#__PURE__*/__webpack_require__.n(listen);\n\n// CONCATENATED MODULE: ./src/clipboard.js\nvar clipboard_typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar clipboard_createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction clipboard_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n/**\n * Base class which takes one or more elements, adds event listeners to them,\n * and instantiates a new `ClipboardAction` on each click.\n */\n\nvar clipboard_Clipboard = function (_Emitter) {\n _inherits(Clipboard, _Emitter);\n\n /**\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n * @param {Object} options\n */\n function Clipboard(trigger, options) {\n clipboard_classCallCheck(this, Clipboard);\n\n var _this = _possibleConstructorReturn(this, (Clipboard.__proto__ || Object.getPrototypeOf(Clipboard)).call(this));\n\n _this.resolveOptions(options);\n _this.listenClick(trigger);\n return _this;\n }\n\n /**\n * Defines if attributes would be resolved using internal setter functions\n * or custom functions that were passed in the constructor.\n * @param {Object} options\n */\n\n\n clipboard_createClass(Clipboard, [{\n key: 'resolveOptions',\n value: function resolveOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this.action = typeof options.action === 'function' ? options.action : this.defaultAction;\n this.target = typeof options.target === 'function' ? options.target : this.defaultTarget;\n this.text = typeof options.text === 'function' ? options.text : this.defaultText;\n this.container = clipboard_typeof(options.container) === 'object' ? options.container : document.body;\n }\n\n /**\n * Adds a click event listener to the passed trigger.\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n */\n\n }, {\n key: 'listenClick',\n value: function listenClick(trigger) {\n var _this2 = this;\n\n this.listener = listen_default()(trigger, 'click', function (e) {\n return _this2.onClick(e);\n });\n }\n\n /**\n * Defines a new `ClipboardAction` on each click event.\n * @param {Event} e\n */\n\n }, {\n key: 'onClick',\n value: function onClick(e) {\n var trigger = e.delegateTarget || e.currentTarget;\n\n if (this.clipboardAction) {\n this.clipboardAction = null;\n }\n\n this.clipboardAction = new clipboard_action({\n action: this.action(trigger),\n target: this.target(trigger),\n text: this.text(trigger),\n container: this.container,\n trigger: trigger,\n emitter: this\n });\n }\n\n /**\n * Default `action` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: 'defaultAction',\n value: function defaultAction(trigger) {\n return getAttributeValue('action', trigger);\n }\n\n /**\n * Default `target` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: 'defaultTarget',\n value: function defaultTarget(trigger) {\n var selector = getAttributeValue('target', trigger);\n\n if (selector) {\n return document.querySelector(selector);\n }\n }\n\n /**\n * Returns the support of the given action, or all actions if no action is\n * given.\n * @param {String} [action]\n */\n\n }, {\n key: 'defaultText',\n\n\n /**\n * Default `text` lookup function.\n * @param {Element} trigger\n */\n value: function defaultText(trigger) {\n return getAttributeValue('text', trigger);\n }\n\n /**\n * Destroy lifecycle.\n */\n\n }, {\n key: 'destroy',\n value: function destroy() {\n this.listener.destroy();\n\n if (this.clipboardAction) {\n this.clipboardAction.destroy();\n this.clipboardAction = null;\n }\n }\n }], [{\n key: 'isSupported',\n value: function isSupported() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];\n\n var actions = typeof action === 'string' ? [action] : action;\n var support = !!document.queryCommandSupported;\n\n actions.forEach(function (action) {\n support = support && !!document.queryCommandSupported(action);\n });\n\n return support;\n }\n }]);\n\n return Clipboard;\n}(tiny_emitter_default.a);\n\n/**\n * Helper function to retrieve attribute value.\n * @param {String} suffix\n * @param {Element} element\n */\n\n\nfunction getAttributeValue(suffix, element) {\n var attribute = 'data-clipboard-' + suffix;\n\n if (!element.hasAttribute(attribute)) {\n return;\n }\n\n return element.getAttribute(attribute);\n}\n\n/* harmony default export */ var clipboard = __webpack_exports__[\"default\"] = (clipboard_Clipboard);\n\n/***/ })\n/******/ ])[\"default\"];\n});","'use strict';\nconst isRegexp = require('is-regexp');\nconst isObj = require('is-obj');\nconst getOwnEnumPropSymbols = require('get-own-enumerable-property-symbols').default;\n\nmodule.exports = (val, opts, pad) => {\n\tconst seen = [];\n\n\treturn (function stringify(val, opts, pad) {\n\t\topts = opts || {};\n\t\topts.indent = opts.indent || '\\t';\n\t\tpad = pad || '';\n\n\t\tlet tokens;\n\n\t\tif (opts.inlineCharacterLimit === undefined) {\n\t\t\ttokens = {\n\t\t\t\tnewLine: '\\n',\n\t\t\t\tnewLineOrSpace: '\\n',\n\t\t\t\tpad,\n\t\t\t\tindent: pad + opts.indent\n\t\t\t};\n\t\t} else {\n\t\t\ttokens = {\n\t\t\t\tnewLine: '@@__STRINGIFY_OBJECT_NEW_LINE__@@',\n\t\t\t\tnewLineOrSpace: '@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@',\n\t\t\t\tpad: '@@__STRINGIFY_OBJECT_PAD__@@',\n\t\t\t\tindent: '@@__STRINGIFY_OBJECT_INDENT__@@'\n\t\t\t};\n\t\t}\n\n\t\tconst expandWhiteSpace = string => {\n\t\t\tif (opts.inlineCharacterLimit === undefined) {\n\t\t\t\treturn string;\n\t\t\t}\n\n\t\t\tconst oneLined = string\n\t\t\t\t.replace(new RegExp(tokens.newLine, 'g'), '')\n\t\t\t\t.replace(new RegExp(tokens.newLineOrSpace, 'g'), ' ')\n\t\t\t\t.replace(new RegExp(tokens.pad + '|' + tokens.indent, 'g'), '');\n\n\t\t\tif (oneLined.length <= opts.inlineCharacterLimit) {\n\t\t\t\treturn oneLined;\n\t\t\t}\n\n\t\t\treturn string\n\t\t\t\t.replace(new RegExp(tokens.newLine + '|' + tokens.newLineOrSpace, 'g'), '\\n')\n\t\t\t\t.replace(new RegExp(tokens.pad, 'g'), pad)\n\t\t\t\t.replace(new RegExp(tokens.indent, 'g'), pad + opts.indent);\n\t\t};\n\n\t\tif (seen.indexOf(val) !== -1) {\n\t\t\treturn '\"[Circular]\"';\n\t\t}\n\n\t\tif (val === null ||\n\t\t\tval === undefined ||\n\t\t\ttypeof val === 'number' ||\n\t\t\ttypeof val === 'boolean' ||\n\t\t\ttypeof val === 'function' ||\n\t\t\ttypeof val === 'symbol' ||\n\t\t\tisRegexp(val)) {\n\t\t\treturn String(val);\n\t\t}\n\n\t\tif (val instanceof Date) {\n\t\t\treturn `new Date('${val.toISOString()}')`;\n\t\t}\n\n\t\tif (Array.isArray(val)) {\n\t\t\tif (val.length === 0) {\n\t\t\t\treturn '[]';\n\t\t\t}\n\n\t\t\tseen.push(val);\n\n\t\t\tconst ret = '[' + tokens.newLine + val.map((el, i) => {\n\t\t\t\tconst eol = val.length - 1 === i ? tokens.newLine : ',' + tokens.newLineOrSpace;\n\t\t\t\tlet value = stringify(el, opts, pad + opts.indent);\n\t\t\t\tif (opts.transform) {\n\t\t\t\t\tvalue = opts.transform(val, i, value);\n\t\t\t\t}\n\t\t\t\treturn tokens.indent + value + eol;\n\t\t\t}).join('') + tokens.pad + ']';\n\n\t\t\tseen.pop();\n\n\t\t\treturn expandWhiteSpace(ret);\n\t\t}\n\n\t\tif (isObj(val)) {\n\t\t\tlet objKeys = Object.keys(val).concat(getOwnEnumPropSymbols(val));\n\n\t\t\tif (opts.filter) {\n\t\t\t\tobjKeys = objKeys.filter(el => opts.filter(val, el));\n\t\t\t}\n\n\t\t\tif (objKeys.length === 0) {\n\t\t\t\treturn '{}';\n\t\t\t}\n\n\t\t\tseen.push(val);\n\n\t\t\tconst ret = '{' + tokens.newLine + objKeys.map((el, i) => {\n\t\t\t\tconst eol = objKeys.length - 1 === i ? tokens.newLine : ',' + tokens.newLineOrSpace;\n\t\t\t\tconst isSymbol = typeof el === 'symbol';\n\t\t\t\tconst isClassic = !isSymbol && /^[a-z$_][a-z$_0-9]*$/i.test(el);\n\t\t\t\tconst key = isSymbol || isClassic ? el : stringify(el, opts);\n\t\t\t\tlet value = stringify(val[el], opts, pad + opts.indent);\n\t\t\t\tif (opts.transform) {\n\t\t\t\t\tvalue = opts.transform(val, el, value);\n\t\t\t\t}\n\t\t\t\treturn tokens.indent + String(key) + ': ' + value + eol;\n\t\t\t}).join('') + tokens.pad + '}';\n\n\t\t\tseen.pop();\n\n\t\t\treturn expandWhiteSpace(ret);\n\t\t}\n\n\t\tval = String(val).replace(/[\\r\\n]/g, x => x === '\\n' ? '\\\\n' : '\\\\r');\n\n\t\tif (opts.singleQuotes === false) {\n\t\t\tval = val.replace(/\"/g, '\\\\\"');\n\t\t\treturn `\"${val}\"`;\n\t\t}\n\n\t\tval = val.replace(/\\\\?'/g, '\\\\\\'');\n\t\treturn `'${val}'`;\n\t})(val, opts, pad);\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (object) => Object\n .getOwnPropertySymbols(object)\n .filter((keySymbol) => Object.prototype.propertyIsEnumerable.call(object, keySymbol));\n//# sourceMappingURL=index.js.map","'use strict';\nmodule.exports = function (re) {\n\treturn Object.prototype.toString.call(re) === '[object RegExp]';\n};\n","'use strict';\nmodule.exports = function (x) {\n\tvar type = typeof x;\n\treturn x !== null && (type === 'object' || type === 'function');\n};\n","// Helpers\r\nimport stringifyObject from 'stringify-object';\r\n// Svelte\r\nimport { derived } from 'svelte/store';\r\n// Stores\r\nimport msfStore from './msf';\r\nimport { logicExport } from './logic';\r\n// Constants\r\nimport { scriptSrc } from '../constants';\r\nconst generatedCode = derived([logicExport, msfStore], ([$logicExport, $msfStore]) => {\r\n const script = `\r\n\r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n
    \r\n      \r\n        {$generatedCode}\r\n      \r\n    
    \r\n\r\n \r\n \r\n\r\n
    \r\n
    \r\n","\n\n
    \n
    \n","import App from './App.svelte';\r\nconst app = new App({\r\n target: document.body,\r\n});\r\nexport default app;\r\n"],"names":["noop","identity","x","assign","tar","src","k","run","fn","blank_object","Object","create","run_all","fns","forEach","is_function","thing","safe_not_equal","a","b","subscribe","store","callbacks","unsub","unsubscribe","component_subscribe","component","callback","$$","on_destroy","push","create_slot","definition","ctx","$$scope","slot_ctx","get_slot_context","slice","update_slot","slot","slot_definition","dirty","get_slot_changes_fn","get_slot_context_fn","slot_changes","lets","undefined","merged","len","Math","max","length","i","get_slot_changes","slot_context","p","exclude_internal_props","props","result","set_store_value","ret","value","set","is_client","window","now","performance","Date","raf","cb","requestAnimationFrame","tasks","Set","run_tasks","task","c","delete","f","size","loop","promise","Promise","fulfill","add","[object Object]","append","target","node","appendChild","insert","anchor","insertBefore","detach","parentNode","removeChild","destroy_each","iterations","detaching","d","element","name","document","createElement","svg_element","createElementNS","text","data","createTextNode","space","empty","listen","event","handler","options","addEventListener","removeEventListener","attr","attribute","removeAttribute","getAttribute","setAttribute","set_svg_attributes","attributes","key","children","Array","from","childNodes","claim_element","nodes","svg","nodeName","j","remove","splice","set_data","wholeText","select_option","select","option","__value","selected","toggle_class","toggle","classList","custom_event","type","detail","e","createEvent","initCustomEvent","HtmlTag","this","n","html","t","h","innerHTML","active_docs","current_component","active","create_rule","duration","delay","ease","uid","step","keyframes","rule","str","hash","charCodeAt","doc","ownerDocument","stylesheet","__svelte_stylesheet","head","sheet","current_rules","__svelte_rules","insertRule","cssRules","animation","style","delete_rule","previous","split","next","filter","anim","indexOf","deleted","join","deleteRule","clear","add_transform","getBoundingClientRect","left","top","getComputedStyle","transform","set_current_component","get_current_component","Error","onMount","on_mount","onDestroy","createEventDispatcher","call","getContext","context","get","bubble","dirty_components","binding_callbacks","render_callbacks","flush_callbacks","resolved_promise","resolve","update_scheduled","schedule_update","then","flush","add_render_callback","add_flush_callback","flushing","seen_callbacks","update","pop","has","fragment","before_update","after_update","wait","dispatch","direction","kind","dispatchEvent","outroing","outros","group_outros","r","check_outros","transition_in","block","local","transition_out","o","null_transition","create_in_transition","params","animation_name","config","running","cleanup","go","easing","tick","css","start_time","end_time","abort","started","create_bidirectional_transition","intro","running_program","pending_program","clear_animation","init","program","abs","start","end","group","destroy_block","lookup","outro_and_destroy_block","fix_and_outro_and_destroy_block","update_keyed_each","old_blocks","get_key","dynamic","list","destroy","create_each_block","get_context","old_indexes","new_blocks","new_lookup","Map","deltas","child_ctx","will_move","did_move","m","first","new_block","old_block","new_key","old_key","get_spread_update","levels","updates","to_null_out","accounted_for","get_spread_object","spread_props","bind","index","bound","create_component","mount_component","new_on_destroy","map","destroy_component","instance","create_fragment","not_equal","parent_component","prop_values","skip_bound","ready","rest","fill","make_dirty","hydrate","l","SvelteComponent","$destroy","$$props","obj","$$set","keys","subscriber_queue","writable","stop","subscribers","new_value","run_queue","s","invalidate","subscriber","derived","stores","initial_value","single","isArray","stores_array","auto","inited","values","pending","sync","unsubscribers","Pages","currentPage","HOME","link","extraClass","icons","IntroIcon","MultiStepsIcon","ConditionalLogicIcon","GenerateCodeIcon","$currentPage","MSF","LOGIC","CODE","title","subtitle","primaryText","secondaryText","cubicOut","quintOut","fade","linear","opacity","fly","y","target_opacity","od","u","slide","height","parseFloat","padding_top","paddingTop","padding_bottom","paddingBottom","margin_top","marginTop","margin_bottom","marginBottom","border_top_width","borderTopWidth","border_bottom_width","borderBottomWidth","min","flip","scaleX","width","clientWidth","scaleY","clientHeight","dx","to","dy","sqrt","_t","msfStore","hiddeButtonsOnSubmit","scrollTopOnStepChange","msfActivated","msfRequired","optionalStore","msfOptional","modify","items","item","checkSelected","find","msfCopy","msfSlides","content","video1","video2","webflowSetup","elements","alertSelector","backSelector","alertText","backText","nextText","completedPercentageSelector","currentStepSelector","customNav","displayValues","msfGlobal","warningClass","hiddenForm","disabled","label","id","selected_option","querySelector","input","required","placeholder","selector","inputValue","reg","RegExp","class","replace","removeSelector","toString","addSelector","$msfStore","deleteParams","getRandomValues","crypto","msCrypto","rnds8","Uint8Array","rng","validate","uuid","REGEX","test","byteToHex","substr","v4","buf","offset","rnds","random","arr","arguments","toLowerCase","TypeError","stringify","action","button","param","uuidv4","addButtonText","removeButtonText","targetIndex","filledParams","checkFilled","form","formSelector","nextSelector","$msfActivated","$msfCopy","hiddenFormStep","sendHiddenForm","checked","blocks","starterForm","payload","_id","tag","classes","data-name","slider","navSpacing","autoplay","iconArrows","navRound","hideArrows","disableSwipe","infinite","autoMax","data-animation","data-disable-swipe","data-duration","v","url","mode","href","for","autofocus","maxlength","inputType","opts","dir","data-wait","styles","fake","namespace","comb","styleLess","variants","assets","ix1","ix2","interactions","events","actionLists","meta","unlinkedSymbolCount","droppedLinks","dynBindRemovedCount","dynListBindRemovedCount","paginationRemovedCount","createCopy","execCommand","notification","buttonText","triggerNotification","state","setTimeout","clipboardData","setData","JSON","trim","preventDefault","_a","body","scrollPosition","videoElement","currentSlide","isLast","load","slides","nextSlide","pageYOffset","oldWidth","overflow","position","disableScroll","scrollTo","right","bottom","showModal","components","AlertElement","AlertText","BackText","BackButton","DisplayCompleted","DisplayCurrentStep","CustomNav","DisplayValues","Elements","HiddenForm","MsfGlobal","NextText","WarningClass","WebflowSetup","openModal","deleteOptional","optionalBlocks","$msfOptional","unselectedOptionalBlocks","$msfRequired","freeGlobal","global","freeSelf","self","root","Function","Symbol","objectProto","prototype","hasOwnProperty","nativeObjectToString","symToStringTag","toStringTag","baseGetTag","isOwn","unmasked","getRawTag","objectToString","isObjectLike","isObject","isFunction","coreJsData","maskSrcKey","exec","IE_PROTO","funcToString","toSource","func","reIsHostCtor","funcProto","reIsNative","baseIsNative","getNative","object","getValue","WeakMap","objectCreate","baseCreate","proto","defineProperty","reIsUint","isIndex","baseAssignValue","configurable","enumerable","eq","other","assignValue","objValue","copyObject","source","customizer","isNew","newValue","isLength","isArrayLike","isPrototype","Ctor","constructor","baseIsArguments","propertyIsEnumerable","isArguments","freeExports","exports","nodeType","freeModule","module","Buffer","isBuffer","typedArrayTags","baseUnary","freeProcess","process","nodeUtil","types","require","binding","nodeIsTypedArray","isTypedArray","arrayLikeKeys","inherited","isArr","isArg","isBuff","isType","skipIndexes","iteratee","baseTimes","String","overArg","arg","nativeKeys","baseKeys","baseKeysIn","nativeKeysIn","isProto","keysIn","nativeCreate","Hash","entries","entry","assocIndexOf","array","__data__","ListCache","getMapData","MapCache","arrayPush","string","getPrototype","getPrototypeOf","Stack","pairs","LARGE_ARRAY_SIZE","allocUnsafe","stubArray","nativeGetSymbols","getOwnPropertySymbols","getSymbols","predicate","resIndex","arrayFilter","symbol","getSymbolsIn","baseGetAllKeys","keysFunc","symbolsFunc","getAllKeys","getAllKeysIn","DataView","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","getTag","ArrayBuffer","ctorString","cloneArrayBuffer","arrayBuffer","byteLength","reFlags","symbolProto","symbolValueOf","valueOf","initCloneByTag","isDeep","regexp","dataView","buffer","byteOffset","cloneDataView","typedArray","cloneTypedArray","lastIndex","nodeIsMap","isMap","nodeIsSet","isSet","cloneableTags","baseClone","bitmask","stack","isFlat","isFull","initCloneArray","copyArray","isFunc","copy","cloneBuffer","initCloneObject","copySymbolsIn","baseAssignIn","copySymbols","baseAssign","stacked","subValue","arrayEach","cloneDeep","CLONE_DEEP_FLAG","logicStore","customLogicStore","newLogic","logicParams","submitHiddenInputs","checkConditionsOnLoad","logicExport","$logicStore","$logicParams","newStore","logic","conditions","condition","startsWith","operator","actions","logicList","convertOperator","editLogic","operators","compatibleTypes","includes","filteredOperators","__awaiter","thisArg","_arguments","P","generator","reject","fulfilled","rejected","done","apply","editID","defaultCondition","defaultAction","missingFields","triedToSubmit","checkFilledInputs","logicSlides","editMode","factory","modules","installedModules","__webpack_require__","moduleId","getter","__esModule","ns","property","selectedText","focus","isReadOnly","hasAttribute","setSelectionRange","selection","getSelection","range","createRange","selectNodeContents","removeAllRanges","addRange","E","on","once","listener","off","_","emit","evtArr","evts","liveEvents","TinyEmitter","is","delegate","listenNode","nodeList","listenNodeList","listenSelector","HTMLElement","closest","_delegate","useCapture","listenerFn","delegateTarget","querySelectorAll","Element","matches","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","__webpack_exports__","src_select","select_default","_typeof","iterator","_createClass","defineProperties","descriptor","Constructor","protoProps","staticProps","clipboard_action","ClipboardAction","_classCallCheck","resolveOptions","initSelection","container","emitter","trigger","selectFake","selectTarget","_this","isRTL","documentElement","removeFake","fakeHandlerCallback","fakeHandler","fakeElem","fontSize","border","padding","margin","yPosition","scrollTop","copyText","succeeded","err","handleResult","clearSelection","activeElement","blur","_action","_target","tiny_emitter","tiny_emitter_default","listen_default","clipboard_typeof","clipboard_createClass","clipboard_Clipboard","_Emitter","Clipboard","clipboard_classCallCheck","ReferenceError","_possibleConstructorReturn","__proto__","listenClick","subClass","superClass","setPrototypeOf","_inherits","defaultTarget","defaultText","_this2","onClick","currentTarget","clipboardAction","getAttributeValue","support","queryCommandSupported","suffix","getOwnEnumPropSymbols","keySymbol","default","val","pad","seen","tokens","indent","inlineCharacterLimit","newLine","newLineOrSpace","expandWhiteSpace","oneLined","re","toISOString","el","eol","objKeys","concat","isSymbol","isClassic","singleQuotes","generatedCode","$logicExport","stringifyObject","Prism","C","manual","disableWorkerMessageHandler","util","encode","alias","objId","__id","clone","getLanguage","className","parentElement","match","currentScript","getElementsByTagName","languages","extend","DFS","plugins","highlightAll","highlightAllUnder","hooks","highlightElement","language","grammar","code","textContent","highlightedCode","Worker","filename","onmessage","postMessage","immediateClose","highlight","tokenize","M","g","inside","lookbehind","greedy","pattern","tail","prev","w","A","S","O","N","W","all","Token","parse","close","readyState","defer","WorkerGlobalScope","markup","comment","prolog","doctype","internal-subset","punctuation","doctype-tag","cdata","attr-value","attr-name","entity","included-cdata","mathml","xml","ssml","atom","rss","clipboard","copyButton","Home","Msf","Logic","Code"],"mappings":"gCAAA,SAASA,KACT,MAAMC,EAAWC,GAAKA,EACtB,SAASC,EAAOC,EAAKC,GAEjB,IAAK,MAAMC,KAAKD,EACZD,EAAIE,GAAKD,EAAIC,GACjB,OAAOF,EAUX,SAASG,EAAIC,GACT,OAAOA,IAEX,SAASC,IACL,OAAOC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FE,QAAQ,OAAM,WAAW,OAAOnb,KAAI,KAAK09B,YAAW,EAAGC,QAAO,EAAGF,OAAOl1B,GAAG4yB,EAAMgB,UAAU13B,aAAa,SAAS,QAAQgE,MAAM0yB,EAAMgB,UAAU3zB,KAAK2yB,EAAMgB,UAAUyC,OAAOzD,EAAMgB,UAAUqD,OAAOrE,EAAMgB,UAAUyC,OAAOzD,EAAMgB,UAAUn1B,IAAIm0B,EAAMgB,UAAUyC,OAAOzD,EAAMgB,UAAUsD,IAAItE,EAAMgB,UAAUC,OAAO,SAAS,IAAIjB,EAAMgB,UAAUuD,KAAKvE,EAAMgB,UAAUsD,IAAItE,EAAMgB,UAAUwD,KAAKxE,EAAMgB,UAAUsD,IAAItE,EAAMgB,UAAUyD,IAAIzE,EAAMgB,UAAUsD,sHC4BtmE1+B,gBAAAA,+HALrCA,kTAAAA,yCAKqCA,0JAzB1C8+B,EAAWhD,EAAMiD,6BAErBp0B,OACIm0B,MAAgBvH,GAAUwH,GAAc17B,WAAcy4B,IACtD1B,GAAMoB,iBAEV3wB,MAAgBi0B,EAAUpvB,0DAayCosB,0BAMrBiD,4+BCnBlB/+B,KAAMA,yOAANA,KAAMA,wVANnBg/B,GAAMC,GAAKC,GAAOC,YCLrB,oEAAQ,CAChB97B,OAAQe,SAAS0c"} \ No newline at end of file +{"version":3,"file":"bundle.js","sources":["../../node_modules/svelte/internal/index.mjs","../../node_modules/svelte/store/index.mjs","../../src/types.ts","../../src/stores/global.ts","../../src/icons/intro-icon.svg","../../src/icons/multi-steps-icon.svg","../../src/icons/conditional-logic-icon.svg","../../src/icons/generate-code-icon.svg","../../src/ui/NavLink.svelte","../../src/icons/logo.svg","../../src/ui/Nav.svelte","../../src/ui/Hero.svelte","../../node_modules/svelte/easing/index.mjs","../../node_modules/svelte/transition/index.mjs","../../src/ui/TransitionWrap.svelte","../../src/pages/Home.svelte","../../node_modules/svelte/animate/index.mjs","../../src/stores/msf.ts","../../src/pages/msf/msf-slides.ts","../../src/ui/Select.svelte","../../src/ui/Input.svelte","../../src/pages/msf/components/AlertElement.svelte","../../src/pages/msf/components/AlertText.svelte","../../src/pages/msf/components/BackButton.svelte","../../node_modules/uuid/dist/esm-browser/rng.js","../../node_modules/uuid/dist/esm-browser/regex.js","../../node_modules/uuid/dist/esm-browser/validate.js","../../node_modules/uuid/dist/esm-browser/stringify.js","../../node_modules/uuid/dist/esm-browser/v4.js","../../src/icons/plus-icon.svg","../../src/icons/minus-icon.svg","../../src/icons/copy-icon.svg","../../src/ui/ControlButton.svelte","../../src/pages/msf/components/BackText.svelte","../../src/pages/msf/components/CustomNav.svelte","../../src/pages/msf/components/DisplayCompleted.svelte","../../src/pages/msf/components/DisplayCurrentStep.svelte","../../src/pages/msf/components/DisplayValues.svelte","../../src/pages/msf/components/Elements.svelte","../../src/pages/msf/components/HiddenForm.svelte","../../src/icons/info-icon.svg","../../src/icons/delete-icon.svg","../../src/ui/MiniButton.svelte","../../src/pages/msf/components/MsfBlock.svelte","../../src/ui/Checkbox.svelte","../../src/pages/msf/components/MsfGlobal.svelte","../../src/pages/msf/components/MsfModal.svelte","../../src/pages/msf/components/NextText.svelte","../../src/pages/msf/components/WarningClass.svelte","../../src/constants.ts","../../src/pages/msf/components/WebflowSetup.svelte","../../src/helpers.ts","../../src/icons/modal-close-icon.svg","../../src/icons/back-icon.svg","../../src/icons/next-icon.svg","../../src/ui/ModalContent.svelte","../../src/ui/Modal.svelte","../../src/pages/msf/Msf.svelte","../../node_modules/lodash-es/_freeGlobal.js","../../node_modules/lodash-es/_root.js","../../node_modules/lodash-es/_Symbol.js","../../node_modules/lodash-es/_getRawTag.js","../../node_modules/lodash-es/_objectToString.js","../../node_modules/lodash-es/_baseGetTag.js","../../node_modules/lodash-es/isObjectLike.js","../../node_modules/lodash-es/isArray.js","../../node_modules/lodash-es/isObject.js","../../node_modules/lodash-es/isFunction.js","../../node_modules/lodash-es/_coreJsData.js","../../node_modules/lodash-es/_isMasked.js","../../node_modules/lodash-es/_toSource.js","../../node_modules/lodash-es/_baseIsNative.js","../../node_modules/lodash-es/_getNative.js","../../node_modules/lodash-es/_getValue.js","../../node_modules/lodash-es/_WeakMap.js","../../node_modules/lodash-es/_baseCreate.js","../../node_modules/lodash-es/_defineProperty.js","../../node_modules/lodash-es/_isIndex.js","../../node_modules/lodash-es/_baseAssignValue.js","../../node_modules/lodash-es/eq.js","../../node_modules/lodash-es/_assignValue.js","../../node_modules/lodash-es/_copyObject.js","../../node_modules/lodash-es/isLength.js","../../node_modules/lodash-es/isArrayLike.js","../../node_modules/lodash-es/_isPrototype.js","../../node_modules/lodash-es/_baseIsArguments.js","../../node_modules/lodash-es/isArguments.js","../../node_modules/lodash-es/isBuffer.js","../../node_modules/lodash-es/stubFalse.js","../../node_modules/lodash-es/_baseIsTypedArray.js","../../node_modules/lodash-es/_baseUnary.js","../../node_modules/lodash-es/_nodeUtil.js","../../node_modules/lodash-es/isTypedArray.js","../../node_modules/lodash-es/_arrayLikeKeys.js","../../node_modules/lodash-es/_baseTimes.js","../../node_modules/lodash-es/_overArg.js","../../node_modules/lodash-es/_nativeKeys.js","../../node_modules/lodash-es/_baseKeys.js","../../node_modules/lodash-es/keys.js","../../node_modules/lodash-es/_baseKeysIn.js","../../node_modules/lodash-es/_nativeKeysIn.js","../../node_modules/lodash-es/keysIn.js","../../node_modules/lodash-es/_nativeCreate.js","../../node_modules/lodash-es/_hashGet.js","../../node_modules/lodash-es/_hashHas.js","../../node_modules/lodash-es/_Hash.js","../../node_modules/lodash-es/_assocIndexOf.js","../../node_modules/lodash-es/_hashClear.js","../../node_modules/lodash-es/_hashDelete.js","../../node_modules/lodash-es/_hashSet.js","../../node_modules/lodash-es/_listCacheDelete.js","../../node_modules/lodash-es/_ListCache.js","../../node_modules/lodash-es/_listCacheClear.js","../../node_modules/lodash-es/_listCacheGet.js","../../node_modules/lodash-es/_listCacheHas.js","../../node_modules/lodash-es/_listCacheSet.js","../../node_modules/lodash-es/_Map.js","../../node_modules/lodash-es/_getMapData.js","../../node_modules/lodash-es/_isKeyable.js","../../node_modules/lodash-es/_MapCache.js","../../node_modules/lodash-es/_arrayPush.js","../../node_modules/lodash-es/_mapCacheClear.js","../../node_modules/lodash-es/_mapCacheDelete.js","../../node_modules/lodash-es/_mapCacheGet.js","../../node_modules/lodash-es/_mapCacheHas.js","../../node_modules/lodash-es/_mapCacheSet.js","../../node_modules/lodash-es/_getPrototype.js","../../node_modules/lodash-es/_Stack.js","../../node_modules/lodash-es/_stackClear.js","../../node_modules/lodash-es/_stackDelete.js","../../node_modules/lodash-es/_stackGet.js","../../node_modules/lodash-es/_stackHas.js","../../node_modules/lodash-es/_stackSet.js","../../node_modules/lodash-es/_cloneBuffer.js","../../node_modules/lodash-es/stubArray.js","../../node_modules/lodash-es/_getSymbols.js","../../node_modules/lodash-es/_arrayFilter.js","../../node_modules/lodash-es/_getSymbolsIn.js","../../node_modules/lodash-es/_baseGetAllKeys.js","../../node_modules/lodash-es/_getAllKeys.js","../../node_modules/lodash-es/_getAllKeysIn.js","../../node_modules/lodash-es/_DataView.js","../../node_modules/lodash-es/_Promise.js","../../node_modules/lodash-es/_Set.js","../../node_modules/lodash-es/_getTag.js","../../node_modules/lodash-es/_initCloneArray.js","../../node_modules/lodash-es/_Uint8Array.js","../../node_modules/lodash-es/_cloneArrayBuffer.js","../../node_modules/lodash-es/_cloneRegExp.js","../../node_modules/lodash-es/_cloneSymbol.js","../../node_modules/lodash-es/_initCloneByTag.js","../../node_modules/lodash-es/_cloneDataView.js","../../node_modules/lodash-es/_cloneTypedArray.js","../../node_modules/lodash-es/isMap.js","../../node_modules/lodash-es/_baseIsMap.js","../../node_modules/lodash-es/isSet.js","../../node_modules/lodash-es/_baseIsSet.js","../../node_modules/lodash-es/_baseClone.js","../../node_modules/lodash-es/_copyArray.js","../../node_modules/lodash-es/_initCloneObject.js","../../node_modules/lodash-es/_copySymbolsIn.js","../../node_modules/lodash-es/_baseAssignIn.js","../../node_modules/lodash-es/_copySymbols.js","../../node_modules/lodash-es/_baseAssign.js","../../node_modules/lodash-es/_arrayEach.js","../../node_modules/lodash-es/cloneDeep.js","../../src/stores/logic.ts","../../src/icons/edit-icon.svg","../../src/icons/trash-icon.svg","../../src/pages/logic/components/LogicBlock.svelte","../../src/pages/logic/components/LogicGlobal.svelte","../../src/pages/logic/components/LogicList.svelte","../../src/pages/logic/components/ConditionsBlock.svelte","../../src/pages/logic/components/ActionsBlock.svelte","../../src/icons/back-button-icon.svg","../../src/pages/logic/components/LogicEditor.svelte","../../src/pages/logic/logic-slides.ts","../../src/pages/logic/Logic.svelte","../../node_modules/clipboard/dist/clipboard.js","../../node_modules/stringify-object/index.js","../../node_modules/get-own-enumerable-property-symbols/lib/index.js","../../node_modules/is-regexp/index.js","../../node_modules/is-obj/index.js","../../src/stores/code.ts","../prism.js","../../src/pages/code/components/CodeBox.svelte","../../src/App.svelte","../../src/main.ts"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value = ret) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? undefined : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction claim_element(nodes, name, attributes, svg) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeName === name) {\n let j = 0;\n const remove = [];\n while (j < node.attributes.length) {\n const attribute = node.attributes[j++];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n for (let k = 0; k < remove.length; k++) {\n node.removeAttribute(remove[k]);\n }\n return nodes.splice(i, 1)[0];\n }\n }\n return svg ? svg_element(name) : element(name);\n}\nfunction claim_text(nodes, data) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 3) {\n node.data = '' + data;\n return nodes.splice(i, 1)[0];\n }\n }\n return text(data);\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n node.style.setProperty(key, value, important ? 'important' : '');\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n const z_index = (parseInt(computed_style.zIndex) || 0) - 1;\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', `display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ` +\n `overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: ${z_index};`);\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = `data:text/html,`;\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, false, false, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor(anchor = null) {\n this.a = anchor;\n this.e = this.n = null;\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n this.e = element(target.nodeName);\n this.t = target;\n this.h(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\n\nconst active_docs = new Set();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = node.ownerDocument;\n active_docs.add(doc);\n const stylesheet = doc.__svelte_stylesheet || (doc.__svelte_stylesheet = doc.head.appendChild(element('style')).sheet);\n const current_rules = doc.__svelte_rules || (doc.__svelte_rules = {});\n if (!current_rules[name]) {\n current_rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ``}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n active_docs.forEach(doc => {\n const stylesheet = doc.__svelte_stylesheet;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n doc.__svelte_rules = {};\n });\n active_docs.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error(`Function called outside component initialization`);\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail);\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n }\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n callbacks.slice().forEach(fn => fn(event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\nlet flushing = false;\nconst seen_callbacks = new Set();\nfunction flush() {\n if (flushing)\n return;\n flushing = true;\n do {\n // first, call beforeUpdate functions\n // and update components\n for (let i = 0; i < dirty_components.length; i += 1) {\n const component = dirty_components[i];\n set_current_component(component);\n update(component.$$);\n }\n dirty_components.length = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n flushing = false;\n seen_callbacks.clear();\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = program.b - t;\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n info.blocks[i] = null;\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error(`Cannot have duplicate keys in a keyed each`);\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, classes_to_add) {\n const attributes = Object.assign({}, ...args);\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += \" \" + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += \" \" + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${String(value).replace(/\"/g, '"').replace(/'/g, ''')}\"`;\n }\n });\n return str;\n}\nconst escaped = {\n '\"': '"',\n \"'\": ''',\n '&': '&',\n '<': '<',\n '>': '>'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(parent_component ? parent_component.$$.context : []),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, options = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, options);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n return ` ${name}${value === true ? '' : `=${typeof value === 'string' ? JSON.stringify(escape(value)) : `\"${value}\"`}`}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : ``;\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const prop_values = options.props || {};\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n before_update: [],\n after_update: [],\n context: new Map(parent_component ? parent_component.$$.context : []),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false\n };\n let ready = false;\n $$.ctx = instance\n ? instance(component, prop_values, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor);\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.24.1' }, detail)));\n}\nfunction append_dev(target, node) {\n dispatch_dev(\"SvelteDOMInsert\", { target, node });\n append(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev(\"SvelteDOMInsert\", { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev(\"SvelteDOMRemove\", { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? [\"capture\"] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev(\"SvelteDOMAddEventListener\", { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev(\"SvelteDOMRemoveEventListener\", { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev(\"SvelteDOMRemoveAttribute\", { node, attribute });\n else\n dispatch_dev(\"SvelteDOMSetAttribute\", { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev(\"SvelteDOMSetProperty\", { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev(\"SvelteDOMSetDataset\", { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev(\"SvelteDOMSetData\", { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(`'target' is a required option`);\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn(`Component was already destroyed`); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error(`Infinite loop detected`);\n }\n };\n}\n\nexport { HtmlTag, SvelteComponent, SvelteComponentDev, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_transform, afterUpdate, append, append_dev, assign, attr, attr_dev, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_space, claim_text, clear_loops, component_subscribe, compute_rest_props, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, escape, escaped, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getContext, get_binding_group_value, get_current_component, get_slot_changes, get_slot_context, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, has_prop, identity, init, insert, insert_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, listen, listen_dev, loop, loop_guard, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, update_keyed_each, update_slot, validate_component, validate_each_argument, validate_each_keys, validate_slots, validate_store, xlink_attr };\n","import { noop, safe_not_equal, subscribe, run_all, is_function } from '../internal';\nexport { get_store_value as get } from '../internal';\n\nconst subscriber_queue = [];\n/**\n * Creates a `Readable` store that allows reading by subscription.\n * @param value initial value\n * @param {StartStopNotifier}start start and stop notifications for subscriptions\n */\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe,\n };\n}\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n * @param {*=}value initial value\n * @param {StartStopNotifier=}start start and stop notifications for subscriptions\n */\nfunction writable(value, start = noop) {\n let stop;\n const subscribers = [];\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) { // store is ready\n const run_queue = !subscriber_queue.length;\n for (let i = 0; i < subscribers.length; i += 1) {\n const s = subscribers[i];\n s[1]();\n subscriber_queue.push(s, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(value));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.push(subscriber);\n if (subscribers.length === 1) {\n stop = start(set) || noop;\n }\n run(value);\n return () => {\n const index = subscribers.indexOf(subscriber);\n if (index !== -1) {\n subscribers.splice(index, 1);\n }\n if (subscribers.length === 0) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction derived(stores, fn, initial_value) {\n const single = !Array.isArray(stores);\n const stores_array = single\n ? [stores]\n : stores;\n const auto = fn.length < 2;\n return readable(initial_value, (set) => {\n let inited = false;\n const values = [];\n let pending = 0;\n let cleanup = noop;\n const sync = () => {\n if (pending) {\n return;\n }\n cleanup();\n const result = fn(single ? values[0] : values, set);\n if (auto) {\n set(result);\n }\n else {\n cleanup = is_function(result) ? result : noop;\n }\n };\n const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {\n values[i] = value;\n pending &= ~(1 << i);\n if (inited) {\n sync();\n }\n }, () => {\n pending |= (1 << i);\n }));\n inited = true;\n sync();\n return function stop() {\n run_all(unsubscribers);\n cleanup();\n };\n });\n}\n\nexport { derived, readable, writable };\n","export var Pages;\r\n(function (Pages) {\r\n Pages[Pages[\"HOME\"] = 0] = \"HOME\";\r\n Pages[Pages[\"MSF\"] = 1] = \"MSF\";\r\n Pages[Pages[\"LOGIC\"] = 2] = \"LOGIC\";\r\n Pages[Pages[\"CODE\"] = 3] = \"CODE\";\r\n})(Pages || (Pages = {}));\r\n","import { writable } from 'svelte/store';\r\nimport { Pages } from '../types';\r\nexport const currentPage = writable(Pages.HOME);\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n","\r\n\r\n\r\n\r\n ($currentPage = link)}>\r\n
    \r\n \r\n
    \r\n
    {text}
    \r\n\r\n","\r\n \r\n","\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n

    A project by Alex Iglesias.

    \r\n
    \r\n","\r\n\r\n
    \r\n\r\n \r\n

    {title}

    \r\n\r\n \r\n

    \r\n {@html subtitle}\r\n

    \r\n\r\n \r\n
    \r\n {#if primaryText}\r\n {\r\n dispatch('primaryclick');\r\n }}>\r\n {primaryText}\r\n \r\n {/if}\r\n {#if secondaryText}\r\n {\r\n dispatch('secondaryclick');\r\n }}>\r\n {secondaryText}\r\n \r\n {/if}\r\n
    \r\n
    \r\n","export { identity as linear } from '../internal';\n\n/*\nAdapted from https://github.com/mattdesl\nDistributed under MIT License https://github.com/mattdesl/eases/blob/master/LICENSE.md\n*/\nfunction backInOut(t) {\n const s = 1.70158 * 1.525;\n if ((t *= 2) < 1)\n return 0.5 * (t * t * ((s + 1) * t - s));\n return 0.5 * ((t -= 2) * t * ((s + 1) * t + s) + 2);\n}\nfunction backIn(t) {\n const s = 1.70158;\n return t * t * ((s + 1) * t - s);\n}\nfunction backOut(t) {\n const s = 1.70158;\n return --t * t * ((s + 1) * t + s) + 1;\n}\nfunction bounceOut(t) {\n const a = 4.0 / 11.0;\n const b = 8.0 / 11.0;\n const c = 9.0 / 10.0;\n const ca = 4356.0 / 361.0;\n const cb = 35442.0 / 1805.0;\n const cc = 16061.0 / 1805.0;\n const t2 = t * t;\n return t < a\n ? 7.5625 * t2\n : t < b\n ? 9.075 * t2 - 9.9 * t + 3.4\n : t < c\n ? ca * t2 - cb * t + cc\n : 10.8 * t * t - 20.52 * t + 10.72;\n}\nfunction bounceInOut(t) {\n return t < 0.5\n ? 0.5 * (1.0 - bounceOut(1.0 - t * 2.0))\n : 0.5 * bounceOut(t * 2.0 - 1.0) + 0.5;\n}\nfunction bounceIn(t) {\n return 1.0 - bounceOut(1.0 - t);\n}\nfunction circInOut(t) {\n if ((t *= 2) < 1)\n return -0.5 * (Math.sqrt(1 - t * t) - 1);\n return 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);\n}\nfunction circIn(t) {\n return 1.0 - Math.sqrt(1.0 - t * t);\n}\nfunction circOut(t) {\n return Math.sqrt(1 - --t * t);\n}\nfunction cubicInOut(t) {\n return t < 0.5 ? 4.0 * t * t * t : 0.5 * Math.pow(2.0 * t - 2.0, 3.0) + 1.0;\n}\nfunction cubicIn(t) {\n return t * t * t;\n}\nfunction cubicOut(t) {\n const f = t - 1.0;\n return f * f * f + 1.0;\n}\nfunction elasticInOut(t) {\n return t < 0.5\n ? 0.5 *\n Math.sin(((+13.0 * Math.PI) / 2) * 2.0 * t) *\n Math.pow(2.0, 10.0 * (2.0 * t - 1.0))\n : 0.5 *\n Math.sin(((-13.0 * Math.PI) / 2) * (2.0 * t - 1.0 + 1.0)) *\n Math.pow(2.0, -10.0 * (2.0 * t - 1.0)) +\n 1.0;\n}\nfunction elasticIn(t) {\n return Math.sin((13.0 * t * Math.PI) / 2) * Math.pow(2.0, 10.0 * (t - 1.0));\n}\nfunction elasticOut(t) {\n return (Math.sin((-13.0 * (t + 1.0) * Math.PI) / 2) * Math.pow(2.0, -10.0 * t) + 1.0);\n}\nfunction expoInOut(t) {\n return t === 0.0 || t === 1.0\n ? t\n : t < 0.5\n ? +0.5 * Math.pow(2.0, 20.0 * t - 10.0)\n : -0.5 * Math.pow(2.0, 10.0 - t * 20.0) + 1.0;\n}\nfunction expoIn(t) {\n return t === 0.0 ? t : Math.pow(2.0, 10.0 * (t - 1.0));\n}\nfunction expoOut(t) {\n return t === 1.0 ? t : 1.0 - Math.pow(2.0, -10.0 * t);\n}\nfunction quadInOut(t) {\n t /= 0.5;\n if (t < 1)\n return 0.5 * t * t;\n t--;\n return -0.5 * (t * (t - 2) - 1);\n}\nfunction quadIn(t) {\n return t * t;\n}\nfunction quadOut(t) {\n return -t * (t - 2.0);\n}\nfunction quartInOut(t) {\n return t < 0.5\n ? +8.0 * Math.pow(t, 4.0)\n : -8.0 * Math.pow(t - 1.0, 4.0) + 1.0;\n}\nfunction quartIn(t) {\n return Math.pow(t, 4.0);\n}\nfunction quartOut(t) {\n return Math.pow(t - 1.0, 3.0) * (1.0 - t) + 1.0;\n}\nfunction quintInOut(t) {\n if ((t *= 2) < 1)\n return 0.5 * t * t * t * t * t;\n return 0.5 * ((t -= 2) * t * t * t * t + 2);\n}\nfunction quintIn(t) {\n return t * t * t * t * t;\n}\nfunction quintOut(t) {\n return --t * t * t * t * t + 1;\n}\nfunction sineInOut(t) {\n return -0.5 * (Math.cos(Math.PI * t) - 1);\n}\nfunction sineIn(t) {\n const v = Math.cos(t * Math.PI * 0.5);\n if (Math.abs(v) < 1e-14)\n return 1;\n else\n return 1 - v;\n}\nfunction sineOut(t) {\n return Math.sin((t * Math.PI) / 2);\n}\n\nexport { backIn, backInOut, backOut, bounceIn, bounceInOut, bounceOut, circIn, circInOut, circOut, cubicIn, cubicInOut, cubicOut, elasticIn, elasticInOut, elasticOut, expoIn, expoInOut, expoOut, quadIn, quadInOut, quadOut, quartIn, quartInOut, quartOut, quintIn, quintInOut, quintOut, sineIn, sineInOut, sineOut };\n","import { cubicInOut, linear, cubicOut } from '../easing';\nimport { is_function, assign } from '../internal';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\n\nfunction blur(node, { delay = 0, duration = 400, easing = cubicInOut, amount = 5, opacity = 0 }) {\n const style = getComputedStyle(node);\n const target_opacity = +style.opacity;\n const f = style.filter === 'none' ? '' : style.filter;\n const od = target_opacity * (1 - opacity);\n return {\n delay,\n duration,\n easing,\n css: (_t, u) => `opacity: ${target_opacity - (od * u)}; filter: ${f} blur(${u * amount}px);`\n };\n}\nfunction fade(node, { delay = 0, duration = 400, easing = linear }) {\n const o = +getComputedStyle(node).opacity;\n return {\n delay,\n duration,\n easing,\n css: t => `opacity: ${t * o}`\n };\n}\nfunction fly(node, { delay = 0, duration = 400, easing = cubicOut, x = 0, y = 0, opacity = 0 }) {\n const style = getComputedStyle(node);\n const target_opacity = +style.opacity;\n const transform = style.transform === 'none' ? '' : style.transform;\n const od = target_opacity * (1 - opacity);\n return {\n delay,\n duration,\n easing,\n css: (t, u) => `\n\t\t\ttransform: ${transform} translate(${(1 - t) * x}px, ${(1 - t) * y}px);\n\t\t\topacity: ${target_opacity - (od * u)}`\n };\n}\nfunction slide(node, { delay = 0, duration = 400, easing = cubicOut }) {\n const style = getComputedStyle(node);\n const opacity = +style.opacity;\n const height = parseFloat(style.height);\n const padding_top = parseFloat(style.paddingTop);\n const padding_bottom = parseFloat(style.paddingBottom);\n const margin_top = parseFloat(style.marginTop);\n const margin_bottom = parseFloat(style.marginBottom);\n const border_top_width = parseFloat(style.borderTopWidth);\n const border_bottom_width = parseFloat(style.borderBottomWidth);\n return {\n delay,\n duration,\n easing,\n css: t => `overflow: hidden;` +\n `opacity: ${Math.min(t * 20, 1) * opacity};` +\n `height: ${t * height}px;` +\n `padding-top: ${t * padding_top}px;` +\n `padding-bottom: ${t * padding_bottom}px;` +\n `margin-top: ${t * margin_top}px;` +\n `margin-bottom: ${t * margin_bottom}px;` +\n `border-top-width: ${t * border_top_width}px;` +\n `border-bottom-width: ${t * border_bottom_width}px;`\n };\n}\nfunction scale(node, { delay = 0, duration = 400, easing = cubicOut, start = 0, opacity = 0 }) {\n const style = getComputedStyle(node);\n const target_opacity = +style.opacity;\n const transform = style.transform === 'none' ? '' : style.transform;\n const sd = 1 - start;\n const od = target_opacity * (1 - opacity);\n return {\n delay,\n duration,\n easing,\n css: (_t, u) => `\n\t\t\ttransform: ${transform} scale(${1 - (sd * u)});\n\t\t\topacity: ${target_opacity - (od * u)}\n\t\t`\n };\n}\nfunction draw(node, { delay = 0, speed, duration, easing = cubicInOut }) {\n const len = node.getTotalLength();\n if (duration === undefined) {\n if (speed === undefined) {\n duration = 800;\n }\n else {\n duration = len / speed;\n }\n }\n else if (typeof duration === 'function') {\n duration = duration(len);\n }\n return {\n delay,\n duration,\n easing,\n css: (t, u) => `stroke-dasharray: ${t * len} ${u * len}`\n };\n}\nfunction crossfade(_a) {\n var { fallback } = _a, defaults = __rest(_a, [\"fallback\"]);\n const to_receive = new Map();\n const to_send = new Map();\n function crossfade(from, node, params) {\n const { delay = 0, duration = d => Math.sqrt(d) * 30, easing = cubicOut } = assign(assign({}, defaults), params);\n const to = node.getBoundingClientRect();\n const dx = from.left - to.left;\n const dy = from.top - to.top;\n const dw = from.width / to.width;\n const dh = from.height / to.height;\n const d = Math.sqrt(dx * dx + dy * dy);\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n const opacity = +style.opacity;\n return {\n delay,\n duration: is_function(duration) ? duration(d) : duration,\n easing,\n css: (t, u) => `\n\t\t\t\topacity: ${t * opacity};\n\t\t\t\ttransform-origin: top left;\n\t\t\t\ttransform: ${transform} translate(${u * dx}px,${u * dy}px) scale(${t + (1 - t) * dw}, ${t + (1 - t) * dh});\n\t\t\t`\n };\n }\n function transition(items, counterparts, intro) {\n return (node, params) => {\n items.set(params.key, {\n rect: node.getBoundingClientRect()\n });\n return () => {\n if (counterparts.has(params.key)) {\n const { rect } = counterparts.get(params.key);\n counterparts.delete(params.key);\n return crossfade(rect, node, params);\n }\n // if the node is disappearing altogether\n // (i.e. wasn't claimed by the other list)\n // then we need to supply an outro\n items.delete(params.key);\n return fallback && fallback(node, params, intro);\n };\n };\n }\n return [\n transition(to_send, to_receive, false),\n transition(to_receive, to_send, true)\n ];\n}\n\nexport { blur, crossfade, draw, fade, fly, scale, slide };\n","\r\n\r\n
    \r\n \r\n
    \r\n","\r\n\r\n\r\n
    \r\n beta version of the Advanced\r\n Forms Builder. Now you can add multi step functionality and conditional\r\n logic to your Webflow Forms!
    Found a bug? Got a request? Let me know\r\n alex@brota.me.`}\r\n primaryText=\"Get Started!\"\r\n secondaryText=\"See Demos\"\r\n on:primaryclick={startBuilder} />\r\n
    \r\n
    \r\n","import { cubicOut } from '../easing';\nimport { is_function } from '../internal';\n\nfunction flip(node, animation, params) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n const scaleX = animation.from.width / node.clientWidth;\n const scaleY = animation.from.height / node.clientHeight;\n const dx = (animation.from.left - animation.to.left) / scaleX;\n const dy = (animation.from.top - animation.to.top) / scaleY;\n const d = Math.sqrt(dx * dx + dy * dy);\n const { delay = 0, duration = (d) => Math.sqrt(d) * 120, easing = cubicOut } = params;\n return {\n delay,\n duration: is_function(duration) ? duration(d) : duration,\n easing,\n css: (_t, u) => `transform: ${transform} translate(${u * dx}px, ${u * dy}px);`\n };\n}\n\nexport { flip };\n","import { writable } from 'svelte/store';\r\n// Variables\r\nconst required = [\r\n { key: 'webflowSetup', title: 'Webflow setup' },\r\n { key: 'elements', title: 'Elements' },\r\n];\r\nconst optional = [\r\n { key: 'alertSelector', title: 'Alert Element', selected: false },\r\n { key: 'alertText', title: 'Alert Text', selected: false },\r\n { key: 'backText', title: 'Back Button Text', selected: false },\r\n { key: 'backSelector', title: 'Back Button', selected: false },\r\n {\r\n key: 'completedPercentageSelector',\r\n title: 'Display Completed %',\r\n selected: false,\r\n },\r\n {\r\n key: 'currentStepSelector',\r\n title: 'Display Current Step',\r\n selected: false,\r\n },\r\n { key: 'customNav', title: 'Custom Nav Links', selected: false },\r\n { key: 'displayValues', title: 'Display Filled Values', selected: false },\r\n { key: 'hiddenForm', title: 'Extra Hidden Form', selected: false },\r\n { key: 'msfGlobal', title: 'Global Options', selected: false },\r\n { key: 'nextText', title: 'Next Button Text', selected: false },\r\n { key: 'warningClass', title: 'Warning Class', selected: false },\r\n];\r\nconst params = {\r\n hiddeButtonsOnSubmit: true,\r\n scrollTopOnStepChange: false,\r\n};\r\nconst msfStore = writable(params);\r\nexport default msfStore;\r\nexport const msfActivated = writable(false);\r\nexport const msfRequired = writable(required);\r\nconst optionalStore = writable(optional);\r\nexport const msfOptional = {\r\n subscribe: optionalStore.subscribe,\r\n modify: (key, selected) => {\r\n optionalStore.update((items) => items.map((item) => {\r\n if (item.key === key)\r\n item.selected = selected;\r\n return item;\r\n }));\r\n },\r\n checkSelected: (key) => {\r\n let selected = false;\r\n const unsubscribe = optionalStore.subscribe((items) => {\r\n selected = items.find((item) => item.key === key).selected;\r\n });\r\n unsubscribe();\r\n return selected;\r\n },\r\n};\r\n// Checks if the starter form has been copied\r\nexport const msfCopy = writable(false);\r\n","const msfSlides = {\r\n intro: [\r\n {\r\n title: 'Multi step Feature',\r\n content: `

    Add multi step functionality to your Webflow Forms in a couple of clicks:

    \r\n
      \r\n
    • Input validation
    • \r\n
    • Warnings
    • \r\n
    • Custom Interactions
    • \r\n
    • And much more!
    • \r\n
    \r\n

    Simply select all the features that you want to add and the builder will generate the code for you :)

    \r\n

    Some functionalities may require a certain setup in Webflow, always check the info before setting them!

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4654862720cad5da7d_MSF-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4654862720cad5da7d_MSF-transcode.webm',\r\n },\r\n ],\r\n webflowSetup: [\r\n {\r\n title: 'Webflow setup',\r\n content: `

    \r\n The slides will act as different steps of your form. You can put\r\n as many slides as you want inside the slider.
    \r\n

    \r\n

    \r\n Each step will check the\r\n required and visible inputs\r\n inside it before jumping to the next one.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee565486279ea8d5da9a_Webflow Setup-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee565486279ea8d5da9a_Webflow Setup-transcode.webm',\r\n },\r\n ],\r\n elements: [\r\n {\r\n title: 'Required elements',\r\n content: `

    \r\n Make sure that you set the ID of the Form,\r\n not the Form Block.
    \r\n

    \r\n

    \r\n The next button doesn't need to be placed inside the form,\r\n it can be located anywhere in the page.
    \r\n

    \r\n

    \r\n Once the last step is reached, the next button's text will\r\n change to the submit button's text.
    \r\n

    \r\n

    \r\n Note: remember to place a submit button set to\r\n display:none anywhere inside the\r\n form.\r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee3490d139ddcd925872_Elements-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee3490d139ddcd925872_Elements-transcode.webm',\r\n },\r\n ],\r\n alertSelector: [\r\n {\r\n title: 'Alert element',\r\n content: `

    \r\n You can show an element as an alert when there are missing\r\n fields that must be filled.
    \r\n

    \r\n

    \r\n Eg: show a box that alerts the user to fill the\r\n missing inputs.\r\n

    \r\n

    This element can be placed anywhere in the page.

    \r\n

    \r\n By default, it will be set to\r\n display:block when shown, and\r\n display:none when hidden.
    \r\n

    \r\n

    \r\n If you want to show it using a Webflow Interaction, place a\r\n hidden Div Block inside it with the custom\r\n attribute:
    \r\n

    \r\n
      \r\n
    • Name: data-msf
    • \r\n
    • Value: alert
    • \r\n
    \r\n

    \r\n And bind it to a\r\n Mouse click (tap)\r\n interaction.
    The script will trigger the\r\n 1st click to show it and the\r\n 2nd click to hide it.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43a0a2b1f46811a0ec526e_Alert%20Element-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43a0a2b1f46811a0ec526e_Alert%20Element-transcode.webm',\r\n },\r\n ],\r\n backSelector: [\r\n {\r\n title: 'Back button',\r\n content: `

    \r\n Use this button to let the user go back to the previous step.
    \r\n

    \r\n

    \r\n It is recommended that you hide it in the first slide (step) to\r\n avoid confusing the users.
    \r\n

    \r\n

    \r\n To do so, use a Slider Change interaction to hide it when the\r\n first slide enters and show it when the first slide leaves.
    \r\n

    \r\n

    This element can be placed anywhere in the page.

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1122e26a9a3213fcfd_Back Button-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1122e26a9a3213fcfd_Back Button-transcode.webm',\r\n },\r\n ],\r\n alertText: [\r\n {\r\n title: 'Alert text',\r\n content: `

    \r\n You can show a global alert when there are missing fields that\r\n must be filled.
    \r\n

    \r\n

    Check how it will look:

    \r\n \r\n Display alert\r\n `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee0cdb6e8b2c895a3705_Alert Text-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee0cdb6e8b2c895a3705_Alert Text-transcode.webm',\r\n },\r\n ],\r\n backText: [\r\n {\r\n title: 'Back button text',\r\n content: `

    \r\n Additionally, you can set a different text of the back button in\r\n any step.
    \r\n

    \r\n

    \r\n If you don't set the text for a particular step\r\n (for example you set the text for the 2nd and 4th step, but\r\n not the 3rd)\r\n it will fall back to the lower closest one\r\n (the 2nd one in this case).
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee16ba9928d0613cfdf4_Back Text-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee16ba9928d0613cfdf4_Back Text-transcode.webm',\r\n },\r\n ],\r\n nextText: [\r\n {\r\n title: 'Next button text',\r\n content: `

    \r\n Additionally, you can set a different text of the next button in\r\n any step.
    \r\n

    \r\n

    \r\n If you don't set the text for a particular step\r\n (for example you set the text for the 2nd and 4th step, but\r\n not the 3rd)\r\n it will fall back to the lower closest one\r\n (the 2nd one in this case).
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4c877e0acbbcd606ff_Next Text-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee4c877e0acbbcd606ff_Next Text-transcode.webm',\r\n },\r\n ],\r\n completedPercentageSelector: [\r\n {\r\n title: 'Display completed %',\r\n content: `

    \r\n You can set any text element (paragraph, text block, heading,\r\n list item...) to display the completed % of the steps:
    \r\n

    \r\n

    \r\n It will show the percentage starting from 0% in the first step\r\n to 100% in the last step.
    \r\n

    \r\n

    This element can be placed anywhere in the page.

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1bdb6e8bc01c5a3710_Completed Percentage-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee1bdb6e8bc01c5a3710_Completed Percentage-transcode.webm',\r\n },\r\n ],\r\n currentStepSelector: [\r\n {\r\n title: 'Display current step',\r\n content: `

    \r\n You can set any text element (paragraph, text block, heading,\r\n list item...) to display the number of the current step.
    \r\n

    \r\n

    \r\n If you want to show the number of total steps, you should to it\r\n manually as it is a fixed value.
    \r\n

    \r\n

    This element can be placed anywhere in the page.

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee267778392e5f0fd1e3_Current Step-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee267778392e5f0fd1e3_Current Step-transcode.webm',\r\n },\r\n ],\r\n customNav: [\r\n {\r\n title: 'Custom nav links',\r\n content: `

    \r\n You can let the user jump to a specific step adding this custom\r\n nav links.
    \r\n

    \r\n

    \r\n To do so, give this custom attribute to the element that should\r\n trigger it when clicked:
    \r\n

    \r\n
      \r\n
    • Name: data-msf-nav
    • \r\n
    • \r\n Value: The number of the step (Eg:\r\n 2)\r\n
    • \r\n
    \r\n

    This elements can be placed anywhere in the page.

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2ab937946f7bdb3864_Custom Nav-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2ab937946f7bdb3864_Custom Nav-transcode.webm',\r\n },\r\n ],\r\n displayValues: [\r\n {\r\n title: 'Display filled values',\r\n content: `

    \r\n You can set the value of an input to be displayed on any text\r\n element (paragraph, text block, heading, list item...).
    \r\n

    \r\n

    \r\n To do so, give this custom attribute to the text element that\r\n should show it:
    \r\n

    \r\n
      \r\n
    • Name: data-msf-value
    • \r\n
    • \r\n Value: The ID of the input (Eg:\r\n email)\r\n
    • \r\n
    \r\n

    This elements can be placed anywhere in the page.

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2f3f5ea2bb18716185_Display Values-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee2f3f5ea2bb18716185_Display Values-transcode.webm',\r\n },\r\n ],\r\n msfGlobal: [\r\n {\r\n title: 'Global options',\r\n content: `

    \r\n The navigation buttons (next, back, and custom navs) are\r\n disabled once the form is submitted.
    \r\n

    \r\n

    \r\n You can additionally hide the back and next button by checking\r\n the option. They will be set to\r\n display:none.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee39b937947cdfdb38e9_Global Options-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee39b937947cdfdb38e9_Global Options-transcode.webm',\r\n },\r\n ],\r\n warningClass: [\r\n {\r\n title: 'Warning class',\r\n content: `

    \r\n You can add a CSS class to each missing input when the user\r\n tries to jump to the next step.
    \r\n

    \r\n

    \r\n This is useful to highlight those inputs that should be filled,\r\n like adding a colored border.
    \r\n

    \r\n

    \r\n Once the input is filled, that CSS class will be removed.
    \r\n

    \r\n

    \r\n Radio inputs and checkboxes should be set to\r\n Custom in the Webflow Designer in order to\r\n display it correctly.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee51a9fec7dce69ba40c_Warning Class-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee51a9fec7dce69ba40c_Warning Class-transcode.webm',\r\n },\r\n ],\r\n hiddenForm: [\r\n {\r\n title: 'Extra hidden form',\r\n content: `

    \r\n You can send an additional hidden form when the user completes a\r\n specific step.
    \r\n

    \r\n

    \r\n This feature is useful if you want to make sure that some of the\r\n info is collected even if the user doesn't complete the\r\n whole form.
    \r\n

    \r\n

    \r\n Add this custom attribute to each input that you want to collect\r\n in the hidden form:
    \r\n

    \r\n
      \r\n
    • Name: data-msf
    • \r\n
    • Value: hidden
    • \r\n
    \r\n

    \r\n The script will automatically create the hidden form, populate\r\n and send it when the user completes the desired step.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee416621331f88cbbca5_Hidden Form-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee416621331f88cbbca5_Hidden Form-transcode.webm',\r\n },\r\n ],\r\n};\r\nexport default msfSlides;\r\n","\r\n\r\n
    \r\n \r\n {#if label}\r\n \r\n {/if}\r\n\r\n \r\n \r\n
    \r\n","\r\n\r\n
    \r\n \r\n {#if label}\r\n \r\n \r\n {/if}\r\n \r\n
    \r\n","\r\n\r\n

    \r\n Check the info to learn how to show / hide it using Webflow interactions.\r\n

    \r\n\r\n\r\n","\r\n\r\n\r\n","\r\n\r\n\r\n","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n// find the complete implementation of crypto (msCrypto) on IE11.\nvar getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n\n return getRandomValues(rnds8);\n}","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","\r\n\r\n","\r\n\r\n","\r\n\r\n","\r\n\r\n\r\n\r\n {#if action === 'add'}\r\n \r\n {:else if action === 'delete'}\r\n \r\n {:else}\r\n \r\n {/if}\r\n\r\n","\r\n\r\n{#each params as param, index (param.id)}\r\n \r\n \r\n\r\n \r\n\r\n {\r\n if (index === 0) addButtonText();\r\n else removeButtonText(index);\r\n }} />\r\n
    \r\n{/each}\r\n","\r\n\r\n

    \r\n Check the info to learn how to add this functionality in Webflow.\r\n

    \r\n","\r\n\r\n\r\n","\r\n\r\n\r\n","\r\n\r\n

    \r\n Check the info to learn how to add this functionality in Webflow.\r\n

    \r\n","\r\n\r\n\r\n\r\n\r\n","\r\n\r\n

    \r\n Check the info to learn how to add this functionality in Webflow.\r\n

    \r\n\r\n\r\n","\r\n\r\n","\r\n\r\n","\r\n\r\n\r\n\r\n","\r\n\r\n\r\n
    \r\n \r\n \r\n

    {title}{#if required}*{/if}

    \r\n\r\n \r\n
    \r\n \r\n \r\n\r\n \r\n {#if !required}\r\n \r\n {/if}\r\n
    \r\n
    \r\n\r\n\r\n\r\n","\r\n\r\n\r\n\r\n\r\n","\r\n\r\n\r\n\r\n\r\n\r\n\r\n","\r\n\r\n\r\n\r\n
    \r\n
    \r\n

    Add optional

    \r\n
      \r\n {#each blocks as { key, title } (key)}\r\n
    • dispatch('addoptional', key)}>\r\n {title}\r\n
    • \r\n {/each}\r\n
    \r\n
    \r\n dispatch('closemodal')}\r\n transition:fade={{ duration: 250 }} />\r\n
    \r\n","\r\n\r\n{#each params as param, index (param.id)}\r\n \r\n \r\n\r\n \r\n\r\n {\r\n if (index === 0) addButtonText();\r\n else removeButtonText(index);\r\n }} />\r\n
    \r\n{/each}\r\n","\r\n\r\n\r\n","export const scriptSrc = 'https://cdn.jsdelivr.net/gh/brotame/advanced-webflow-forms@1.1/dist/awf.js';\r\n//prettier-ignore\r\nexport const starterForm = { \"type\": \"@webflow/XscpData\", \"payload\": { \"nodes\": [{ \"_id\": \"38d2366b-4159-2510-38f3-6787f5878486\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f5878487\", \"38d2366b-4159-2510-38f3-6787f58784df\", \"38d2366b-4159-2510-38f3-6787f58784e2\", \"0e1c4535-f4c0-c01c-f501-ba6c754dd6b0\"], \"type\": \"FormWrapper\", \"data\": { \"form\": { \"type\": \"wrapper\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878487\", \"tag\": \"form\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f5878488\", \"38d2366b-4159-2510-38f3-6787f58784db\"], \"type\": \"FormForm\", \"data\": { \"attr\": { \"id\": \"msf\", \"name\": \"wf-form-Multi-Step-Form\", \"data-name\": \"Multi Step Form\" }, \"form\": { \"type\": \"form\", \"name\": \"Multi Step Form\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878488\", \"tag\": \"div\", \"classes\": [\"9e492cc5-3ba8-670c-f95e-8bb55c86b25a\"], \"children\": [\"38d2366b-4159-2510-38f3-6787f5878489\", \"38d2366b-4159-2510-38f3-6787f58784dc\", \"38d2366b-4159-2510-38f3-6787f58784dd\", \"38d2366b-4159-2510-38f3-6787f58784de\"], \"type\": \"SliderWrapper\", \"data\": { \"slider\": { \"navSpacing\": 3, \"autoplay\": false, \"delay\": 4000, \"iconArrows\": true, \"animation\": \"outin\", \"easing\": \"ease\", \"navRound\": false, \"hideArrows\": false, \"disableSwipe\": true, \"duration\": 500, \"infinite\": false, \"autoMax\": 0, \"type\": \"wrapper\" }, \"attr\": { \"data-animation\": \"outin\", \"data-disable-swipe\": \"1\", \"data-duration\": \"500\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878489\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f587848a\", \"38d2366b-4159-2510-38f3-6787f58784aa\", \"ef3f2af7-909c-644d-7267-6ccb03424cb6\"], \"type\": \"SliderMask\", \"data\": { \"slider\": { \"type\": \"slides\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587848a\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f587848b\"], \"type\": \"SliderSlide\", \"data\": { \"tag\": \"div\", \"slider\": { \"type\": \"slide\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587848b\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f587848c\", \"38d2366b-4159-2510-38f3-6787f587849d\", \"38d2366b-4159-2510-38f3-6787f587849f\", \"38d2366b-4159-2510-38f3-6787f58784a0\", \"38d2366b-4159-2510-38f3-6787f58784a2\", \"38d2366b-4159-2510-38f3-6787f58784a3\", \"38d2366b-4159-2510-38f3-6787f58784a5\", \"38d2366b-4159-2510-38f3-6787f58784a6\"], \"type\": \"Block\", \"data\": { \"tag\": \"div\" } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587848c\", \"tag\": \"p\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f587848d\", \"38d2366b-4159-2510-38f3-6787f5878494\", \"38d2366b-4159-2510-38f3-6787f5878495\", \"38d2366b-4159-2510-38f3-6787f5878496\", \"38d2366b-4159-2510-38f3-6787f5878497\", \"f9618b03-efc9-eac9-4f27-19306d07c959\", \"2db53dad-7e56-58ab-fbac-23671270cb69\", \"38d2366b-4159-2510-38f3-6787f5878498\", \"38d2366b-4159-2510-38f3-6787f5878499\", \"65d30af1-1b1e-bcf1-c154-86697bc9cf3b\", \"212d637a-f59b-f007-e4db-cc6345cf004a\"], \"type\": \"Paragraph\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587848d\", \"text\": true, \"v\": \"This is a simple form build that has all kind of inputs in 3 steps.\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878494\", \"tag\": \"br\", \"classes\": [], \"children\": [], \"type\": \"LineBreak\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878495\", \"text\": true, \"v\": \"‍\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878496\", \"tag\": \"br\", \"classes\": [], \"children\": [], \"type\": \"LineBreak\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878497\", \"text\": true, \"v\": \"You can edit and style it however you want: add, delete or move steps (slides), inputs, confirmation values, etc.\" }, { \"_id\": \"f9618b03-efc9-eac9-4f27-19306d07c959\", \"tag\": \"br\", \"classes\": [], \"children\": [], \"type\": \"LineBreak\" }, { \"_id\": \"2db53dad-7e56-58ab-fbac-23671270cb69\", \"text\": true, \"v\": \"‍\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878498\", \"tag\": \"br\", \"classes\": [], \"children\": [], \"type\": \"LineBreak\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f5878499\", \"text\": true, \"v\": \"Don't forget to check the \" }, { \"_id\": \"65d30af1-1b1e-bcf1-c154-86697bc9cf3b\", \"tag\": \"a\", \"classes\": [], \"children\": [\"e80b0a1b-f8ba-13fd-dc36-f3dad133c7d4\"], \"type\": \"Link\", \"data\": { \"link\": { \"url\": \"https://advanced-forms.webflow.io/\", \"mode\": \"external\", \"target\": \"_blank\" }, \"attr\": { \"href\": \"#\" } } }, { \"_id\": \"e80b0a1b-f8ba-13fd-dc36-f3dad133c7d4\", \"text\": true, \"v\": \"Advanced Forms Builder\" }, { \"_id\": \"212d637a-f59b-f007-e4db-cc6345cf004a\", \"text\": true, \"v\": \" for further customization and information.\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587849d\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f587849e\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"name\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587849e\", \"text\": true, \"v\": \"Name*\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f587849f\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormTextInput\", \"data\": { \"attr\": { \"autofocus\": false, \"maxlength\": 256, \"name\": \"name\", \"data-name\": \"Name\", \"placeholder\": \"Input your name\", \"type\": \"text\", \"id\": \"name\", \"disabled\": false, \"required\": true }, \"form\": { \"type\": \"input\", \"name\": \"Name\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a0\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784a1\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"email\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a1\", \"text\": true, \"v\": \"Email*\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a2\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormTextInput\", \"data\": { \"attr\": { \"autofocus\": false, \"maxlength\": 256, \"name\": \"email\", \"data-name\": \"Email\", \"placeholder\": \"Input your email\", \"type\": \"email\", \"id\": \"email\", \"disabled\": false, \"required\": true }, \"form\": { \"type\": \"input\", \"name\": \"Email\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a3\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784a4\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"phone\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a4\", \"text\": true, \"v\": \"Phone*\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a5\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormTextInput\", \"data\": { \"attr\": { \"autofocus\": false, \"maxlength\": 256, \"name\": \"phone\", \"data-name\": \"Phone\", \"placeholder\": \"Input your phone number\", \"type\": \"tel\", \"id\": \"phone\", \"disabled\": false, \"required\": true }, \"form\": { \"type\": \"input\", \"name\": \"Phone\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a6\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784a7\", \"38d2366b-4159-2510-38f3-6787f58784a8\"], \"type\": \"FormCheckboxWrapper\", \"data\": { \"form\": { \"type\": \"checkbox\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a7\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormCheckboxInput\", \"data\": { \"attr\": { \"type\": \"checkbox\", \"id\": \"checkbox\", \"required\": true, \"data-name\": \"Checkbox\", \"name\": \"checkbox\" }, \"form\": { \"type\": \"checkbox-input\", \"name\": \"Checkbox\" }, \"inputType\": \"custom\" } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a8\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784a9\"], \"type\": \"FormInlineLabel\", \"data\": { \"form\": { \"type\": \"checkbox-label\" }, \"attr\": { \"for\": \"Checkbox-2\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784a9\", \"text\": true, \"v\": \"This is a required checkbox.\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784aa\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784ab\"], \"type\": \"SliderSlide\", \"data\": { \"tag\": \"div\", \"slider\": { \"type\": \"slide\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784ab\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784ac\", \"38d2366b-4159-2510-38f3-6787f58784ae\", \"38d2366b-4159-2510-38f3-6787f58784af\", \"38d2366b-4159-2510-38f3-6787f58784b1\"], \"type\": \"Block\", \"data\": { \"tag\": \"div\" } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784ac\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784ad\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"Service\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784ad\", \"text\": true, \"v\": \"Select*\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784ae\", \"tag\": \"select\", \"classes\": [], \"children\": [], \"v\": \"\\n\\n\\n\", \"type\": \"FormSelect\", \"data\": { \"attr\": { \"id\": \"service\", \"name\": \"service\", \"required\": true, \"data-name\": \"Service\" }, \"form\": { \"type\": \"select\", \"opts\": [{ \"v\": \"\", \"t\": \"Select one...\" }, { \"v\": \"First Choice\", \"t\": \"First Choice\" }, { \"v\": \"Second Choice\", \"t\": \"Second Choice\" }, { \"v\": \"Third Choice\", \"t\": \"Third Choice\" }], \"name\": \"Service\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784af\", \"tag\": \"label\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784b0\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"amount\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784b0\", \"text\": true, \"v\": \"Number*\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784b1\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormTextInput\", \"data\": { \"attr\": { \"autofocus\": false, \"maxlength\": 256, \"name\": \"amount\", \"data-name\": \"Amount\", \"placeholder\": \"Choose amount\", \"type\": \"number\", \"id\": \"amount\", \"disabled\": false, \"required\": true }, \"form\": { \"type\": \"input\", \"name\": \"Amount\" } } }, { \"_id\": \"ef3f2af7-909c-644d-7267-6ccb03424cb6\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da91\"], \"type\": \"SliderSlide\", \"data\": { \"tag\": \"div\", \"slider\": { \"type\": \"slide\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da91\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da98\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9a\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9e\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa2\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa6\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daaa\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daac\"], \"type\": \"Block\", \"data\": { \"tag\": \"div\" } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da98\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da99\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da99\", \"text\": true, \"v\": \"Radio Group*\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9a\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da9b\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9c\"], \"type\": \"FormRadioWrapper\", \"data\": { \"form\": { \"type\": \"radio\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9b\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormRadioInput\", \"data\": { \"attr\": { \"type\": \"radio\", \"data-name\": \"Options\", \"id\": \"Option\", \"name\": \"Options\", \"value\": \"Option 1\", \"required\": true }, \"form\": { \"type\": \"radio-input\", \"name\": \"Options\" }, \"inputType\": \"custom\" } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9c\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da9d\"], \"type\": \"FormInlineLabel\", \"data\": { \"form\": { \"type\": \"radio-label\" }, \"attr\": { \"for\": \"Option -5\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9d\", \"text\": true, \"v\": \"Option 1\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9e\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6da9f\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa0\"], \"type\": \"FormRadioWrapper\", \"data\": { \"form\": { \"type\": \"radio\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6da9f\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormRadioInput\", \"data\": { \"attr\": { \"type\": \"radio\", \"data-name\": \"Options\", \"id\": \"Option -2\", \"name\": \"Options\", \"value\": \"Option 2\", \"required\": true }, \"form\": { \"type\": \"radio-input\", \"name\": \"Options\" }, \"inputType\": \"custom\" } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa0\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daa1\"], \"type\": \"FormInlineLabel\", \"data\": { \"form\": { \"type\": \"radio-label\" }, \"attr\": { \"for\": \"Option -5\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa1\", \"text\": true, \"v\": \"Option 2\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa2\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daa3\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa4\"], \"type\": \"FormRadioWrapper\", \"data\": { \"form\": { \"type\": \"radio\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa3\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormRadioInput\", \"data\": { \"attr\": { \"type\": \"radio\", \"data-name\": \"Options\", \"id\": \"Option -3\", \"name\": \"Options\", \"value\": \"Option 3\", \"required\": true }, \"form\": { \"type\": \"radio-input\", \"name\": \"Options\" }, \"inputType\": \"custom\" } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa4\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daa5\"], \"type\": \"FormInlineLabel\", \"data\": { \"form\": { \"type\": \"radio-label\" }, \"attr\": { \"for\": \"Option -5\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa5\", \"text\": true, \"v\": \"Option 3\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa6\", \"tag\": \"div\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daa7\", \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa8\"], \"type\": \"FormRadioWrapper\", \"data\": { \"form\": { \"type\": \"radio\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa7\", \"tag\": \"input\", \"classes\": [], \"children\": [], \"type\": \"FormRadioInput\", \"data\": { \"attr\": { \"type\": \"radio\", \"data-name\": \"Options\", \"id\": \"Option -4\", \"name\": \"Options\", \"value\": \"Option 4\", \"required\": true }, \"form\": { \"type\": \"radio-input\", \"name\": \"Options\" }, \"inputType\": \"custom\" } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa8\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daa9\"], \"type\": \"FormInlineLabel\", \"data\": { \"form\": { \"type\": \"radio-label\" }, \"attr\": { \"for\": \"Option -5\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daa9\", \"text\": true, \"v\": \"Option 4\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daaa\", \"tag\": \"label\", \"classes\": [], \"children\": [\"33127c1b-fb46-2bfa-4b3c-9db5bac6daab\"], \"type\": \"FormBlockLabel\", \"data\": { \"form\": { \"type\": \"label\" }, \"attr\": { \"for\": \"notes-2\" } } }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daab\", \"text\": true, \"v\": \"Text Area\" }, { \"_id\": \"33127c1b-fb46-2bfa-4b3c-9db5bac6daac\", \"tag\": \"textarea\", \"classes\": [], \"children\": [], \"type\": \"FormTextarea\", \"data\": { \"attr\": { \"placeholder\": \"Tell us anything you need.\", \"maxlength\": 5000, \"id\": \"notes-2\", \"name\": \"notes-2\", \"data-name\": \"Notes 2\" }, \"form\": { \"type\": \"textarea\", \"name\": \"Notes 2\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784dc\", \"tag\": \"div\", \"classes\": [\"07828abd-7f85-d22f-b6d9-ed59721f9f4b\"], \"children\": [], \"type\": \"SliderArrow\", \"data\": { \"slider\": { \"type\": \"arrow\", \"dir\": \"left\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784dd\", \"tag\": \"div\", \"classes\": [\"07828abd-7f85-d22f-b6d9-ed59721f9f4b\"], \"children\": [], \"type\": \"SliderArrow\", \"data\": { \"slider\": { \"type\": \"arrow\", \"dir\": \"right\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784de\", \"tag\": \"div\", \"classes\": [\"07828abd-7f85-d22f-b6d9-ed59721f9f4b\"], \"children\": [], \"type\": \"SliderNav\", \"data\": { \"slider\": { \"type\": \"nav\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784db\", \"tag\": \"input\", \"classes\": [\"07828abd-7f85-d22f-b6d9-ed59721f9f4b\"], \"children\": [], \"type\": \"FormButton\", \"data\": { \"attr\": { \"type\": \"submit\", \"value\": \"Submit\", \"data-wait\": \"Please wait...\" }, \"form\": { \"type\": \"button\", \"wait\": \"Please wait...\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784df\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784e0\"], \"type\": \"FormSuccessMessage\", \"data\": { \"form\": { \"type\": \"msg-done\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784e0\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784e1\"], \"type\": \"Block\", \"data\": { \"tag\": \"div\", \"text\": true } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784e1\", \"text\": true, \"v\": \"Thank you! Your submission has been received!\" }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784e2\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784e3\"], \"type\": \"FormErrorMessage\", \"data\": { \"form\": { \"type\": \"msg-fail\" } } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784e3\", \"tag\": \"div\", \"classes\": [], \"children\": [\"38d2366b-4159-2510-38f3-6787f58784e4\"], \"type\": \"Block\", \"data\": { \"tag\": \"div\", \"text\": true } }, { \"_id\": \"38d2366b-4159-2510-38f3-6787f58784e4\", \"text\": true, \"v\": \"Oops! Something went wrong while submitting the form.\" }, { \"_id\": \"0e1c4535-f4c0-c01c-f501-ba6c754dd6b0\", \"tag\": \"a\", \"classes\": [], \"children\": [\"0e1c4535-f4c0-c01c-f501-ba6c754dd6b1\"], \"type\": \"Link\", \"data\": { \"button\": true, \"link\": { \"mode\": \"external\" }, \"attr\": { \"id\": \"msf-next\", \"href\": \"#msf\" } } }, { \"_id\": \"0e1c4535-f4c0-c01c-f501-ba6c754dd6b1\", \"text\": true, \"v\": \"Next\" }], \"styles\": [{ \"_id\": \"9e492cc5-3ba8-670c-f95e-8bb55c86b25a\", \"fake\": false, \"type\": \"class\", \"name\": \"MSF Slider\", \"namespace\": \"\", \"comb\": \"\", \"styleLess\": \"height: auto; background-color: transparent;\", \"variants\": {}, \"children\": [], \"selector\": null }, { \"_id\": \"07828abd-7f85-d22f-b6d9-ed59721f9f4b\", \"fake\": false, \"type\": \"class\", \"name\": \"MSF Hidden\", \"namespace\": \"\", \"comb\": \"\", \"styleLess\": \"display: none;\", \"variants\": {}, \"children\": [], \"selector\": null }], \"assets\": [], \"ix1\": [], \"ix2\": { \"interactions\": [], \"events\": [], \"actionLists\": [] } }, \"meta\": { \"unlinkedSymbolCount\": 0, \"droppedLinks\": 0, \"dynBindRemovedCount\": 0, \"dynListBindRemovedCount\": 0, \"paginationRemovedCount\": 0 } };\r\n","\r\n\r\n

    Make sure your form meets the following requirements:

    \r\n
      \r\n
    • \r\n It has a submit button set to\r\n display:none\r\n . The script will use the button text and waiting text.\r\n
    • \r\n
    • \r\n

      It has a slider inside it. The slider should have:

      \r\n
        \r\n
      • \r\n Swipe gestures\r\n deactivated\r\n .\r\n
      • \r\n
      • \r\n Auto-play slides\r\n deactivated\r\n .\r\n
      • \r\n
      • \r\n Its height forced to be\r\n auto\r\n .\r\n
      • \r\n
      • \r\n The slider arrows and nav set to\r\n display:none\r\n .\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n\r\n {buttonText}\r\n

    \r\n","const body = document.body;\r\nlet scrollPosition = 0;\r\nexport function disableScroll() {\r\n scrollPosition = window.pageYOffset;\r\n let oldWidth = body.clientWidth;\r\n body.style.overflow = 'hidden';\r\n body.style.position = 'fixed';\r\n body.style.top = `-${scrollPosition}px`;\r\n body.style.width = `${oldWidth}px`;\r\n}\r\nexport function enableScroll() {\r\n if (body.style.overflow !== 'hidden')\r\n scrollPosition = window.pageYOffset;\r\n body.style.overflow = '';\r\n body.style.position = '';\r\n body.style.top = ``;\r\n body.style.width = ``;\r\n window.scrollTo(0, scrollPosition);\r\n}\r\n","\r\n \r\n","\r\n \r\n","\r\n\r\n","\r\n\r\n\r\n\r\n\r\n\r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n

    {title}

    \r\n\r\n \r\n
    \r\n\r\n \r\n
    \r\n {@html content}\r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n dispatch('previous')}>\r\n \r\n
    Back
    \r\n
    \r\n\r\n \r\n
    dispatch('next')}>\r\n
    {isLast ? 'Finish' : 'Next'}
    \r\n {#if !isLast}\r\n \r\n {/if}\r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n \r\n
    dispatch('closemodal')}>\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n","\r\n\r\n\r\n\r\n
    \r\n {\r\n if (currentSlide === slides.length - 1) dispatch('closemodal');\r\n else nextSlide();\r\n }} />\r\n dispatch('closemodal')} />\r\n
    \r\n","\r\n\r\n\r\n
    \r\n \r\n openModal('info', 'intro')} />\r\n\r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n

    \r\n {$msfActivated ? 'Required setup' : 'Activate'}\r\n

    \r\n \r\n
    \r\n\r\n {#if $msfActivated}\r\n \r\n
    \r\n {#each $msfRequired as { key, title } (key)}\r\n
    \r\n\r\n openModal('info', key)}>\r\n \r\n \r\n\r\n
    \r\n {/each}\r\n
    \r\n\r\n \r\n
    \r\n

    Optional setup

    \r\n openModal('optional')} />\r\n
    \r\n\r\n \r\n
    \r\n {#each optionalBlocks as { key, title } (key)}\r\n \r\n\r\n openModal('info', key)}\r\n on:delete={() => deleteOptional(key)}>\r\n \r\n \r\n\r\n
    \r\n {/each}\r\n
    \r\n {/if}\r\n
    \r\n
    \r\n\r\n {#if showModal === 'optional'}\r\n \r\n {:else if showModal === 'info'}\r\n \r\n {/if}\r\n\r\n
    \r\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nexport default isArray;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n","import baseGetTag from './_baseGetTag.js';\nimport isObject from './isObject.js';\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nexport default isFunction;\n","import root from './_root.js';\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nexport default coreJsData;\n","import coreJsData from './_coreJsData.js';\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nexport default isMasked;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nexport default toSource;\n","import isFunction from './isFunction.js';\nimport isMasked from './_isMasked.js';\nimport isObject from './isObject.js';\nimport toSource from './_toSource.js';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nexport default baseIsNative;\n","import baseIsNative from './_baseIsNative.js';\nimport getValue from './_getValue.js';\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nexport default getNative;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nexport default getValue;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nexport default WeakMap;\n","import isObject from './isObject.js';\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nexport default baseCreate;\n","import getNative from './_getNative.js';\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nexport default defineProperty;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nexport default isIndex;\n","import defineProperty from './_defineProperty.js';\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nexport default baseAssignValue;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nexport default eq;\n","import baseAssignValue from './_baseAssignValue.js';\nimport eq from './eq.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nexport default assignValue;\n","import assignValue from './_assignValue.js';\nimport baseAssignValue from './_baseAssignValue.js';\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nexport default copyObject;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nexport default isLength;\n","import isFunction from './isFunction.js';\nimport isLength from './isLength.js';\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nexport default isArrayLike;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nexport default isPrototype;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nexport default baseIsArguments;\n","import baseIsArguments from './_baseIsArguments.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nexport default isArguments;\n","import root from './_root.js';\nimport stubFalse from './stubFalse.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nexport default isBuffer;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nexport default stubFalse;\n","import baseGetTag from './_baseGetTag.js';\nimport isLength from './isLength.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nexport default baseIsTypedArray;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nexport default baseUnary;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nexport default nodeUtil;\n","import baseIsTypedArray from './_baseIsTypedArray.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nexport default isTypedArray;\n","import baseTimes from './_baseTimes.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isIndex from './_isIndex.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default arrayLikeKeys;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nexport default baseTimes;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nexport default overArg;\n","import overArg from './_overArg.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nexport default nativeKeys;\n","import isPrototype from './_isPrototype.js';\nimport nativeKeys from './_nativeKeys.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeys;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeys from './_baseKeys.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nexport default keys;\n","import isObject from './isObject.js';\nimport isPrototype from './_isPrototype.js';\nimport nativeKeysIn from './_nativeKeysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeysIn;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default nativeKeysIn;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeysIn from './_baseKeysIn.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nexport default keysIn;\n","import getNative from './_getNative.js';\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nexport default nativeCreate;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nexport default hashGet;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nexport default hashHas;\n","import hashClear from './_hashClear.js';\nimport hashDelete from './_hashDelete.js';\nimport hashGet from './_hashGet.js';\nimport hashHas from './_hashHas.js';\nimport hashSet from './_hashSet.js';\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nexport default Hash;\n","import eq from './eq.js';\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nexport default assocIndexOf;\n","import nativeCreate from './_nativeCreate.js';\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nexport default hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default hashDelete;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nexport default hashSet;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nexport default listCacheDelete;\n","import listCacheClear from './_listCacheClear.js';\nimport listCacheDelete from './_listCacheDelete.js';\nimport listCacheGet from './_listCacheGet.js';\nimport listCacheHas from './_listCacheHas.js';\nimport listCacheSet from './_listCacheSet.js';\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nexport default ListCache;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nexport default listCacheClear;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nexport default listCacheGet;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nexport default listCacheHas;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nexport default listCacheSet;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nexport default Map;\n","import isKeyable from './_isKeyable.js';\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nexport default getMapData;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nexport default isKeyable;\n","import mapCacheClear from './_mapCacheClear.js';\nimport mapCacheDelete from './_mapCacheDelete.js';\nimport mapCacheGet from './_mapCacheGet.js';\nimport mapCacheHas from './_mapCacheHas.js';\nimport mapCacheSet from './_mapCacheSet.js';\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nexport default MapCache;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nexport default arrayPush;\n","import Hash from './_Hash.js';\nimport ListCache from './_ListCache.js';\nimport Map from './_Map.js';\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nexport default mapCacheClear;\n","import getMapData from './_getMapData.js';\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default mapCacheDelete;\n","import getMapData from './_getMapData.js';\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nexport default mapCacheGet;\n","import getMapData from './_getMapData.js';\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nexport default mapCacheHas;\n","import getMapData from './_getMapData.js';\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nexport default mapCacheSet;\n","import overArg from './_overArg.js';\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nexport default getPrototype;\n","import ListCache from './_ListCache.js';\nimport stackClear from './_stackClear.js';\nimport stackDelete from './_stackDelete.js';\nimport stackGet from './_stackGet.js';\nimport stackHas from './_stackHas.js';\nimport stackSet from './_stackSet.js';\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nexport default Stack;\n","import ListCache from './_ListCache.js';\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nexport default stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nexport default stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nexport default stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nexport default stackHas;\n","import ListCache from './_ListCache.js';\nimport Map from './_Map.js';\nimport MapCache from './_MapCache.js';\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nexport default stackSet;\n","import root from './_root.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nexport default cloneBuffer;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nexport default stubArray;\n","import arrayFilter from './_arrayFilter.js';\nimport stubArray from './stubArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nexport default getSymbols;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nexport default arrayFilter;\n","import arrayPush from './_arrayPush.js';\nimport getPrototype from './_getPrototype.js';\nimport getSymbols from './_getSymbols.js';\nimport stubArray from './stubArray.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nexport default getSymbolsIn;\n","import arrayPush from './_arrayPush.js';\nimport isArray from './isArray.js';\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nexport default baseGetAllKeys;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbols from './_getSymbols.js';\nimport keys from './keys.js';\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nexport default getAllKeys;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\nimport keysIn from './keysIn.js';\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nexport default getAllKeysIn;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nexport default DataView;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nexport default Promise;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nexport default Set;\n","import DataView from './_DataView.js';\nimport Map from './_Map.js';\nimport Promise from './_Promise.js';\nimport Set from './_Set.js';\nimport WeakMap from './_WeakMap.js';\nimport baseGetTag from './_baseGetTag.js';\nimport toSource from './_toSource.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nexport default getTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nexport default initCloneArray;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nexport default Uint8Array;\n","import Uint8Array from './_Uint8Array.js';\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nexport default cloneArrayBuffer;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nexport default cloneRegExp;\n","import Symbol from './_Symbol.js';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nexport default cloneSymbol;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\nimport cloneDataView from './_cloneDataView.js';\nimport cloneRegExp from './_cloneRegExp.js';\nimport cloneSymbol from './_cloneSymbol.js';\nimport cloneTypedArray from './_cloneTypedArray.js';\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nexport default initCloneByTag;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nexport default cloneTypedArray;\n","import baseIsMap from './_baseIsMap.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nexport default isMap;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nexport default baseIsMap;\n","import baseIsSet from './_baseIsSet.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nexport default isSet;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nexport default baseIsSet;\n","import Stack from './_Stack.js';\nimport arrayEach from './_arrayEach.js';\nimport assignValue from './_assignValue.js';\nimport baseAssign from './_baseAssign.js';\nimport baseAssignIn from './_baseAssignIn.js';\nimport cloneBuffer from './_cloneBuffer.js';\nimport copyArray from './_copyArray.js';\nimport copySymbols from './_copySymbols.js';\nimport copySymbolsIn from './_copySymbolsIn.js';\nimport getAllKeys from './_getAllKeys.js';\nimport getAllKeysIn from './_getAllKeysIn.js';\nimport getTag from './_getTag.js';\nimport initCloneArray from './_initCloneArray.js';\nimport initCloneByTag from './_initCloneByTag.js';\nimport initCloneObject from './_initCloneObject.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isMap from './isMap.js';\nimport isObject from './isObject.js';\nimport isSet from './isSet.js';\nimport keys from './keys.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nexport default baseClone;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nexport default copyArray;\n","import baseCreate from './_baseCreate.js';\nimport getPrototype from './_getPrototype.js';\nimport isPrototype from './_isPrototype.js';\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nexport default initCloneObject;\n","import copyObject from './_copyObject.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nexport default copySymbolsIn;\n","import copyObject from './_copyObject.js';\nimport keysIn from './keysIn.js';\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nexport default baseAssignIn;\n","import copyObject from './_copyObject.js';\nimport getSymbols from './_getSymbols.js';\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nexport default copySymbols;\n","import copyObject from './_copyObject.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nexport default baseAssign;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nexport default arrayEach;\n","import baseClone from './_baseClone.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nexport default cloneDeep;\n","// Svelte\r\nimport { writable, derived } from 'svelte/store';\r\n// Helpers\r\nimport { cloneDeep } from 'lodash-es';\r\nconst defaults = [];\r\nconst logicStore = writable(defaults);\r\nconst customLogicStore = {\r\n subscribe: logicStore.subscribe,\r\n add: (newLogic) => {\r\n logicStore.update((items) => [...items, newLogic]);\r\n },\r\n modify: (data) => {\r\n logicStore.update((items) => items.map((item) => (item.id === data.id ? Object.assign(Object.assign({}, item), data) : item)));\r\n },\r\n remove: (id) => {\r\n logicStore.update((items) => items.filter((item) => item.id !== id));\r\n },\r\n};\r\nexport default customLogicStore;\r\nexport const logicParams = writable({\r\n submitHiddenInputs: false,\r\n checkConditionsOnLoad: true,\r\n});\r\nexport const logicExport = derived([logicStore, logicParams], ([$logicStore, $logicParams]) => {\r\n const newStore = cloneDeep($logicStore);\r\n const { submitHiddenInputs, checkConditionsOnLoad } = $logicParams;\r\n newStore.forEach((logic) => {\r\n delete logic.id;\r\n logic.conditions.forEach((condition) => {\r\n if (condition.type === 'radios') {\r\n condition.selector = `input[name=\"${condition.selector}\"]`;\r\n }\r\n else {\r\n if (!condition.selector.startsWith('#'))\r\n condition.selector = `#${condition.selector}`;\r\n }\r\n if (condition.operator === 'checked') {\r\n condition.value = 'true';\r\n condition.operator = 'equal';\r\n }\r\n if (condition.operator === 'not-checked') {\r\n condition.value = 'false';\r\n condition.operator = 'equal';\r\n }\r\n delete condition.type;\r\n });\r\n logic.actions.forEach((action) => {\r\n action.selector = `#${action.selector}`;\r\n });\r\n });\r\n return {\r\n logicList: newStore,\r\n submitHiddenInputs,\r\n checkConditionsOnLoad,\r\n };\r\n});\r\n","\r\n\r\n","\r\n\r\n","\r\n\r\n\r\n
    {index + 1}
    \r\n\r\n\r\n
    \r\n\r\n \r\n {#each conditions as condition, index}\r\n
    \r\n {index === 0 ? 'If' : operator}\r\n {condition.selector}\r\n {convertOperator(condition.operator)}\r\n {#if condition.value}{condition.value}{/if}\r\n
    \r\n {/each}\r\n\r\n \r\n
    \r\n\r\n \r\n {#each actions as action, index}\r\n
    \r\n {action.action}\r\n {action.selector}\r\n {@html action.clear ? `and clear its value` : ``}\r\n
    \r\n {/each}\r\n
    \r\n\r\n\r\n
    \r\n\r\n \r\n \r\n\r\n \r\n \r\n
    \r\n","\r\n\r\n
    \r\n
    Global Options:
    \r\n\r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n openModal('checkConditionsOnLoad')} />\r\n
    \r\n
    \r\n","\r\n\r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n
    \r\n\r\n
    \r\n\r\n \r\n
    \r\n

    Add New

    \r\n dispatch('newLogic')} />\r\n
    \r\n\r\n \r\n \r\n
    \r\n\r\n \r\n {#each $logicStore as logic, index (logic.id)}\r\n
    \r\n \r\n
    \r\n {/each}\r\n
    \r\n
    \r\n","\r\n\r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n \r\n
    \r\n\r\n \r\n
    \r\n \r\n\r\n \r\n\r\n
    \r\n\r\n \r\n
    \r\n \r\n\r\n \r\n
    \r\n\r\n \r\n {#if condition.type !== 'checkbox' && condition.operator !== 'empty' && condition.operator !== 'filled'}\r\n
    \r\n \r\n\r\n \r\n
    \r\n {/if}\r\n\r\n
    \r\n
    \r\n\r\n\r\n
    \r\n \r\n dispatch('addcondition')} />\r\n\r\n \r\n {#if index !== 0}\r\n dispatch('removecondition', condition)} />\r\n {/if}\r\n
    \r\n","\r\n\r\n
    \r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n \r\n
    \r\n\r\n \r\n
    \r\n \r\n\r\n \r\n
    \r\n\r\n \r\n \r\n
    \r\n
    \r\n\r\n\r\n
    \r\n\r\n \r\n dispatch('addaction')} />\r\n\r\n \r\n {#if index !== 0}\r\n dispatch('removeaction', action)} />\r\n {/if}\r\n\r\n
    \r\n","\r\n\r\n","\r\n\r\n\r\n
    \r\n
    \r\n dispatch('cancel')} />\r\n

    {editID ? 'Edit' : 'Add new'} logic

    \r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n {#each logic.conditions as condition, index (index)}\r\n
    \r\n \r\n
    \r\n {/each}\r\n\r\n \r\n
    \r\n\r\n {#if logic.conditions.length > 1}\r\n \r\n\r\n \r\n\r\n
    then do the following actions:
    \r\n {:else}\r\n
    \r\n If the condition is met, then do the following actions:\r\n
    \r\n {/if}\r\n\r\n
    \r\n\r\n \r\n {#each logic.actions as action, index (index)}\r\n
    \r\n \r\n
    \r\n {/each}\r\n\r\n \r\n
    \r\n\r\n \r\n dispatch('cancel')}>\r\n Cancel\r\n \r\n\r\n \r\n \r\n {missingFields && triedToSubmit ? 'Some Fields Are Missing' : 'Save Logic'}\r\n \r\n
    \r\n\r\n
    \r\n\r\n
    \r\n","const logicSlides = {\r\n intro: [\r\n {\r\n title: 'Intro',\r\n content: `

    \r\n Build your form in the Webflow Designer as you would normally\r\n do.
    \r\n

    \r\n

    \r\n Then, create your logic in the builder. You can set as many\r\n conditions and actions to be performed, the code will be\r\n automatically generated for you!
    \r\n

    \r\n

    Check the next steps to see what you can do with it :)

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee9b27330483f41b4be2_Intro-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee9b27330483f41b4be2_Intro-transcode.webm',\r\n },\r\n {\r\n title: 'Single action target',\r\n content: `

    \r\n You can set the target of an action to be any form element (input,\r\n select, checkbox, radio...).
    \r\n

    \r\n

    To do so, use its ID:

    \r\n

    \r\n E.g. make input which ID is surname\r\n to be required.
    \r\n

    \r\n

    \r\n You can show, hide, enable, disable, require or unrequire it.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43eea0273304c2341b4be3_Single Action Target-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43eea0273304c2341b4be3_Single Action Target-transcode.webm',\r\n },\r\n {\r\n title: 'Group action target',\r\n content: `

    \r\n You can also group multiple elements inside a\r\n Div Block.
    \r\n

    \r\n

    \r\n If you set that Div Block as the target of an action, all\r\n the inputs inside it will be affected.
    \r\n

    \r\n

    To do so, use that block ID:

    \r\n

    \r\n E.g. disable all inputs that are inside the\r\n Div Block which ID is\r\n contact-info.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee94877e0a3bf5d60731_Group Action Target-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee94877e0a3bf5d60731_Group Action Target-transcode.webm',\r\n },\r\n {\r\n title: 'Action Interactions',\r\n content: `

    \r\n You can trigger Webflow Interactions when any action is\r\n performed.
    \r\n

    \r\n

    \r\n To do so, you must first set your target as a Group Action\r\n Target:
    \r\n

    \r\n

    \r\n "Put your target inside a Div Block and use its ID as\r\n the target."\r\n

    \r\n

    \r\n Then add inside the group a hidden Div Block with the\r\n custom attribute:
    \r\n

    \r\n
      \r\n
    • Name: data-logic
    • \r\n
    • \r\n Value: show, hide, enable, disable, require\r\n or unrequire.\r\n
    • \r\n
    \r\n

    \r\n And bind it to a\r\n Mouse click (tap)\r\n interaction.
    When an action is performed, the script will\r\n click the correspondent trigger.
    \r\n

    \r\n

    \r\n E.g. when you show the input\r\n phone, the script will click the\r\n Div Block that has the attribute\r\n data-logic=show.\r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee8bf4340039b7f3c9f0_Action Interactions-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee8bf4340039b7f3c9f0_Action Interactions-transcode.webm',\r\n },\r\n {\r\n title: 'Important!',\r\n content: `

    \r\n When you choose to show or hide a target, by\r\n default the script will set it to\r\n display: block or\r\n display: none.
    \r\n

    \r\n

    \r\n If you bind a Webflow Interaction to the hide or\r\n show actions, you should set that display property.
    \r\n

    \r\n

    \r\n E.g. when the target is showed, trigger a Webflow\r\n Interaction that sets\r\n display: flex and\r\n opacity: 100%.
    \r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee986da478c1e7b0e034_Important-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee986da478c1e7b0e034_Important-transcode.webm',\r\n },\r\n {\r\n title: 'Custom interactions',\r\n content: `

    \r\n You can also trigger a random interaction that isn't binded\r\n to any specific action.
    \r\n

    \r\n

    \r\n To do so, select Interaction as the\r\n trigger.
    \r\n

    \r\n

    \r\n The script will click that trigger when the conditions are\r\n met.
    \r\n

    \r\n

    \r\n E.g. click the element with the ID\r\n show-modal when the conditions\r\n are met.\r\n

    `,\r\n video1: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee90128e383bb89ab0db_Custom Interactions-transcode.mp4',\r\n video2: 'https://assets.website-files.com/5ee9e5f2c67c989ce5331572/5f43ee90128e383bb89ab0db_Custom Interactions-transcode.webm',\r\n },\r\n ],\r\n submitHiddenInputs: [\r\n {\r\n title: 'Submit hidden inputs',\r\n content: `

    \r\n You can choose if the inputs that are affected by the action\r\n hide should be submitted or not.
    \r\n

    \r\n

    \r\n Warning: not submitting the hidden inputs can\r\n affect 3rd party integrations like Zapier, as the form could\r\n receive different fields depending on user actions.\r\n

    `,\r\n video1: '',\r\n video2: '',\r\n },\r\n ],\r\n checkConditionsOnLoad: [\r\n {\r\n title: 'Check conditions on load',\r\n content: `

    \r\n If you select this option, the script will check if any of the\r\n conditions is already met when the page loads and triggers the\r\n correspondent actions.
    \r\n

    \r\n

    \r\n Note: it is recommended to leave this option\r\n checked, as not doing so could lead to unexpected behaviours.\r\n

    `,\r\n video1: '',\r\n video2: '',\r\n },\r\n ],\r\n};\r\nexport default logicSlides;\r\n","\r\n\r\n\r\n{#if editMode}\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n \r\n{:else}\r\n \r\n
    \r\n \r\n openModal('intro')} />\r\n\r\n \r\n \r\n
    \r\n
    \r\n{/if}\r\n\r\n\r\n{#if showModal}\r\n \r\n{/if}\r\n","/*!\n * clipboard.js v2.0.6\n * https://clipboardjs.com/\n * \n * Licensed MIT © Zeno Rocha\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ClipboardJS\"] = factory();\n\telse\n\t\troot[\"ClipboardJS\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 6);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\nfunction select(element) {\n var selectedText;\n\n if (element.nodeName === 'SELECT') {\n element.focus();\n\n selectedText = element.value;\n }\n else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {\n var isReadOnly = element.hasAttribute('readonly');\n\n if (!isReadOnly) {\n element.setAttribute('readonly', '');\n }\n\n element.select();\n element.setSelectionRange(0, element.value.length);\n\n if (!isReadOnly) {\n element.removeAttribute('readonly');\n }\n\n selectedText = element.value;\n }\n else {\n if (element.hasAttribute('contenteditable')) {\n element.focus();\n }\n\n var selection = window.getSelection();\n var range = document.createRange();\n\n range.selectNodeContents(element);\n selection.removeAllRanges();\n selection.addRange(range);\n\n selectedText = selection.toString();\n }\n\n return selectedText;\n}\n\nmodule.exports = select;\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\nfunction E () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n}\n\nE.prototype = {\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx\n });\n\n return this;\n },\n\n once: function (name, callback, ctx) {\n var self = this;\n function listener () {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n };\n\n listener._ = callback\n return this.on(name, listener, ctx);\n },\n\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n\n return this;\n },\n\n off: function (name, callback) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n\n if (evts && callback) {\n for (var i = 0, len = evts.length; i < len; i++) {\n if (evts[i].fn !== callback && evts[i].fn._ !== callback)\n liveEvents.push(evts[i]);\n }\n }\n\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n\n (liveEvents.length)\n ? e[name] = liveEvents\n : delete e[name];\n\n return this;\n }\n};\n\nmodule.exports = E;\nmodule.exports.TinyEmitter = E;\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar is = __webpack_require__(3);\nvar delegate = __webpack_require__(4);\n\n/**\n * Validates all params and calls the right\n * listener function based on its target type.\n *\n * @param {String|HTMLElement|HTMLCollection|NodeList} target\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listen(target, type, callback) {\n if (!target && !type && !callback) {\n throw new Error('Missing required arguments');\n }\n\n if (!is.string(type)) {\n throw new TypeError('Second argument must be a String');\n }\n\n if (!is.fn(callback)) {\n throw new TypeError('Third argument must be a Function');\n }\n\n if (is.node(target)) {\n return listenNode(target, type, callback);\n }\n else if (is.nodeList(target)) {\n return listenNodeList(target, type, callback);\n }\n else if (is.string(target)) {\n return listenSelector(target, type, callback);\n }\n else {\n throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList');\n }\n}\n\n/**\n * Adds an event listener to a HTML element\n * and returns a remove listener function.\n *\n * @param {HTMLElement} node\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNode(node, type, callback) {\n node.addEventListener(type, callback);\n\n return {\n destroy: function() {\n node.removeEventListener(type, callback);\n }\n }\n}\n\n/**\n * Add an event listener to a list of HTML elements\n * and returns a remove listener function.\n *\n * @param {NodeList|HTMLCollection} nodeList\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNodeList(nodeList, type, callback) {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.addEventListener(type, callback);\n });\n\n return {\n destroy: function() {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.removeEventListener(type, callback);\n });\n }\n }\n}\n\n/**\n * Add an event listener to a selector\n * and returns a remove listener function.\n *\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenSelector(selector, type, callback) {\n return delegate(document.body, selector, type, callback);\n}\n\nmodule.exports = listen;\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n/**\n * Check if argument is a HTML element.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.node = function(value) {\n return value !== undefined\n && value instanceof HTMLElement\n && value.nodeType === 1;\n};\n\n/**\n * Check if argument is a list of HTML elements.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.nodeList = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return value !== undefined\n && (type === '[object NodeList]' || type === '[object HTMLCollection]')\n && ('length' in value)\n && (value.length === 0 || exports.node(value[0]));\n};\n\n/**\n * Check if argument is a string.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.string = function(value) {\n return typeof value === 'string'\n || value instanceof String;\n};\n\n/**\n * Check if argument is a function.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.fn = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return type === '[object Function]';\n};\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar closest = __webpack_require__(5);\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction _delegate(element, selector, type, callback, useCapture) {\n var listenerFn = listener.apply(this, arguments);\n\n element.addEventListener(type, listenerFn, useCapture);\n\n return {\n destroy: function() {\n element.removeEventListener(type, listenerFn, useCapture);\n }\n }\n}\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element|String|Array} [elements]\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction delegate(elements, selector, type, callback, useCapture) {\n // Handle the regular Element usage\n if (typeof elements.addEventListener === 'function') {\n return _delegate.apply(null, arguments);\n }\n\n // Handle Element-less usage, it defaults to global delegation\n if (typeof type === 'function') {\n // Use `document` as the first parameter, then apply arguments\n // This is a short way to .unshift `arguments` without running into deoptimizations\n return _delegate.bind(null, document).apply(null, arguments);\n }\n\n // Handle Selector-based usage\n if (typeof elements === 'string') {\n elements = document.querySelectorAll(elements);\n }\n\n // Handle Array-like based usage\n return Array.prototype.map.call(elements, function (element) {\n return _delegate(element, selector, type, callback, useCapture);\n });\n}\n\n/**\n * Finds closest match and invokes callback.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Function}\n */\nfunction listener(element, selector, type, callback) {\n return function(e) {\n e.delegateTarget = closest(e.target, selector);\n\n if (e.delegateTarget) {\n callback.call(element, e);\n }\n }\n}\n\nmodule.exports = delegate;\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports) {\n\nvar DOCUMENT_NODE_TYPE = 9;\n\n/**\n * A polyfill for Element.matches()\n */\nif (typeof Element !== 'undefined' && !Element.prototype.matches) {\n var proto = Element.prototype;\n\n proto.matches = proto.matchesSelector ||\n proto.mozMatchesSelector ||\n proto.msMatchesSelector ||\n proto.oMatchesSelector ||\n proto.webkitMatchesSelector;\n}\n\n/**\n * Finds the closest parent that matches a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @return {Function}\n */\nfunction closest (element, selector) {\n while (element && element.nodeType !== DOCUMENT_NODE_TYPE) {\n if (typeof element.matches === 'function' &&\n element.matches(selector)) {\n return element;\n }\n element = element.parentNode;\n }\n}\n\nmodule.exports = closest;\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n\n// EXTERNAL MODULE: ./node_modules/select/src/select.js\nvar src_select = __webpack_require__(0);\nvar select_default = /*#__PURE__*/__webpack_require__.n(src_select);\n\n// CONCATENATED MODULE: ./src/clipboard-action.js\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n\n\n/**\n * Inner class which performs selection from either `text` or `target`\n * properties and then executes copy or cut operations.\n */\n\nvar clipboard_action_ClipboardAction = function () {\n /**\n * @param {Object} options\n */\n function ClipboardAction(options) {\n _classCallCheck(this, ClipboardAction);\n\n this.resolveOptions(options);\n this.initSelection();\n }\n\n /**\n * Defines base properties passed from constructor.\n * @param {Object} options\n */\n\n\n _createClass(ClipboardAction, [{\n key: 'resolveOptions',\n value: function resolveOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this.action = options.action;\n this.container = options.container;\n this.emitter = options.emitter;\n this.target = options.target;\n this.text = options.text;\n this.trigger = options.trigger;\n\n this.selectedText = '';\n }\n\n /**\n * Decides which selection strategy is going to be applied based\n * on the existence of `text` and `target` properties.\n */\n\n }, {\n key: 'initSelection',\n value: function initSelection() {\n if (this.text) {\n this.selectFake();\n } else if (this.target) {\n this.selectTarget();\n }\n }\n\n /**\n * Creates a fake textarea element, sets its value from `text` property,\n * and makes a selection on it.\n */\n\n }, {\n key: 'selectFake',\n value: function selectFake() {\n var _this = this;\n\n var isRTL = document.documentElement.getAttribute('dir') == 'rtl';\n\n this.removeFake();\n\n this.fakeHandlerCallback = function () {\n return _this.removeFake();\n };\n this.fakeHandler = this.container.addEventListener('click', this.fakeHandlerCallback) || true;\n\n this.fakeElem = document.createElement('textarea');\n // Prevent zooming on iOS\n this.fakeElem.style.fontSize = '12pt';\n // Reset box model\n this.fakeElem.style.border = '0';\n this.fakeElem.style.padding = '0';\n this.fakeElem.style.margin = '0';\n // Move element out of screen horizontally\n this.fakeElem.style.position = 'absolute';\n this.fakeElem.style[isRTL ? 'right' : 'left'] = '-9999px';\n // Move element to the same position vertically\n var yPosition = window.pageYOffset || document.documentElement.scrollTop;\n this.fakeElem.style.top = yPosition + 'px';\n\n this.fakeElem.setAttribute('readonly', '');\n this.fakeElem.value = this.text;\n\n this.container.appendChild(this.fakeElem);\n\n this.selectedText = select_default()(this.fakeElem);\n this.copyText();\n }\n\n /**\n * Only removes the fake element after another click event, that way\n * a user can hit `Ctrl+C` to copy because selection still exists.\n */\n\n }, {\n key: 'removeFake',\n value: function removeFake() {\n if (this.fakeHandler) {\n this.container.removeEventListener('click', this.fakeHandlerCallback);\n this.fakeHandler = null;\n this.fakeHandlerCallback = null;\n }\n\n if (this.fakeElem) {\n this.container.removeChild(this.fakeElem);\n this.fakeElem = null;\n }\n }\n\n /**\n * Selects the content from element passed on `target` property.\n */\n\n }, {\n key: 'selectTarget',\n value: function selectTarget() {\n this.selectedText = select_default()(this.target);\n this.copyText();\n }\n\n /**\n * Executes the copy operation based on the current selection.\n */\n\n }, {\n key: 'copyText',\n value: function copyText() {\n var succeeded = void 0;\n\n try {\n succeeded = document.execCommand(this.action);\n } catch (err) {\n succeeded = false;\n }\n\n this.handleResult(succeeded);\n }\n\n /**\n * Fires an event based on the copy operation result.\n * @param {Boolean} succeeded\n */\n\n }, {\n key: 'handleResult',\n value: function handleResult(succeeded) {\n this.emitter.emit(succeeded ? 'success' : 'error', {\n action: this.action,\n text: this.selectedText,\n trigger: this.trigger,\n clearSelection: this.clearSelection.bind(this)\n });\n }\n\n /**\n * Moves focus away from `target` and back to the trigger, removes current selection.\n */\n\n }, {\n key: 'clearSelection',\n value: function clearSelection() {\n if (this.trigger) {\n this.trigger.focus();\n }\n document.activeElement.blur();\n window.getSelection().removeAllRanges();\n }\n\n /**\n * Sets the `action` to be performed which can be either 'copy' or 'cut'.\n * @param {String} action\n */\n\n }, {\n key: 'destroy',\n\n\n /**\n * Destroy lifecycle.\n */\n value: function destroy() {\n this.removeFake();\n }\n }, {\n key: 'action',\n set: function set() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'copy';\n\n this._action = action;\n\n if (this._action !== 'copy' && this._action !== 'cut') {\n throw new Error('Invalid \"action\" value, use either \"copy\" or \"cut\"');\n }\n }\n\n /**\n * Gets the `action` property.\n * @return {String}\n */\n ,\n get: function get() {\n return this._action;\n }\n\n /**\n * Sets the `target` property using an element\n * that will be have its content copied.\n * @param {Element} target\n */\n\n }, {\n key: 'target',\n set: function set(target) {\n if (target !== undefined) {\n if (target && (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' && target.nodeType === 1) {\n if (this.action === 'copy' && target.hasAttribute('disabled')) {\n throw new Error('Invalid \"target\" attribute. Please use \"readonly\" instead of \"disabled\" attribute');\n }\n\n if (this.action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) {\n throw new Error('Invalid \"target\" attribute. You can\\'t cut text from elements with \"readonly\" or \"disabled\" attributes');\n }\n\n this._target = target;\n } else {\n throw new Error('Invalid \"target\" value, use a valid Element');\n }\n }\n }\n\n /**\n * Gets the `target` property.\n * @return {String|HTMLElement}\n */\n ,\n get: function get() {\n return this._target;\n }\n }]);\n\n return ClipboardAction;\n}();\n\n/* harmony default export */ var clipboard_action = (clipboard_action_ClipboardAction);\n// EXTERNAL MODULE: ./node_modules/tiny-emitter/index.js\nvar tiny_emitter = __webpack_require__(1);\nvar tiny_emitter_default = /*#__PURE__*/__webpack_require__.n(tiny_emitter);\n\n// EXTERNAL MODULE: ./node_modules/good-listener/src/listen.js\nvar listen = __webpack_require__(2);\nvar listen_default = /*#__PURE__*/__webpack_require__.n(listen);\n\n// CONCATENATED MODULE: ./src/clipboard.js\nvar clipboard_typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar clipboard_createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction clipboard_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n/**\n * Base class which takes one or more elements, adds event listeners to them,\n * and instantiates a new `ClipboardAction` on each click.\n */\n\nvar clipboard_Clipboard = function (_Emitter) {\n _inherits(Clipboard, _Emitter);\n\n /**\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n * @param {Object} options\n */\n function Clipboard(trigger, options) {\n clipboard_classCallCheck(this, Clipboard);\n\n var _this = _possibleConstructorReturn(this, (Clipboard.__proto__ || Object.getPrototypeOf(Clipboard)).call(this));\n\n _this.resolveOptions(options);\n _this.listenClick(trigger);\n return _this;\n }\n\n /**\n * Defines if attributes would be resolved using internal setter functions\n * or custom functions that were passed in the constructor.\n * @param {Object} options\n */\n\n\n clipboard_createClass(Clipboard, [{\n key: 'resolveOptions',\n value: function resolveOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this.action = typeof options.action === 'function' ? options.action : this.defaultAction;\n this.target = typeof options.target === 'function' ? options.target : this.defaultTarget;\n this.text = typeof options.text === 'function' ? options.text : this.defaultText;\n this.container = clipboard_typeof(options.container) === 'object' ? options.container : document.body;\n }\n\n /**\n * Adds a click event listener to the passed trigger.\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n */\n\n }, {\n key: 'listenClick',\n value: function listenClick(trigger) {\n var _this2 = this;\n\n this.listener = listen_default()(trigger, 'click', function (e) {\n return _this2.onClick(e);\n });\n }\n\n /**\n * Defines a new `ClipboardAction` on each click event.\n * @param {Event} e\n */\n\n }, {\n key: 'onClick',\n value: function onClick(e) {\n var trigger = e.delegateTarget || e.currentTarget;\n\n if (this.clipboardAction) {\n this.clipboardAction = null;\n }\n\n this.clipboardAction = new clipboard_action({\n action: this.action(trigger),\n target: this.target(trigger),\n text: this.text(trigger),\n container: this.container,\n trigger: trigger,\n emitter: this\n });\n }\n\n /**\n * Default `action` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: 'defaultAction',\n value: function defaultAction(trigger) {\n return getAttributeValue('action', trigger);\n }\n\n /**\n * Default `target` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: 'defaultTarget',\n value: function defaultTarget(trigger) {\n var selector = getAttributeValue('target', trigger);\n\n if (selector) {\n return document.querySelector(selector);\n }\n }\n\n /**\n * Returns the support of the given action, or all actions if no action is\n * given.\n * @param {String} [action]\n */\n\n }, {\n key: 'defaultText',\n\n\n /**\n * Default `text` lookup function.\n * @param {Element} trigger\n */\n value: function defaultText(trigger) {\n return getAttributeValue('text', trigger);\n }\n\n /**\n * Destroy lifecycle.\n */\n\n }, {\n key: 'destroy',\n value: function destroy() {\n this.listener.destroy();\n\n if (this.clipboardAction) {\n this.clipboardAction.destroy();\n this.clipboardAction = null;\n }\n }\n }], [{\n key: 'isSupported',\n value: function isSupported() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];\n\n var actions = typeof action === 'string' ? [action] : action;\n var support = !!document.queryCommandSupported;\n\n actions.forEach(function (action) {\n support = support && !!document.queryCommandSupported(action);\n });\n\n return support;\n }\n }]);\n\n return Clipboard;\n}(tiny_emitter_default.a);\n\n/**\n * Helper function to retrieve attribute value.\n * @param {String} suffix\n * @param {Element} element\n */\n\n\nfunction getAttributeValue(suffix, element) {\n var attribute = 'data-clipboard-' + suffix;\n\n if (!element.hasAttribute(attribute)) {\n return;\n }\n\n return element.getAttribute(attribute);\n}\n\n/* harmony default export */ var clipboard = __webpack_exports__[\"default\"] = (clipboard_Clipboard);\n\n/***/ })\n/******/ ])[\"default\"];\n});","'use strict';\nconst isRegexp = require('is-regexp');\nconst isObj = require('is-obj');\nconst getOwnEnumPropSymbols = require('get-own-enumerable-property-symbols').default;\n\nmodule.exports = (val, opts, pad) => {\n\tconst seen = [];\n\n\treturn (function stringify(val, opts, pad) {\n\t\topts = opts || {};\n\t\topts.indent = opts.indent || '\\t';\n\t\tpad = pad || '';\n\n\t\tlet tokens;\n\n\t\tif (opts.inlineCharacterLimit === undefined) {\n\t\t\ttokens = {\n\t\t\t\tnewLine: '\\n',\n\t\t\t\tnewLineOrSpace: '\\n',\n\t\t\t\tpad,\n\t\t\t\tindent: pad + opts.indent\n\t\t\t};\n\t\t} else {\n\t\t\ttokens = {\n\t\t\t\tnewLine: '@@__STRINGIFY_OBJECT_NEW_LINE__@@',\n\t\t\t\tnewLineOrSpace: '@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@',\n\t\t\t\tpad: '@@__STRINGIFY_OBJECT_PAD__@@',\n\t\t\t\tindent: '@@__STRINGIFY_OBJECT_INDENT__@@'\n\t\t\t};\n\t\t}\n\n\t\tconst expandWhiteSpace = string => {\n\t\t\tif (opts.inlineCharacterLimit === undefined) {\n\t\t\t\treturn string;\n\t\t\t}\n\n\t\t\tconst oneLined = string\n\t\t\t\t.replace(new RegExp(tokens.newLine, 'g'), '')\n\t\t\t\t.replace(new RegExp(tokens.newLineOrSpace, 'g'), ' ')\n\t\t\t\t.replace(new RegExp(tokens.pad + '|' + tokens.indent, 'g'), '');\n\n\t\t\tif (oneLined.length <= opts.inlineCharacterLimit) {\n\t\t\t\treturn oneLined;\n\t\t\t}\n\n\t\t\treturn string\n\t\t\t\t.replace(new RegExp(tokens.newLine + '|' + tokens.newLineOrSpace, 'g'), '\\n')\n\t\t\t\t.replace(new RegExp(tokens.pad, 'g'), pad)\n\t\t\t\t.replace(new RegExp(tokens.indent, 'g'), pad + opts.indent);\n\t\t};\n\n\t\tif (seen.indexOf(val) !== -1) {\n\t\t\treturn '\"[Circular]\"';\n\t\t}\n\n\t\tif (val === null ||\n\t\t\tval === undefined ||\n\t\t\ttypeof val === 'number' ||\n\t\t\ttypeof val === 'boolean' ||\n\t\t\ttypeof val === 'function' ||\n\t\t\ttypeof val === 'symbol' ||\n\t\t\tisRegexp(val)) {\n\t\t\treturn String(val);\n\t\t}\n\n\t\tif (val instanceof Date) {\n\t\t\treturn `new Date('${val.toISOString()}')`;\n\t\t}\n\n\t\tif (Array.isArray(val)) {\n\t\t\tif (val.length === 0) {\n\t\t\t\treturn '[]';\n\t\t\t}\n\n\t\t\tseen.push(val);\n\n\t\t\tconst ret = '[' + tokens.newLine + val.map((el, i) => {\n\t\t\t\tconst eol = val.length - 1 === i ? tokens.newLine : ',' + tokens.newLineOrSpace;\n\t\t\t\tlet value = stringify(el, opts, pad + opts.indent);\n\t\t\t\tif (opts.transform) {\n\t\t\t\t\tvalue = opts.transform(val, i, value);\n\t\t\t\t}\n\t\t\t\treturn tokens.indent + value + eol;\n\t\t\t}).join('') + tokens.pad + ']';\n\n\t\t\tseen.pop();\n\n\t\t\treturn expandWhiteSpace(ret);\n\t\t}\n\n\t\tif (isObj(val)) {\n\t\t\tlet objKeys = Object.keys(val).concat(getOwnEnumPropSymbols(val));\n\n\t\t\tif (opts.filter) {\n\t\t\t\tobjKeys = objKeys.filter(el => opts.filter(val, el));\n\t\t\t}\n\n\t\t\tif (objKeys.length === 0) {\n\t\t\t\treturn '{}';\n\t\t\t}\n\n\t\t\tseen.push(val);\n\n\t\t\tconst ret = '{' + tokens.newLine + objKeys.map((el, i) => {\n\t\t\t\tconst eol = objKeys.length - 1 === i ? tokens.newLine : ',' + tokens.newLineOrSpace;\n\t\t\t\tconst isSymbol = typeof el === 'symbol';\n\t\t\t\tconst isClassic = !isSymbol && /^[a-z$_][a-z$_0-9]*$/i.test(el);\n\t\t\t\tconst key = isSymbol || isClassic ? el : stringify(el, opts);\n\t\t\t\tlet value = stringify(val[el], opts, pad + opts.indent);\n\t\t\t\tif (opts.transform) {\n\t\t\t\t\tvalue = opts.transform(val, el, value);\n\t\t\t\t}\n\t\t\t\treturn tokens.indent + String(key) + ': ' + value + eol;\n\t\t\t}).join('') + tokens.pad + '}';\n\n\t\t\tseen.pop();\n\n\t\t\treturn expandWhiteSpace(ret);\n\t\t}\n\n\t\tval = String(val).replace(/[\\r\\n]/g, x => x === '\\n' ? '\\\\n' : '\\\\r');\n\n\t\tif (opts.singleQuotes === false) {\n\t\t\tval = val.replace(/\"/g, '\\\\\"');\n\t\t\treturn `\"${val}\"`;\n\t\t}\n\n\t\tval = val.replace(/\\\\?'/g, '\\\\\\'');\n\t\treturn `'${val}'`;\n\t})(val, opts, pad);\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (object) => Object\n .getOwnPropertySymbols(object)\n .filter((keySymbol) => Object.prototype.propertyIsEnumerable.call(object, keySymbol));\n//# sourceMappingURL=index.js.map","'use strict';\nmodule.exports = function (re) {\n\treturn Object.prototype.toString.call(re) === '[object RegExp]';\n};\n","'use strict';\nmodule.exports = function (x) {\n\tvar type = typeof x;\n\treturn x !== null && (type === 'object' || type === 'function');\n};\n","// Helpers\r\nimport stringifyObject from 'stringify-object';\r\n// Svelte\r\nimport { derived } from 'svelte/store';\r\n// Stores\r\nimport msfStore from './msf';\r\nimport { logicExport } from './logic';\r\n// Constants\r\nimport { scriptSrc } from '../constants';\r\nconst generatedCode = derived([logicExport, msfStore], ([$logicExport, $msfStore]) => {\r\n const script = `\r\n\r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n
    \r\n      \r\n        {$generatedCode}\r\n      \r\n    
    \r\n\r\n \r\n \r\n\r\n
    \r\n
    \r\n","\r\n\r\n
    \r\n
    \r\n","import App from './App.svelte';\r\nconst app = new App({\r\n target: document.body,\r\n});\r\nexport default app;\r\n"],"names":["noop","identity","x","assign","tar","src","k","run","fn","blank_object","Object","create","run_all","fns","forEach","is_function","thing","safe_not_equal","a","b","subscribe","store","callbacks","unsub","unsubscribe","component_subscribe","component","callback","$$","on_destroy","push","create_slot","definition","ctx","$$scope","slot_ctx","get_slot_context","slice","update_slot","slot","slot_definition","dirty","get_slot_changes_fn","get_slot_context_fn","slot_changes","lets","undefined","merged","len","Math","max","length","i","get_slot_changes","slot_context","p","exclude_internal_props","props","result","set_store_value","ret","value","set","is_client","window","now","performance","Date","raf","cb","requestAnimationFrame","tasks","Set","run_tasks","task","c","delete","f","size","loop","promise","Promise","fulfill","add","[object Object]","append","target","node","appendChild","insert","anchor","insertBefore","detach","parentNode","removeChild","destroy_each","iterations","detaching","d","element","name","document","createElement","svg_element","createElementNS","text","data","createTextNode","space","empty","listen","event","handler","options","addEventListener","removeEventListener","attr","attribute","removeAttribute","getAttribute","setAttribute","set_svg_attributes","attributes","key","children","Array","from","childNodes","claim_element","nodes","svg","nodeName","j","remove","splice","set_data","wholeText","select_option","select","option","__value","selected","toggle_class","toggle","classList","custom_event","type","detail","e","createEvent","initCustomEvent","HtmlTag","this","n","html","t","h","innerHTML","active_docs","current_component","active","create_rule","duration","delay","ease","uid","step","keyframes","rule","str","hash","charCodeAt","doc","ownerDocument","stylesheet","__svelte_stylesheet","head","sheet","current_rules","__svelte_rules","insertRule","cssRules","animation","style","delete_rule","previous","split","next","filter","anim","indexOf","deleted","join","deleteRule","clear","add_transform","getBoundingClientRect","left","top","getComputedStyle","transform","set_current_component","get_current_component","Error","onMount","on_mount","onDestroy","createEventDispatcher","call","getContext","context","get","bubble","dirty_components","binding_callbacks","render_callbacks","flush_callbacks","resolved_promise","resolve","update_scheduled","schedule_update","then","flush","add_render_callback","add_flush_callback","flushing","seen_callbacks","update","pop","has","fragment","before_update","after_update","wait","dispatch","direction","kind","dispatchEvent","outroing","outros","group_outros","r","check_outros","transition_in","block","local","transition_out","o","null_transition","create_in_transition","params","animation_name","config","running","cleanup","go","easing","tick","css","start_time","end_time","abort","started","create_bidirectional_transition","intro","running_program","pending_program","clear_animation","init","program","abs","start","end","group","destroy_block","lookup","outro_and_destroy_block","fix_and_outro_and_destroy_block","update_keyed_each","old_blocks","get_key","dynamic","list","destroy","create_each_block","get_context","old_indexes","new_blocks","new_lookup","Map","deltas","child_ctx","will_move","did_move","m","first","new_block","old_block","new_key","old_key","get_spread_update","levels","updates","to_null_out","accounted_for","get_spread_object","spread_props","bind","index","bound","create_component","mount_component","new_on_destroy","map","destroy_component","instance","create_fragment","not_equal","parent_component","prop_values","skip_bound","ready","rest","fill","make_dirty","hydrate","l","SvelteComponent","$destroy","$$props","obj","$$set","keys","subscriber_queue","writable","stop","subscribers","new_value","run_queue","s","invalidate","subscriber","derived","stores","initial_value","single","isArray","stores_array","auto","inited","values","pending","sync","unsubscribers","Pages","currentPage","HOME","link","extraClass","icons","IntroIcon","MultiStepsIcon","ConditionalLogicIcon","GenerateCodeIcon","$currentPage","MSF","LOGIC","CODE","title","subtitle","primaryText","secondaryText","cubicOut","quintOut","fade","linear","opacity","fly","y","target_opacity","od","u","slide","height","parseFloat","padding_top","paddingTop","padding_bottom","paddingBottom","margin_top","marginTop","margin_bottom","marginBottom","border_top_width","borderTopWidth","border_bottom_width","borderBottomWidth","min","flip","scaleX","width","clientWidth","scaleY","clientHeight","dx","to","dy","sqrt","_t","msfStore","hiddeButtonsOnSubmit","scrollTopOnStepChange","msfActivated","msfRequired","optionalStore","msfOptional","modify","items","item","checkSelected","find","msfCopy","msfSlides","content","video1","video2","webflowSetup","elements","alertSelector","backSelector","alertText","backText","nextText","completedPercentageSelector","currentStepSelector","customNav","displayValues","msfGlobal","warningClass","hiddenForm","disabled","label","id","selected_option","querySelector","input","required","placeholder","selector","inputValue","reg","RegExp","class","replace","removeSelector","toString","addSelector","$msfStore","deleteParams","getRandomValues","crypto","msCrypto","rnds8","Uint8Array","rng","validate","uuid","REGEX","test","byteToHex","substr","v4","buf","offset","rnds","random","arr","arguments","toLowerCase","TypeError","stringify","action","button","param","uuidv4","addButtonText","removeButtonText","targetIndex","filledParams","checkFilled","form","formSelector","nextSelector","$msfActivated","$msfCopy","hiddenFormStep","sendHiddenForm","checked","blocks","starterForm","payload","_id","tag","classes","data-name","slider","navSpacing","autoplay","iconArrows","navRound","hideArrows","disableSwipe","infinite","autoMax","data-animation","data-disable-swipe","data-duration","v","url","mode","href","for","autofocus","maxlength","inputType","opts","dir","data-wait","styles","fake","namespace","comb","styleLess","variants","assets","ix1","ix2","interactions","events","actionLists","meta","unlinkedSymbolCount","droppedLinks","dynBindRemovedCount","dynListBindRemovedCount","paginationRemovedCount","createCopy","execCommand","notification","buttonText","triggerNotification","state","setTimeout","clipboardData","setData","JSON","trim","preventDefault","_a","body","scrollPosition","videoElement","currentSlide","isLast","load","slides","nextSlide","pageYOffset","oldWidth","overflow","position","disableScroll","scrollTo","right","bottom","showModal","components","AlertElement","AlertText","BackText","BackButton","DisplayCompleted","DisplayCurrentStep","CustomNav","DisplayValues","Elements","HiddenForm","MsfGlobal","NextText","WarningClass","WebflowSetup","openModal","deleteOptional","optionalBlocks","$msfOptional","unselectedOptionalBlocks","$msfRequired","freeGlobal","global","freeSelf","self","root","Function","Symbol","objectProto","prototype","hasOwnProperty","nativeObjectToString","symToStringTag","toStringTag","baseGetTag","isOwn","unmasked","getRawTag","objectToString","isObjectLike","isObject","isFunction","coreJsData","maskSrcKey","exec","IE_PROTO","funcToString","toSource","func","reIsHostCtor","funcProto","reIsNative","baseIsNative","getNative","object","getValue","WeakMap","objectCreate","baseCreate","proto","defineProperty","reIsUint","isIndex","baseAssignValue","configurable","enumerable","eq","other","assignValue","objValue","copyObject","source","customizer","isNew","newValue","isLength","isArrayLike","isPrototype","Ctor","constructor","baseIsArguments","propertyIsEnumerable","isArguments","freeExports","exports","nodeType","freeModule","module","Buffer","isBuffer","typedArrayTags","baseUnary","freeProcess","process","nodeUtil","types","require","binding","nodeIsTypedArray","isTypedArray","arrayLikeKeys","inherited","isArr","isArg","isBuff","isType","skipIndexes","iteratee","baseTimes","String","overArg","arg","nativeKeys","baseKeys","baseKeysIn","nativeKeysIn","isProto","keysIn","nativeCreate","Hash","entries","entry","assocIndexOf","array","__data__","ListCache","getMapData","MapCache","arrayPush","string","getPrototype","getPrototypeOf","Stack","pairs","LARGE_ARRAY_SIZE","allocUnsafe","stubArray","nativeGetSymbols","getOwnPropertySymbols","getSymbols","predicate","resIndex","arrayFilter","symbol","getSymbolsIn","baseGetAllKeys","keysFunc","symbolsFunc","getAllKeys","getAllKeysIn","DataView","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","getTag","ArrayBuffer","ctorString","cloneArrayBuffer","arrayBuffer","byteLength","reFlags","symbolProto","symbolValueOf","valueOf","initCloneByTag","isDeep","regexp","dataView","buffer","byteOffset","cloneDataView","typedArray","cloneTypedArray","lastIndex","nodeIsMap","isMap","nodeIsSet","isSet","cloneableTags","baseClone","bitmask","stack","isFlat","isFull","initCloneArray","copyArray","isFunc","copy","cloneBuffer","initCloneObject","copySymbolsIn","baseAssignIn","copySymbols","baseAssign","stacked","subValue","arrayEach","cloneDeep","CLONE_DEEP_FLAG","logicStore","customLogicStore","newLogic","logicParams","submitHiddenInputs","checkConditionsOnLoad","logicExport","$logicStore","$logicParams","newStore","logic","conditions","condition","startsWith","operator","actions","logicList","convertOperator","editLogic","operators","compatibleTypes","includes","filteredOperators","__awaiter","thisArg","_arguments","P","generator","reject","fulfilled","rejected","done","apply","editID","defaultCondition","defaultAction","missingFields","triedToSubmit","checkFilledInputs","logicSlides","editMode","factory","modules","installedModules","__webpack_require__","moduleId","getter","__esModule","ns","property","selectedText","focus","isReadOnly","hasAttribute","setSelectionRange","selection","getSelection","range","createRange","selectNodeContents","removeAllRanges","addRange","E","on","once","listener","off","_","emit","evtArr","evts","liveEvents","TinyEmitter","is","delegate","listenNode","nodeList","listenNodeList","listenSelector","HTMLElement","closest","_delegate","useCapture","listenerFn","delegateTarget","querySelectorAll","Element","matches","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","__webpack_exports__","src_select","select_default","_typeof","iterator","_createClass","defineProperties","descriptor","Constructor","protoProps","staticProps","clipboard_action","ClipboardAction","_classCallCheck","resolveOptions","initSelection","container","emitter","trigger","selectFake","selectTarget","_this","isRTL","documentElement","removeFake","fakeHandlerCallback","fakeHandler","fakeElem","fontSize","border","padding","margin","yPosition","scrollTop","copyText","succeeded","err","handleResult","clearSelection","activeElement","blur","_action","_target","tiny_emitter","tiny_emitter_default","listen_default","clipboard_typeof","clipboard_createClass","clipboard_Clipboard","_Emitter","Clipboard","clipboard_classCallCheck","ReferenceError","_possibleConstructorReturn","__proto__","listenClick","subClass","superClass","setPrototypeOf","_inherits","defaultTarget","defaultText","_this2","onClick","currentTarget","clipboardAction","getAttributeValue","support","queryCommandSupported","suffix","getOwnEnumPropSymbols","keySymbol","default","val","pad","seen","tokens","indent","inlineCharacterLimit","newLine","newLineOrSpace","expandWhiteSpace","oneLined","re","toISOString","el","eol","objKeys","concat","isSymbol","isClassic","singleQuotes","generatedCode","$logicExport","stringifyObject","Prism","C","manual","disableWorkerMessageHandler","util","encode","alias","objId","__id","clone","getLanguage","className","parentElement","match","currentScript","getElementsByTagName","languages","extend","DFS","plugins","highlightAll","highlightAllUnder","hooks","highlightElement","language","grammar","code","textContent","highlightedCode","Worker","filename","onmessage","postMessage","immediateClose","highlight","tokenize","M","g","inside","lookbehind","greedy","pattern","tail","prev","w","A","S","O","N","W","all","Token","parse","close","readyState","defer","WorkerGlobalScope","markup","comment","prolog","doctype","internal-subset","punctuation","doctype-tag","cdata","attr-value","attr-name","entity","included-cdata","mathml","xml","ssml","atom","rss","clipboard","copyButton","Home","Msf","Logic","Code"],"mappings":"gCAAA,SAASA,KACT,MAAMC,EAAWC,GAAKA,EACtB,SAASC,EAAOC,EAAKC,GAEjB,IAAK,MAAMC,KAAKD,EACZD,EAAIE,GAAKD,EAAIC,GACjB,OAAOF,EAUX,SAASG,EAAIC,GACT,OAAOA,IAEX,SAASC,IACL,OAAOC,OAAOC,OAAO,MAEzB,SAASC,EAAQC,GACbA,EAAIC,QAAQP,GAEhB,SAASQ,EAAYC,GACjB,MAAwB,mBAAVA,EAElB,SAASC,EAAeC,EAAGC,GACvB,OAAOD,GAAKA,EAAIC,GAAKA,EAAID,IAAMC,GAAOD,GAAkB,iBAANA,GAAgC,mBAANA,EAahF,SAASE,EAAUC,KAAUC,GACzB,GAAa,MAATD,EACA,OAAOrB,EAEX,MAAMuB,EAAQF,EAAMD,aAAaE,GACjC,OAAOC,EAAMC,YAAc,IAAMD,EAAMC,cAAgBD,EAO3D,SAASE,EAAoBC,EAAWL,EAAOM,GAC3CD,EAAUE,GAAGC,WAAWC,KAAKV,EAAUC,EAAOM,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AUsD,IAAItE,EAAMgB,UAAUyD,IAAIzE,EAAMgB,UAAUsD,sHC4BtmE1+B,gBAAAA,+HALrCA,kTAAAA,yCAKqCA,0JAzB1C8+B,EAAWhD,EAAMiD,6BAErBp0B,OACIm0B,MAAgBvH,GAAUwH,GAAc17B,WAAcy4B,IACtD1B,GAAMoB,iBAEV3wB,MAAgBi0B,EAAUpvB,0DAayCosB,0BAMrBiD,4+BCnBlB/+B,KAAMA,yOAANA,KAAMA,wVANnBg/B,GAAMC,GAAKC,GAAOC,YCLrB,oEAAQ,CAChB97B,OAAQe,SAAS0c"} \ No newline at end of file diff --git a/src/constants.ts b/src/constants.ts index d21ef26..f41c679 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,5 +1,5 @@ export const scriptSrc = - 'https://cdn.jsdelivr.net/gh/brotame/advanced-webflow-forms@1.1.2/dist/awf.js'; + 'https://cdn.jsdelivr.net/gh/brotame/advanced-webflow-forms@1.1/dist/awf.js'; //prettier-ignore export const starterForm = {"type":"@webflow/XscpData","payload":{"nodes":[{"_id":"38d2366b-4159-2510-38f3-6787f5878486","tag":"div","classes":[],"children":["38d2366b-4159-2510-38f3-6787f5878487","38d2366b-4159-2510-38f3-6787f58784df","38d2366b-4159-2510-38f3-6787f58784e2","0e1c4535-f4c0-c01c-f501-ba6c754dd6b0"],"type":"FormWrapper","data":{"form":{"type":"wrapper"}}},{"_id":"38d2366b-4159-2510-38f3-6787f5878487","tag":"form","classes":[],"children":["38d2366b-4159-2510-38f3-6787f5878488","38d2366b-4159-2510-38f3-6787f58784db"],"type":"FormForm","data":{"attr":{"id":"msf","name":"wf-form-Multi-Step-Form","data-name":"Multi Step Form"},"form":{"type":"form","name":"Multi Step Form"}}},{"_id":"38d2366b-4159-2510-38f3-6787f5878488","tag":"div","classes":["9e492cc5-3ba8-670c-f95e-8bb55c86b25a"],"children":["38d2366b-4159-2510-38f3-6787f5878489","38d2366b-4159-2510-38f3-6787f58784dc","38d2366b-4159-2510-38f3-6787f58784dd","38d2366b-4159-2510-38f3-6787f58784de"],"type":"SliderWrapper","data":{"slider":{"navSpacing":3,"autoplay":false,"delay":4000,"iconArrows":true,"animation":"outin","easing":"ease","navRound":false,"hideArrows":false,"disableSwipe":true,"duration":500,"infinite":false,"autoMax":0,"type":"wrapper"},"attr":{"data-animation":"outin","data-disable-swipe":"1","data-duration":"500"}}},{"_id":"38d2366b-4159-2510-38f3-6787f5878489","tag":"div","classes":[],"children":["38d2366b-4159-2510-38f3-6787f587848a","38d2366b-4159-2510-38f3-6787f58784aa","ef3f2af7-909c-644d-7267-6ccb03424cb6"],"type":"SliderMask","data":{"slider":{"type":"slides"}}},{"_id":"38d2366b-4159-2510-38f3-6787f587848a","tag":"div","classes":[],"children":["38d2366b-4159-2510-38f3-6787f587848b"],"type":"SliderSlide","data":{"tag":"div","slider":{"type":"slide"}}},{"_id":"38d2366b-4159-2510-38f3-6787f587848b","tag":"div","classes":[],"children":["38d2366b-4159-2510-38f3-6787f587848c","38d2366b-4159-2510-38f3-6787f587849d","38d2366b-4159-2510-38f3-6787f587849f","38d2366b-4159-2510-38f3-6787f58784a0","38d2366b-4159-2510-38f3-6787f58784a2","38d2366b-4159-2510-38f3-6787f58784a3","38d2366b-4159-2510-38f3-6787f58784a5","38d2366b-4159-2510-38f3-6787f58784a6"],"type":"Block","data":{"tag":"div"}},{"_id":"38d2366b-4159-2510-38f3-6787f587848c","tag":"p","classes":[],"children":["38d2366b-4159-2510-38f3-6787f587848d","38d2366b-4159-2510-38f3-6787f5878494","38d2366b-4159-2510-38f3-6787f5878495","38d2366b-4159-2510-38f3-6787f5878496","38d2366b-4159-2510-38f3-6787f5878497","f9618b03-efc9-eac9-4f27-19306d07c959","2db53dad-7e56-58ab-fbac-23671270cb69","38d2366b-4159-2510-38f3-6787f5878498","38d2366b-4159-2510-38f3-6787f5878499","65d30af1-1b1e-bcf1-c154-86697bc9cf3b","212d637a-f59b-f007-e4db-cc6345cf004a"],"type":"Paragraph"},{"_id":"38d2366b-4159-2510-38f3-6787f587848d","text":true,"v":"This is a simple form build that has all kind of inputs in 3 steps."},{"_id":"38d2366b-4159-2510-38f3-6787f5878494","tag":"br","classes":[],"children":[],"type":"LineBreak"},{"_id":"38d2366b-4159-2510-38f3-6787f5878495","text":true,"v":"‍"},{"_id":"38d2366b-4159-2510-38f3-6787f5878496","tag":"br","classes":[],"children":[],"type":"LineBreak"},{"_id":"38d2366b-4159-2510-38f3-6787f5878497","text":true,"v":"You can edit and style it however you want: add, delete or move steps (slides), inputs, confirmation values, etc."},{"_id":"f9618b03-efc9-eac9-4f27-19306d07c959","tag":"br","classes":[],"children":[],"type":"LineBreak"},{"_id":"2db53dad-7e56-58ab-fbac-23671270cb69","text":true,"v":"‍"},{"_id":"38d2366b-4159-2510-38f3-6787f5878498","tag":"br","classes":[],"children":[],"type":"LineBreak"},{"_id":"38d2366b-4159-2510-38f3-6787f5878499","text":true,"v":"Don't forget to check the "},{"_id":"65d30af1-1b1e-bcf1-c154-86697bc9cf3b","tag":"a","classes":[],"children":["e80b0a1b-f8ba-13fd-dc36-f3dad133c7d4"],"type":"Link","data":{"link":{"url":"https://advanced-forms.webflow.io/","mode":"external","target":"_blank"},"attr":{"href":"#"}}},{"_id":"e80b0a1b-f8ba-13fd-dc36-f3dad133c7d4","text":true,"v":"Advanced Forms Builder"},{"_id":"212d637a-f59b-f007-e4db-cc6345cf004a","text":true,"v":" for further customization and information."},{"_id":"38d2366b-4159-2510-38f3-6787f587849d","tag":"label","classes":[],"children":["38d2366b-4159-2510-38f3-6787f587849e"],"type":"FormBlockLabel","data":{"form":{"type":"label"},"attr":{"for":"name"}}},{"_id":"38d2366b-4159-2510-38f3-6787f587849e","text":true,"v":"Name*"},{"_id":"38d2366b-4159-2510-38f3-6787f587849f","tag":"input","classes":[],"children":[],"type":"FormTextInput","data":{"attr":{"autofocus":false,"maxlength":256,"name":"name","data-name":"Name","placeholder":"Input your name","type":"text","id":"name","disabled":false,"required":true},"form":{"type":"input","name":"Name"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784a0","tag":"label","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784a1"],"type":"FormBlockLabel","data":{"form":{"type":"label"},"attr":{"for":"email"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784a1","text":true,"v":"Email*"},{"_id":"38d2366b-4159-2510-38f3-6787f58784a2","tag":"input","classes":[],"children":[],"type":"FormTextInput","data":{"attr":{"autofocus":false,"maxlength":256,"name":"email","data-name":"Email","placeholder":"Input your email","type":"email","id":"email","disabled":false,"required":true},"form":{"type":"input","name":"Email"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784a3","tag":"label","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784a4"],"type":"FormBlockLabel","data":{"form":{"type":"label"},"attr":{"for":"phone"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784a4","text":true,"v":"Phone*"},{"_id":"38d2366b-4159-2510-38f3-6787f58784a5","tag":"input","classes":[],"children":[],"type":"FormTextInput","data":{"attr":{"autofocus":false,"maxlength":256,"name":"phone","data-name":"Phone","placeholder":"Input your phone number","type":"tel","id":"phone","disabled":false,"required":true},"form":{"type":"input","name":"Phone"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784a6","tag":"div","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784a7","38d2366b-4159-2510-38f3-6787f58784a8"],"type":"FormCheckboxWrapper","data":{"form":{"type":"checkbox"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784a7","tag":"input","classes":[],"children":[],"type":"FormCheckboxInput","data":{"attr":{"type":"checkbox","id":"checkbox","required":true,"data-name":"Checkbox","name":"checkbox"},"form":{"type":"checkbox-input","name":"Checkbox"},"inputType":"custom"}},{"_id":"38d2366b-4159-2510-38f3-6787f58784a8","tag":"label","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784a9"],"type":"FormInlineLabel","data":{"form":{"type":"checkbox-label"},"attr":{"for":"Checkbox-2"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784a9","text":true,"v":"This is a required checkbox."},{"_id":"38d2366b-4159-2510-38f3-6787f58784aa","tag":"div","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784ab"],"type":"SliderSlide","data":{"tag":"div","slider":{"type":"slide"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784ab","tag":"div","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784ac","38d2366b-4159-2510-38f3-6787f58784ae","38d2366b-4159-2510-38f3-6787f58784af","38d2366b-4159-2510-38f3-6787f58784b1"],"type":"Block","data":{"tag":"div"}},{"_id":"38d2366b-4159-2510-38f3-6787f58784ac","tag":"label","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784ad"],"type":"FormBlockLabel","data":{"form":{"type":"label"},"attr":{"for":"Service"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784ad","text":true,"v":"Select*"},{"_id":"38d2366b-4159-2510-38f3-6787f58784ae","tag":"select","classes":[],"children":[],"v":"\n\n\n","type":"FormSelect","data":{"attr":{"id":"service","name":"service","required":true,"data-name":"Service"},"form":{"type":"select","opts":[{"v":"","t":"Select one..."},{"v":"First Choice","t":"First Choice"},{"v":"Second Choice","t":"Second Choice"},{"v":"Third Choice","t":"Third Choice"}],"name":"Service"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784af","tag":"label","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784b0"],"type":"FormBlockLabel","data":{"form":{"type":"label"},"attr":{"for":"amount"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784b0","text":true,"v":"Number*"},{"_id":"38d2366b-4159-2510-38f3-6787f58784b1","tag":"input","classes":[],"children":[],"type":"FormTextInput","data":{"attr":{"autofocus":false,"maxlength":256,"name":"amount","data-name":"Amount","placeholder":"Choose amount","type":"number","id":"amount","disabled":false,"required":true},"form":{"type":"input","name":"Amount"}}},{"_id":"ef3f2af7-909c-644d-7267-6ccb03424cb6","tag":"div","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6da91"],"type":"SliderSlide","data":{"tag":"div","slider":{"type":"slide"}}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6da91","tag":"div","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6da98","33127c1b-fb46-2bfa-4b3c-9db5bac6da9a","33127c1b-fb46-2bfa-4b3c-9db5bac6da9e","33127c1b-fb46-2bfa-4b3c-9db5bac6daa2","33127c1b-fb46-2bfa-4b3c-9db5bac6daa6","33127c1b-fb46-2bfa-4b3c-9db5bac6daaa","33127c1b-fb46-2bfa-4b3c-9db5bac6daac"],"type":"Block","data":{"tag":"div"}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6da98","tag":"label","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6da99"],"type":"FormBlockLabel","data":{"form":{"type":"label"}}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6da99","text":true,"v":"Radio Group*"},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6da9a","tag":"div","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6da9b","33127c1b-fb46-2bfa-4b3c-9db5bac6da9c"],"type":"FormRadioWrapper","data":{"form":{"type":"radio"}}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6da9b","tag":"input","classes":[],"children":[],"type":"FormRadioInput","data":{"attr":{"type":"radio","data-name":"Options","id":"Option","name":"Options","value":"Option 1","required":true},"form":{"type":"radio-input","name":"Options"},"inputType":"custom"}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6da9c","tag":"label","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6da9d"],"type":"FormInlineLabel","data":{"form":{"type":"radio-label"},"attr":{"for":"Option -5"}}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6da9d","text":true,"v":"Option 1"},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6da9e","tag":"div","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6da9f","33127c1b-fb46-2bfa-4b3c-9db5bac6daa0"],"type":"FormRadioWrapper","data":{"form":{"type":"radio"}}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6da9f","tag":"input","classes":[],"children":[],"type":"FormRadioInput","data":{"attr":{"type":"radio","data-name":"Options","id":"Option -2","name":"Options","value":"Option 2","required":true},"form":{"type":"radio-input","name":"Options"},"inputType":"custom"}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daa0","tag":"label","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6daa1"],"type":"FormInlineLabel","data":{"form":{"type":"radio-label"},"attr":{"for":"Option -5"}}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daa1","text":true,"v":"Option 2"},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daa2","tag":"div","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6daa3","33127c1b-fb46-2bfa-4b3c-9db5bac6daa4"],"type":"FormRadioWrapper","data":{"form":{"type":"radio"}}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daa3","tag":"input","classes":[],"children":[],"type":"FormRadioInput","data":{"attr":{"type":"radio","data-name":"Options","id":"Option -3","name":"Options","value":"Option 3","required":true},"form":{"type":"radio-input","name":"Options"},"inputType":"custom"}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daa4","tag":"label","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6daa5"],"type":"FormInlineLabel","data":{"form":{"type":"radio-label"},"attr":{"for":"Option -5"}}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daa5","text":true,"v":"Option 3"},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daa6","tag":"div","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6daa7","33127c1b-fb46-2bfa-4b3c-9db5bac6daa8"],"type":"FormRadioWrapper","data":{"form":{"type":"radio"}}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daa7","tag":"input","classes":[],"children":[],"type":"FormRadioInput","data":{"attr":{"type":"radio","data-name":"Options","id":"Option -4","name":"Options","value":"Option 4","required":true},"form":{"type":"radio-input","name":"Options"},"inputType":"custom"}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daa8","tag":"label","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6daa9"],"type":"FormInlineLabel","data":{"form":{"type":"radio-label"},"attr":{"for":"Option -5"}}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daa9","text":true,"v":"Option 4"},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daaa","tag":"label","classes":[],"children":["33127c1b-fb46-2bfa-4b3c-9db5bac6daab"],"type":"FormBlockLabel","data":{"form":{"type":"label"},"attr":{"for":"notes-2"}}},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daab","text":true,"v":"Text Area"},{"_id":"33127c1b-fb46-2bfa-4b3c-9db5bac6daac","tag":"textarea","classes":[],"children":[],"type":"FormTextarea","data":{"attr":{"placeholder":"Tell us anything you need.","maxlength":5000,"id":"notes-2","name":"notes-2","data-name":"Notes 2"},"form":{"type":"textarea","name":"Notes 2"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784dc","tag":"div","classes":["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],"children":[],"type":"SliderArrow","data":{"slider":{"type":"arrow","dir":"left"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784dd","tag":"div","classes":["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],"children":[],"type":"SliderArrow","data":{"slider":{"type":"arrow","dir":"right"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784de","tag":"div","classes":["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],"children":[],"type":"SliderNav","data":{"slider":{"type":"nav"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784db","tag":"input","classes":["07828abd-7f85-d22f-b6d9-ed59721f9f4b"],"children":[],"type":"FormButton","data":{"attr":{"type":"submit","value":"Submit","data-wait":"Please wait..."},"form":{"type":"button","wait":"Please wait..."}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784df","tag":"div","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784e0"],"type":"FormSuccessMessage","data":{"form":{"type":"msg-done"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784e0","tag":"div","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784e1"],"type":"Block","data":{"tag":"div","text":true}},{"_id":"38d2366b-4159-2510-38f3-6787f58784e1","text":true,"v":"Thank you! Your submission has been received!"},{"_id":"38d2366b-4159-2510-38f3-6787f58784e2","tag":"div","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784e3"],"type":"FormErrorMessage","data":{"form":{"type":"msg-fail"}}},{"_id":"38d2366b-4159-2510-38f3-6787f58784e3","tag":"div","classes":[],"children":["38d2366b-4159-2510-38f3-6787f58784e4"],"type":"Block","data":{"tag":"div","text":true}},{"_id":"38d2366b-4159-2510-38f3-6787f58784e4","text":true,"v":"Oops! Something went wrong while submitting the form."},{"_id":"0e1c4535-f4c0-c01c-f501-ba6c754dd6b0","tag":"a","classes":[],"children":["0e1c4535-f4c0-c01c-f501-ba6c754dd6b1"],"type":"Link","data":{"button":true,"link":{"mode":"external"},"attr":{"id":"msf-next","href":"#msf"}}},{"_id":"0e1c4535-f4c0-c01c-f501-ba6c754dd6b1","text":true,"v":"Next"}],"styles":[{"_id":"9e492cc5-3ba8-670c-f95e-8bb55c86b25a","fake":false,"type":"class","name":"MSF Slider","namespace":"","comb":"","styleLess":"height: auto; background-color: transparent;","variants":{},"children":[],"selector":null},{"_id":"07828abd-7f85-d22f-b6d9-ed59721f9f4b","fake":false,"type":"class","name":"MSF Hidden","namespace":"","comb":"","styleLess":"display: none;","variants":{},"children":[],"selector":null}],"assets":[],"ix1":[],"ix2":{"interactions":[],"events":[],"actionLists":[]}},"meta":{"unlinkedSymbolCount":0,"droppedLinks":0,"dynBindRemovedCount":0,"dynListBindRemovedCount":0,"paginationRemovedCount":0}}