@fullsession.io/fs-feedback-widget 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/widgetPages/reactionpage.css +3 -3
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var fsFeedbackWidget=function(n){"use strict";function e(){}const t=n=>n;function o(n,e){for(const t in e)n[t]=e[t];return n}function i(n){return n()}function a(){return Object.create(null)}function r(n){n.forEach(i)}function l(n){return"function"==typeof n}function s(n,e){return n!=n?e==e:n!==e||n&&"object"==typeof n||"function"==typeof n}function c(n){const e={};for(const t in n)"$"!==t[0]&&(e[t]=n[t]);return e}const f="undefined"!=typeof window;let u=f?()=>window.performance.now():()=>Date.now(),d=f?n=>requestAnimationFrame(n):e;const m=new Set;function p(n){m.forEach((e=>{e.c(n)||(m.delete(e),e.f())})),0!==m.size&&d(p)}function g(n){let e;return 0===m.size&&d(p),{promise:new Promise((t=>{m.add(e={c:n,f:t})})),abort(){m.delete(e)}}}function h(n,e){n.appendChild(e)}function x(n){if(!n)return document;const e=n.getRootNode?n.getRootNode():n.ownerDocument;return e&&e.host?e:n.ownerDocument}function $(n){const e=w("style");return function(n,e){h(n.head||n,e)}(x(n),e),e.sheet}function v(n,e,t){n.insertBefore(e,t||null)}function y(n){n.parentNode.removeChild(n)}function w(n){return document.createElement(n)}function b(n){return document.createElementNS("http://www.w3.org/2000/svg",n)}function k(n){return document.createTextNode(n)}function C(){return k(" ")}function T(n,e,t,o){return n.addEventListener(e,t,o),()=>n.removeEventListener(e,t,o)}function S(n,e,t){null==t?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function E(n,e){e=""+e,n.wholeText!==e&&(n.data=e)}function B(n,e,t,o){null===t?n.style.removeProperty(e):n.style.setProperty(e,t,o?"important":"")}const I=new Map;let M,z=0;function D(n,e,t,o,i,a,r,l=0){const s=16.666/o;let c="{\n";for(let n=0;n<=1;n+=s){const o=e+(t-e)*a(n);c+=100*n+`%{${r(o,1-o)}}\n`}const f=c+`100% {${r(t,1-t)}}\n}`,u=`__svelte_${function(n){let e=5381,t=n.length;for(;t--;)e=(e<<5)-e^n.charCodeAt(t);return e>>>0}(f)}_${l}`,d=x(n),{stylesheet:m,rules:p}=I.get(d)||function(n,e){const t={stylesheet:$(e),rules:{}};return I.set(n,t),t}(d,n);p[u]||(p[u]=!0,m.insertRule(`@keyframes ${u} ${f}`,m.cssRules.length));const g=n.style.animation||"";return n.style.animation=`${g?`${g}, `:""}${u} ${o}ms linear ${i}ms 1 both`,z+=1,u}function R(n,e){const t=(n.style.animation||"").split(", "),o=t.filter(e?n=>n.indexOf(e)<0:n=>-1===n.indexOf("__svelte")),i=t.length-o.length;i&&(n.style.animation=o.join(", "),z-=i,z||d((()=>{z||(I.forEach((n=>{const{stylesheet:e}=n;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);n.rules={}})),I.clear())})))}function _(n){M=n}const P=[],H=[],L=[],A=[],q=Promise.resolve();let U=!1;function V(n){L.push(n)}function N(n){A.push(n)}const F=new Set;let G,j=0;function W(){const n=M;do{for(;j<P.length;){const n=P[j];j++,_(n),O(n.$$)}for(_(null),P.length=0,j=0;H.length;)H.pop()();for(let n=0;n<L.length;n+=1){const e=L[n];F.has(e)||(F.add(e),e())}L.length=0}while(P.length);for(;A.length;)A.pop()();U=!1,F.clear(),_(n)}function O(n){if(null!==n.fragment){n.update(),r(n.before_update);const e=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,e),n.after_update.forEach(V)}}function Q(){return G||(G=Promise.resolve(),G.then((()=>{G=null}))),G}function X(n,e,t){n.dispatchEvent(function(n,e,t=!1){const o=document.createEvent("CustomEvent");return o.initCustomEvent(n,t,!1,e),o}(`${e?"intro":"outro"}${t}`))}const J=new Set;let K;function Y(){K={r:0,c:[],p:K}}function Z(){K.r||r(K.c),K=K.p}function nn(n,e){n&&n.i&&(J.delete(n),n.i(e))}function en(n,e,t,o){if(n&&n.o){if(J.has(n))return;J.add(n),K.c.push((()=>{J.delete(n),o&&(t&&n.d(1),o())})),n.o(e)}}const tn={duration:0};function on(n,e,t){const o=n.$$.props[e];void 0!==o&&(n.$$.bound[o]=t,t(n.$$.ctx[o]))}function an(n){n&&n.c()}function rn(n,e,t,o){const{fragment:a,on_mount:s,on_destroy:c,after_update:f}=n.$$;a&&a.m(e,t),o||V((()=>{const e=s.map(i).filter(l);c?c.push(...e):r(e),n.$$.on_mount=[]})),f.forEach(V)}function ln(n,e){const t=n.$$;null!==t.fragment&&(r(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function sn(n,e){-1===n.$$.dirty[0]&&(P.push(n),U||(U=!0,q.then(W)),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<<e%31}function cn(n,t,o,i,l,s,c,f=[-1]){const u=M;_(n);const d=n.$$={fragment:null,ctx:null,props:s,update:e,not_equal:l,bound:a(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:a(),dirty:f,skip_bound:!1,root:t.target||u.$$.root};c&&c(d.root);let m=!1;if(d.ctx=o?o(n,t.props||{},((e,t,...o)=>{const i=o.length?o[0]:t;return d.ctx&&l(d.ctx[e],d.ctx[e]=i)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](i),m&&sn(n,e)),t})):[],d.update(),m=!0,r(d.before_update),d.fragment=!!i&&i(d.ctx),t.target){if(t.hydrate){const n=function(n){return Array.from(n.childNodes)}(t.target);d.fragment&&d.fragment.l(n),n.forEach(y)}else d.fragment&&d.fragment.c();t.intro&&nn(n.$$.fragment),rn(n,t.target,t.anchor,t.customElement),W()}_(u)}class fn{$destroy(){ln(this,1),this.$destroy=e}$on(n,e){const t=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return t.push(e),()=>{const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}$set(n){var e;this.$$set&&(e=n,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}function un(n){let t,o,i,a,r,l,s,c,f,u,d,m,p,g,x,$,w,k,C;return{c(){t=b("svg"),o=b("g"),i=b("g"),a=b("path"),r=b("g"),l=b("g"),s=b("g"),c=b("g"),f=b("g"),u=b("g"),d=b("g"),m=b("g"),p=b("g"),g=b("g"),x=b("g"),$=b("g"),w=b("g"),k=b("g"),C=b("g"),S(a,"d","M428,41.534H30c-16.569,0-30,13.431-30,30v252c0,16.568,13.432,30,30,30h132.1l43.942,52.243 c5.7,6.777,14.103,10.69,22.959,10.69c8.856,0,17.258-3.912,22.959-10.69l43.942-52.243H428c16.568,0,30-13.432,30-30v-252 C458,54.965,444.568,41.534,428,41.534z M323.916,281.534H82.854c-8.284,0-15-6.716-15-15s6.716-15,15-15h241.062 c8.284,0,15,6.716,15,15S332.2,281.534,323.916,281.534z M67.854,198.755c0-8.284,6.716-15,15-15h185.103c8.284,0,15,6.716,15,15 s-6.716,15-15,15H82.854C74.57,213.755,67.854,207.039,67.854,198.755z M375.146,145.974H82.854c-8.284,0-15-6.716-15-15 s6.716-15,15-15h292.291c8.284,0,15,6.716,15,15C390.146,139.258,383.43,145.974,375.146,145.974z"),S(t,"fill",n[0]),S(t,"version","1.1"),S(t,"id","Layer_1"),S(t,"xmlns","http://www.w3.org/2000/svg"),S(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),S(t,"x","0px"),S(t,"y","0px"),S(t,"viewBox","0 0 458 458"),B(t,"enable-background","new 0 0 458 458"),S(t,"xml:space","preserve")},m(n,e){v(n,t,e),h(t,o),h(o,i),h(i,a),h(t,r),h(t,l),h(t,s),h(t,c),h(t,f),h(t,u),h(t,d),h(t,m),h(t,p),h(t,g),h(t,x),h(t,$),h(t,w),h(t,k),h(t,C)},p(n,[e]){1&e&&S(t,"fill",n[0])},i:e,o:e,d(n){n&&y(t)}}}function dn(n,e,t){let{fill:o=""}=e;return n.$$set=n=>{"fill"in n&&t(0,o=n.fill)},[o]}class mn extends fn{constructor(n){super(),cn(this,n,dn,un,s,{fill:0})}}function pn(n){let t,o,i=n[3].svg+"";return{c(){t=b("svg"),S(t,"class",o=n[4].class),S(t,"focusable",n[0]),S(t,"width",n[1]),S(t,"height",n[2]),S(t,"viewBox","0 0 "+n[3].box+" "+(n[3].box-1))},m(n,e){v(n,t,e),t.innerHTML=i},p(n,[e]){16&e&&o!==(o=n[4].class)&&S(t,"class",o),1&e&&S(t,"focusable",n[0]),2&e&&S(t,"width",n[1]),4&e&&S(t,"height",n[2])},i:e,o:e,d(n){n&&y(t)}}}function gn(n,e,t){let{name:i}=e,{focusable:a=!1}=e,{width:r="40px"}=e,{height:l="40px"}=e,s=[{box:50,name:"love",svg:'\n <g transform="translate(.48)" fill-rule="nonzero" fill="none">\n <rect fill="#EF7C54" width="50" height="50" rx="13.28"/>\n <circle fill="#3B3735" cx="7.241" cy="27.929" r="3.107"/>\n <circle fill="#3B3735" cx="42.759" cy="27.929" r="3.107"/>\n <path d="M31.236 28.764a2.245 2.245 0 0 1 2.002 3.246 9.086 9.086 0 0 1-8.234 4.779 9.104 9.104 0 0 1-8.242-4.779 2.245 2.245 0 0 1 2.002-3.246h12.472zM12.185 22.089a11.515 11.515 0 0 1-.766-.696c-1.036-1.062-2.29-2.803-1.741-4.352.392-1.21 1.81-1.567 2.95-1.488a4.743 4.743 0 0 1 1.793.487c.233.107.46.226.68.357a.33.33 0 0 0 .504-.261 3.046 3.046 0 0 1 1.358-2.611 2.385 2.385 0 0 1 2.906.635c1.21 1.314 1.088 3.133.584 4.726a20.017 20.017 0 0 1-1.34 3.255 8.12 8.12 0 0 1-.975 1.688c-.749.87-1.846.636-2.777.218a13.838 13.838 0 0 1-3.176-1.958zM37.807 22.089c.267-.218.523-.45.766-.696 1.035-1.062 2.289-2.803 1.74-4.352-.391-1.21-1.819-1.567-2.959-1.488a4.787 4.787 0 0 0-1.793.487 7.424 7.424 0 0 0-.678.357.33.33 0 0 1-.505-.261 3.046 3.046 0 0 0-1.358-2.611 2.385 2.385 0 0 0-2.907.635c-1.21 1.314-1.088 3.133-.583 4.726.35 1.122.799 2.211 1.34 3.255.256.6.584 1.167.975 1.688.749.87 1.854.636 2.776.218a13.838 13.838 0 0 0 3.186-1.958z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedLove",svg:'\n <g transform="translate(.48)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.28"/>\n <circle fill="#3B3735" cx="7.241" cy="27.929" r="3.107"/>\n <circle fill="#3B3735" cx="42.759" cy="27.929" r="3.107"/>\n <path d="M31.236 28.764a2.245 2.245 0 0 1 2.002 3.246 9.086 9.086 0 0 1-8.234 4.779 9.104 9.104 0 0 1-8.242-4.779 2.245 2.245 0 0 1 2.002-3.246h12.472zM12.185 22.089a11.515 11.515 0 0 1-.766-.696c-1.036-1.062-2.29-2.803-1.741-4.352.392-1.21 1.81-1.567 2.95-1.488a4.743 4.743 0 0 1 1.793.487c.233.107.46.226.68.357a.33.33 0 0 0 .504-.261 3.046 3.046 0 0 1 1.358-2.611 2.385 2.385 0 0 1 2.906.635c1.21 1.314 1.088 3.133.584 4.726a20.017 20.017 0 0 1-1.34 3.255 8.12 8.12 0 0 1-.975 1.688c-.749.87-1.846.636-2.777.218a13.838 13.838 0 0 1-3.176-1.958zM37.807 22.089c.267-.218.523-.45.766-.696 1.035-1.062 2.289-2.803 1.74-4.352-.391-1.21-1.819-1.567-2.959-1.488a4.787 4.787 0 0 0-1.793.487 7.424 7.424 0 0 0-.678.357.33.33 0 0 1-.505-.261 3.046 3.046 0 0 0-1.358-2.611 2.385 2.385 0 0 0-2.907.635c-1.21 1.314-1.088 3.133-.583 4.726.35 1.122.799 2.211 1.34 3.255.256.6.584 1.167.975 1.688.749.87 1.854.636 2.776.218a13.838 13.838 0 0 0 3.186-1.958z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"like",svg:'\n <g transform="translate(.86)" fill-rule="nonzero" fill="none">\n <rect fill="#FDC537" width="50" height="50" rx="13.12"/>\n <ellipse fill="#3B3735" cx="14.156" cy="19.803" rx="2.167" ry="3.656"/>\n <ellipse fill="#3B3735" cx="35.844" cy="19.803" rx="2.167" ry="3.656"/>\n <path d="M32.444 28.1a2.643 2.643 0 0 1 2.37 3.824 10.738 10.738 0 0 1-9.69 5.629 10.738 10.738 0 0 1-9.69-5.63 2.643 2.643 0 0 1 2.36-3.822h14.65z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedLike",svg:'\n <g transform="translate(.86)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.12"/>\n <ellipse fill="#3B3735" cx="14.156" cy="19.803" rx="2.167" ry="3.656"/>\n <ellipse fill="#3B3735" cx="35.844" cy="19.803" rx="2.167" ry="3.656"/>\n <path d="M32.444 28.1a2.643 2.643 0 0 1 2.37 3.824 10.738 10.738 0 0 1-9.69 5.629 10.738 10.738 0 0 1-9.69-5.63 2.643 2.643 0 0 1 2.36-3.822h14.65z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"neutral",svg:'\n <g transform="translate(.24)" fill-rule="nonzero" fill="gray">\n <rect fill="#F59F45" width="50" height="50" rx="12.63"/>\n <circle fill="#3B3735" cx="15.169" cy="21.459" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="21.459" r="2.81"/>\n <path d="M40.847 31.351H9.135a.67.67 0 1 1 0-1.33h31.712a.67.67 0 1 1 0 1.33z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedNeutral",svg:'\n <g transform="translate(.24)" fill-rule="nonzero" fill="gray">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="12.63"/>\n <circle fill="#3B3735" cx="15.169" cy="21.459" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="21.459" r="2.81"/>\n <path d="M40.847 31.351H9.135a.67.67 0 1 1 0-1.33h31.712a.67.67 0 1 1 0 1.33z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"dislike",svg:'\n <g transform="translate(.62)" fill-rule="nonzero" fill="none">\n <rect fill="#FEDCAB" width="50" height="50" rx="13.12"/>\n <path d="M33.333 34.743a1.762 1.762 0 0 0 1.718-2.211c-1.119-4.158-5.285-7.241-10.324-7.241s-9.206 3.083-10.324 7.24a1.762 1.762 0 0 0 1.718 2.212l6.536-.881a15.178 15.178 0 0 1 3.946 0l6.73.88z" fill="#3B3735"/>\n <circle fill="#3B3735" cx="15.169" cy="18.076" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="18.076" r="2.81"/>\n </g>'},{box:50,name:"unSelectedDislike",svg:'\n <g transform="translate(.62)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.12"/>\n <path d="M33.333 34.743a1.762 1.762 0 0 0 1.718-2.211c-1.119-4.158-5.285-7.241-10.324-7.241s-9.206 3.083-10.324 7.24a1.762 1.762 0 0 0 1.718 2.212l6.536-.881a15.178 15.178 0 0 1 3.946 0l6.73.88z" fill="#3B3735"/>\n <circle fill="#3B3735" cx="15.169" cy="18.076" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="18.076" r="2.81"/>\n </g>'},{box:50,name:"hate",svg:'\n <g fill-rule="nonzero" fill="none">\n <rect fill="#FEDCAB" width="50" height="50" rx="13.44"/>\n <path d="M20.218 23.865a1.144 1.144 0 0 1-.86-.336l-6.114-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.809 1.96h.043z" fill="#3B3735"/>\n <path d="M14.104 23.865a1.152 1.152 0 0 1-.817-1.961l6.114-6.115a1.152 1.152 0 0 1 1.626 1.634L14.92 23.53a1.161 1.161 0 0 1-.817.336zM36.352 23.865c-.303 0-.594-.121-.808-.336l-6.115-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.817 1.96z" fill="#3B3735"/>\n <path d="M30.246 23.865a1.152 1.152 0 0 1-.86-1.961l6.115-6.115a1.152 1.152 0 0 1 1.625 1.634L31.02 23.53a1.161 1.161 0 0 1-.774.336zM35.604 34.546a6.02 6.02 0 0 1-3.389-1.376c-1.083-.783-1.96-1.075-2.339-.783-.157.15-.296.317-.413.5-.221.34-.484.652-.782.928-1.29 1.092-3.07.791-4.3.146a11.937 11.937 0 0 1-1.299-.86 8.11 8.11 0 0 0-1.35-.808 3.44 3.44 0 0 0-3.363.447l-.387.335c-.417.416-.906.75-1.444.99-1.815.722-3.337-.38-4.558-1.256a6.416 6.416 0 0 0-1.952-1.127 2.116 2.116 0 0 0-2.383 1.307 1.152 1.152 0 0 1-2.193-.696 4.386 4.386 0 0 1 5.16-2.838 8.505 8.505 0 0 1 2.71 1.505c1.169.86 1.78 1.212 2.356.989.281-.146.537-.338.756-.568l.508-.43a5.745 5.745 0 0 1 5.676-.757c.607.285 1.183.631 1.72 1.032.345.245.704.469 1.075.671.585.31 1.367.456 1.72.138a2.58 2.58 0 0 0 .395-.49 4.3 4.3 0 0 1 .86-1.015c.86-.68 2.512-1.11 5.092.757 1.109.808 1.978 1.109 2.373.86.153-.135.289-.288.404-.456.112-.138.215-.267.336-.396a4.807 4.807 0 0 1 7.869 1.72 1.152 1.152 0 1 1-2.202.68 2.52 2.52 0 0 0-3.956-.86l-.232.283c-.242.343-.532.65-.86.912a2.83 2.83 0 0 1-1.608.516z" fill="#3B3735"/>\n </g>'},{box:50,name:"unSelectedHate",svg:'\n <g fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.44"/>\n <path d="M20.218 23.865a1.144 1.144 0 0 1-.86-.336l-6.114-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.809 1.96h.043z" fill="#3B3735"/>\n <path d="M14.104 23.865a1.152 1.152 0 0 1-.817-1.961l6.114-6.115a1.152 1.152 0 0 1 1.626 1.634L14.92 23.53a1.161 1.161 0 0 1-.817.336zM36.352 23.865c-.303 0-.594-.121-.808-.336l-6.115-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.817 1.96z" fill="#3B3735"/>\n <path d="M30.246 23.865a1.152 1.152 0 0 1-.86-1.961l6.115-6.115a1.152 1.152 0 0 1 1.625 1.634L31.02 23.53a1.161 1.161 0 0 1-.774.336zM35.604 34.546a6.02 6.02 0 0 1-3.389-1.376c-1.083-.783-1.96-1.075-2.339-.783-.157.15-.296.317-.413.5-.221.34-.484.652-.782.928-1.29 1.092-3.07.791-4.3.146a11.937 11.937 0 0 1-1.299-.86 8.11 8.11 0 0 0-1.35-.808 3.44 3.44 0 0 0-3.363.447l-.387.335c-.417.416-.906.75-1.444.99-1.815.722-3.337-.38-4.558-1.256a6.416 6.416 0 0 0-1.952-1.127 2.116 2.116 0 0 0-2.383 1.307 1.152 1.152 0 0 1-2.193-.696 4.386 4.386 0 0 1 5.16-2.838 8.505 8.505 0 0 1 2.71 1.505c1.169.86 1.78 1.212 2.356.989.281-.146.537-.338.756-.568l.508-.43a5.745 5.745 0 0 1 5.676-.757c.607.285 1.183.631 1.72 1.032.345.245.704.469 1.075.671.585.31 1.367.456 1.72.138a2.58 2.58 0 0 0 .395-.49 4.3 4.3 0 0 1 .86-1.015c.86-.68 2.512-1.11 5.092.757 1.109.808 1.978 1.109 2.373.86.153-.135.289-.288.404-.456.112-.138.215-.267.336-.396a4.807 4.807 0 0 1 7.869 1.72 1.152 1.152 0 1 1-2.202.68 2.52 2.52 0 0 0-3.956-.86l-.232.283c-.242.343-.532.65-.86.912a2.83 2.83 0 0 1-1.608.516z" fill="#3B3735"/>\n </g>'}].find((n=>n.name===i));return n.$$set=n=>{t(4,e=o(o({},e),c(n))),"name"in n&&t(5,i=n.name),"focusable"in n&&t(0,a=n.focusable),"width"in n&&t(1,r=n.width),"height"in n&&t(2,l=n.height)},e=c(e),[a,r,l,s,e,i]}class hn extends fn{constructor(n){super(),cn(this,n,gn,pn,s,{name:5,focusable:0,width:1,height:2})}}function xn(n,e){void 0===e&&(e={});var t=e.insertAt;if(n&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n))}}function $n(n){let t,o,i,a,l,s,c,f,u,d,m,p,g=n[0].wgEmailReqMsg+"";function x(n,e){return 0==n[8]?bn:1==n[8]?wn:void 0}let $=x(n),b=$&&$(n);return{c(){t=w("div"),o=w("div"),i=k(g),a=C(),l=w("div"),s=w("input"),c=C(),f=w("div"),u=w("p"),u.innerHTML="<u>Skip</u>",d=C(),b&&b.c(),S(o,"id","fsEmailText"),S(s,"type","text"),S(s,"id","fsEmailTextArea"),S(s,"placeholder","email@domain.com"),S(l,"id","fsEmailInputCont"),S(u,"id","fsSkipText"),S(f,"class","fsEmailFooter"),S(t,"class","fsEmailContainer")},m(e,r){v(e,t,r),h(t,o),h(o,i),h(t,a),h(t,l),h(l,s),h(t,c),h(t,f),h(f,u),h(f,d),b&&b.m(f,null),m||(p=[T(s,"keyup",n[49]),T(u,"click",n[50])],m=!0)},p(n,e){1&e[0]&&g!==(g=n[0].wgEmailReqMsg+"")&&E(i,g),$===($=x(n))&&b?b.p(n,e):(b&&b.d(1),b=$&&$(n),b&&(b.c(),b.m(f,null)))},i:e,o:e,d(n){n&&y(t),b&&b.d(),m=!1,r(p)}}}function vn(n){let e,t,o,i,a,l,s,c,f,u,d,m,p,g,x,$,b,k,E,B,I,M,z,D,R,_,P,H,L,A,q,U,V,N,F,G,j,W,O,Q,X,J,K,tn,on,an;const rn=[Cn,kn],ln=[];function sn(n,e){return n[6]?0:0==n[6]?1:-1}~(a=sn(n))&&(l=ln[a]=rn[a](n));const cn=[Sn,Tn],fn=[];function un(n,e){return n[6]?0:0==n[6]?1:-1}~(m=un(n))&&(p=fn[m]=cn[m](n));const dn=[Bn,En],mn=[];function pn(n,e){return n[6]?0:0==n[6]?1:-1}~(E=pn(n))&&(B=mn[E]=dn[E](n));const gn=[Mn,In],hn=[];function xn(n,e){return n[6]?0:0==n[6]?1:-1}~(_=xn(n))&&(P=hn[_]=gn[_](n));const $n=[Dn,zn],vn=[];function yn(n,e){return n[6]?0:0==n[6]?1:-1}function wn(n,e){return 0==n[8]?_n:1==n[8]?Rn:void 0}~(V=yn(n))&&(N=vn[V]=$n[V](n));let bn=wn(n),Pn=bn&&bn(n);return{c(){e=w("div"),t=w("div"),o=w("div"),i=w("div"),l&&l.c(),s=C(),c=w("p"),c.textContent="Hate",f=C(),u=w("div"),d=w("div"),p&&p.c(),g=C(),x=w("p"),x.textContent="Dislike",$=C(),b=w("div"),k=w("div"),B&&B.c(),I=C(),M=w("p"),M.textContent="Neutral",z=C(),D=w("div"),R=w("div"),P&&P.c(),H=C(),L=w("p"),L.textContent="Like",A=C(),q=w("div"),U=w("div"),N&&N.c(),F=C(),G=w("p"),G.textContent="Love",j=C(),W=w("div"),O=w("div"),Q=C(),X=w("textarea"),J=C(),K=w("div"),Pn&&Pn.c(),S(i,"class","fsReactionIcon"),S(c,"class","fsReactionText"),S(c,"id","fsHateDiv"),S(o,"class","fsIconTextCont"),S(d,"class","fsReactionIcon"),S(x,"class","fsReactionText"),S(x,"id","fsDislikeDiv"),S(u,"class","fsIconTextCont"),S(k,"class","fsReactionIcon"),S(M,"class","fsReactionText"),S(M,"id","fsNeutralDiv"),S(b,"class","fsIconTextCont"),S(R,"class","fsReactionIcon"),S(L,"class","fsReactionText"),S(L,"id","fsLikeDiv"),S(D,"class","fsIconTextCont"),S(U,"class","fsReactionIcon"),S(G,"class","fsReactionText"),S(G,"id","fsLoveDiv"),S(q,"class","fsIconTextCont"),S(t,"class","fsIcons-second"),S(O,"class","fsPointerDiv"),S(O,"id","fsPointer"),S(X,"class","fsTextArea"),S(X,"placeholder","Tell us your experience..."),S(W,"class","fsTextAreaCont"),S(K,"class","fsFooter"),S(e,"class","fsCommentContainer")},m(r,l){v(r,e,l),h(e,t),h(t,o),h(o,i),~a&&ln[a].m(i,null),h(o,s),h(o,c),h(t,f),h(t,u),h(u,d),~m&&fn[m].m(d,null),h(u,g),h(u,x),h(t,$),h(t,b),h(b,k),~E&&mn[E].m(k,null),h(b,I),h(b,M),h(t,z),h(t,D),h(D,R),~_&&hn[_].m(R,null),h(D,H),h(D,L),h(t,A),h(t,q),h(q,U),~V&&vn[V].m(U,null),h(q,F),h(q,G),h(e,j),h(e,W),h(W,O),h(W,Q),h(W,X),h(e,J),h(e,K),Pn&&Pn.m(K,null),tn=!0,on||(an=[T(o,"click",n[34]),T(u,"click",n[37]),T(b,"click",n[40]),T(D,"click",n[43]),T(U,"click",n[46]),T(X,"keyup",n[47])],on=!0)},p(n,e){let t=a;a=sn(n),a===t?~a&&ln[a].p(n,e):(l&&(Y(),en(ln[t],1,1,(()=>{ln[t]=null})),Z()),~a?(l=ln[a],l?l.p(n,e):(l=ln[a]=rn[a](n),l.c()),nn(l,1),l.m(i,null)):l=null);let o=m;m=un(n),m===o?~m&&fn[m].p(n,e):(p&&(Y(),en(fn[o],1,1,(()=>{fn[o]=null})),Z()),~m?(p=fn[m],p?p.p(n,e):(p=fn[m]=cn[m](n),p.c()),nn(p,1),p.m(d,null)):p=null);let r=E;E=pn(n),E===r?~E&&mn[E].p(n,e):(B&&(Y(),en(mn[r],1,1,(()=>{mn[r]=null})),Z()),~E?(B=mn[E],B?B.p(n,e):(B=mn[E]=dn[E](n),B.c()),nn(B,1),B.m(k,null)):B=null);let s=_;_=xn(n),_===s?~_&&hn[_].p(n,e):(P&&(Y(),en(hn[s],1,1,(()=>{hn[s]=null})),Z()),~_?(P=hn[_],P?P.p(n,e):(P=hn[_]=gn[_](n),P.c()),nn(P,1),P.m(R,null)):P=null);let c=V;V=yn(n),V===c?~V&&vn[V].p(n,e):(N&&(Y(),en(vn[c],1,1,(()=>{vn[c]=null})),Z()),~V?(N=vn[V],N?N.p(n,e):(N=vn[V]=$n[V](n),N.c()),nn(N,1),N.m(U,null)):N=null),bn===(bn=wn(n))&&Pn?Pn.p(n,e):(Pn&&Pn.d(1),Pn=bn&&bn(n),Pn&&(Pn.c(),Pn.m(K,null)))},i(n){tn||(nn(l),nn(p),nn(B),nn(P),nn(N),tn=!0)},o(n){en(l),en(p),en(B),en(P),en(N),tn=!1},d(n){n&&y(e),~a&&ln[a].d(),~m&&fn[m].d(),~E&&mn[E].d(),~_&&hn[_].d(),~V&&vn[V].d(),Pn&&Pn.d(),on=!1,r(an)}}}function yn(n){let e,t,o,i,a,l,s,c,f,u,d,m,p,g,x,$,b,B,I,M,z,D,R,_,P,L,A,q,U,V,F,G,j,W,O,Q,X,J,K,Y,Z,tn,sn,cn,fn=n[0].wgQuestion+"";function un(e){n[22](e)}let dn={};function mn(e){n[24](e)}void 0!==n[2][0]&&(dn.name=n[2][0]),c=new hn({props:dn}),H.push((()=>on(c,"name",un)));let pn={};function gn(e){n[26](e)}void 0!==n[2][1]&&(pn.name=n[2][1]),x=new hn({props:pn}),H.push((()=>on(x,"name",mn)));let xn={};function $n(e){n[28](e)}void 0!==n[2][2]&&(xn.name=n[2][2]),D=new hn({props:xn}),H.push((()=>on(D,"name",gn)));let vn={};function yn(e){n[30](e)}void 0!==n[2][3]&&(vn.name=n[2][3]),U=new hn({props:vn}),H.push((()=>on(U,"name",$n)));let wn={};return void 0!==n[2][4]&&(wn.name=n[2][4]),Q=new hn({props:wn}),H.push((()=>on(Q,"name",yn))),{c(){e=w("div"),t=w("div"),o=k(fn),i=C(),a=w("div"),l=w("div"),s=w("div"),an(c.$$.fragment),u=C(),d=w("p"),d.textContent="Hate",m=C(),p=w("div"),g=w("div"),an(x.$$.fragment),b=C(),B=w("p"),B.textContent="Dislike",I=C(),M=w("div"),z=w("div"),an(D.$$.fragment),_=C(),P=w("p"),P.textContent="Neutral",L=C(),A=w("div"),q=w("div"),an(U.$$.fragment),F=C(),G=w("p"),G.textContent="Like",j=C(),W=w("div"),O=w("div"),an(Q.$$.fragment),J=C(),K=w("p"),K.textContent="Love",Y=C(),Z=w("p"),S(t,"id","fsTxt"),S(s,"class","fsReactionIcon"),S(d,"class","fsReactionText"),S(l,"class","fsIconTextCont"),S(g,"class","fsReactionIcon"),S(B,"class","fsReactionText"),S(p,"class","fsIconTextCont"),S(z,"class","fsReactionIcon"),S(P,"class","fsReactionText"),S(M,"class","fsIconTextCont"),S(q,"class","fsReactionIcon"),S(G,"class","fsReactionText"),S(A,"class","fsIconTextCont"),S(O,"class","fsReactionIcon"),S(K,"class","fsReactionText"),S(W,"class","fsIconTextCont"),S(a,"class","fsIcons"),S(Z,"id","test"),S(e,"class","fsReactionsContainer")},m(r,f){v(r,e,f),h(e,t),h(t,o),h(e,i),h(e,a),h(a,l),h(l,s),rn(c,s,null),h(l,u),h(l,d),h(a,m),h(a,p),h(p,g),rn(x,g,null),h(p,b),h(p,B),h(a,I),h(a,M),h(M,z),rn(D,z,null),h(M,_),h(M,P),h(a,L),h(a,A),h(A,q),rn(U,q,null),h(A,F),h(A,G),h(a,j),h(a,W),h(W,O),rn(Q,O,null),h(W,J),h(W,K),h(e,Y),h(e,Z),tn=!0,sn||(cn=[T(l,"click",n[23]),T(p,"click",n[25]),T(M,"click",n[27]),T(A,"click",n[29]),T(W,"click",n[31])],sn=!0)},p(n,e){(!tn||1&e[0])&&fn!==(fn=n[0].wgQuestion+"")&&E(o,fn);const t={};!f&&4&e[0]&&(f=!0,t.name=n[2][0],N((()=>f=!1))),c.$set(t);const i={};!$&&4&e[0]&&($=!0,i.name=n[2][1],N((()=>$=!1))),x.$set(i);const a={};!R&&4&e[0]&&(R=!0,a.name=n[2][2],N((()=>R=!1))),D.$set(a);const r={};!V&&4&e[0]&&(V=!0,r.name=n[2][3],N((()=>V=!1))),U.$set(r);const l={};!X&&4&e[0]&&(X=!0,l.name=n[2][4],N((()=>X=!1))),Q.$set(l)},i(n){tn||(nn(c.$$.fragment,n),nn(x.$$.fragment,n),nn(D.$$.fragment,n),nn(U.$$.fragment,n),nn(Q.$$.fragment,n),tn=!0)},o(n){en(c.$$.fragment,n),en(x.$$.fragment,n),en(D.$$.fragment,n),en(U.$$.fragment,n),en(Q.$$.fragment,n),tn=!1},d(n){n&&y(e),ln(c),ln(x),ln(D),ln(U),ln(Q),sn=!1,r(cn)}}}function wn(n){let t,o,i;return{c(){t=w("button"),t.innerHTML='<p class="fsSendButtonCommentComponent">Send</p>',S(t,"class","fsSendButtonContCommentComp")},m(e,a){v(e,t,a),o||(i=[T(t,"click",n[51]),T(t,"click",n[52])],o=!0)},p:e,d(n){n&&y(t),o=!1,r(i)}}}function bn(n){let t;return{c(){t=w("button"),t.innerHTML='<p class="fsCommentButtonTxtDisable">Send</p>',S(t,"class","fsCommentButtonContDisable"),t.disabled=!0},m(n,e){v(n,t,e)},p:e,d(n){n&&y(t)}}}function kn(n){let e,t,o;function i(e){n[33](e)}let a={};return void 0!==n[2][0]&&(a.name=n[2][0]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][0],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Cn(n){let e,t,o;function i(e){n[32](e)}let a={};return void 0!==n[2][0]&&(a.name=n[2][0]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][0],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Tn(n){let e,t,o;function i(e){n[36](e)}let a={};return void 0!==n[2][1]&&(a.name=n[2][1]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][1],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Sn(n){let e,t,o;function i(e){n[35](e)}let a={};return void 0!==n[2][1]&&(a.name=n[2][1]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][1],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function En(n){let e,t,o;function i(e){n[39](e)}let a={};return void 0!==n[2][2]&&(a.name=n[2][2]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][2],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Bn(n){let e,t,o;function i(e){n[38](e)}let a={};return void 0!==n[2][2]&&(a.name=n[2][2]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][2],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function In(n){let e,t,o;function i(e){n[42](e)}let a={};return void 0!==n[2][3]&&(a.name=n[2][3]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][3],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Mn(n){let e,t,o;function i(e){n[41](e)}let a={};return void 0!==n[2][3]&&(a.name=n[2][3]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][3],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function zn(n){let e,t,o;function i(e){n[45](e)}let a={};return void 0!==n[2][4]&&(a.name=n[2][4]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][4],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Dn(n){let e,t,o;function i(e){n[44](e)}let a={};return void 0!==n[2][4]&&(a.name=n[2][4]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][4],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Rn(n){let t,o,i;return{c(){t=w("button"),t.innerHTML='<p class="fsSendButtonCommentComponent">Send</p>',S(t,"class","fsSendButtonContCommentComp")},m(e,a){v(e,t,a),o||(i=T(t,"click",n[48]),o=!0)},p:e,d(n){n&&y(t),o=!1,i()}}}function _n(n){let t;return{c(){t=w("button"),t.innerHTML='<p class="fsCommentButtonTxtDisable">Send</p>',S(t,"class","fsCommentButtonContDisable"),t.disabled=!0},m(n,e){v(n,t,e)},p:e,d(n){n&&y(t)}}}function Pn(n){let e,t,o,i;const a=[yn,vn,$n],r=[];function l(n,e){return 1===n[7]?0:2===n[7]?1:3===n[7]?2:-1}return~(e=l(n))&&(t=r[e]=a[e](n)),{c(){t&&t.c(),o=k("")},m(n,t){~e&&r[e].m(n,t),v(n,o,t),i=!0},p(n,i){let s=e;e=l(n),e===s?~e&&r[e].p(n,i):(t&&(Y(),en(r[s],1,1,(()=>{r[s]=null})),Z()),~e?(t=r[e],t?t.p(n,i):(t=r[e]=a[e](n),t.c()),nn(t,1),t.m(o.parentNode,o)):t=null)},i(n){i||(nn(t),i=!0)},o(n){en(t),i=!1},d(n){~e&&r[e].d(n),n&&y(o)}}}function Hn(n,e,t){let o,i,a,r,l,s,c,f,u,{feedbackData:d}=e;console.log("hiiih");let m=["hate","dislike","neutral","like","love"],p=m,g="",h="",x="",$="test",v=!0,y=0,{closeHandler:w=((n,e,t)=>{})}=e,{closeHandlerBeforeFinishing:b=((n,e,t)=>{})}=e;const k=()=>{let n=document.querySelector(".fsTextArea");""===n.value?t(8,u=!1):t(8,u=!0),t(4,h=""),t(4,h=n.value),console.log(n.value)},C=()=>{let n=document.querySelector("#fsEmailTextArea");/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(n.value)&&""!==n.value?(t(8,u=!0),t(5,x=""),t(5,x=document.getElementById("fsEmailTextArea").value)):t(8,u=!1)},T=(n,e,f)=>{let u=$;var d;$=f,console.log(f),t(7,o=n),t(3,g=String(e)),t(2,p=["unSelectedHate","unSelectedDislike","unSelectedNeutral","unSelectedLike","unSelectedLove"]),b(x,h,g),y>0&&("hate"==(d=u)?t(20,a="none"):"dislike"==d?t(19,r="none"):"neutral"==d?t(18,l="none"):"like"==d?t(17,s="none"):"love"==d&&t(15,c="none")),y++,1==e?(t(16,i=11),t(20,a="block"),t(2,p[0]=m[0],p),t(6,v=!v)):2==e?(t(2,p[1]=m[1],p),t(16,i=30),t(19,r="block"),t(6,v=!v)):3==e?(t(2,p[2]=m[2],p),t(16,i=49),t(18,l="block"),t(6,v=!v)):4==e?(t(2,p[3]=m[3],p),t(16,i=68),t(17,s="block"),t(6,v=!v)):5==e&&(t(2,p[4]=m[4],p),t(16,i=87),t(15,c="block"),t(6,v=!v))},S=n=>{clearInterval(undefined),document.querySelector(".fsTextArea").value="",t(8,u=!1),t(7,o=n)},E=()=>{console.log("444"),clearInterval(undefined),document.querySelector("#fsEmailTextArea").value=""};return n.$$set=n=>{"feedbackData"in n&&t(0,d=n.feedbackData),"closeHandler"in n&&t(1,w=n.closeHandler),"closeHandlerBeforeFinishing"in n&&t(14,b=n.closeHandlerBeforeFinishing)},n.$$.update=()=>{1&n.$$.dirty[0]&&t(21,f=d.wgAccentColor),65536&n.$$.dirty[0]&&document.documentElement.style.setProperty("--pointerMargin",i+"%"),1048576&n.$$.dirty[0]&&document.documentElement.style.setProperty("--hateDisplay",a),524288&n.$$.dirty[0]&&document.documentElement.style.setProperty("--dislikeDisplay",r),262144&n.$$.dirty[0]&&document.documentElement.style.setProperty("--neutralDisplay",l),131072&n.$$.dirty[0]&&document.documentElement.style.setProperty("--likeDisplay",s),32768&n.$$.dirty[0]&&document.documentElement.style.setProperty("--loveDisplay",c),2097152&n.$$.dirty[0]&&document.documentElement.style.setProperty("--buttonColor",f)},t(7,o=1),t(16,i=10),t(20,a="none"),t(19,r="none"),t(18,l="none"),t(17,s="none"),t(15,c="none"),t(8,u=!1),[d,w,p,g,h,x,v,o,u,k,C,T,S,E,b,c,i,s,l,r,a,f,function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},()=>T(2,1,"hate"),function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},()=>T(2,2,"dislike"),function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},()=>T(2,3,"neutral"),function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},()=>T(2,4,"like"),function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},()=>T(2,5,"love"),function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},()=>T(2,1,"hate"),function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},()=>T(2,2,"dislike"),function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},()=>T(2,3,"neutral"),function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},()=>T(2,4,"like"),function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},()=>T(2,5,"love"),()=>k(),()=>S(3),()=>C(),()=>w(x,h,g),()=>w(x,h,g),()=>E()]}xn(".fsReactionsContainer {\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 190px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsIcons {\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n margin-top: 11%;\n }\n #fsTxt {\n font-size: 17px;\n display: flex;\n text-align: center;\n margin-top: 5%;\n width: 61%;\n margin-left: 19%;\n }\n\n .fsIconTextCont {\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 22px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n\n .fsReactionText {\n font-size: 19px;\n display: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n margin-top: 0px;\n \n }\n .fsIconTextCont:hover{\n pointer-events: auto;\n cursor: pointer;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsReactionIcon:hover + .fsReactionText {\n display: block;\n opacity: 0.8;\n }\n\n .fsCommentContainer{\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 291px;\n pointer-events: auto;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsTextAreaCont{\n pointer-events: auto;\n width: 100%;\n height: 140px;\n background-color: #eaeaeb;\n margin-top: 17%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsTextArea{\n border: 0px;\n width: 85%;\n height: 120px;\n background-color: #eaeaeb;\n margin-left: 6%;\n outline: none;\n margin-top: 4%;\n resize: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsSendButtonCommentComponent{\n pointer-events: auto;\n color: #ffff;\n font-size: 12px;\n text-align: center;\n margin-top: 7px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsSendButtonContCommentComp{\n pointer-events: auto;\n background-color: var(--buttonColor);\n width: 50px;\n height: 29px;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 3px 0px;\n border-radius: 3px;\n margin-top: 13px;\n margin-right: 11px;\n cursor: pointer;\n border: 0px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n \n.fsCommentButtonContDisable{\n pointer-events: auto;\n background-color: #cccccc;\n width: 50px;\n height: 29px;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 3px 0px;\n border-radius: 3px;\n margin-top: 13px;\n margin-right: 11px;\n cursor:not-allowed;\n border: 0px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n}\n.fsCommentButtonTxtDisable{\n pointer-events: auto;\n color: black;\n font-size: 12px;\n text-align: center;\n margin-top: 7px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n}\n .fsFooter{\n pointer-events: auto;\n display: flex;\n justify-content: flex-end;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n\n .fsIcons-second{\n\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n margin-top: 6%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsPointerDiv{\n width: 0;\n height: 0;\n border-left: 3px solid transparent;\n margin-top: -8px;\n border-right: 5px solid transparent;\n border-bottom: 8px solid #eaeaeb;\n margin-left: var(--pointerMargin);\n\n\n }\n #fsHateDiv{\n display: var(--hateDisplay);\n }\n #fsDislikeDiv{\n display: var(--dislikeDisplay);\n }\n #fsNeutralDiv{\n display: var(--neutralDisplay);\n }\n #fsLikeDiv{\n display: var(--likeDisplay);\n }\n #fsLoveDiv{\n display: var(--loveDisplay);\n }\n .fsEmailContainer{\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 220px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsEmailInputCont{\n pointer-events: auto;\n pointer-events: auto;\n width: 100%;\n height: 46px;\n background-color: #eaeaeb;\n display: flex;\n /* align-items: center; */\n justify-content: center;\n margin-top: 10%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n\n }\n #fsEmailTextArea{\n pointer-events: auto;\n text-align: center;\n border: 0px;\n background-color: #eaeaeb;\n outline: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsEmailText{\n width: 80%;\n text-align: center;\n margin-left: 11%;\n margin-top: 8%;\n line-height: 1.29;\n font-size: 17px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsEmailFooter{\n pointer-events: auto;\n display: flex;\n justify-content: flex-end;\n flex-direction: row;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsSkipText{\n color: #908f8f;\n cursor: pointer;\n font-size: 13px;\n margin-top: 6%;\n margin-right: 4%;\n letter-spacing: normal;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n\n }\n #fsSkipText:hover{\n color: #666666;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }",{insertAt:"top"});class Ln extends fn{constructor(n){super(),cn(this,n,Hn,Pn,s,{feedbackData:0,closeHandler:1,closeHandlerBeforeFinishing:14},null,[-1,-1])}}function An(n){const e=n-1;return e*e*e+1}function qn(n,{delay:e=0,duration:t=400,easing:o=An,x:i=0,y:a=0,opacity:r=0}={}){const l=getComputedStyle(n),s=+l.opacity,c="none"===l.transform?"":l.transform,f=s*(1-r);return{delay:e,duration:t,easing:o,css:(n,e)=>`\n\t\t\ttransform: ${c} translate(${(1-n)*i}px, ${(1-n)*a}px);\n\t\t\topacity: ${s-f*e}`}}function Un(n){let e,t,o,i,a,r,l,s,c,f;function u(e){n[21](e)}let d={};return void 0!==n[1]&&(d.fill=n[1]),r=new mn({props:d}),H.push((()=>on(r,"fill",u))),{c(){e=w("div"),t=w("div"),o=k(n[2]),i=C(),a=w("div"),an(r.$$.fragment),S(t,"id","fsFeedbackTxt"),S(a,"id","fsMainIcon"),S(e,"class","fsWidget")},m(l,u){v(l,e,u),h(e,t),h(t,o),h(e,i),h(e,a),rn(r,a,null),s=!0,c||(f=T(e,"click",n[11]),c=!0)},p(n,e){(!s||4&e)&&E(o,n[2]);const t={};!l&&2&e&&(l=!0,t.fill=n[1],N((()=>l=!1))),r.$set(t)},i(n){s||(nn(r.$$.fragment,n),s=!0)},o(n){en(r.$$.fragment,n),s=!1},d(n){n&&y(e),ln(r),c=!1,f()}}}function Vn(n){let o,i,a,r,s,c,f,d,m;function p(e){n[22](e)}let x={closeHandler:n[8],closeHandlerBeforeFinishing:n[9]};return void 0!==n[0]&&(x.feedbackData=n[0]),r=new Ln({props:x}),H.push((()=>on(r,"feedbackData",p))),{c(){o=w("div"),i=w("div"),i.innerHTML='<p id="fsCloseIcon">X</p>',a=C(),an(r.$$.fragment),S(i,"class","fsCloseCont"),S(o,"class","fsCont")},m(e,t){v(e,o,t),h(o,i),h(o,a),rn(r,o,null),f=!0,d||(m=T(i,"click",n[12]),d=!0)},p(e,t){n=e;const o={};!s&&1&t&&(s=!0,o.feedbackData=n[0],N((()=>s=!1))),r.$set(o)},i(i){f||(nn(r.$$.fragment,i),c||V((()=>{c=function(n,o,i){let a,r,s=o(n,i),c=!1,f=0;function d(){a&&R(n,a)}function m(){const{delay:o=0,duration:i=300,easing:l=t,tick:m=e,css:p}=s||tn;p&&(a=D(n,0,1,i,o,l,p,f++)),m(0,1);const h=u()+o,x=h+i;r&&r.abort(),c=!0,V((()=>X(n,!0,"start"))),r=g((e=>{if(c){if(e>=x)return m(1,0),X(n,!0,"end"),d(),c=!1;if(e>=h){const n=l((e-h)/i);m(n,1-n)}}return c}))}let p=!1;return{start(){p||(p=!0,R(n),l(s)?(s=s(),Q().then(m)):m())},invalidate(){p=!1},end(){c&&(d(),c=!1)}}}(o,qn,{x:n[6],duration:500}),c.start()})),f=!0)},o(n){en(r.$$.fragment,n),f=!1},d(n){n&&y(o),ln(r),d=!1,m()}}}function Nn(n){let o,i,a,s,c,f,d,m,p,x=n[0].wgThanksMsg+"";return{c(){o=w("div"),i=w("div"),i.innerHTML='<p id="fsCloseIcon">X</p>',a=C(),s=w("div"),c=k(x),S(i,"class","fsCloseCont"),B(s,"width","61%"),B(s,"text-align","center"),B(s,"margin-top","7%"),B(s,"margin-left","20%"),S(o,"class","fsThanksMessageCont")},m(e,t){v(e,o,t),h(o,i),h(o,a),h(o,s),h(s,c),d=!0,m||(p=T(i,"click",n[10]),m=!0)},p(e,t){n=e,(!d||1&t)&&x!==(x=n[0].wgThanksMsg+"")&&E(c,x)},i(n){d||(f&&f.end(1),d=!0)},o(i){f=function(n,o,i){let a,s=o(n,i),c=!0;const f=K;function d(){const{delay:o=0,duration:i=300,easing:l=t,tick:d=e,css:m}=s||tn;m&&(a=D(n,1,0,i,o,l,m));const p=u()+o,h=p+i;V((()=>X(n,!1,"start"))),g((e=>{if(c){if(e>=h)return d(0,1),X(n,!1,"end"),--f.r||r(f.c),!1;if(e>=p){const n=l((e-p)/i);d(1-n,n)}}return c}))}return f.r+=1,l(s)?Q().then((()=>{s=s(),d()})):d(),{end(e){e&&s.tick&&s.tick(1,0),c&&(a&&R(n,a),c=!1)}}}(o,qn,{x:n[7],duration:300}),d=!1},d(n){n&&y(o),n&&f&&f.end(),m=!1,p()}}}function Fn(n){let e,t,o,i,a=n[4]&&Un(n),r=n[3]&&Vn(n),l=n[5]&&Nn(n);return{c(){e=w("fsContainer"),a&&a.c(),t=C(),r&&r.c(),o=C(),l&&l.c()},m(n,s){v(n,e,s),a&&a.m(e,null),h(e,t),r&&r.m(e,null),h(e,o),l&&l.m(e,null),i=!0},p(n,[i]){n[4]?a?(a.p(n,i),16&i&&nn(a,1)):(a=Un(n),a.c(),nn(a,1),a.m(e,t)):a&&(Y(),en(a,1,1,(()=>{a=null})),Z()),n[3]?r?(r.p(n,i),8&i&&nn(r,1)):(r=Vn(n),r.c(),nn(r,1),r.m(e,o)):r&&(Y(),en(r,1,1,(()=>{r=null})),Z()),n[5]?l?(l.p(n,i),32&i&&nn(l,1)):(l=Nn(n),l.c(),nn(l,1),l.m(e,null)):l&&(Y(),en(l,1,1,(()=>{l=null})),Z())},i(n){i||(nn(a),nn(r),nn(l),i=!0)},o(n){en(a),en(r),en(l),i=!1},d(n){n&&y(e),a&&a.d(),r&&r.d(),l&&l.d()}}}function Gn(n,e,t){let o,{feedback:i}=e;console.log(i);let a="",r="",l="Feedback";l="en"==i.wgLanguage?" Feedback":"ar"==i.wgLanguage?"رأي":"Rétroaction",!0===i.wgAlternateColor?(a="white",r="white"):(a="black",r="black");let s="",c="",f=0,u=0,d=0,m=0,p=!1,g=!0,h=!1,x=0,$=0;0==Number(i.wgPosition)&&(s="center",c="row-reverse",f=5,u=0,d=30,m=0,x=-100,$=20),1==Number(i.wgPosition)&&(s="center",c="row",f=0,u=5,d=0,m=30,x=100,$=-20),2==Number(i.wgPosition)&&(s="flex-end",c="row-reverse",f=5,d=30,m=0,x=-100,$=20),3==Number(i.wgPosition)&&(s="flex-end",c="row",f=0,u=5,d=0,m=30,x=100,$=-20);let v=0,y="",w="",b="";const k=(n,e,t)=>{y=n,w=e,b=Number(t);let o={email:n,comment:e,reaction:t};if(1==v){console.log("hi",o);let n=new CustomEvent("fbEvent",{bubbles:!1,detail:o});window.dispatchEvent(n),console.log(o)}},C=()=>{t(3,p=!p),t(5,h=!h)};return n.$$set=n=>{"feedback"in n&&t(0,i=n.feedback)},n.$$.update=()=>{1&n.$$.dirty&&t(20,o=i.wgAccentColor),1048576&n.$$.dirty&&document.documentElement.style.setProperty("--widgetColor",o),8192&n.$$.dirty&&document.documentElement.style.setProperty("--widgetTextColor",a),16384&n.$$.dirty&&document.documentElement.style.setProperty("--wgPositionHorizintal",s),32768&n.$$.dirty&&document.documentElement.style.setProperty("--wgPositionVertical",c),65536&n.$$.dirty&&document.documentElement.style.setProperty("--widgetLeftSideBorder",f+"px"),131072&n.$$.dirty&&document.documentElement.style.setProperty("--widgetRightSideBorder",u+"px"),262144&n.$$.dirty&&document.documentElement.style.setProperty("--widgetMarginRight",d+"px"),524288&n.$$.dirty&&document.documentElement.style.setProperty("--widgetMarginLeft",m+"px")},[i,r,l,p,g,h,x,$,(n,e,t)=>{let o={email:n,comment:e,reaction:Number(t)},i=new CustomEvent("fbEvent",{bubbles:!1,detail:o});window.dispatchEvent(i),console.log(o),C()},k,()=>{t(5,h=!h),setTimeout((function(){t(4,g=!g)}),350)},()=>{t(3,p=!p),t(4,g=!g)},()=>{v=1,0!=b&&k(y,w,b),t(3,p=!p),setTimeout((function(){t(4,g=!g)}),350)},a,s,c,f,u,d,m,o,function(n){r=n,t(1,r)},function(n){i=n,t(0,i)}]}xn("fsContainer{\n width: 100%;\n display: flex;\n flex-direction: var(--wgPositionVertical);\n position: fixed;\n top: 0; right: 0; bottom: 0; left: 0;\n\theight: 100%;\n pointer-events: none;\n align-items: var(--wgPositionHorizintal);\n padding: 0;\n z-index: 100000;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsWidget {\n pointer-events: auto;\n background-color: var(--widgetColor);\n width: 34px;\n height: 112px;\n border-top-left-radius:var(--widgetLeftSideBorder) ;\n border-bottom-left-radius: var(--widgetLeftSideBorder);\n border-top-right-radius: var(--widgetRightSideBorder) ;\n border-bottom-right-radius: var(--widgetRightSideBorder);\n box-shadow: 0.2px 0.2px 0.2px rgb(133, 130, 130);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-evenly;\n cursor: pointer;\n margin-top: 5px;\n }\n #fsMainIcon {\n width: 60%;\n margin-left: 4%;\n cursor: pointer;\n }\n #fsFeedbackTxt {\n color: var(--widgetTextColor);\n font-size: 15px;\n writing-mode: vertical-lr;\n transform: rotate(180deg);\n cursor: pointer;\n font-size-adjust: 0.40;\n }\n .fsWidget:hover {\n width: 35px;\n -webkit-box-shadow: 0px 0px 35px 2px rgba(0, 0, 0, 0.24);\n box-shadow: 0px 0px 35px 2px rgba(0, 0, 0, 0.24);\n }\n .fsCont {\n pointer-events: auto;\n width: 320px;\n height: fit-content;\n background-color: rgb(255, 255, 255);\n \tmargin-right: var(--widgetMarginRight);\n margin-left: var(--widgetMarginLeft);\n\t-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px; \n\tbox-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;\n }\n .fsThanksMessageCont{\n pointer-events: auto;\n width: 320px;\n height: 104px;\n background-color: rgb(255, 255, 255);\n \tmargin-right: var(--widgetMarginRight);\n margin-left: var(--widgetMarginLeft);\n\t-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px; \n\tbox-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;\n }\n #fsCloseIcon{\n\t font-size: 15px;\n\t color: #ffff;\n\t font-weight: 600;\n \tcursor: pointer;\n\t \n }\n .fsCloseCont{\n pointer-events: auto;\n\t background-color: #4d5167;\n\t width: 27px;\n height: 27px;\n\tborder-radius: 50%;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tmargin-top: -15px;\n margin-left: 85%;\n\tcursor: pointer;\n\t}\n\n \n \n \n\n /* @media (min-width: 640px) {\n body {\n max-width: none;\n }\n } */",{insertAt:"top"});class jn extends fn{constructor(n){super(),cn(this,n,Gn,Fn,s,{feedback:0})}}function Wn(n){new jn({target:document.body,props:{feedback:n}})}return Wn({id:1,wgStatus:1,wgName:"ask",wgDescription:"test",wgCrtDt:"2021-12-05 10:49:14",wgResponses:null,wgUpdTime:null,SiteId:98,UserId:262,wgLanguage:"en",wgPosition:"0",wgAccentColor:"#51797b",wgAlternateColor:!0,wgQuestion:"How would you rate your experience?",wgUserScreenshot:1,wgEmailReqMsg:"We may wish to follow up. Enter your email if you're happy for us to contact you.",wgEmailReqActivation:1,wgAdditionalMsg:"Heads up! This is for feedback only. Need help? Contact us via our [link to Help Center].",wgAdditionalMsgActivation:1,wgThanksMsg:"Thank you for sharing your feedback with us",wgThanksMsgActivation:1,wgDesktop:1,wgPhone:1,wgTablet:1,wgPages:[{id:0,name:"*"}],wgWidgetToUsers:0,wgPercentage:100,wgEmail:"abd@gmail.com",wgWidgetToAllPages:1,wgReactionStyle:0,wgResponseViaEmail:1}),n.feedbackCreator=Wn,Object.defineProperty(n,"__esModule",{value:!0}),n}({});
|
|
1
|
+
var fsFeedbackWidget=function(n){"use strict";function e(){}const t=n=>n;function o(n,e){for(const t in e)n[t]=e[t];return n}function i(n){return n()}function a(){return Object.create(null)}function r(n){n.forEach(i)}function l(n){return"function"==typeof n}function s(n,e){return n!=n?e==e:n!==e||n&&"object"==typeof n||"function"==typeof n}function c(n){const e={};for(const t in n)"$"!==t[0]&&(e[t]=n[t]);return e}const f="undefined"!=typeof window;let u=f?()=>window.performance.now():()=>Date.now(),d=f?n=>requestAnimationFrame(n):e;const m=new Set;function p(n){m.forEach((e=>{e.c(n)||(m.delete(e),e.f())})),0!==m.size&&d(p)}function g(n){let e;return 0===m.size&&d(p),{promise:new Promise((t=>{m.add(e={c:n,f:t})})),abort(){m.delete(e)}}}function h(n,e){n.appendChild(e)}function x(n){if(!n)return document;const e=n.getRootNode?n.getRootNode():n.ownerDocument;return e&&e.host?e:n.ownerDocument}function $(n){const e=w("style");return function(n,e){h(n.head||n,e)}(x(n),e),e.sheet}function v(n,e,t){n.insertBefore(e,t||null)}function y(n){n.parentNode.removeChild(n)}function w(n){return document.createElement(n)}function b(n){return document.createElementNS("http://www.w3.org/2000/svg",n)}function k(n){return document.createTextNode(n)}function C(){return k(" ")}function T(n,e,t,o){return n.addEventListener(e,t,o),()=>n.removeEventListener(e,t,o)}function S(n,e,t){null==t?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function E(n,e){e=""+e,n.wholeText!==e&&(n.data=e)}function B(n,e,t,o){null===t?n.style.removeProperty(e):n.style.setProperty(e,t,o?"important":"")}const I=new Map;let M,z=0;function D(n,e,t,o,i,a,r,l=0){const s=16.666/o;let c="{\n";for(let n=0;n<=1;n+=s){const o=e+(t-e)*a(n);c+=100*n+`%{${r(o,1-o)}}\n`}const f=c+`100% {${r(t,1-t)}}\n}`,u=`__svelte_${function(n){let e=5381,t=n.length;for(;t--;)e=(e<<5)-e^n.charCodeAt(t);return e>>>0}(f)}_${l}`,d=x(n),{stylesheet:m,rules:p}=I.get(d)||function(n,e){const t={stylesheet:$(e),rules:{}};return I.set(n,t),t}(d,n);p[u]||(p[u]=!0,m.insertRule(`@keyframes ${u} ${f}`,m.cssRules.length));const g=n.style.animation||"";return n.style.animation=`${g?`${g}, `:""}${u} ${o}ms linear ${i}ms 1 both`,z+=1,u}function R(n,e){const t=(n.style.animation||"").split(", "),o=t.filter(e?n=>n.indexOf(e)<0:n=>-1===n.indexOf("__svelte")),i=t.length-o.length;i&&(n.style.animation=o.join(", "),z-=i,z||d((()=>{z||(I.forEach((n=>{const{stylesheet:e}=n;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);n.rules={}})),I.clear())})))}function _(n){M=n}const P=[],H=[],L=[],A=[],q=Promise.resolve();let U=!1;function V(n){L.push(n)}function N(n){A.push(n)}const F=new Set;let G,j=0;function W(){const n=M;do{for(;j<P.length;){const n=P[j];j++,_(n),O(n.$$)}for(_(null),P.length=0,j=0;H.length;)H.pop()();for(let n=0;n<L.length;n+=1){const e=L[n];F.has(e)||(F.add(e),e())}L.length=0}while(P.length);for(;A.length;)A.pop()();U=!1,F.clear(),_(n)}function O(n){if(null!==n.fragment){n.update(),r(n.before_update);const e=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,e),n.after_update.forEach(V)}}function Q(){return G||(G=Promise.resolve(),G.then((()=>{G=null}))),G}function X(n,e,t){n.dispatchEvent(function(n,e,t=!1){const o=document.createEvent("CustomEvent");return o.initCustomEvent(n,t,!1,e),o}(`${e?"intro":"outro"}${t}`))}const J=new Set;let K;function Y(){K={r:0,c:[],p:K}}function Z(){K.r||r(K.c),K=K.p}function nn(n,e){n&&n.i&&(J.delete(n),n.i(e))}function en(n,e,t,o){if(n&&n.o){if(J.has(n))return;J.add(n),K.c.push((()=>{J.delete(n),o&&(t&&n.d(1),o())})),n.o(e)}}const tn={duration:0};function on(n,e,t){const o=n.$$.props[e];void 0!==o&&(n.$$.bound[o]=t,t(n.$$.ctx[o]))}function an(n){n&&n.c()}function rn(n,e,t,o){const{fragment:a,on_mount:s,on_destroy:c,after_update:f}=n.$$;a&&a.m(e,t),o||V((()=>{const e=s.map(i).filter(l);c?c.push(...e):r(e),n.$$.on_mount=[]})),f.forEach(V)}function ln(n,e){const t=n.$$;null!==t.fragment&&(r(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function sn(n,e){-1===n.$$.dirty[0]&&(P.push(n),U||(U=!0,q.then(W)),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<<e%31}function cn(n,t,o,i,l,s,c,f=[-1]){const u=M;_(n);const d=n.$$={fragment:null,ctx:null,props:s,update:e,not_equal:l,bound:a(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:a(),dirty:f,skip_bound:!1,root:t.target||u.$$.root};c&&c(d.root);let m=!1;if(d.ctx=o?o(n,t.props||{},((e,t,...o)=>{const i=o.length?o[0]:t;return d.ctx&&l(d.ctx[e],d.ctx[e]=i)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](i),m&&sn(n,e)),t})):[],d.update(),m=!0,r(d.before_update),d.fragment=!!i&&i(d.ctx),t.target){if(t.hydrate){const n=function(n){return Array.from(n.childNodes)}(t.target);d.fragment&&d.fragment.l(n),n.forEach(y)}else d.fragment&&d.fragment.c();t.intro&&nn(n.$$.fragment),rn(n,t.target,t.anchor,t.customElement),W()}_(u)}class fn{$destroy(){ln(this,1),this.$destroy=e}$on(n,e){const t=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return t.push(e),()=>{const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}$set(n){var e;this.$$set&&(e=n,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}function un(n){let t,o,i,a,r,l,s,c,f,u,d,m,p,g,x,$,w,k,C;return{c(){t=b("svg"),o=b("g"),i=b("g"),a=b("path"),r=b("g"),l=b("g"),s=b("g"),c=b("g"),f=b("g"),u=b("g"),d=b("g"),m=b("g"),p=b("g"),g=b("g"),x=b("g"),$=b("g"),w=b("g"),k=b("g"),C=b("g"),S(a,"d","M428,41.534H30c-16.569,0-30,13.431-30,30v252c0,16.568,13.432,30,30,30h132.1l43.942,52.243 c5.7,6.777,14.103,10.69,22.959,10.69c8.856,0,17.258-3.912,22.959-10.69l43.942-52.243H428c16.568,0,30-13.432,30-30v-252 C458,54.965,444.568,41.534,428,41.534z M323.916,281.534H82.854c-8.284,0-15-6.716-15-15s6.716-15,15-15h241.062 c8.284,0,15,6.716,15,15S332.2,281.534,323.916,281.534z M67.854,198.755c0-8.284,6.716-15,15-15h185.103c8.284,0,15,6.716,15,15 s-6.716,15-15,15H82.854C74.57,213.755,67.854,207.039,67.854,198.755z M375.146,145.974H82.854c-8.284,0-15-6.716-15-15 s6.716-15,15-15h292.291c8.284,0,15,6.716,15,15C390.146,139.258,383.43,145.974,375.146,145.974z"),S(t,"fill",n[0]),S(t,"version","1.1"),S(t,"id","Layer_1"),S(t,"xmlns","http://www.w3.org/2000/svg"),S(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),S(t,"x","0px"),S(t,"y","0px"),S(t,"viewBox","0 0 458 458"),B(t,"enable-background","new 0 0 458 458"),S(t,"xml:space","preserve")},m(n,e){v(n,t,e),h(t,o),h(o,i),h(i,a),h(t,r),h(t,l),h(t,s),h(t,c),h(t,f),h(t,u),h(t,d),h(t,m),h(t,p),h(t,g),h(t,x),h(t,$),h(t,w),h(t,k),h(t,C)},p(n,[e]){1&e&&S(t,"fill",n[0])},i:e,o:e,d(n){n&&y(t)}}}function dn(n,e,t){let{fill:o=""}=e;return n.$$set=n=>{"fill"in n&&t(0,o=n.fill)},[o]}class mn extends fn{constructor(n){super(),cn(this,n,dn,un,s,{fill:0})}}function pn(n){let t,o,i=n[3].svg+"";return{c(){t=b("svg"),S(t,"class",o=n[4].class),S(t,"focusable",n[0]),S(t,"width",n[1]),S(t,"height",n[2]),S(t,"viewBox","0 0 "+n[3].box+" "+(n[3].box-1))},m(n,e){v(n,t,e),t.innerHTML=i},p(n,[e]){16&e&&o!==(o=n[4].class)&&S(t,"class",o),1&e&&S(t,"focusable",n[0]),2&e&&S(t,"width",n[1]),4&e&&S(t,"height",n[2])},i:e,o:e,d(n){n&&y(t)}}}function gn(n,e,t){let{name:i}=e,{focusable:a=!1}=e,{width:r="40px"}=e,{height:l="40px"}=e,s=[{box:50,name:"love",svg:'\n <g transform="translate(.48)" fill-rule="nonzero" fill="none">\n <rect fill="#EF7C54" width="50" height="50" rx="13.28"/>\n <circle fill="#3B3735" cx="7.241" cy="27.929" r="3.107"/>\n <circle fill="#3B3735" cx="42.759" cy="27.929" r="3.107"/>\n <path d="M31.236 28.764a2.245 2.245 0 0 1 2.002 3.246 9.086 9.086 0 0 1-8.234 4.779 9.104 9.104 0 0 1-8.242-4.779 2.245 2.245 0 0 1 2.002-3.246h12.472zM12.185 22.089a11.515 11.515 0 0 1-.766-.696c-1.036-1.062-2.29-2.803-1.741-4.352.392-1.21 1.81-1.567 2.95-1.488a4.743 4.743 0 0 1 1.793.487c.233.107.46.226.68.357a.33.33 0 0 0 .504-.261 3.046 3.046 0 0 1 1.358-2.611 2.385 2.385 0 0 1 2.906.635c1.21 1.314 1.088 3.133.584 4.726a20.017 20.017 0 0 1-1.34 3.255 8.12 8.12 0 0 1-.975 1.688c-.749.87-1.846.636-2.777.218a13.838 13.838 0 0 1-3.176-1.958zM37.807 22.089c.267-.218.523-.45.766-.696 1.035-1.062 2.289-2.803 1.74-4.352-.391-1.21-1.819-1.567-2.959-1.488a4.787 4.787 0 0 0-1.793.487 7.424 7.424 0 0 0-.678.357.33.33 0 0 1-.505-.261 3.046 3.046 0 0 0-1.358-2.611 2.385 2.385 0 0 0-2.907.635c-1.21 1.314-1.088 3.133-.583 4.726.35 1.122.799 2.211 1.34 3.255.256.6.584 1.167.975 1.688.749.87 1.854.636 2.776.218a13.838 13.838 0 0 0 3.186-1.958z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedLove",svg:'\n <g transform="translate(.48)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.28"/>\n <circle fill="#3B3735" cx="7.241" cy="27.929" r="3.107"/>\n <circle fill="#3B3735" cx="42.759" cy="27.929" r="3.107"/>\n <path d="M31.236 28.764a2.245 2.245 0 0 1 2.002 3.246 9.086 9.086 0 0 1-8.234 4.779 9.104 9.104 0 0 1-8.242-4.779 2.245 2.245 0 0 1 2.002-3.246h12.472zM12.185 22.089a11.515 11.515 0 0 1-.766-.696c-1.036-1.062-2.29-2.803-1.741-4.352.392-1.21 1.81-1.567 2.95-1.488a4.743 4.743 0 0 1 1.793.487c.233.107.46.226.68.357a.33.33 0 0 0 .504-.261 3.046 3.046 0 0 1 1.358-2.611 2.385 2.385 0 0 1 2.906.635c1.21 1.314 1.088 3.133.584 4.726a20.017 20.017 0 0 1-1.34 3.255 8.12 8.12 0 0 1-.975 1.688c-.749.87-1.846.636-2.777.218a13.838 13.838 0 0 1-3.176-1.958zM37.807 22.089c.267-.218.523-.45.766-.696 1.035-1.062 2.289-2.803 1.74-4.352-.391-1.21-1.819-1.567-2.959-1.488a4.787 4.787 0 0 0-1.793.487 7.424 7.424 0 0 0-.678.357.33.33 0 0 1-.505-.261 3.046 3.046 0 0 0-1.358-2.611 2.385 2.385 0 0 0-2.907.635c-1.21 1.314-1.088 3.133-.583 4.726.35 1.122.799 2.211 1.34 3.255.256.6.584 1.167.975 1.688.749.87 1.854.636 2.776.218a13.838 13.838 0 0 0 3.186-1.958z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"like",svg:'\n <g transform="translate(.86)" fill-rule="nonzero" fill="none">\n <rect fill="#FDC537" width="50" height="50" rx="13.12"/>\n <ellipse fill="#3B3735" cx="14.156" cy="19.803" rx="2.167" ry="3.656"/>\n <ellipse fill="#3B3735" cx="35.844" cy="19.803" rx="2.167" ry="3.656"/>\n <path d="M32.444 28.1a2.643 2.643 0 0 1 2.37 3.824 10.738 10.738 0 0 1-9.69 5.629 10.738 10.738 0 0 1-9.69-5.63 2.643 2.643 0 0 1 2.36-3.822h14.65z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedLike",svg:'\n <g transform="translate(.86)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.12"/>\n <ellipse fill="#3B3735" cx="14.156" cy="19.803" rx="2.167" ry="3.656"/>\n <ellipse fill="#3B3735" cx="35.844" cy="19.803" rx="2.167" ry="3.656"/>\n <path d="M32.444 28.1a2.643 2.643 0 0 1 2.37 3.824 10.738 10.738 0 0 1-9.69 5.629 10.738 10.738 0 0 1-9.69-5.63 2.643 2.643 0 0 1 2.36-3.822h14.65z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"neutral",svg:'\n <g transform="translate(.24)" fill-rule="nonzero" fill="gray">\n <rect fill="#F59F45" width="50" height="50" rx="12.63"/>\n <circle fill="#3B3735" cx="15.169" cy="21.459" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="21.459" r="2.81"/>\n <path d="M40.847 31.351H9.135a.67.67 0 1 1 0-1.33h31.712a.67.67 0 1 1 0 1.33z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedNeutral",svg:'\n <g transform="translate(.24)" fill-rule="nonzero" fill="gray">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="12.63"/>\n <circle fill="#3B3735" cx="15.169" cy="21.459" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="21.459" r="2.81"/>\n <path d="M40.847 31.351H9.135a.67.67 0 1 1 0-1.33h31.712a.67.67 0 1 1 0 1.33z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"dislike",svg:'\n <g transform="translate(.62)" fill-rule="nonzero" fill="none">\n <rect fill="#FEDCAB" width="50" height="50" rx="13.12"/>\n <path d="M33.333 34.743a1.762 1.762 0 0 0 1.718-2.211c-1.119-4.158-5.285-7.241-10.324-7.241s-9.206 3.083-10.324 7.24a1.762 1.762 0 0 0 1.718 2.212l6.536-.881a15.178 15.178 0 0 1 3.946 0l6.73.88z" fill="#3B3735"/>\n <circle fill="#3B3735" cx="15.169" cy="18.076" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="18.076" r="2.81"/>\n </g>'},{box:50,name:"unSelectedDislike",svg:'\n <g transform="translate(.62)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.12"/>\n <path d="M33.333 34.743a1.762 1.762 0 0 0 1.718-2.211c-1.119-4.158-5.285-7.241-10.324-7.241s-9.206 3.083-10.324 7.24a1.762 1.762 0 0 0 1.718 2.212l6.536-.881a15.178 15.178 0 0 1 3.946 0l6.73.88z" fill="#3B3735"/>\n <circle fill="#3B3735" cx="15.169" cy="18.076" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="18.076" r="2.81"/>\n </g>'},{box:50,name:"hate",svg:'\n <g fill-rule="nonzero" fill="none">\n <rect fill="#FEDCAB" width="50" height="50" rx="13.44"/>\n <path d="M20.218 23.865a1.144 1.144 0 0 1-.86-.336l-6.114-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.809 1.96h.043z" fill="#3B3735"/>\n <path d="M14.104 23.865a1.152 1.152 0 0 1-.817-1.961l6.114-6.115a1.152 1.152 0 0 1 1.626 1.634L14.92 23.53a1.161 1.161 0 0 1-.817.336zM36.352 23.865c-.303 0-.594-.121-.808-.336l-6.115-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.817 1.96z" fill="#3B3735"/>\n <path d="M30.246 23.865a1.152 1.152 0 0 1-.86-1.961l6.115-6.115a1.152 1.152 0 0 1 1.625 1.634L31.02 23.53a1.161 1.161 0 0 1-.774.336zM35.604 34.546a6.02 6.02 0 0 1-3.389-1.376c-1.083-.783-1.96-1.075-2.339-.783-.157.15-.296.317-.413.5-.221.34-.484.652-.782.928-1.29 1.092-3.07.791-4.3.146a11.937 11.937 0 0 1-1.299-.86 8.11 8.11 0 0 0-1.35-.808 3.44 3.44 0 0 0-3.363.447l-.387.335c-.417.416-.906.75-1.444.99-1.815.722-3.337-.38-4.558-1.256a6.416 6.416 0 0 0-1.952-1.127 2.116 2.116 0 0 0-2.383 1.307 1.152 1.152 0 0 1-2.193-.696 4.386 4.386 0 0 1 5.16-2.838 8.505 8.505 0 0 1 2.71 1.505c1.169.86 1.78 1.212 2.356.989.281-.146.537-.338.756-.568l.508-.43a5.745 5.745 0 0 1 5.676-.757c.607.285 1.183.631 1.72 1.032.345.245.704.469 1.075.671.585.31 1.367.456 1.72.138a2.58 2.58 0 0 0 .395-.49 4.3 4.3 0 0 1 .86-1.015c.86-.68 2.512-1.11 5.092.757 1.109.808 1.978 1.109 2.373.86.153-.135.289-.288.404-.456.112-.138.215-.267.336-.396a4.807 4.807 0 0 1 7.869 1.72 1.152 1.152 0 1 1-2.202.68 2.52 2.52 0 0 0-3.956-.86l-.232.283c-.242.343-.532.65-.86.912a2.83 2.83 0 0 1-1.608.516z" fill="#3B3735"/>\n </g>'},{box:50,name:"unSelectedHate",svg:'\n <g fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.44"/>\n <path d="M20.218 23.865a1.144 1.144 0 0 1-.86-.336l-6.114-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.809 1.96h.043z" fill="#3B3735"/>\n <path d="M14.104 23.865a1.152 1.152 0 0 1-.817-1.961l6.114-6.115a1.152 1.152 0 0 1 1.626 1.634L14.92 23.53a1.161 1.161 0 0 1-.817.336zM36.352 23.865c-.303 0-.594-.121-.808-.336l-6.115-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.817 1.96z" fill="#3B3735"/>\n <path d="M30.246 23.865a1.152 1.152 0 0 1-.86-1.961l6.115-6.115a1.152 1.152 0 0 1 1.625 1.634L31.02 23.53a1.161 1.161 0 0 1-.774.336zM35.604 34.546a6.02 6.02 0 0 1-3.389-1.376c-1.083-.783-1.96-1.075-2.339-.783-.157.15-.296.317-.413.5-.221.34-.484.652-.782.928-1.29 1.092-3.07.791-4.3.146a11.937 11.937 0 0 1-1.299-.86 8.11 8.11 0 0 0-1.35-.808 3.44 3.44 0 0 0-3.363.447l-.387.335c-.417.416-.906.75-1.444.99-1.815.722-3.337-.38-4.558-1.256a6.416 6.416 0 0 0-1.952-1.127 2.116 2.116 0 0 0-2.383 1.307 1.152 1.152 0 0 1-2.193-.696 4.386 4.386 0 0 1 5.16-2.838 8.505 8.505 0 0 1 2.71 1.505c1.169.86 1.78 1.212 2.356.989.281-.146.537-.338.756-.568l.508-.43a5.745 5.745 0 0 1 5.676-.757c.607.285 1.183.631 1.72 1.032.345.245.704.469 1.075.671.585.31 1.367.456 1.72.138a2.58 2.58 0 0 0 .395-.49 4.3 4.3 0 0 1 .86-1.015c.86-.68 2.512-1.11 5.092.757 1.109.808 1.978 1.109 2.373.86.153-.135.289-.288.404-.456.112-.138.215-.267.336-.396a4.807 4.807 0 0 1 7.869 1.72 1.152 1.152 0 1 1-2.202.68 2.52 2.52 0 0 0-3.956-.86l-.232.283c-.242.343-.532.65-.86.912a2.83 2.83 0 0 1-1.608.516z" fill="#3B3735"/>\n </g>'}].find((n=>n.name===i));return n.$$set=n=>{t(4,e=o(o({},e),c(n))),"name"in n&&t(5,i=n.name),"focusable"in n&&t(0,a=n.focusable),"width"in n&&t(1,r=n.width),"height"in n&&t(2,l=n.height)},e=c(e),[a,r,l,s,e,i]}class hn extends fn{constructor(n){super(),cn(this,n,gn,pn,s,{name:5,focusable:0,width:1,height:2})}}function xn(n,e){void 0===e&&(e={});var t=e.insertAt;if(n&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n))}}function $n(n){let t,o,i,a,l,s,c,f,u,d,m,p,g=n[0].wgEmailReqMsg+"";function x(n,e){return 0==n[8]?bn:1==n[8]?wn:void 0}let $=x(n),b=$&&$(n);return{c(){t=w("div"),o=w("div"),i=k(g),a=C(),l=w("div"),s=w("input"),c=C(),f=w("div"),u=w("p"),u.innerHTML="<u>Skip</u>",d=C(),b&&b.c(),S(o,"id","fsEmailText"),S(s,"type","text"),S(s,"id","fsEmailTextArea"),S(s,"placeholder","email@domain.com"),S(l,"id","fsEmailInputCont"),S(u,"id","fsSkipText"),S(f,"class","fsEmailFooter"),S(t,"class","fsEmailContainer")},m(e,r){v(e,t,r),h(t,o),h(o,i),h(t,a),h(t,l),h(l,s),h(t,c),h(t,f),h(f,u),h(f,d),b&&b.m(f,null),m||(p=[T(s,"keyup",n[49]),T(u,"click",n[50])],m=!0)},p(n,e){1&e[0]&&g!==(g=n[0].wgEmailReqMsg+"")&&E(i,g),$===($=x(n))&&b?b.p(n,e):(b&&b.d(1),b=$&&$(n),b&&(b.c(),b.m(f,null)))},i:e,o:e,d(n){n&&y(t),b&&b.d(),m=!1,r(p)}}}function vn(n){let e,t,o,i,a,l,s,c,f,u,d,m,p,g,x,$,b,k,E,B,I,M,z,D,R,_,P,H,L,A,q,U,V,N,F,G,j,W,O,Q,X,J,K,tn,on,an;const rn=[Cn,kn],ln=[];function sn(n,e){return n[6]?0:0==n[6]?1:-1}~(a=sn(n))&&(l=ln[a]=rn[a](n));const cn=[Sn,Tn],fn=[];function un(n,e){return n[6]?0:0==n[6]?1:-1}~(m=un(n))&&(p=fn[m]=cn[m](n));const dn=[Bn,En],mn=[];function pn(n,e){return n[6]?0:0==n[6]?1:-1}~(E=pn(n))&&(B=mn[E]=dn[E](n));const gn=[Mn,In],hn=[];function xn(n,e){return n[6]?0:0==n[6]?1:-1}~(_=xn(n))&&(P=hn[_]=gn[_](n));const $n=[Dn,zn],vn=[];function yn(n,e){return n[6]?0:0==n[6]?1:-1}function wn(n,e){return 0==n[8]?_n:1==n[8]?Rn:void 0}~(V=yn(n))&&(N=vn[V]=$n[V](n));let bn=wn(n),Pn=bn&&bn(n);return{c(){e=w("div"),t=w("div"),o=w("div"),i=w("div"),l&&l.c(),s=C(),c=w("p"),c.textContent="Hate",f=C(),u=w("div"),d=w("div"),p&&p.c(),g=C(),x=w("p"),x.textContent="Dislike",$=C(),b=w("div"),k=w("div"),B&&B.c(),I=C(),M=w("p"),M.textContent="Neutral",z=C(),D=w("div"),R=w("div"),P&&P.c(),H=C(),L=w("p"),L.textContent="Like",A=C(),q=w("div"),U=w("div"),N&&N.c(),F=C(),G=w("p"),G.textContent="Love",j=C(),W=w("div"),O=w("div"),Q=C(),X=w("textarea"),J=C(),K=w("div"),Pn&&Pn.c(),S(i,"class","fsReactionIcon"),S(c,"class","fsReactionText"),S(c,"id","fsHateDiv"),S(o,"class","fsIconTextCont"),S(d,"class","fsReactionIcon"),S(x,"class","fsReactionText"),S(x,"id","fsDislikeDiv"),S(u,"class","fsIconTextCont"),S(k,"class","fsReactionIcon"),S(M,"class","fsReactionText"),S(M,"id","fsNeutralDiv"),S(b,"class","fsIconTextCont"),S(R,"class","fsReactionIcon"),S(L,"class","fsReactionText"),S(L,"id","fsLikeDiv"),S(D,"class","fsIconTextCont"),S(U,"class","fsReactionIcon"),S(G,"class","fsReactionText"),S(G,"id","fsLoveDiv"),S(q,"class","fsIconTextCont"),S(t,"class","fsIcons-second"),S(O,"class","fsPointerDiv"),S(O,"id","fsPointer"),S(X,"class","fsTextArea"),S(X,"placeholder","Tell us your experience..."),S(W,"class","fsTextAreaCont"),S(K,"class","fsFooter"),S(e,"class","fsCommentContainer")},m(r,l){v(r,e,l),h(e,t),h(t,o),h(o,i),~a&&ln[a].m(i,null),h(o,s),h(o,c),h(t,f),h(t,u),h(u,d),~m&&fn[m].m(d,null),h(u,g),h(u,x),h(t,$),h(t,b),h(b,k),~E&&mn[E].m(k,null),h(b,I),h(b,M),h(t,z),h(t,D),h(D,R),~_&&hn[_].m(R,null),h(D,H),h(D,L),h(t,A),h(t,q),h(q,U),~V&&vn[V].m(U,null),h(q,F),h(q,G),h(e,j),h(e,W),h(W,O),h(W,Q),h(W,X),h(e,J),h(e,K),Pn&&Pn.m(K,null),tn=!0,on||(an=[T(o,"click",n[34]),T(u,"click",n[37]),T(b,"click",n[40]),T(D,"click",n[43]),T(U,"click",n[46]),T(X,"keyup",n[47])],on=!0)},p(n,e){let t=a;a=sn(n),a===t?~a&&ln[a].p(n,e):(l&&(Y(),en(ln[t],1,1,(()=>{ln[t]=null})),Z()),~a?(l=ln[a],l?l.p(n,e):(l=ln[a]=rn[a](n),l.c()),nn(l,1),l.m(i,null)):l=null);let o=m;m=un(n),m===o?~m&&fn[m].p(n,e):(p&&(Y(),en(fn[o],1,1,(()=>{fn[o]=null})),Z()),~m?(p=fn[m],p?p.p(n,e):(p=fn[m]=cn[m](n),p.c()),nn(p,1),p.m(d,null)):p=null);let r=E;E=pn(n),E===r?~E&&mn[E].p(n,e):(B&&(Y(),en(mn[r],1,1,(()=>{mn[r]=null})),Z()),~E?(B=mn[E],B?B.p(n,e):(B=mn[E]=dn[E](n),B.c()),nn(B,1),B.m(k,null)):B=null);let s=_;_=xn(n),_===s?~_&&hn[_].p(n,e):(P&&(Y(),en(hn[s],1,1,(()=>{hn[s]=null})),Z()),~_?(P=hn[_],P?P.p(n,e):(P=hn[_]=gn[_](n),P.c()),nn(P,1),P.m(R,null)):P=null);let c=V;V=yn(n),V===c?~V&&vn[V].p(n,e):(N&&(Y(),en(vn[c],1,1,(()=>{vn[c]=null})),Z()),~V?(N=vn[V],N?N.p(n,e):(N=vn[V]=$n[V](n),N.c()),nn(N,1),N.m(U,null)):N=null),bn===(bn=wn(n))&&Pn?Pn.p(n,e):(Pn&&Pn.d(1),Pn=bn&&bn(n),Pn&&(Pn.c(),Pn.m(K,null)))},i(n){tn||(nn(l),nn(p),nn(B),nn(P),nn(N),tn=!0)},o(n){en(l),en(p),en(B),en(P),en(N),tn=!1},d(n){n&&y(e),~a&&ln[a].d(),~m&&fn[m].d(),~E&&mn[E].d(),~_&&hn[_].d(),~V&&vn[V].d(),Pn&&Pn.d(),on=!1,r(an)}}}function yn(n){let e,t,o,i,a,l,s,c,f,u,d,m,p,g,x,$,b,B,I,M,z,D,R,_,P,L,A,q,U,V,F,G,j,W,O,Q,X,J,K,Y,Z,tn,sn,cn,fn=n[0].wgQuestion+"";function un(e){n[22](e)}let dn={};function mn(e){n[24](e)}void 0!==n[2][0]&&(dn.name=n[2][0]),c=new hn({props:dn}),H.push((()=>on(c,"name",un)));let pn={};function gn(e){n[26](e)}void 0!==n[2][1]&&(pn.name=n[2][1]),x=new hn({props:pn}),H.push((()=>on(x,"name",mn)));let xn={};function $n(e){n[28](e)}void 0!==n[2][2]&&(xn.name=n[2][2]),D=new hn({props:xn}),H.push((()=>on(D,"name",gn)));let vn={};function yn(e){n[30](e)}void 0!==n[2][3]&&(vn.name=n[2][3]),U=new hn({props:vn}),H.push((()=>on(U,"name",$n)));let wn={};return void 0!==n[2][4]&&(wn.name=n[2][4]),Q=new hn({props:wn}),H.push((()=>on(Q,"name",yn))),{c(){e=w("div"),t=w("div"),o=k(fn),i=C(),a=w("div"),l=w("div"),s=w("div"),an(c.$$.fragment),u=C(),d=w("p"),d.textContent="Hate",m=C(),p=w("div"),g=w("div"),an(x.$$.fragment),b=C(),B=w("p"),B.textContent="Dislike",I=C(),M=w("div"),z=w("div"),an(D.$$.fragment),_=C(),P=w("p"),P.textContent="Neutral",L=C(),A=w("div"),q=w("div"),an(U.$$.fragment),F=C(),G=w("p"),G.textContent="Like",j=C(),W=w("div"),O=w("div"),an(Q.$$.fragment),J=C(),K=w("p"),K.textContent="Love",Y=C(),Z=w("p"),S(t,"id","fsTxt"),S(s,"class","fsReactionIcon"),S(d,"class","fsReactionText"),S(l,"class","fsIconTextCont"),S(g,"class","fsReactionIcon"),S(B,"class","fsReactionText"),S(p,"class","fsIconTextCont"),S(z,"class","fsReactionIcon"),S(P,"class","fsReactionText"),S(M,"class","fsIconTextCont"),S(q,"class","fsReactionIcon"),S(G,"class","fsReactionText"),S(A,"class","fsIconTextCont"),S(O,"class","fsReactionIcon"),S(K,"class","fsReactionText"),S(W,"class","fsIconTextCont"),S(a,"class","fsIcons"),S(Z,"id","test"),S(e,"class","fsReactionsContainer")},m(r,f){v(r,e,f),h(e,t),h(t,o),h(e,i),h(e,a),h(a,l),h(l,s),rn(c,s,null),h(l,u),h(l,d),h(a,m),h(a,p),h(p,g),rn(x,g,null),h(p,b),h(p,B),h(a,I),h(a,M),h(M,z),rn(D,z,null),h(M,_),h(M,P),h(a,L),h(a,A),h(A,q),rn(U,q,null),h(A,F),h(A,G),h(a,j),h(a,W),h(W,O),rn(Q,O,null),h(W,J),h(W,K),h(e,Y),h(e,Z),tn=!0,sn||(cn=[T(l,"click",n[23]),T(p,"click",n[25]),T(M,"click",n[27]),T(A,"click",n[29]),T(W,"click",n[31])],sn=!0)},p(n,e){(!tn||1&e[0])&&fn!==(fn=n[0].wgQuestion+"")&&E(o,fn);const t={};!f&&4&e[0]&&(f=!0,t.name=n[2][0],N((()=>f=!1))),c.$set(t);const i={};!$&&4&e[0]&&($=!0,i.name=n[2][1],N((()=>$=!1))),x.$set(i);const a={};!R&&4&e[0]&&(R=!0,a.name=n[2][2],N((()=>R=!1))),D.$set(a);const r={};!V&&4&e[0]&&(V=!0,r.name=n[2][3],N((()=>V=!1))),U.$set(r);const l={};!X&&4&e[0]&&(X=!0,l.name=n[2][4],N((()=>X=!1))),Q.$set(l)},i(n){tn||(nn(c.$$.fragment,n),nn(x.$$.fragment,n),nn(D.$$.fragment,n),nn(U.$$.fragment,n),nn(Q.$$.fragment,n),tn=!0)},o(n){en(c.$$.fragment,n),en(x.$$.fragment,n),en(D.$$.fragment,n),en(U.$$.fragment,n),en(Q.$$.fragment,n),tn=!1},d(n){n&&y(e),ln(c),ln(x),ln(D),ln(U),ln(Q),sn=!1,r(cn)}}}function wn(n){let t,o,i;return{c(){t=w("button"),t.innerHTML='<p class="fsSendButtonCommentComponent">Send</p>',S(t,"class","fsSendButtonContCommentComp")},m(e,a){v(e,t,a),o||(i=[T(t,"click",n[51]),T(t,"click",n[52])],o=!0)},p:e,d(n){n&&y(t),o=!1,r(i)}}}function bn(n){let t;return{c(){t=w("button"),t.innerHTML='<p class="fsCommentButtonTxtDisable">Send</p>',S(t,"class","fsCommentButtonContDisable"),t.disabled=!0},m(n,e){v(n,t,e)},p:e,d(n){n&&y(t)}}}function kn(n){let e,t,o;function i(e){n[33](e)}let a={};return void 0!==n[2][0]&&(a.name=n[2][0]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][0],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Cn(n){let e,t,o;function i(e){n[32](e)}let a={};return void 0!==n[2][0]&&(a.name=n[2][0]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][0],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Tn(n){let e,t,o;function i(e){n[36](e)}let a={};return void 0!==n[2][1]&&(a.name=n[2][1]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][1],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Sn(n){let e,t,o;function i(e){n[35](e)}let a={};return void 0!==n[2][1]&&(a.name=n[2][1]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][1],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function En(n){let e,t,o;function i(e){n[39](e)}let a={};return void 0!==n[2][2]&&(a.name=n[2][2]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][2],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Bn(n){let e,t,o;function i(e){n[38](e)}let a={};return void 0!==n[2][2]&&(a.name=n[2][2]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][2],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function In(n){let e,t,o;function i(e){n[42](e)}let a={};return void 0!==n[2][3]&&(a.name=n[2][3]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][3],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Mn(n){let e,t,o;function i(e){n[41](e)}let a={};return void 0!==n[2][3]&&(a.name=n[2][3]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][3],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function zn(n){let e,t,o;function i(e){n[45](e)}let a={};return void 0!==n[2][4]&&(a.name=n[2][4]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][4],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Dn(n){let e,t,o;function i(e){n[44](e)}let a={};return void 0!==n[2][4]&&(a.name=n[2][4]),e=new hn({props:a}),H.push((()=>on(e,"name",i))),{c(){an(e.$$.fragment)},m(n,t){rn(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][4],N((()=>t=!1))),e.$set(i)},i(n){o||(nn(e.$$.fragment,n),o=!0)},o(n){en(e.$$.fragment,n),o=!1},d(n){ln(e,n)}}}function Rn(n){let t,o,i;return{c(){t=w("button"),t.innerHTML='<p class="fsSendButtonCommentComponent">Send</p>',S(t,"class","fsSendButtonContCommentComp")},m(e,a){v(e,t,a),o||(i=T(t,"click",n[48]),o=!0)},p:e,d(n){n&&y(t),o=!1,i()}}}function _n(n){let t;return{c(){t=w("button"),t.innerHTML='<p class="fsCommentButtonTxtDisable">Send</p>',S(t,"class","fsCommentButtonContDisable"),t.disabled=!0},m(n,e){v(n,t,e)},p:e,d(n){n&&y(t)}}}function Pn(n){let e,t,o,i;const a=[yn,vn,$n],r=[];function l(n,e){return 1===n[7]?0:2===n[7]?1:3===n[7]?2:-1}return~(e=l(n))&&(t=r[e]=a[e](n)),{c(){t&&t.c(),o=k("")},m(n,t){~e&&r[e].m(n,t),v(n,o,t),i=!0},p(n,i){let s=e;e=l(n),e===s?~e&&r[e].p(n,i):(t&&(Y(),en(r[s],1,1,(()=>{r[s]=null})),Z()),~e?(t=r[e],t?t.p(n,i):(t=r[e]=a[e](n),t.c()),nn(t,1),t.m(o.parentNode,o)):t=null)},i(n){i||(nn(t),i=!0)},o(n){en(t),i=!1},d(n){~e&&r[e].d(n),n&&y(o)}}}function Hn(n,e,t){let o,i,a,r,l,s,c,f,u,{feedbackData:d}=e;console.log("hiiih");let m=["hate","dislike","neutral","like","love"],p=m,g="",h="",x="",$="test",v=!0,y=0,{closeHandler:w=((n,e,t)=>{})}=e,{closeHandlerBeforeFinishing:b=((n,e,t)=>{})}=e;const k=()=>{let n=document.querySelector(".fsTextArea");""===n.value?t(8,u=!1):t(8,u=!0),t(4,h=""),t(4,h=n.value),console.log(n.value)},C=()=>{let n=document.querySelector("#fsEmailTextArea");/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(n.value)&&""!==n.value?(t(8,u=!0),t(5,x=""),t(5,x=document.getElementById("fsEmailTextArea").value)):t(8,u=!1)},T=(n,e,f)=>{let u=$;var d;$=f,console.log(f),t(7,o=n),t(3,g=String(e)),t(2,p=["unSelectedHate","unSelectedDislike","unSelectedNeutral","unSelectedLike","unSelectedLove"]),b(x,h,g),y>0&&("hate"==(d=u)?t(20,a="none"):"dislike"==d?t(19,r="none"):"neutral"==d?t(18,l="none"):"like"==d?t(17,s="none"):"love"==d&&t(15,c="none")),y++,1==e?(t(16,i=11),t(20,a="block"),t(2,p[0]=m[0],p),t(6,v=!v)):2==e?(t(2,p[1]=m[1],p),t(16,i=30),t(19,r="block"),t(6,v=!v)):3==e?(t(2,p[2]=m[2],p),t(16,i=49),t(18,l="block"),t(6,v=!v)):4==e?(t(2,p[3]=m[3],p),t(16,i=68),t(17,s="block"),t(6,v=!v)):5==e&&(t(2,p[4]=m[4],p),t(16,i=87),t(15,c="block"),t(6,v=!v))},S=n=>{clearInterval(undefined),document.querySelector(".fsTextArea").value="",t(8,u=!1),t(7,o=n)},E=()=>{console.log("444"),clearInterval(undefined),document.querySelector("#fsEmailTextArea").value=""};return n.$$set=n=>{"feedbackData"in n&&t(0,d=n.feedbackData),"closeHandler"in n&&t(1,w=n.closeHandler),"closeHandlerBeforeFinishing"in n&&t(14,b=n.closeHandlerBeforeFinishing)},n.$$.update=()=>{1&n.$$.dirty[0]&&t(21,f=d.wgAccentColor),65536&n.$$.dirty[0]&&document.documentElement.style.setProperty("--pointerMargin",i+"%"),1048576&n.$$.dirty[0]&&document.documentElement.style.setProperty("--hateDisplay",a),524288&n.$$.dirty[0]&&document.documentElement.style.setProperty("--dislikeDisplay",r),262144&n.$$.dirty[0]&&document.documentElement.style.setProperty("--neutralDisplay",l),131072&n.$$.dirty[0]&&document.documentElement.style.setProperty("--likeDisplay",s),32768&n.$$.dirty[0]&&document.documentElement.style.setProperty("--loveDisplay",c),2097152&n.$$.dirty[0]&&document.documentElement.style.setProperty("--buttonColor",f)},t(7,o=1),t(16,i=10),t(20,a="none"),t(19,r="none"),t(18,l="none"),t(17,s="none"),t(15,c="none"),t(8,u=!1),[d,w,p,g,h,x,v,o,u,k,C,T,S,E,b,c,i,s,l,r,a,f,function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},()=>T(2,1,"hate"),function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},()=>T(2,2,"dislike"),function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},()=>T(2,3,"neutral"),function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},()=>T(2,4,"like"),function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},()=>T(2,5,"love"),function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},()=>T(2,1,"hate"),function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},()=>T(2,2,"dislike"),function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},()=>T(2,3,"neutral"),function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},()=>T(2,4,"like"),function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},()=>T(2,5,"love"),()=>k(),()=>S(3),()=>C(),()=>w(x,h,g),()=>w(x,h,g),()=>E()]}xn(".fsReactionsContainer {\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 190px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsIcons {\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n margin-top: 11%;\n }\n #fsTxt {\n font-size: 17px;\n display: flex;\n text-align: center;\n margin-top: 5%;\n width: 61%;\n margin-left: 19%;\n }\n\n .fsIconTextCont {\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 22px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n\n .fsReactionText {\n font-size: 12px;\n display: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n margin-top: 0px;\n \n }\n .fsIconTextCont:hover{\n pointer-events: auto;\n cursor: pointer;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsReactionIcon:hover + .fsReactionText {\n display: block;\n opacity: 0.8;\n }\n\n .fsCommentContainer{\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 291px;\n pointer-events: auto;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsTextAreaCont{\n pointer-events: auto;\n width: 100%;\n height: 140px;\n background-color: #eaeaeb;\n margin-top: 17%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsTextArea{\n border: 0px;\n width: 85%;\n height: 120px;\n background-color: #eaeaeb;\n margin-left: 6%;\n outline: none;\n margin-top: 4%;\n resize: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsSendButtonCommentComponent{\n pointer-events: auto;\n color: #ffff;\n font-size: 12px;\n text-align: center;\n margin-top: 6px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsSendButtonContCommentComp{\n pointer-events: auto;\n background-color: var(--buttonColor);\n width: 50px;\n height: 29px;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 3px 0px;\n border-radius: 3px;\n margin-top: 13px;\n margin-right: 11px;\n cursor: pointer;\n border: 0px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n \n.fsCommentButtonContDisable{\n pointer-events: auto;\n background-color: #cccccc;\n width: 50px;\n height: 29px;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 3px 0px;\n border-radius: 3px;\n margin-top: 13px;\n margin-right: 11px;\n cursor:not-allowed;\n border: 0px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n}\n.fsCommentButtonTxtDisable{\n pointer-events: auto;\n color: black;\n font-size: 12px;\n text-align: center;\n margin-top: 6px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n}\n .fsFooter{\n pointer-events: auto;\n display: flex;\n justify-content: flex-end;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n\n .fsIcons-second{\n\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n margin-top: 6%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsPointerDiv{\n width: 0;\n height: 0;\n border-left: 3px solid transparent;\n margin-top: -8px;\n border-right: 5px solid transparent;\n border-bottom: 8px solid #eaeaeb;\n margin-left: var(--pointerMargin);\n\n\n }\n #fsHateDiv{\n display: var(--hateDisplay);\n }\n #fsDislikeDiv{\n display: var(--dislikeDisplay);\n }\n #fsNeutralDiv{\n display: var(--neutralDisplay);\n }\n #fsLikeDiv{\n display: var(--likeDisplay);\n }\n #fsLoveDiv{\n display: var(--loveDisplay);\n }\n .fsEmailContainer{\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 220px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsEmailInputCont{\n pointer-events: auto;\n pointer-events: auto;\n width: 100%;\n height: 46px;\n background-color: #eaeaeb;\n display: flex;\n /* align-items: center; */\n justify-content: center;\n margin-top: 10%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n\n }\n #fsEmailTextArea{\n pointer-events: auto;\n text-align: center;\n border: 0px;\n background-color: #eaeaeb;\n outline: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsEmailText{\n width: 80%;\n text-align: center;\n margin-left: 11%;\n margin-top: 8%;\n line-height: 1.29;\n font-size: 17px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsEmailFooter{\n pointer-events: auto;\n display: flex;\n justify-content: flex-end;\n flex-direction: row;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsSkipText{\n color: #908f8f;\n cursor: pointer;\n font-size: 13px;\n margin-top: 6%;\n margin-right: 4%;\n letter-spacing: normal;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n\n }\n #fsSkipText:hover{\n color: #666666;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }",{insertAt:"top"});class Ln extends fn{constructor(n){super(),cn(this,n,Hn,Pn,s,{feedbackData:0,closeHandler:1,closeHandlerBeforeFinishing:14},null,[-1,-1])}}function An(n){const e=n-1;return e*e*e+1}function qn(n,{delay:e=0,duration:t=400,easing:o=An,x:i=0,y:a=0,opacity:r=0}={}){const l=getComputedStyle(n),s=+l.opacity,c="none"===l.transform?"":l.transform,f=s*(1-r);return{delay:e,duration:t,easing:o,css:(n,e)=>`\n\t\t\ttransform: ${c} translate(${(1-n)*i}px, ${(1-n)*a}px);\n\t\t\topacity: ${s-f*e}`}}function Un(n){let e,t,o,i,a,r,l,s,c,f;function u(e){n[21](e)}let d={};return void 0!==n[1]&&(d.fill=n[1]),r=new mn({props:d}),H.push((()=>on(r,"fill",u))),{c(){e=w("div"),t=w("div"),o=k(n[2]),i=C(),a=w("div"),an(r.$$.fragment),S(t,"id","fsFeedbackTxt"),S(a,"id","fsMainIcon"),S(e,"class","fsWidget")},m(l,u){v(l,e,u),h(e,t),h(t,o),h(e,i),h(e,a),rn(r,a,null),s=!0,c||(f=T(e,"click",n[11]),c=!0)},p(n,e){(!s||4&e)&&E(o,n[2]);const t={};!l&&2&e&&(l=!0,t.fill=n[1],N((()=>l=!1))),r.$set(t)},i(n){s||(nn(r.$$.fragment,n),s=!0)},o(n){en(r.$$.fragment,n),s=!1},d(n){n&&y(e),ln(r),c=!1,f()}}}function Vn(n){let o,i,a,r,s,c,f,d,m;function p(e){n[22](e)}let x={closeHandler:n[8],closeHandlerBeforeFinishing:n[9]};return void 0!==n[0]&&(x.feedbackData=n[0]),r=new Ln({props:x}),H.push((()=>on(r,"feedbackData",p))),{c(){o=w("div"),i=w("div"),i.innerHTML='<p id="fsCloseIcon">X</p>',a=C(),an(r.$$.fragment),S(i,"class","fsCloseCont"),S(o,"class","fsCont")},m(e,t){v(e,o,t),h(o,i),h(o,a),rn(r,o,null),f=!0,d||(m=T(i,"click",n[12]),d=!0)},p(e,t){n=e;const o={};!s&&1&t&&(s=!0,o.feedbackData=n[0],N((()=>s=!1))),r.$set(o)},i(i){f||(nn(r.$$.fragment,i),c||V((()=>{c=function(n,o,i){let a,r,s=o(n,i),c=!1,f=0;function d(){a&&R(n,a)}function m(){const{delay:o=0,duration:i=300,easing:l=t,tick:m=e,css:p}=s||tn;p&&(a=D(n,0,1,i,o,l,p,f++)),m(0,1);const h=u()+o,x=h+i;r&&r.abort(),c=!0,V((()=>X(n,!0,"start"))),r=g((e=>{if(c){if(e>=x)return m(1,0),X(n,!0,"end"),d(),c=!1;if(e>=h){const n=l((e-h)/i);m(n,1-n)}}return c}))}let p=!1;return{start(){p||(p=!0,R(n),l(s)?(s=s(),Q().then(m)):m())},invalidate(){p=!1},end(){c&&(d(),c=!1)}}}(o,qn,{x:n[6],duration:500}),c.start()})),f=!0)},o(n){en(r.$$.fragment,n),f=!1},d(n){n&&y(o),ln(r),d=!1,m()}}}function Nn(n){let o,i,a,s,c,f,d,m,p,x=n[0].wgThanksMsg+"";return{c(){o=w("div"),i=w("div"),i.innerHTML='<p id="fsCloseIcon">X</p>',a=C(),s=w("div"),c=k(x),S(i,"class","fsCloseCont"),B(s,"width","61%"),B(s,"text-align","center"),B(s,"margin-top","7%"),B(s,"margin-left","20%"),S(o,"class","fsThanksMessageCont")},m(e,t){v(e,o,t),h(o,i),h(o,a),h(o,s),h(s,c),d=!0,m||(p=T(i,"click",n[10]),m=!0)},p(e,t){n=e,(!d||1&t)&&x!==(x=n[0].wgThanksMsg+"")&&E(c,x)},i(n){d||(f&&f.end(1),d=!0)},o(i){f=function(n,o,i){let a,s=o(n,i),c=!0;const f=K;function d(){const{delay:o=0,duration:i=300,easing:l=t,tick:d=e,css:m}=s||tn;m&&(a=D(n,1,0,i,o,l,m));const p=u()+o,h=p+i;V((()=>X(n,!1,"start"))),g((e=>{if(c){if(e>=h)return d(0,1),X(n,!1,"end"),--f.r||r(f.c),!1;if(e>=p){const n=l((e-p)/i);d(1-n,n)}}return c}))}return f.r+=1,l(s)?Q().then((()=>{s=s(),d()})):d(),{end(e){e&&s.tick&&s.tick(1,0),c&&(a&&R(n,a),c=!1)}}}(o,qn,{x:n[7],duration:300}),d=!1},d(n){n&&y(o),n&&f&&f.end(),m=!1,p()}}}function Fn(n){let e,t,o,i,a=n[4]&&Un(n),r=n[3]&&Vn(n),l=n[5]&&Nn(n);return{c(){e=w("fsContainer"),a&&a.c(),t=C(),r&&r.c(),o=C(),l&&l.c()},m(n,s){v(n,e,s),a&&a.m(e,null),h(e,t),r&&r.m(e,null),h(e,o),l&&l.m(e,null),i=!0},p(n,[i]){n[4]?a?(a.p(n,i),16&i&&nn(a,1)):(a=Un(n),a.c(),nn(a,1),a.m(e,t)):a&&(Y(),en(a,1,1,(()=>{a=null})),Z()),n[3]?r?(r.p(n,i),8&i&&nn(r,1)):(r=Vn(n),r.c(),nn(r,1),r.m(e,o)):r&&(Y(),en(r,1,1,(()=>{r=null})),Z()),n[5]?l?(l.p(n,i),32&i&&nn(l,1)):(l=Nn(n),l.c(),nn(l,1),l.m(e,null)):l&&(Y(),en(l,1,1,(()=>{l=null})),Z())},i(n){i||(nn(a),nn(r),nn(l),i=!0)},o(n){en(a),en(r),en(l),i=!1},d(n){n&&y(e),a&&a.d(),r&&r.d(),l&&l.d()}}}function Gn(n,e,t){let o,{feedback:i}=e;console.log(i);let a="",r="",l="Feedback";l="en"==i.wgLanguage?" Feedback":"ar"==i.wgLanguage?"رأي":"Rétroaction",!0===i.wgAlternateColor?(a="white",r="white"):(a="black",r="black");let s="",c="",f=0,u=0,d=0,m=0,p=!1,g=!0,h=!1,x=0,$=0;0==Number(i.wgPosition)&&(s="center",c="row-reverse",f=5,u=0,d=30,m=0,x=-100,$=20),1==Number(i.wgPosition)&&(s="center",c="row",f=0,u=5,d=0,m=30,x=100,$=-20),2==Number(i.wgPosition)&&(s="flex-end",c="row-reverse",f=5,d=30,m=0,x=-100,$=20),3==Number(i.wgPosition)&&(s="flex-end",c="row",f=0,u=5,d=0,m=30,x=100,$=-20);let v=0,y="",w="",b="";const k=(n,e,t)=>{y=n,w=e,b=Number(t);let o={email:n,comment:e,reaction:t};if(1==v){console.log("hi",o);let n=new CustomEvent("fbEvent",{bubbles:!1,detail:o});window.dispatchEvent(n),console.log(o)}},C=()=>{t(3,p=!p),t(5,h=!h)};return n.$$set=n=>{"feedback"in n&&t(0,i=n.feedback)},n.$$.update=()=>{1&n.$$.dirty&&t(20,o=i.wgAccentColor),1048576&n.$$.dirty&&document.documentElement.style.setProperty("--widgetColor",o),8192&n.$$.dirty&&document.documentElement.style.setProperty("--widgetTextColor",a),16384&n.$$.dirty&&document.documentElement.style.setProperty("--wgPositionHorizintal",s),32768&n.$$.dirty&&document.documentElement.style.setProperty("--wgPositionVertical",c),65536&n.$$.dirty&&document.documentElement.style.setProperty("--widgetLeftSideBorder",f+"px"),131072&n.$$.dirty&&document.documentElement.style.setProperty("--widgetRightSideBorder",u+"px"),262144&n.$$.dirty&&document.documentElement.style.setProperty("--widgetMarginRight",d+"px"),524288&n.$$.dirty&&document.documentElement.style.setProperty("--widgetMarginLeft",m+"px")},[i,r,l,p,g,h,x,$,(n,e,t)=>{let o={email:n,comment:e,reaction:Number(t)},i=new CustomEvent("fbEvent",{bubbles:!1,detail:o});window.dispatchEvent(i),console.log(o),C()},k,()=>{t(5,h=!h),setTimeout((function(){t(4,g=!g)}),350)},()=>{t(3,p=!p),t(4,g=!g)},()=>{v=1,0!=b&&k(y,w,b),t(3,p=!p),setTimeout((function(){t(4,g=!g)}),350)},a,s,c,f,u,d,m,o,function(n){r=n,t(1,r)},function(n){i=n,t(0,i)}]}xn("fsContainer{\n width: 100%;\n display: flex;\n flex-direction: var(--wgPositionVertical);\n position: fixed;\n top: 0; right: 0; bottom: 0; left: 0;\n\theight: 100%;\n pointer-events: none;\n align-items: var(--wgPositionHorizintal);\n padding: 0;\n z-index: 100000;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsWidget {\n pointer-events: auto;\n background-color: var(--widgetColor);\n width: 34px;\n height: 112px;\n border-top-left-radius:var(--widgetLeftSideBorder) ;\n border-bottom-left-radius: var(--widgetLeftSideBorder);\n border-top-right-radius: var(--widgetRightSideBorder) ;\n border-bottom-right-radius: var(--widgetRightSideBorder);\n box-shadow: 0.2px 0.2px 0.2px rgb(133, 130, 130);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-evenly;\n cursor: pointer;\n margin-top: 5px;\n }\n #fsMainIcon {\n width: 60%;\n margin-left: 4%;\n cursor: pointer;\n }\n #fsFeedbackTxt {\n color: var(--widgetTextColor);\n font-size: 15px;\n writing-mode: vertical-lr;\n transform: rotate(180deg);\n cursor: pointer;\n font-size-adjust: 0.40;\n }\n .fsWidget:hover {\n width: 35px;\n -webkit-box-shadow: 0px 0px 35px 2px rgba(0, 0, 0, 0.24);\n box-shadow: 0px 0px 35px 2px rgba(0, 0, 0, 0.24);\n }\n .fsCont {\n pointer-events: auto;\n width: 320px;\n height: fit-content;\n background-color: rgb(255, 255, 255);\n \tmargin-right: var(--widgetMarginRight);\n margin-left: var(--widgetMarginLeft);\n\t-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px; \n\tbox-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;\n }\n .fsThanksMessageCont{\n pointer-events: auto;\n width: 320px;\n height: 104px;\n background-color: rgb(255, 255, 255);\n \tmargin-right: var(--widgetMarginRight);\n margin-left: var(--widgetMarginLeft);\n\t-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px; \n\tbox-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;\n }\n #fsCloseIcon{\n\t font-size: 15px;\n\t color: #ffff;\n\t font-weight: 600;\n \tcursor: pointer;\n\t \n }\n .fsCloseCont{\n pointer-events: auto;\n\t background-color: #4d5167;\n\t width: 27px;\n height: 27px;\n\tborder-radius: 50%;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tmargin-top: -15px;\n margin-left: 85%;\n\tcursor: pointer;\n\t}\n\n \n \n \n\n /* @media (min-width: 640px) {\n body {\n max-width: none;\n }\n } */",{insertAt:"top"});class jn extends fn{constructor(n){super(),cn(this,n,Gn,Fn,s,{feedback:0})}}function Wn(n){new jn({target:document.body,props:{feedback:n}})}return Wn({id:1,wgStatus:1,wgName:"ask",wgDescription:"test",wgCrtDt:"2021-12-05 10:49:14",wgResponses:null,wgUpdTime:null,SiteId:98,UserId:262,wgLanguage:"en",wgPosition:"0",wgAccentColor:"#51797b",wgAlternateColor:!0,wgQuestion:"How would you rate your experience?",wgUserScreenshot:1,wgEmailReqMsg:"We may wish to follow up. Enter your email if you're happy for us to contact you.",wgEmailReqActivation:1,wgAdditionalMsg:"Heads up! This is for feedback only. Need help? Contact us via our [link to Help Center].",wgAdditionalMsgActivation:1,wgThanksMsg:"Thank you for sharing your feedback with us",wgThanksMsgActivation:1,wgDesktop:1,wgPhone:1,wgTablet:1,wgPages:[{id:0,name:"*"}],wgWidgetToUsers:0,wgPercentage:100,wgEmail:"abd@gmail.com",wgWidgetToAllPages:1,wgReactionStyle:0,wgResponseViaEmail:1}),n.feedbackCreator=Wn,Object.defineProperty(n,"__esModule",{value:!0}),n}({});
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
function n(){}const e=n=>n;function t(n,e){for(const t in e)n[t]=e[t];return n}function o(n){return n()}function i(){return Object.create(null)}function a(n){n.forEach(o)}function r(n){return"function"==typeof n}function l(n,e){return n!=n?e==e:n!==e||n&&"object"==typeof n||"function"==typeof n}function s(n){const e={};for(const t in n)"$"!==t[0]&&(e[t]=n[t]);return e}const c="undefined"!=typeof window;let f=c?()=>window.performance.now():()=>Date.now(),u=c?n=>requestAnimationFrame(n):n;const d=new Set;function m(n){d.forEach((e=>{e.c(n)||(d.delete(e),e.f())})),0!==d.size&&u(m)}function p(n){let e;return 0===d.size&&u(m),{promise:new Promise((t=>{d.add(e={c:n,f:t})})),abort(){d.delete(e)}}}function g(n,e){n.appendChild(e)}function h(n){if(!n)return document;const e=n.getRootNode?n.getRootNode():n.ownerDocument;return e&&e.host?e:n.ownerDocument}function x(n){const e=y("style");return function(n,e){g(n.head||n,e)}(h(n),e),e.sheet}function $(n,e,t){n.insertBefore(e,t||null)}function v(n){n.parentNode.removeChild(n)}function y(n){return document.createElement(n)}function w(n){return document.createElementNS("http://www.w3.org/2000/svg",n)}function b(n){return document.createTextNode(n)}function k(){return b(" ")}function C(n,e,t,o){return n.addEventListener(e,t,o),()=>n.removeEventListener(e,t,o)}function T(n,e,t){null==t?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function S(n,e){e=""+e,n.wholeText!==e&&(n.data=e)}function E(n,e,t,o){null===t?n.style.removeProperty(e):n.style.setProperty(e,t,o?"important":"")}const B=new Map;let I,M=0;function z(n,e,t,o,i,a,r,l=0){const s=16.666/o;let c="{\n";for(let n=0;n<=1;n+=s){const o=e+(t-e)*a(n);c+=100*n+`%{${r(o,1-o)}}\n`}const f=c+`100% {${r(t,1-t)}}\n}`,u=`__svelte_${function(n){let e=5381,t=n.length;for(;t--;)e=(e<<5)-e^n.charCodeAt(t);return e>>>0}(f)}_${l}`,d=h(n),{stylesheet:m,rules:p}=B.get(d)||function(n,e){const t={stylesheet:x(e),rules:{}};return B.set(n,t),t}(d,n);p[u]||(p[u]=!0,m.insertRule(`@keyframes ${u} ${f}`,m.cssRules.length));const g=n.style.animation||"";return n.style.animation=`${g?`${g}, `:""}${u} ${o}ms linear ${i}ms 1 both`,M+=1,u}function D(n,e){const t=(n.style.animation||"").split(", "),o=t.filter(e?n=>n.indexOf(e)<0:n=>-1===n.indexOf("__svelte")),i=t.length-o.length;i&&(n.style.animation=o.join(", "),M-=i,M||u((()=>{M||(B.forEach((n=>{const{stylesheet:e}=n;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);n.rules={}})),B.clear())})))}function R(n){I=n}const _=[],H=[],L=[],P=[],A=Promise.resolve();let q=!1;function U(n){L.push(n)}function V(n){P.push(n)}const N=new Set;let G,F=0;function j(){const n=I;do{for(;F<_.length;){const n=_[F];F++,R(n),W(n.$$)}for(R(null),_.length=0,F=0;H.length;)H.pop()();for(let n=0;n<L.length;n+=1){const e=L[n];N.has(e)||(N.add(e),e())}L.length=0}while(_.length);for(;P.length;)P.pop()();q=!1,N.clear(),R(n)}function W(n){if(null!==n.fragment){n.update(),a(n.before_update);const e=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,e),n.after_update.forEach(U)}}function O(){return G||(G=Promise.resolve(),G.then((()=>{G=null}))),G}function Q(n,e,t){n.dispatchEvent(function(n,e,t=!1){const o=document.createEvent("CustomEvent");return o.initCustomEvent(n,t,!1,e),o}(`${e?"intro":"outro"}${t}`))}const X=new Set;let J;function K(){J={r:0,c:[],p:J}}function Y(){J.r||a(J.c),J=J.p}function Z(n,e){n&&n.i&&(X.delete(n),n.i(e))}function nn(n,e,t,o){if(n&&n.o){if(X.has(n))return;X.add(n),J.c.push((()=>{X.delete(n),o&&(t&&n.d(1),o())})),n.o(e)}}const en={duration:0};function tn(n,e,t){const o=n.$$.props[e];void 0!==o&&(n.$$.bound[o]=t,t(n.$$.ctx[o]))}function on(n){n&&n.c()}function an(n,e,t,i){const{fragment:l,on_mount:s,on_destroy:c,after_update:f}=n.$$;l&&l.m(e,t),i||U((()=>{const e=s.map(o).filter(r);c?c.push(...e):a(e),n.$$.on_mount=[]})),f.forEach(U)}function rn(n,e){const t=n.$$;null!==t.fragment&&(a(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ln(n,e){-1===n.$$.dirty[0]&&(_.push(n),q||(q=!0,A.then(j)),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<<e%31}function sn(e,t,o,r,l,s,c,f=[-1]){const u=I;R(e);const d=e.$$={fragment:null,ctx:null,props:s,update:n,not_equal:l,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:i(),dirty:f,skip_bound:!1,root:t.target||u.$$.root};c&&c(d.root);let m=!1;if(d.ctx=o?o(e,t.props||{},((n,t,...o)=>{const i=o.length?o[0]:t;return d.ctx&&l(d.ctx[n],d.ctx[n]=i)&&(!d.skip_bound&&d.bound[n]&&d.bound[n](i),m&&ln(e,n)),t})):[],d.update(),m=!0,a(d.before_update),d.fragment=!!r&&r(d.ctx),t.target){if(t.hydrate){const n=function(n){return Array.from(n.childNodes)}(t.target);d.fragment&&d.fragment.l(n),n.forEach(v)}else d.fragment&&d.fragment.c();t.intro&&Z(e.$$.fragment),an(e,t.target,t.anchor,t.customElement),j()}R(u)}class cn{$destroy(){rn(this,1),this.$destroy=n}$on(n,e){const t=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return t.push(e),()=>{const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}$set(n){var e;this.$$set&&(e=n,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}function fn(e){let t,o,i,a,r,l,s,c,f,u,d,m,p,h,x,y,b,k,C;return{c(){t=w("svg"),o=w("g"),i=w("g"),a=w("path"),r=w("g"),l=w("g"),s=w("g"),c=w("g"),f=w("g"),u=w("g"),d=w("g"),m=w("g"),p=w("g"),h=w("g"),x=w("g"),y=w("g"),b=w("g"),k=w("g"),C=w("g"),T(a,"d","M428,41.534H30c-16.569,0-30,13.431-30,30v252c0,16.568,13.432,30,30,30h132.1l43.942,52.243 c5.7,6.777,14.103,10.69,22.959,10.69c8.856,0,17.258-3.912,22.959-10.69l43.942-52.243H428c16.568,0,30-13.432,30-30v-252 C458,54.965,444.568,41.534,428,41.534z M323.916,281.534H82.854c-8.284,0-15-6.716-15-15s6.716-15,15-15h241.062 c8.284,0,15,6.716,15,15S332.2,281.534,323.916,281.534z M67.854,198.755c0-8.284,6.716-15,15-15h185.103c8.284,0,15,6.716,15,15 s-6.716,15-15,15H82.854C74.57,213.755,67.854,207.039,67.854,198.755z M375.146,145.974H82.854c-8.284,0-15-6.716-15-15 s6.716-15,15-15h292.291c8.284,0,15,6.716,15,15C390.146,139.258,383.43,145.974,375.146,145.974z"),T(t,"fill",e[0]),T(t,"version","1.1"),T(t,"id","Layer_1"),T(t,"xmlns","http://www.w3.org/2000/svg"),T(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),T(t,"x","0px"),T(t,"y","0px"),T(t,"viewBox","0 0 458 458"),E(t,"enable-background","new 0 0 458 458"),T(t,"xml:space","preserve")},m(n,e){$(n,t,e),g(t,o),g(o,i),g(i,a),g(t,r),g(t,l),g(t,s),g(t,c),g(t,f),g(t,u),g(t,d),g(t,m),g(t,p),g(t,h),g(t,x),g(t,y),g(t,b),g(t,k),g(t,C)},p(n,[e]){1&e&&T(t,"fill",n[0])},i:n,o:n,d(n){n&&v(t)}}}function un(n,e,t){let{fill:o=""}=e;return n.$$set=n=>{"fill"in n&&t(0,o=n.fill)},[o]}class dn extends cn{constructor(n){super(),sn(this,n,un,fn,l,{fill:0})}}function mn(e){let t,o,i=e[3].svg+"";return{c(){t=w("svg"),T(t,"class",o=e[4].class),T(t,"focusable",e[0]),T(t,"width",e[1]),T(t,"height",e[2]),T(t,"viewBox","0 0 "+e[3].box+" "+(e[3].box-1))},m(n,e){$(n,t,e),t.innerHTML=i},p(n,[e]){16&e&&o!==(o=n[4].class)&&T(t,"class",o),1&e&&T(t,"focusable",n[0]),2&e&&T(t,"width",n[1]),4&e&&T(t,"height",n[2])},i:n,o:n,d(n){n&&v(t)}}}function pn(n,e,o){let{name:i}=e,{focusable:a=!1}=e,{width:r="40px"}=e,{height:l="40px"}=e,c=[{box:50,name:"love",svg:'\n <g transform="translate(.48)" fill-rule="nonzero" fill="none">\n <rect fill="#EF7C54" width="50" height="50" rx="13.28"/>\n <circle fill="#3B3735" cx="7.241" cy="27.929" r="3.107"/>\n <circle fill="#3B3735" cx="42.759" cy="27.929" r="3.107"/>\n <path d="M31.236 28.764a2.245 2.245 0 0 1 2.002 3.246 9.086 9.086 0 0 1-8.234 4.779 9.104 9.104 0 0 1-8.242-4.779 2.245 2.245 0 0 1 2.002-3.246h12.472zM12.185 22.089a11.515 11.515 0 0 1-.766-.696c-1.036-1.062-2.29-2.803-1.741-4.352.392-1.21 1.81-1.567 2.95-1.488a4.743 4.743 0 0 1 1.793.487c.233.107.46.226.68.357a.33.33 0 0 0 .504-.261 3.046 3.046 0 0 1 1.358-2.611 2.385 2.385 0 0 1 2.906.635c1.21 1.314 1.088 3.133.584 4.726a20.017 20.017 0 0 1-1.34 3.255 8.12 8.12 0 0 1-.975 1.688c-.749.87-1.846.636-2.777.218a13.838 13.838 0 0 1-3.176-1.958zM37.807 22.089c.267-.218.523-.45.766-.696 1.035-1.062 2.289-2.803 1.74-4.352-.391-1.21-1.819-1.567-2.959-1.488a4.787 4.787 0 0 0-1.793.487 7.424 7.424 0 0 0-.678.357.33.33 0 0 1-.505-.261 3.046 3.046 0 0 0-1.358-2.611 2.385 2.385 0 0 0-2.907.635c-1.21 1.314-1.088 3.133-.583 4.726.35 1.122.799 2.211 1.34 3.255.256.6.584 1.167.975 1.688.749.87 1.854.636 2.776.218a13.838 13.838 0 0 0 3.186-1.958z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedLove",svg:'\n <g transform="translate(.48)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.28"/>\n <circle fill="#3B3735" cx="7.241" cy="27.929" r="3.107"/>\n <circle fill="#3B3735" cx="42.759" cy="27.929" r="3.107"/>\n <path d="M31.236 28.764a2.245 2.245 0 0 1 2.002 3.246 9.086 9.086 0 0 1-8.234 4.779 9.104 9.104 0 0 1-8.242-4.779 2.245 2.245 0 0 1 2.002-3.246h12.472zM12.185 22.089a11.515 11.515 0 0 1-.766-.696c-1.036-1.062-2.29-2.803-1.741-4.352.392-1.21 1.81-1.567 2.95-1.488a4.743 4.743 0 0 1 1.793.487c.233.107.46.226.68.357a.33.33 0 0 0 .504-.261 3.046 3.046 0 0 1 1.358-2.611 2.385 2.385 0 0 1 2.906.635c1.21 1.314 1.088 3.133.584 4.726a20.017 20.017 0 0 1-1.34 3.255 8.12 8.12 0 0 1-.975 1.688c-.749.87-1.846.636-2.777.218a13.838 13.838 0 0 1-3.176-1.958zM37.807 22.089c.267-.218.523-.45.766-.696 1.035-1.062 2.289-2.803 1.74-4.352-.391-1.21-1.819-1.567-2.959-1.488a4.787 4.787 0 0 0-1.793.487 7.424 7.424 0 0 0-.678.357.33.33 0 0 1-.505-.261 3.046 3.046 0 0 0-1.358-2.611 2.385 2.385 0 0 0-2.907.635c-1.21 1.314-1.088 3.133-.583 4.726.35 1.122.799 2.211 1.34 3.255.256.6.584 1.167.975 1.688.749.87 1.854.636 2.776.218a13.838 13.838 0 0 0 3.186-1.958z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"like",svg:'\n <g transform="translate(.86)" fill-rule="nonzero" fill="none">\n <rect fill="#FDC537" width="50" height="50" rx="13.12"/>\n <ellipse fill="#3B3735" cx="14.156" cy="19.803" rx="2.167" ry="3.656"/>\n <ellipse fill="#3B3735" cx="35.844" cy="19.803" rx="2.167" ry="3.656"/>\n <path d="M32.444 28.1a2.643 2.643 0 0 1 2.37 3.824 10.738 10.738 0 0 1-9.69 5.629 10.738 10.738 0 0 1-9.69-5.63 2.643 2.643 0 0 1 2.36-3.822h14.65z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedLike",svg:'\n <g transform="translate(.86)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.12"/>\n <ellipse fill="#3B3735" cx="14.156" cy="19.803" rx="2.167" ry="3.656"/>\n <ellipse fill="#3B3735" cx="35.844" cy="19.803" rx="2.167" ry="3.656"/>\n <path d="M32.444 28.1a2.643 2.643 0 0 1 2.37 3.824 10.738 10.738 0 0 1-9.69 5.629 10.738 10.738 0 0 1-9.69-5.63 2.643 2.643 0 0 1 2.36-3.822h14.65z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"neutral",svg:'\n <g transform="translate(.24)" fill-rule="nonzero" fill="gray">\n <rect fill="#F59F45" width="50" height="50" rx="12.63"/>\n <circle fill="#3B3735" cx="15.169" cy="21.459" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="21.459" r="2.81"/>\n <path d="M40.847 31.351H9.135a.67.67 0 1 1 0-1.33h31.712a.67.67 0 1 1 0 1.33z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedNeutral",svg:'\n <g transform="translate(.24)" fill-rule="nonzero" fill="gray">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="12.63"/>\n <circle fill="#3B3735" cx="15.169" cy="21.459" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="21.459" r="2.81"/>\n <path d="M40.847 31.351H9.135a.67.67 0 1 1 0-1.33h31.712a.67.67 0 1 1 0 1.33z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"dislike",svg:'\n <g transform="translate(.62)" fill-rule="nonzero" fill="none">\n <rect fill="#FEDCAB" width="50" height="50" rx="13.12"/>\n <path d="M33.333 34.743a1.762 1.762 0 0 0 1.718-2.211c-1.119-4.158-5.285-7.241-10.324-7.241s-9.206 3.083-10.324 7.24a1.762 1.762 0 0 0 1.718 2.212l6.536-.881a15.178 15.178 0 0 1 3.946 0l6.73.88z" fill="#3B3735"/>\n <circle fill="#3B3735" cx="15.169" cy="18.076" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="18.076" r="2.81"/>\n </g>'},{box:50,name:"unSelectedDislike",svg:'\n <g transform="translate(.62)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.12"/>\n <path d="M33.333 34.743a1.762 1.762 0 0 0 1.718-2.211c-1.119-4.158-5.285-7.241-10.324-7.241s-9.206 3.083-10.324 7.24a1.762 1.762 0 0 0 1.718 2.212l6.536-.881a15.178 15.178 0 0 1 3.946 0l6.73.88z" fill="#3B3735"/>\n <circle fill="#3B3735" cx="15.169" cy="18.076" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="18.076" r="2.81"/>\n </g>'},{box:50,name:"hate",svg:'\n <g fill-rule="nonzero" fill="none">\n <rect fill="#FEDCAB" width="50" height="50" rx="13.44"/>\n <path d="M20.218 23.865a1.144 1.144 0 0 1-.86-.336l-6.114-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.809 1.96h.043z" fill="#3B3735"/>\n <path d="M14.104 23.865a1.152 1.152 0 0 1-.817-1.961l6.114-6.115a1.152 1.152 0 0 1 1.626 1.634L14.92 23.53a1.161 1.161 0 0 1-.817.336zM36.352 23.865c-.303 0-.594-.121-.808-.336l-6.115-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.817 1.96z" fill="#3B3735"/>\n <path d="M30.246 23.865a1.152 1.152 0 0 1-.86-1.961l6.115-6.115a1.152 1.152 0 0 1 1.625 1.634L31.02 23.53a1.161 1.161 0 0 1-.774.336zM35.604 34.546a6.02 6.02 0 0 1-3.389-1.376c-1.083-.783-1.96-1.075-2.339-.783-.157.15-.296.317-.413.5-.221.34-.484.652-.782.928-1.29 1.092-3.07.791-4.3.146a11.937 11.937 0 0 1-1.299-.86 8.11 8.11 0 0 0-1.35-.808 3.44 3.44 0 0 0-3.363.447l-.387.335c-.417.416-.906.75-1.444.99-1.815.722-3.337-.38-4.558-1.256a6.416 6.416 0 0 0-1.952-1.127 2.116 2.116 0 0 0-2.383 1.307 1.152 1.152 0 0 1-2.193-.696 4.386 4.386 0 0 1 5.16-2.838 8.505 8.505 0 0 1 2.71 1.505c1.169.86 1.78 1.212 2.356.989.281-.146.537-.338.756-.568l.508-.43a5.745 5.745 0 0 1 5.676-.757c.607.285 1.183.631 1.72 1.032.345.245.704.469 1.075.671.585.31 1.367.456 1.72.138a2.58 2.58 0 0 0 .395-.49 4.3 4.3 0 0 1 .86-1.015c.86-.68 2.512-1.11 5.092.757 1.109.808 1.978 1.109 2.373.86.153-.135.289-.288.404-.456.112-.138.215-.267.336-.396a4.807 4.807 0 0 1 7.869 1.72 1.152 1.152 0 1 1-2.202.68 2.52 2.52 0 0 0-3.956-.86l-.232.283c-.242.343-.532.65-.86.912a2.83 2.83 0 0 1-1.608.516z" fill="#3B3735"/>\n </g>'},{box:50,name:"unSelectedHate",svg:'\n <g fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.44"/>\n <path d="M20.218 23.865a1.144 1.144 0 0 1-.86-.336l-6.114-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.809 1.96h.043z" fill="#3B3735"/>\n <path d="M14.104 23.865a1.152 1.152 0 0 1-.817-1.961l6.114-6.115a1.152 1.152 0 0 1 1.626 1.634L14.92 23.53a1.161 1.161 0 0 1-.817.336zM36.352 23.865c-.303 0-.594-.121-.808-.336l-6.115-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.817 1.96z" fill="#3B3735"/>\n <path d="M30.246 23.865a1.152 1.152 0 0 1-.86-1.961l6.115-6.115a1.152 1.152 0 0 1 1.625 1.634L31.02 23.53a1.161 1.161 0 0 1-.774.336zM35.604 34.546a6.02 6.02 0 0 1-3.389-1.376c-1.083-.783-1.96-1.075-2.339-.783-.157.15-.296.317-.413.5-.221.34-.484.652-.782.928-1.29 1.092-3.07.791-4.3.146a11.937 11.937 0 0 1-1.299-.86 8.11 8.11 0 0 0-1.35-.808 3.44 3.44 0 0 0-3.363.447l-.387.335c-.417.416-.906.75-1.444.99-1.815.722-3.337-.38-4.558-1.256a6.416 6.416 0 0 0-1.952-1.127 2.116 2.116 0 0 0-2.383 1.307 1.152 1.152 0 0 1-2.193-.696 4.386 4.386 0 0 1 5.16-2.838 8.505 8.505 0 0 1 2.71 1.505c1.169.86 1.78 1.212 2.356.989.281-.146.537-.338.756-.568l.508-.43a5.745 5.745 0 0 1 5.676-.757c.607.285 1.183.631 1.72 1.032.345.245.704.469 1.075.671.585.31 1.367.456 1.72.138a2.58 2.58 0 0 0 .395-.49 4.3 4.3 0 0 1 .86-1.015c.86-.68 2.512-1.11 5.092.757 1.109.808 1.978 1.109 2.373.86.153-.135.289-.288.404-.456.112-.138.215-.267.336-.396a4.807 4.807 0 0 1 7.869 1.72 1.152 1.152 0 1 1-2.202.68 2.52 2.52 0 0 0-3.956-.86l-.232.283c-.242.343-.532.65-.86.912a2.83 2.83 0 0 1-1.608.516z" fill="#3B3735"/>\n </g>'}].find((n=>n.name===i));return n.$$set=n=>{o(4,e=t(t({},e),s(n))),"name"in n&&o(5,i=n.name),"focusable"in n&&o(0,a=n.focusable),"width"in n&&o(1,r=n.width),"height"in n&&o(2,l=n.height)},e=s(e),[a,r,l,c,e,i]}class gn extends cn{constructor(n){super(),sn(this,n,pn,mn,l,{name:5,focusable:0,width:1,height:2})}}function hn(n,e){void 0===e&&(e={});var t=e.insertAt;if(n&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n))}}function xn(e){let t,o,i,r,l,s,c,f,u,d,m,p,h=e[0].wgEmailReqMsg+"";function x(n,e){return 0==n[8]?wn:1==n[8]?yn:void 0}let w=x(e),E=w&&w(e);return{c(){t=y("div"),o=y("div"),i=b(h),r=k(),l=y("div"),s=y("input"),c=k(),f=y("div"),u=y("p"),u.innerHTML="<u>Skip</u>",d=k(),E&&E.c(),T(o,"id","fsEmailText"),T(s,"type","text"),T(s,"id","fsEmailTextArea"),T(s,"placeholder","email@domain.com"),T(l,"id","fsEmailInputCont"),T(u,"id","fsSkipText"),T(f,"class","fsEmailFooter"),T(t,"class","fsEmailContainer")},m(n,a){$(n,t,a),g(t,o),g(o,i),g(t,r),g(t,l),g(l,s),g(t,c),g(t,f),g(f,u),g(f,d),E&&E.m(f,null),m||(p=[C(s,"keyup",e[49]),C(u,"click",e[50])],m=!0)},p(n,e){1&e[0]&&h!==(h=n[0].wgEmailReqMsg+"")&&S(i,h),w===(w=x(n))&&E?E.p(n,e):(E&&E.d(1),E=w&&w(n),E&&(E.c(),E.m(f,null)))},i:n,o:n,d(n){n&&v(t),E&&E.d(),m=!1,a(p)}}}function $n(n){let e,t,o,i,r,l,s,c,f,u,d,m,p,h,x,w,b,S,E,B,I,M,z,D,R,_,H,L,P,A,q,U,V,N,G,F,j,W,O,Q,X,J,en,tn,on,an;const rn=[kn,bn],ln=[];function sn(n,e){return n[6]?0:0==n[6]?1:-1}~(r=sn(n))&&(l=ln[r]=rn[r](n));const cn=[Tn,Cn],fn=[];function un(n,e){return n[6]?0:0==n[6]?1:-1}~(m=un(n))&&(p=fn[m]=cn[m](n));const dn=[En,Sn],mn=[];function pn(n,e){return n[6]?0:0==n[6]?1:-1}~(E=pn(n))&&(B=mn[E]=dn[E](n));const gn=[In,Bn],hn=[];function xn(n,e){return n[6]?0:0==n[6]?1:-1}~(_=xn(n))&&(H=hn[_]=gn[_](n));const $n=[zn,Mn],vn=[];function yn(n,e){return n[6]?0:0==n[6]?1:-1}function wn(n,e){return 0==n[8]?Rn:1==n[8]?Dn:void 0}~(V=yn(n))&&(N=vn[V]=$n[V](n));let _n=wn(n),Hn=_n&&_n(n);return{c(){e=y("div"),t=y("div"),o=y("div"),i=y("div"),l&&l.c(),s=k(),c=y("p"),c.textContent="Hate",f=k(),u=y("div"),d=y("div"),p&&p.c(),h=k(),x=y("p"),x.textContent="Dislike",w=k(),b=y("div"),S=y("div"),B&&B.c(),I=k(),M=y("p"),M.textContent="Neutral",z=k(),D=y("div"),R=y("div"),H&&H.c(),L=k(),P=y("p"),P.textContent="Like",A=k(),q=y("div"),U=y("div"),N&&N.c(),G=k(),F=y("p"),F.textContent="Love",j=k(),W=y("div"),O=y("div"),Q=k(),X=y("textarea"),J=k(),en=y("div"),Hn&&Hn.c(),T(i,"class","fsReactionIcon"),T(c,"class","fsReactionText"),T(c,"id","fsHateDiv"),T(o,"class","fsIconTextCont"),T(d,"class","fsReactionIcon"),T(x,"class","fsReactionText"),T(x,"id","fsDislikeDiv"),T(u,"class","fsIconTextCont"),T(S,"class","fsReactionIcon"),T(M,"class","fsReactionText"),T(M,"id","fsNeutralDiv"),T(b,"class","fsIconTextCont"),T(R,"class","fsReactionIcon"),T(P,"class","fsReactionText"),T(P,"id","fsLikeDiv"),T(D,"class","fsIconTextCont"),T(U,"class","fsReactionIcon"),T(F,"class","fsReactionText"),T(F,"id","fsLoveDiv"),T(q,"class","fsIconTextCont"),T(t,"class","fsIcons-second"),T(O,"class","fsPointerDiv"),T(O,"id","fsPointer"),T(X,"class","fsTextArea"),T(X,"placeholder","Tell us your experience..."),T(W,"class","fsTextAreaCont"),T(en,"class","fsFooter"),T(e,"class","fsCommentContainer")},m(a,l){$(a,e,l),g(e,t),g(t,o),g(o,i),~r&&ln[r].m(i,null),g(o,s),g(o,c),g(t,f),g(t,u),g(u,d),~m&&fn[m].m(d,null),g(u,h),g(u,x),g(t,w),g(t,b),g(b,S),~E&&mn[E].m(S,null),g(b,I),g(b,M),g(t,z),g(t,D),g(D,R),~_&&hn[_].m(R,null),g(D,L),g(D,P),g(t,A),g(t,q),g(q,U),~V&&vn[V].m(U,null),g(q,G),g(q,F),g(e,j),g(e,W),g(W,O),g(W,Q),g(W,X),g(e,J),g(e,en),Hn&&Hn.m(en,null),tn=!0,on||(an=[C(o,"click",n[34]),C(u,"click",n[37]),C(b,"click",n[40]),C(D,"click",n[43]),C(U,"click",n[46]),C(X,"keyup",n[47])],on=!0)},p(n,e){let t=r;r=sn(n),r===t?~r&&ln[r].p(n,e):(l&&(K(),nn(ln[t],1,1,(()=>{ln[t]=null})),Y()),~r?(l=ln[r],l?l.p(n,e):(l=ln[r]=rn[r](n),l.c()),Z(l,1),l.m(i,null)):l=null);let o=m;m=un(n),m===o?~m&&fn[m].p(n,e):(p&&(K(),nn(fn[o],1,1,(()=>{fn[o]=null})),Y()),~m?(p=fn[m],p?p.p(n,e):(p=fn[m]=cn[m](n),p.c()),Z(p,1),p.m(d,null)):p=null);let a=E;E=pn(n),E===a?~E&&mn[E].p(n,e):(B&&(K(),nn(mn[a],1,1,(()=>{mn[a]=null})),Y()),~E?(B=mn[E],B?B.p(n,e):(B=mn[E]=dn[E](n),B.c()),Z(B,1),B.m(S,null)):B=null);let s=_;_=xn(n),_===s?~_&&hn[_].p(n,e):(H&&(K(),nn(hn[s],1,1,(()=>{hn[s]=null})),Y()),~_?(H=hn[_],H?H.p(n,e):(H=hn[_]=gn[_](n),H.c()),Z(H,1),H.m(R,null)):H=null);let c=V;V=yn(n),V===c?~V&&vn[V].p(n,e):(N&&(K(),nn(vn[c],1,1,(()=>{vn[c]=null})),Y()),~V?(N=vn[V],N?N.p(n,e):(N=vn[V]=$n[V](n),N.c()),Z(N,1),N.m(U,null)):N=null),_n===(_n=wn(n))&&Hn?Hn.p(n,e):(Hn&&Hn.d(1),Hn=_n&&_n(n),Hn&&(Hn.c(),Hn.m(en,null)))},i(n){tn||(Z(l),Z(p),Z(B),Z(H),Z(N),tn=!0)},o(n){nn(l),nn(p),nn(B),nn(H),nn(N),tn=!1},d(n){n&&v(e),~r&&ln[r].d(),~m&&fn[m].d(),~E&&mn[E].d(),~_&&hn[_].d(),~V&&vn[V].d(),Hn&&Hn.d(),on=!1,a(an)}}}function vn(n){let e,t,o,i,r,l,s,c,f,u,d,m,p,h,x,w,E,B,I,M,z,D,R,_,L,P,A,q,U,N,G,F,j,W,O,Q,X,J,K,Y,en,ln,sn,cn,fn=n[0].wgQuestion+"";function un(e){n[22](e)}let dn={};function mn(e){n[24](e)}void 0!==n[2][0]&&(dn.name=n[2][0]),c=new gn({props:dn}),H.push((()=>tn(c,"name",un)));let pn={};function hn(e){n[26](e)}void 0!==n[2][1]&&(pn.name=n[2][1]),x=new gn({props:pn}),H.push((()=>tn(x,"name",mn)));let xn={};function $n(e){n[28](e)}void 0!==n[2][2]&&(xn.name=n[2][2]),D=new gn({props:xn}),H.push((()=>tn(D,"name",hn)));let vn={};function yn(e){n[30](e)}void 0!==n[2][3]&&(vn.name=n[2][3]),U=new gn({props:vn}),H.push((()=>tn(U,"name",$n)));let wn={};return void 0!==n[2][4]&&(wn.name=n[2][4]),Q=new gn({props:wn}),H.push((()=>tn(Q,"name",yn))),{c(){e=y("div"),t=y("div"),o=b(fn),i=k(),r=y("div"),l=y("div"),s=y("div"),on(c.$$.fragment),u=k(),d=y("p"),d.textContent="Hate",m=k(),p=y("div"),h=y("div"),on(x.$$.fragment),E=k(),B=y("p"),B.textContent="Dislike",I=k(),M=y("div"),z=y("div"),on(D.$$.fragment),_=k(),L=y("p"),L.textContent="Neutral",P=k(),A=y("div"),q=y("div"),on(U.$$.fragment),G=k(),F=y("p"),F.textContent="Like",j=k(),W=y("div"),O=y("div"),on(Q.$$.fragment),J=k(),K=y("p"),K.textContent="Love",Y=k(),en=y("p"),T(t,"id","fsTxt"),T(s,"class","fsReactionIcon"),T(d,"class","fsReactionText"),T(l,"class","fsIconTextCont"),T(h,"class","fsReactionIcon"),T(B,"class","fsReactionText"),T(p,"class","fsIconTextCont"),T(z,"class","fsReactionIcon"),T(L,"class","fsReactionText"),T(M,"class","fsIconTextCont"),T(q,"class","fsReactionIcon"),T(F,"class","fsReactionText"),T(A,"class","fsIconTextCont"),T(O,"class","fsReactionIcon"),T(K,"class","fsReactionText"),T(W,"class","fsIconTextCont"),T(r,"class","fsIcons"),T(en,"id","test"),T(e,"class","fsReactionsContainer")},m(a,f){$(a,e,f),g(e,t),g(t,o),g(e,i),g(e,r),g(r,l),g(l,s),an(c,s,null),g(l,u),g(l,d),g(r,m),g(r,p),g(p,h),an(x,h,null),g(p,E),g(p,B),g(r,I),g(r,M),g(M,z),an(D,z,null),g(M,_),g(M,L),g(r,P),g(r,A),g(A,q),an(U,q,null),g(A,G),g(A,F),g(r,j),g(r,W),g(W,O),an(Q,O,null),g(W,J),g(W,K),g(e,Y),g(e,en),ln=!0,sn||(cn=[C(l,"click",n[23]),C(p,"click",n[25]),C(M,"click",n[27]),C(A,"click",n[29]),C(W,"click",n[31])],sn=!0)},p(n,e){(!ln||1&e[0])&&fn!==(fn=n[0].wgQuestion+"")&&S(o,fn);const t={};!f&&4&e[0]&&(f=!0,t.name=n[2][0],V((()=>f=!1))),c.$set(t);const i={};!w&&4&e[0]&&(w=!0,i.name=n[2][1],V((()=>w=!1))),x.$set(i);const a={};!R&&4&e[0]&&(R=!0,a.name=n[2][2],V((()=>R=!1))),D.$set(a);const r={};!N&&4&e[0]&&(N=!0,r.name=n[2][3],V((()=>N=!1))),U.$set(r);const l={};!X&&4&e[0]&&(X=!0,l.name=n[2][4],V((()=>X=!1))),Q.$set(l)},i(n){ln||(Z(c.$$.fragment,n),Z(x.$$.fragment,n),Z(D.$$.fragment,n),Z(U.$$.fragment,n),Z(Q.$$.fragment,n),ln=!0)},o(n){nn(c.$$.fragment,n),nn(x.$$.fragment,n),nn(D.$$.fragment,n),nn(U.$$.fragment,n),nn(Q.$$.fragment,n),ln=!1},d(n){n&&v(e),rn(c),rn(x),rn(D),rn(U),rn(Q),sn=!1,a(cn)}}}function yn(e){let t,o,i;return{c(){t=y("button"),t.innerHTML='<p class="fsSendButtonCommentComponent">Send</p>',T(t,"class","fsSendButtonContCommentComp")},m(n,a){$(n,t,a),o||(i=[C(t,"click",e[51]),C(t,"click",e[52])],o=!0)},p:n,d(n){n&&v(t),o=!1,a(i)}}}function wn(e){let t;return{c(){t=y("button"),t.innerHTML='<p class="fsCommentButtonTxtDisable">Send</p>',T(t,"class","fsCommentButtonContDisable"),t.disabled=!0},m(n,e){$(n,t,e)},p:n,d(n){n&&v(t)}}}function bn(n){let e,t,o;function i(e){n[33](e)}let a={};return void 0!==n[2][0]&&(a.name=n[2][0]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][0],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function kn(n){let e,t,o;function i(e){n[32](e)}let a={};return void 0!==n[2][0]&&(a.name=n[2][0]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][0],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Cn(n){let e,t,o;function i(e){n[36](e)}let a={};return void 0!==n[2][1]&&(a.name=n[2][1]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][1],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Tn(n){let e,t,o;function i(e){n[35](e)}let a={};return void 0!==n[2][1]&&(a.name=n[2][1]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][1],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Sn(n){let e,t,o;function i(e){n[39](e)}let a={};return void 0!==n[2][2]&&(a.name=n[2][2]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][2],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function En(n){let e,t,o;function i(e){n[38](e)}let a={};return void 0!==n[2][2]&&(a.name=n[2][2]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][2],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Bn(n){let e,t,o;function i(e){n[42](e)}let a={};return void 0!==n[2][3]&&(a.name=n[2][3]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][3],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function In(n){let e,t,o;function i(e){n[41](e)}let a={};return void 0!==n[2][3]&&(a.name=n[2][3]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][3],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Mn(n){let e,t,o;function i(e){n[45](e)}let a={};return void 0!==n[2][4]&&(a.name=n[2][4]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][4],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function zn(n){let e,t,o;function i(e){n[44](e)}let a={};return void 0!==n[2][4]&&(a.name=n[2][4]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][4],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Dn(e){let t,o,i;return{c(){t=y("button"),t.innerHTML='<p class="fsSendButtonCommentComponent">Send</p>',T(t,"class","fsSendButtonContCommentComp")},m(n,a){$(n,t,a),o||(i=C(t,"click",e[48]),o=!0)},p:n,d(n){n&&v(t),o=!1,i()}}}function Rn(e){let t;return{c(){t=y("button"),t.innerHTML='<p class="fsCommentButtonTxtDisable">Send</p>',T(t,"class","fsCommentButtonContDisable"),t.disabled=!0},m(n,e){$(n,t,e)},p:n,d(n){n&&v(t)}}}function _n(n){let e,t,o,i;const a=[vn,$n,xn],r=[];function l(n,e){return 1===n[7]?0:2===n[7]?1:3===n[7]?2:-1}return~(e=l(n))&&(t=r[e]=a[e](n)),{c(){t&&t.c(),o=b("")},m(n,t){~e&&r[e].m(n,t),$(n,o,t),i=!0},p(n,i){let s=e;e=l(n),e===s?~e&&r[e].p(n,i):(t&&(K(),nn(r[s],1,1,(()=>{r[s]=null})),Y()),~e?(t=r[e],t?t.p(n,i):(t=r[e]=a[e](n),t.c()),Z(t,1),t.m(o.parentNode,o)):t=null)},i(n){i||(Z(t),i=!0)},o(n){nn(t),i=!1},d(n){~e&&r[e].d(n),n&&v(o)}}}function Hn(n,e,t){let o,i,a,r,l,s,c,f,u,{feedbackData:d}=e;console.log("hiiih");let m=["hate","dislike","neutral","like","love"],p=m,g="",h="",x="",$="test",v=!0,y=0,{closeHandler:w=((n,e,t)=>{})}=e,{closeHandlerBeforeFinishing:b=((n,e,t)=>{})}=e;const k=()=>{let n=document.querySelector(".fsTextArea");""===n.value?t(8,u=!1):t(8,u=!0),t(4,h=""),t(4,h=n.value),console.log(n.value)},C=()=>{let n=document.querySelector("#fsEmailTextArea");/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(n.value)&&""!==n.value?(t(8,u=!0),t(5,x=""),t(5,x=document.getElementById("fsEmailTextArea").value)):t(8,u=!1)},T=(n,e,f)=>{let u=$;var d;$=f,console.log(f),t(7,o=n),t(3,g=String(e)),t(2,p=["unSelectedHate","unSelectedDislike","unSelectedNeutral","unSelectedLike","unSelectedLove"]),b(x,h,g),y>0&&("hate"==(d=u)?t(20,a="none"):"dislike"==d?t(19,r="none"):"neutral"==d?t(18,l="none"):"like"==d?t(17,s="none"):"love"==d&&t(15,c="none")),y++,1==e?(t(16,i=11),t(20,a="block"),t(2,p[0]=m[0],p),t(6,v=!v)):2==e?(t(2,p[1]=m[1],p),t(16,i=30),t(19,r="block"),t(6,v=!v)):3==e?(t(2,p[2]=m[2],p),t(16,i=49),t(18,l="block"),t(6,v=!v)):4==e?(t(2,p[3]=m[3],p),t(16,i=68),t(17,s="block"),t(6,v=!v)):5==e&&(t(2,p[4]=m[4],p),t(16,i=87),t(15,c="block"),t(6,v=!v))},S=n=>{clearInterval(undefined),document.querySelector(".fsTextArea").value="",t(8,u=!1),t(7,o=n)},E=()=>{console.log("444"),clearInterval(undefined),document.querySelector("#fsEmailTextArea").value=""};return n.$$set=n=>{"feedbackData"in n&&t(0,d=n.feedbackData),"closeHandler"in n&&t(1,w=n.closeHandler),"closeHandlerBeforeFinishing"in n&&t(14,b=n.closeHandlerBeforeFinishing)},n.$$.update=()=>{1&n.$$.dirty[0]&&t(21,f=d.wgAccentColor),65536&n.$$.dirty[0]&&document.documentElement.style.setProperty("--pointerMargin",i+"%"),1048576&n.$$.dirty[0]&&document.documentElement.style.setProperty("--hateDisplay",a),524288&n.$$.dirty[0]&&document.documentElement.style.setProperty("--dislikeDisplay",r),262144&n.$$.dirty[0]&&document.documentElement.style.setProperty("--neutralDisplay",l),131072&n.$$.dirty[0]&&document.documentElement.style.setProperty("--likeDisplay",s),32768&n.$$.dirty[0]&&document.documentElement.style.setProperty("--loveDisplay",c),2097152&n.$$.dirty[0]&&document.documentElement.style.setProperty("--buttonColor",f)},t(7,o=1),t(16,i=10),t(20,a="none"),t(19,r="none"),t(18,l="none"),t(17,s="none"),t(15,c="none"),t(8,u=!1),[d,w,p,g,h,x,v,o,u,k,C,T,S,E,b,c,i,s,l,r,a,f,function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},()=>T(2,1,"hate"),function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},()=>T(2,2,"dislike"),function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},()=>T(2,3,"neutral"),function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},()=>T(2,4,"like"),function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},()=>T(2,5,"love"),function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},()=>T(2,1,"hate"),function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},()=>T(2,2,"dislike"),function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},()=>T(2,3,"neutral"),function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},()=>T(2,4,"like"),function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},()=>T(2,5,"love"),()=>k(),()=>S(3),()=>C(),()=>w(x,h,g),()=>w(x,h,g),()=>E()]}hn(".fsReactionsContainer {\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 190px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsIcons {\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n margin-top: 11%;\n }\n #fsTxt {\n font-size: 17px;\n display: flex;\n text-align: center;\n margin-top: 5%;\n width: 61%;\n margin-left: 19%;\n }\n\n .fsIconTextCont {\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 22px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n\n .fsReactionText {\n font-size: 19px;\n display: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n margin-top: 0px;\n \n }\n .fsIconTextCont:hover{\n pointer-events: auto;\n cursor: pointer;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsReactionIcon:hover + .fsReactionText {\n display: block;\n opacity: 0.8;\n }\n\n .fsCommentContainer{\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 291px;\n pointer-events: auto;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsTextAreaCont{\n pointer-events: auto;\n width: 100%;\n height: 140px;\n background-color: #eaeaeb;\n margin-top: 17%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsTextArea{\n border: 0px;\n width: 85%;\n height: 120px;\n background-color: #eaeaeb;\n margin-left: 6%;\n outline: none;\n margin-top: 4%;\n resize: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsSendButtonCommentComponent{\n pointer-events: auto;\n color: #ffff;\n font-size: 12px;\n text-align: center;\n margin-top: 7px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsSendButtonContCommentComp{\n pointer-events: auto;\n background-color: var(--buttonColor);\n width: 50px;\n height: 29px;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 3px 0px;\n border-radius: 3px;\n margin-top: 13px;\n margin-right: 11px;\n cursor: pointer;\n border: 0px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n \n.fsCommentButtonContDisable{\n pointer-events: auto;\n background-color: #cccccc;\n width: 50px;\n height: 29px;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 3px 0px;\n border-radius: 3px;\n margin-top: 13px;\n margin-right: 11px;\n cursor:not-allowed;\n border: 0px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n}\n.fsCommentButtonTxtDisable{\n pointer-events: auto;\n color: black;\n font-size: 12px;\n text-align: center;\n margin-top: 7px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n}\n .fsFooter{\n pointer-events: auto;\n display: flex;\n justify-content: flex-end;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n\n .fsIcons-second{\n\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n margin-top: 6%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsPointerDiv{\n width: 0;\n height: 0;\n border-left: 3px solid transparent;\n margin-top: -8px;\n border-right: 5px solid transparent;\n border-bottom: 8px solid #eaeaeb;\n margin-left: var(--pointerMargin);\n\n\n }\n #fsHateDiv{\n display: var(--hateDisplay);\n }\n #fsDislikeDiv{\n display: var(--dislikeDisplay);\n }\n #fsNeutralDiv{\n display: var(--neutralDisplay);\n }\n #fsLikeDiv{\n display: var(--likeDisplay);\n }\n #fsLoveDiv{\n display: var(--loveDisplay);\n }\n .fsEmailContainer{\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 220px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsEmailInputCont{\n pointer-events: auto;\n pointer-events: auto;\n width: 100%;\n height: 46px;\n background-color: #eaeaeb;\n display: flex;\n /* align-items: center; */\n justify-content: center;\n margin-top: 10%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n\n }\n #fsEmailTextArea{\n pointer-events: auto;\n text-align: center;\n border: 0px;\n background-color: #eaeaeb;\n outline: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsEmailText{\n width: 80%;\n text-align: center;\n margin-left: 11%;\n margin-top: 8%;\n line-height: 1.29;\n font-size: 17px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsEmailFooter{\n pointer-events: auto;\n display: flex;\n justify-content: flex-end;\n flex-direction: row;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsSkipText{\n color: #908f8f;\n cursor: pointer;\n font-size: 13px;\n margin-top: 6%;\n margin-right: 4%;\n letter-spacing: normal;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n\n }\n #fsSkipText:hover{\n color: #666666;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }",{insertAt:"top"});class Ln extends cn{constructor(n){super(),sn(this,n,Hn,_n,l,{feedbackData:0,closeHandler:1,closeHandlerBeforeFinishing:14},null,[-1,-1])}}function Pn(n){const e=n-1;return e*e*e+1}function An(n,{delay:e=0,duration:t=400,easing:o=Pn,x:i=0,y:a=0,opacity:r=0}={}){const l=getComputedStyle(n),s=+l.opacity,c="none"===l.transform?"":l.transform,f=s*(1-r);return{delay:e,duration:t,easing:o,css:(n,e)=>`\n\t\t\ttransform: ${c} translate(${(1-n)*i}px, ${(1-n)*a}px);\n\t\t\topacity: ${s-f*e}`}}function qn(n){let e,t,o,i,a,r,l,s,c,f;function u(e){n[21](e)}let d={};return void 0!==n[1]&&(d.fill=n[1]),r=new dn({props:d}),H.push((()=>tn(r,"fill",u))),{c(){e=y("div"),t=y("div"),o=b(n[2]),i=k(),a=y("div"),on(r.$$.fragment),T(t,"id","fsFeedbackTxt"),T(a,"id","fsMainIcon"),T(e,"class","fsWidget")},m(l,u){$(l,e,u),g(e,t),g(t,o),g(e,i),g(e,a),an(r,a,null),s=!0,c||(f=C(e,"click",n[11]),c=!0)},p(n,e){(!s||4&e)&&S(o,n[2]);const t={};!l&&2&e&&(l=!0,t.fill=n[1],V((()=>l=!1))),r.$set(t)},i(n){s||(Z(r.$$.fragment,n),s=!0)},o(n){nn(r.$$.fragment,n),s=!1},d(n){n&&v(e),rn(r),c=!1,f()}}}function Un(t){let o,i,a,l,s,c,u,d,m;function h(n){t[22](n)}let x={closeHandler:t[8],closeHandlerBeforeFinishing:t[9]};return void 0!==t[0]&&(x.feedbackData=t[0]),l=new Ln({props:x}),H.push((()=>tn(l,"feedbackData",h))),{c(){o=y("div"),i=y("div"),i.innerHTML='<p id="fsCloseIcon">X</p>',a=k(),on(l.$$.fragment),T(i,"class","fsCloseCont"),T(o,"class","fsCont")},m(n,e){$(n,o,e),g(o,i),g(o,a),an(l,o,null),u=!0,d||(m=C(i,"click",t[12]),d=!0)},p(n,e){t=n;const o={};!s&&1&e&&(s=!0,o.feedbackData=t[0],V((()=>s=!1))),l.$set(o)},i(i){u||(Z(l.$$.fragment,i),c||U((()=>{c=function(t,o,i){let a,l,s=o(t,i),c=!1,u=0;function d(){a&&D(t,a)}function m(){const{delay:o=0,duration:i=300,easing:r=e,tick:m=n,css:g}=s||en;g&&(a=z(t,0,1,i,o,r,g,u++)),m(0,1);const h=f()+o,x=h+i;l&&l.abort(),c=!0,U((()=>Q(t,!0,"start"))),l=p((n=>{if(c){if(n>=x)return m(1,0),Q(t,!0,"end"),d(),c=!1;if(n>=h){const e=r((n-h)/i);m(e,1-e)}}return c}))}let g=!1;return{start(){g||(g=!0,D(t),r(s)?(s=s(),O().then(m)):m())},invalidate(){g=!1},end(){c&&(d(),c=!1)}}}(o,An,{x:t[6],duration:500}),c.start()})),u=!0)},o(n){nn(l.$$.fragment,n),u=!1},d(n){n&&v(o),rn(l),d=!1,m()}}}function Vn(t){let o,i,l,s,c,u,d,m,h,x=t[0].wgThanksMsg+"";return{c(){o=y("div"),i=y("div"),i.innerHTML='<p id="fsCloseIcon">X</p>',l=k(),s=y("div"),c=b(x),T(i,"class","fsCloseCont"),E(s,"width","61%"),E(s,"text-align","center"),E(s,"margin-top","7%"),E(s,"margin-left","20%"),T(o,"class","fsThanksMessageCont")},m(n,e){$(n,o,e),g(o,i),g(o,l),g(o,s),g(s,c),d=!0,m||(h=C(i,"click",t[10]),m=!0)},p(n,e){t=n,(!d||1&e)&&x!==(x=t[0].wgThanksMsg+"")&&S(c,x)},i(n){d||(u&&u.end(1),d=!0)},o(i){u=function(t,o,i){let l,s=o(t,i),c=!0;const u=J;function d(){const{delay:o=0,duration:i=300,easing:r=e,tick:d=n,css:m}=s||en;m&&(l=z(t,1,0,i,o,r,m));const g=f()+o,h=g+i;U((()=>Q(t,!1,"start"))),p((n=>{if(c){if(n>=h)return d(0,1),Q(t,!1,"end"),--u.r||a(u.c),!1;if(n>=g){const e=r((n-g)/i);d(1-e,e)}}return c}))}return u.r+=1,r(s)?O().then((()=>{s=s(),d()})):d(),{end(n){n&&s.tick&&s.tick(1,0),c&&(l&&D(t,l),c=!1)}}}(o,An,{x:t[7],duration:300}),d=!1},d(n){n&&v(o),n&&u&&u.end(),m=!1,h()}}}function Nn(n){let e,t,o,i,a=n[4]&&qn(n),r=n[3]&&Un(n),l=n[5]&&Vn(n);return{c(){e=y("fsContainer"),a&&a.c(),t=k(),r&&r.c(),o=k(),l&&l.c()},m(n,s){$(n,e,s),a&&a.m(e,null),g(e,t),r&&r.m(e,null),g(e,o),l&&l.m(e,null),i=!0},p(n,[i]){n[4]?a?(a.p(n,i),16&i&&Z(a,1)):(a=qn(n),a.c(),Z(a,1),a.m(e,t)):a&&(K(),nn(a,1,1,(()=>{a=null})),Y()),n[3]?r?(r.p(n,i),8&i&&Z(r,1)):(r=Un(n),r.c(),Z(r,1),r.m(e,o)):r&&(K(),nn(r,1,1,(()=>{r=null})),Y()),n[5]?l?(l.p(n,i),32&i&&Z(l,1)):(l=Vn(n),l.c(),Z(l,1),l.m(e,null)):l&&(K(),nn(l,1,1,(()=>{l=null})),Y())},i(n){i||(Z(a),Z(r),Z(l),i=!0)},o(n){nn(a),nn(r),nn(l),i=!1},d(n){n&&v(e),a&&a.d(),r&&r.d(),l&&l.d()}}}function Gn(n,e,t){let o,{feedback:i}=e;console.log(i);let a="",r="",l="Feedback";l="en"==i.wgLanguage?" Feedback":"ar"==i.wgLanguage?"رأي":"Rétroaction",!0===i.wgAlternateColor?(a="white",r="white"):(a="black",r="black");let s="",c="",f=0,u=0,d=0,m=0,p=!1,g=!0,h=!1,x=0,$=0;0==Number(i.wgPosition)&&(s="center",c="row-reverse",f=5,u=0,d=30,m=0,x=-100,$=20),1==Number(i.wgPosition)&&(s="center",c="row",f=0,u=5,d=0,m=30,x=100,$=-20),2==Number(i.wgPosition)&&(s="flex-end",c="row-reverse",f=5,d=30,m=0,x=-100,$=20),3==Number(i.wgPosition)&&(s="flex-end",c="row",f=0,u=5,d=0,m=30,x=100,$=-20);let v=0,y="",w="",b="";const k=(n,e,t)=>{y=n,w=e,b=Number(t);let o={email:n,comment:e,reaction:t};if(1==v){console.log("hi",o);let n=new CustomEvent("fbEvent",{bubbles:!1,detail:o});window.dispatchEvent(n),console.log(o)}},C=()=>{t(3,p=!p),t(5,h=!h)};return n.$$set=n=>{"feedback"in n&&t(0,i=n.feedback)},n.$$.update=()=>{1&n.$$.dirty&&t(20,o=i.wgAccentColor),1048576&n.$$.dirty&&document.documentElement.style.setProperty("--widgetColor",o),8192&n.$$.dirty&&document.documentElement.style.setProperty("--widgetTextColor",a),16384&n.$$.dirty&&document.documentElement.style.setProperty("--wgPositionHorizintal",s),32768&n.$$.dirty&&document.documentElement.style.setProperty("--wgPositionVertical",c),65536&n.$$.dirty&&document.documentElement.style.setProperty("--widgetLeftSideBorder",f+"px"),131072&n.$$.dirty&&document.documentElement.style.setProperty("--widgetRightSideBorder",u+"px"),262144&n.$$.dirty&&document.documentElement.style.setProperty("--widgetMarginRight",d+"px"),524288&n.$$.dirty&&document.documentElement.style.setProperty("--widgetMarginLeft",m+"px")},[i,r,l,p,g,h,x,$,(n,e,t)=>{let o={email:n,comment:e,reaction:Number(t)},i=new CustomEvent("fbEvent",{bubbles:!1,detail:o});window.dispatchEvent(i),console.log(o),C()},k,()=>{t(5,h=!h),setTimeout((function(){t(4,g=!g)}),350)},()=>{t(3,p=!p),t(4,g=!g)},()=>{v=1,0!=b&&k(y,w,b),t(3,p=!p),setTimeout((function(){t(4,g=!g)}),350)},a,s,c,f,u,d,m,o,function(n){r=n,t(1,r)},function(n){i=n,t(0,i)}]}hn("fsContainer{\n width: 100%;\n display: flex;\n flex-direction: var(--wgPositionVertical);\n position: fixed;\n top: 0; right: 0; bottom: 0; left: 0;\n\theight: 100%;\n pointer-events: none;\n align-items: var(--wgPositionHorizintal);\n padding: 0;\n z-index: 100000;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsWidget {\n pointer-events: auto;\n background-color: var(--widgetColor);\n width: 34px;\n height: 112px;\n border-top-left-radius:var(--widgetLeftSideBorder) ;\n border-bottom-left-radius: var(--widgetLeftSideBorder);\n border-top-right-radius: var(--widgetRightSideBorder) ;\n border-bottom-right-radius: var(--widgetRightSideBorder);\n box-shadow: 0.2px 0.2px 0.2px rgb(133, 130, 130);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-evenly;\n cursor: pointer;\n margin-top: 5px;\n }\n #fsMainIcon {\n width: 60%;\n margin-left: 4%;\n cursor: pointer;\n }\n #fsFeedbackTxt {\n color: var(--widgetTextColor);\n font-size: 15px;\n writing-mode: vertical-lr;\n transform: rotate(180deg);\n cursor: pointer;\n font-size-adjust: 0.40;\n }\n .fsWidget:hover {\n width: 35px;\n -webkit-box-shadow: 0px 0px 35px 2px rgba(0, 0, 0, 0.24);\n box-shadow: 0px 0px 35px 2px rgba(0, 0, 0, 0.24);\n }\n .fsCont {\n pointer-events: auto;\n width: 320px;\n height: fit-content;\n background-color: rgb(255, 255, 255);\n \tmargin-right: var(--widgetMarginRight);\n margin-left: var(--widgetMarginLeft);\n\t-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px; \n\tbox-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;\n }\n .fsThanksMessageCont{\n pointer-events: auto;\n width: 320px;\n height: 104px;\n background-color: rgb(255, 255, 255);\n \tmargin-right: var(--widgetMarginRight);\n margin-left: var(--widgetMarginLeft);\n\t-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px; \n\tbox-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;\n }\n #fsCloseIcon{\n\t font-size: 15px;\n\t color: #ffff;\n\t font-weight: 600;\n \tcursor: pointer;\n\t \n }\n .fsCloseCont{\n pointer-events: auto;\n\t background-color: #4d5167;\n\t width: 27px;\n height: 27px;\n\tborder-radius: 50%;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tmargin-top: -15px;\n margin-left: 85%;\n\tcursor: pointer;\n\t}\n\n \n \n \n\n /* @media (min-width: 640px) {\n body {\n max-width: none;\n }\n } */",{insertAt:"top"});class Fn extends cn{constructor(n){super(),sn(this,n,Gn,Nn,l,{feedback:0})}}function jn(n){new Fn({target:document.body,props:{feedback:n}})}jn({id:1,wgStatus:1,wgName:"ask",wgDescription:"test",wgCrtDt:"2021-12-05 10:49:14",wgResponses:null,wgUpdTime:null,SiteId:98,UserId:262,wgLanguage:"en",wgPosition:"0",wgAccentColor:"#51797b",wgAlternateColor:!0,wgQuestion:"How would you rate your experience?",wgUserScreenshot:1,wgEmailReqMsg:"We may wish to follow up. Enter your email if you're happy for us to contact you.",wgEmailReqActivation:1,wgAdditionalMsg:"Heads up! This is for feedback only. Need help? Contact us via our [link to Help Center].",wgAdditionalMsgActivation:1,wgThanksMsg:"Thank you for sharing your feedback with us",wgThanksMsgActivation:1,wgDesktop:1,wgPhone:1,wgTablet:1,wgPages:[{id:0,name:"*"}],wgWidgetToUsers:0,wgPercentage:100,wgEmail:"abd@gmail.com",wgWidgetToAllPages:1,wgReactionStyle:0,wgResponseViaEmail:1});export{jn as feedbackCreator};
|
|
1
|
+
function n(){}const e=n=>n;function t(n,e){for(const t in e)n[t]=e[t];return n}function o(n){return n()}function i(){return Object.create(null)}function a(n){n.forEach(o)}function r(n){return"function"==typeof n}function l(n,e){return n!=n?e==e:n!==e||n&&"object"==typeof n||"function"==typeof n}function s(n){const e={};for(const t in n)"$"!==t[0]&&(e[t]=n[t]);return e}const c="undefined"!=typeof window;let f=c?()=>window.performance.now():()=>Date.now(),u=c?n=>requestAnimationFrame(n):n;const d=new Set;function m(n){d.forEach((e=>{e.c(n)||(d.delete(e),e.f())})),0!==d.size&&u(m)}function p(n){let e;return 0===d.size&&u(m),{promise:new Promise((t=>{d.add(e={c:n,f:t})})),abort(){d.delete(e)}}}function g(n,e){n.appendChild(e)}function h(n){if(!n)return document;const e=n.getRootNode?n.getRootNode():n.ownerDocument;return e&&e.host?e:n.ownerDocument}function x(n){const e=y("style");return function(n,e){g(n.head||n,e)}(h(n),e),e.sheet}function $(n,e,t){n.insertBefore(e,t||null)}function v(n){n.parentNode.removeChild(n)}function y(n){return document.createElement(n)}function w(n){return document.createElementNS("http://www.w3.org/2000/svg",n)}function b(n){return document.createTextNode(n)}function k(){return b(" ")}function C(n,e,t,o){return n.addEventListener(e,t,o),()=>n.removeEventListener(e,t,o)}function T(n,e,t){null==t?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function S(n,e){e=""+e,n.wholeText!==e&&(n.data=e)}function E(n,e,t,o){null===t?n.style.removeProperty(e):n.style.setProperty(e,t,o?"important":"")}const B=new Map;let I,M=0;function z(n,e,t,o,i,a,r,l=0){const s=16.666/o;let c="{\n";for(let n=0;n<=1;n+=s){const o=e+(t-e)*a(n);c+=100*n+`%{${r(o,1-o)}}\n`}const f=c+`100% {${r(t,1-t)}}\n}`,u=`__svelte_${function(n){let e=5381,t=n.length;for(;t--;)e=(e<<5)-e^n.charCodeAt(t);return e>>>0}(f)}_${l}`,d=h(n),{stylesheet:m,rules:p}=B.get(d)||function(n,e){const t={stylesheet:x(e),rules:{}};return B.set(n,t),t}(d,n);p[u]||(p[u]=!0,m.insertRule(`@keyframes ${u} ${f}`,m.cssRules.length));const g=n.style.animation||"";return n.style.animation=`${g?`${g}, `:""}${u} ${o}ms linear ${i}ms 1 both`,M+=1,u}function D(n,e){const t=(n.style.animation||"").split(", "),o=t.filter(e?n=>n.indexOf(e)<0:n=>-1===n.indexOf("__svelte")),i=t.length-o.length;i&&(n.style.animation=o.join(", "),M-=i,M||u((()=>{M||(B.forEach((n=>{const{stylesheet:e}=n;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);n.rules={}})),B.clear())})))}function R(n){I=n}const _=[],H=[],L=[],P=[],A=Promise.resolve();let q=!1;function U(n){L.push(n)}function V(n){P.push(n)}const N=new Set;let G,F=0;function j(){const n=I;do{for(;F<_.length;){const n=_[F];F++,R(n),W(n.$$)}for(R(null),_.length=0,F=0;H.length;)H.pop()();for(let n=0;n<L.length;n+=1){const e=L[n];N.has(e)||(N.add(e),e())}L.length=0}while(_.length);for(;P.length;)P.pop()();q=!1,N.clear(),R(n)}function W(n){if(null!==n.fragment){n.update(),a(n.before_update);const e=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,e),n.after_update.forEach(U)}}function O(){return G||(G=Promise.resolve(),G.then((()=>{G=null}))),G}function Q(n,e,t){n.dispatchEvent(function(n,e,t=!1){const o=document.createEvent("CustomEvent");return o.initCustomEvent(n,t,!1,e),o}(`${e?"intro":"outro"}${t}`))}const X=new Set;let J;function K(){J={r:0,c:[],p:J}}function Y(){J.r||a(J.c),J=J.p}function Z(n,e){n&&n.i&&(X.delete(n),n.i(e))}function nn(n,e,t,o){if(n&&n.o){if(X.has(n))return;X.add(n),J.c.push((()=>{X.delete(n),o&&(t&&n.d(1),o())})),n.o(e)}}const en={duration:0};function tn(n,e,t){const o=n.$$.props[e];void 0!==o&&(n.$$.bound[o]=t,t(n.$$.ctx[o]))}function on(n){n&&n.c()}function an(n,e,t,i){const{fragment:l,on_mount:s,on_destroy:c,after_update:f}=n.$$;l&&l.m(e,t),i||U((()=>{const e=s.map(o).filter(r);c?c.push(...e):a(e),n.$$.on_mount=[]})),f.forEach(U)}function rn(n,e){const t=n.$$;null!==t.fragment&&(a(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ln(n,e){-1===n.$$.dirty[0]&&(_.push(n),q||(q=!0,A.then(j)),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<<e%31}function sn(e,t,o,r,l,s,c,f=[-1]){const u=I;R(e);const d=e.$$={fragment:null,ctx:null,props:s,update:n,not_equal:l,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:i(),dirty:f,skip_bound:!1,root:t.target||u.$$.root};c&&c(d.root);let m=!1;if(d.ctx=o?o(e,t.props||{},((n,t,...o)=>{const i=o.length?o[0]:t;return d.ctx&&l(d.ctx[n],d.ctx[n]=i)&&(!d.skip_bound&&d.bound[n]&&d.bound[n](i),m&&ln(e,n)),t})):[],d.update(),m=!0,a(d.before_update),d.fragment=!!r&&r(d.ctx),t.target){if(t.hydrate){const n=function(n){return Array.from(n.childNodes)}(t.target);d.fragment&&d.fragment.l(n),n.forEach(v)}else d.fragment&&d.fragment.c();t.intro&&Z(e.$$.fragment),an(e,t.target,t.anchor,t.customElement),j()}R(u)}class cn{$destroy(){rn(this,1),this.$destroy=n}$on(n,e){const t=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return t.push(e),()=>{const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}$set(n){var e;this.$$set&&(e=n,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}function fn(e){let t,o,i,a,r,l,s,c,f,u,d,m,p,h,x,y,b,k,C;return{c(){t=w("svg"),o=w("g"),i=w("g"),a=w("path"),r=w("g"),l=w("g"),s=w("g"),c=w("g"),f=w("g"),u=w("g"),d=w("g"),m=w("g"),p=w("g"),h=w("g"),x=w("g"),y=w("g"),b=w("g"),k=w("g"),C=w("g"),T(a,"d","M428,41.534H30c-16.569,0-30,13.431-30,30v252c0,16.568,13.432,30,30,30h132.1l43.942,52.243 c5.7,6.777,14.103,10.69,22.959,10.69c8.856,0,17.258-3.912,22.959-10.69l43.942-52.243H428c16.568,0,30-13.432,30-30v-252 C458,54.965,444.568,41.534,428,41.534z M323.916,281.534H82.854c-8.284,0-15-6.716-15-15s6.716-15,15-15h241.062 c8.284,0,15,6.716,15,15S332.2,281.534,323.916,281.534z M67.854,198.755c0-8.284,6.716-15,15-15h185.103c8.284,0,15,6.716,15,15 s-6.716,15-15,15H82.854C74.57,213.755,67.854,207.039,67.854,198.755z M375.146,145.974H82.854c-8.284,0-15-6.716-15-15 s6.716-15,15-15h292.291c8.284,0,15,6.716,15,15C390.146,139.258,383.43,145.974,375.146,145.974z"),T(t,"fill",e[0]),T(t,"version","1.1"),T(t,"id","Layer_1"),T(t,"xmlns","http://www.w3.org/2000/svg"),T(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),T(t,"x","0px"),T(t,"y","0px"),T(t,"viewBox","0 0 458 458"),E(t,"enable-background","new 0 0 458 458"),T(t,"xml:space","preserve")},m(n,e){$(n,t,e),g(t,o),g(o,i),g(i,a),g(t,r),g(t,l),g(t,s),g(t,c),g(t,f),g(t,u),g(t,d),g(t,m),g(t,p),g(t,h),g(t,x),g(t,y),g(t,b),g(t,k),g(t,C)},p(n,[e]){1&e&&T(t,"fill",n[0])},i:n,o:n,d(n){n&&v(t)}}}function un(n,e,t){let{fill:o=""}=e;return n.$$set=n=>{"fill"in n&&t(0,o=n.fill)},[o]}class dn extends cn{constructor(n){super(),sn(this,n,un,fn,l,{fill:0})}}function mn(e){let t,o,i=e[3].svg+"";return{c(){t=w("svg"),T(t,"class",o=e[4].class),T(t,"focusable",e[0]),T(t,"width",e[1]),T(t,"height",e[2]),T(t,"viewBox","0 0 "+e[3].box+" "+(e[3].box-1))},m(n,e){$(n,t,e),t.innerHTML=i},p(n,[e]){16&e&&o!==(o=n[4].class)&&T(t,"class",o),1&e&&T(t,"focusable",n[0]),2&e&&T(t,"width",n[1]),4&e&&T(t,"height",n[2])},i:n,o:n,d(n){n&&v(t)}}}function pn(n,e,o){let{name:i}=e,{focusable:a=!1}=e,{width:r="40px"}=e,{height:l="40px"}=e,c=[{box:50,name:"love",svg:'\n <g transform="translate(.48)" fill-rule="nonzero" fill="none">\n <rect fill="#EF7C54" width="50" height="50" rx="13.28"/>\n <circle fill="#3B3735" cx="7.241" cy="27.929" r="3.107"/>\n <circle fill="#3B3735" cx="42.759" cy="27.929" r="3.107"/>\n <path d="M31.236 28.764a2.245 2.245 0 0 1 2.002 3.246 9.086 9.086 0 0 1-8.234 4.779 9.104 9.104 0 0 1-8.242-4.779 2.245 2.245 0 0 1 2.002-3.246h12.472zM12.185 22.089a11.515 11.515 0 0 1-.766-.696c-1.036-1.062-2.29-2.803-1.741-4.352.392-1.21 1.81-1.567 2.95-1.488a4.743 4.743 0 0 1 1.793.487c.233.107.46.226.68.357a.33.33 0 0 0 .504-.261 3.046 3.046 0 0 1 1.358-2.611 2.385 2.385 0 0 1 2.906.635c1.21 1.314 1.088 3.133.584 4.726a20.017 20.017 0 0 1-1.34 3.255 8.12 8.12 0 0 1-.975 1.688c-.749.87-1.846.636-2.777.218a13.838 13.838 0 0 1-3.176-1.958zM37.807 22.089c.267-.218.523-.45.766-.696 1.035-1.062 2.289-2.803 1.74-4.352-.391-1.21-1.819-1.567-2.959-1.488a4.787 4.787 0 0 0-1.793.487 7.424 7.424 0 0 0-.678.357.33.33 0 0 1-.505-.261 3.046 3.046 0 0 0-1.358-2.611 2.385 2.385 0 0 0-2.907.635c-1.21 1.314-1.088 3.133-.583 4.726.35 1.122.799 2.211 1.34 3.255.256.6.584 1.167.975 1.688.749.87 1.854.636 2.776.218a13.838 13.838 0 0 0 3.186-1.958z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedLove",svg:'\n <g transform="translate(.48)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.28"/>\n <circle fill="#3B3735" cx="7.241" cy="27.929" r="3.107"/>\n <circle fill="#3B3735" cx="42.759" cy="27.929" r="3.107"/>\n <path d="M31.236 28.764a2.245 2.245 0 0 1 2.002 3.246 9.086 9.086 0 0 1-8.234 4.779 9.104 9.104 0 0 1-8.242-4.779 2.245 2.245 0 0 1 2.002-3.246h12.472zM12.185 22.089a11.515 11.515 0 0 1-.766-.696c-1.036-1.062-2.29-2.803-1.741-4.352.392-1.21 1.81-1.567 2.95-1.488a4.743 4.743 0 0 1 1.793.487c.233.107.46.226.68.357a.33.33 0 0 0 .504-.261 3.046 3.046 0 0 1 1.358-2.611 2.385 2.385 0 0 1 2.906.635c1.21 1.314 1.088 3.133.584 4.726a20.017 20.017 0 0 1-1.34 3.255 8.12 8.12 0 0 1-.975 1.688c-.749.87-1.846.636-2.777.218a13.838 13.838 0 0 1-3.176-1.958zM37.807 22.089c.267-.218.523-.45.766-.696 1.035-1.062 2.289-2.803 1.74-4.352-.391-1.21-1.819-1.567-2.959-1.488a4.787 4.787 0 0 0-1.793.487 7.424 7.424 0 0 0-.678.357.33.33 0 0 1-.505-.261 3.046 3.046 0 0 0-1.358-2.611 2.385 2.385 0 0 0-2.907.635c-1.21 1.314-1.088 3.133-.583 4.726.35 1.122.799 2.211 1.34 3.255.256.6.584 1.167.975 1.688.749.87 1.854.636 2.776.218a13.838 13.838 0 0 0 3.186-1.958z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"like",svg:'\n <g transform="translate(.86)" fill-rule="nonzero" fill="none">\n <rect fill="#FDC537" width="50" height="50" rx="13.12"/>\n <ellipse fill="#3B3735" cx="14.156" cy="19.803" rx="2.167" ry="3.656"/>\n <ellipse fill="#3B3735" cx="35.844" cy="19.803" rx="2.167" ry="3.656"/>\n <path d="M32.444 28.1a2.643 2.643 0 0 1 2.37 3.824 10.738 10.738 0 0 1-9.69 5.629 10.738 10.738 0 0 1-9.69-5.63 2.643 2.643 0 0 1 2.36-3.822h14.65z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedLike",svg:'\n <g transform="translate(.86)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.12"/>\n <ellipse fill="#3B3735" cx="14.156" cy="19.803" rx="2.167" ry="3.656"/>\n <ellipse fill="#3B3735" cx="35.844" cy="19.803" rx="2.167" ry="3.656"/>\n <path d="M32.444 28.1a2.643 2.643 0 0 1 2.37 3.824 10.738 10.738 0 0 1-9.69 5.629 10.738 10.738 0 0 1-9.69-5.63 2.643 2.643 0 0 1 2.36-3.822h14.65z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"neutral",svg:'\n <g transform="translate(.24)" fill-rule="nonzero" fill="gray">\n <rect fill="#F59F45" width="50" height="50" rx="12.63"/>\n <circle fill="#3B3735" cx="15.169" cy="21.459" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="21.459" r="2.81"/>\n <path d="M40.847 31.351H9.135a.67.67 0 1 1 0-1.33h31.712a.67.67 0 1 1 0 1.33z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"unSelectedNeutral",svg:'\n <g transform="translate(.24)" fill-rule="nonzero" fill="gray">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="12.63"/>\n <circle fill="#3B3735" cx="15.169" cy="21.459" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="21.459" r="2.81"/>\n <path d="M40.847 31.351H9.135a.67.67 0 1 1 0-1.33h31.712a.67.67 0 1 1 0 1.33z" fill="#3B3735"/>\n </g>\n'},{box:50,name:"dislike",svg:'\n <g transform="translate(.62)" fill-rule="nonzero" fill="none">\n <rect fill="#FEDCAB" width="50" height="50" rx="13.12"/>\n <path d="M33.333 34.743a1.762 1.762 0 0 0 1.718-2.211c-1.119-4.158-5.285-7.241-10.324-7.241s-9.206 3.083-10.324 7.24a1.762 1.762 0 0 0 1.718 2.212l6.536-.881a15.178 15.178 0 0 1 3.946 0l6.73.88z" fill="#3B3735"/>\n <circle fill="#3B3735" cx="15.169" cy="18.076" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="18.076" r="2.81"/>\n </g>'},{box:50,name:"unSelectedDislike",svg:'\n <g transform="translate(.62)" fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.12"/>\n <path d="M33.333 34.743a1.762 1.762 0 0 0 1.718-2.211c-1.119-4.158-5.285-7.241-10.324-7.241s-9.206 3.083-10.324 7.24a1.762 1.762 0 0 0 1.718 2.212l6.536-.881a15.178 15.178 0 0 1 3.946 0l6.73.88z" fill="#3B3735"/>\n <circle fill="#3B3735" cx="15.169" cy="18.076" r="2.81"/>\n <circle fill="#3B3735" cx="34.831" cy="18.076" r="2.81"/>\n </g>'},{box:50,name:"hate",svg:'\n <g fill-rule="nonzero" fill="none">\n <rect fill="#FEDCAB" width="50" height="50" rx="13.44"/>\n <path d="M20.218 23.865a1.144 1.144 0 0 1-.86-.336l-6.114-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.809 1.96h.043z" fill="#3B3735"/>\n <path d="M14.104 23.865a1.152 1.152 0 0 1-.817-1.961l6.114-6.115a1.152 1.152 0 0 1 1.626 1.634L14.92 23.53a1.161 1.161 0 0 1-.817.336zM36.352 23.865c-.303 0-.594-.121-.808-.336l-6.115-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.817 1.96z" fill="#3B3735"/>\n <path d="M30.246 23.865a1.152 1.152 0 0 1-.86-1.961l6.115-6.115a1.152 1.152 0 0 1 1.625 1.634L31.02 23.53a1.161 1.161 0 0 1-.774.336zM35.604 34.546a6.02 6.02 0 0 1-3.389-1.376c-1.083-.783-1.96-1.075-2.339-.783-.157.15-.296.317-.413.5-.221.34-.484.652-.782.928-1.29 1.092-3.07.791-4.3.146a11.937 11.937 0 0 1-1.299-.86 8.11 8.11 0 0 0-1.35-.808 3.44 3.44 0 0 0-3.363.447l-.387.335c-.417.416-.906.75-1.444.99-1.815.722-3.337-.38-4.558-1.256a6.416 6.416 0 0 0-1.952-1.127 2.116 2.116 0 0 0-2.383 1.307 1.152 1.152 0 0 1-2.193-.696 4.386 4.386 0 0 1 5.16-2.838 8.505 8.505 0 0 1 2.71 1.505c1.169.86 1.78 1.212 2.356.989.281-.146.537-.338.756-.568l.508-.43a5.745 5.745 0 0 1 5.676-.757c.607.285 1.183.631 1.72 1.032.345.245.704.469 1.075.671.585.31 1.367.456 1.72.138a2.58 2.58 0 0 0 .395-.49 4.3 4.3 0 0 1 .86-1.015c.86-.68 2.512-1.11 5.092.757 1.109.808 1.978 1.109 2.373.86.153-.135.289-.288.404-.456.112-.138.215-.267.336-.396a4.807 4.807 0 0 1 7.869 1.72 1.152 1.152 0 1 1-2.202.68 2.52 2.52 0 0 0-3.956-.86l-.232.283c-.242.343-.532.65-.86.912a2.83 2.83 0 0 1-1.608.516z" fill="#3B3735"/>\n </g>'},{box:50,name:"unSelectedHate",svg:'\n <g fill-rule="nonzero" fill="none">\n <rect fill="rgb(223 223 223)" width="50" height="50" rx="13.44"/>\n <path d="M20.218 23.865a1.144 1.144 0 0 1-.86-.336l-6.114-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.809 1.96h.043z" fill="#3B3735"/>\n <path d="M14.104 23.865a1.152 1.152 0 0 1-.817-1.961l6.114-6.115a1.152 1.152 0 0 1 1.626 1.634L14.92 23.53a1.161 1.161 0 0 1-.817.336zM36.352 23.865c-.303 0-.594-.121-.808-.336l-6.115-6.106a1.155 1.155 0 1 1 1.634-1.634l6.106 6.115a1.152 1.152 0 0 1-.817 1.96z" fill="#3B3735"/>\n <path d="M30.246 23.865a1.152 1.152 0 0 1-.86-1.961l6.115-6.115a1.152 1.152 0 0 1 1.625 1.634L31.02 23.53a1.161 1.161 0 0 1-.774.336zM35.604 34.546a6.02 6.02 0 0 1-3.389-1.376c-1.083-.783-1.96-1.075-2.339-.783-.157.15-.296.317-.413.5-.221.34-.484.652-.782.928-1.29 1.092-3.07.791-4.3.146a11.937 11.937 0 0 1-1.299-.86 8.11 8.11 0 0 0-1.35-.808 3.44 3.44 0 0 0-3.363.447l-.387.335c-.417.416-.906.75-1.444.99-1.815.722-3.337-.38-4.558-1.256a6.416 6.416 0 0 0-1.952-1.127 2.116 2.116 0 0 0-2.383 1.307 1.152 1.152 0 0 1-2.193-.696 4.386 4.386 0 0 1 5.16-2.838 8.505 8.505 0 0 1 2.71 1.505c1.169.86 1.78 1.212 2.356.989.281-.146.537-.338.756-.568l.508-.43a5.745 5.745 0 0 1 5.676-.757c.607.285 1.183.631 1.72 1.032.345.245.704.469 1.075.671.585.31 1.367.456 1.72.138a2.58 2.58 0 0 0 .395-.49 4.3 4.3 0 0 1 .86-1.015c.86-.68 2.512-1.11 5.092.757 1.109.808 1.978 1.109 2.373.86.153-.135.289-.288.404-.456.112-.138.215-.267.336-.396a4.807 4.807 0 0 1 7.869 1.72 1.152 1.152 0 1 1-2.202.68 2.52 2.52 0 0 0-3.956-.86l-.232.283c-.242.343-.532.65-.86.912a2.83 2.83 0 0 1-1.608.516z" fill="#3B3735"/>\n </g>'}].find((n=>n.name===i));return n.$$set=n=>{o(4,e=t(t({},e),s(n))),"name"in n&&o(5,i=n.name),"focusable"in n&&o(0,a=n.focusable),"width"in n&&o(1,r=n.width),"height"in n&&o(2,l=n.height)},e=s(e),[a,r,l,c,e,i]}class gn extends cn{constructor(n){super(),sn(this,n,pn,mn,l,{name:5,focusable:0,width:1,height:2})}}function hn(n,e){void 0===e&&(e={});var t=e.insertAt;if(n&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n))}}function xn(e){let t,o,i,r,l,s,c,f,u,d,m,p,h=e[0].wgEmailReqMsg+"";function x(n,e){return 0==n[8]?wn:1==n[8]?yn:void 0}let w=x(e),E=w&&w(e);return{c(){t=y("div"),o=y("div"),i=b(h),r=k(),l=y("div"),s=y("input"),c=k(),f=y("div"),u=y("p"),u.innerHTML="<u>Skip</u>",d=k(),E&&E.c(),T(o,"id","fsEmailText"),T(s,"type","text"),T(s,"id","fsEmailTextArea"),T(s,"placeholder","email@domain.com"),T(l,"id","fsEmailInputCont"),T(u,"id","fsSkipText"),T(f,"class","fsEmailFooter"),T(t,"class","fsEmailContainer")},m(n,a){$(n,t,a),g(t,o),g(o,i),g(t,r),g(t,l),g(l,s),g(t,c),g(t,f),g(f,u),g(f,d),E&&E.m(f,null),m||(p=[C(s,"keyup",e[49]),C(u,"click",e[50])],m=!0)},p(n,e){1&e[0]&&h!==(h=n[0].wgEmailReqMsg+"")&&S(i,h),w===(w=x(n))&&E?E.p(n,e):(E&&E.d(1),E=w&&w(n),E&&(E.c(),E.m(f,null)))},i:n,o:n,d(n){n&&v(t),E&&E.d(),m=!1,a(p)}}}function $n(n){let e,t,o,i,r,l,s,c,f,u,d,m,p,h,x,w,b,S,E,B,I,M,z,D,R,_,H,L,P,A,q,U,V,N,G,F,j,W,O,Q,X,J,en,tn,on,an;const rn=[kn,bn],ln=[];function sn(n,e){return n[6]?0:0==n[6]?1:-1}~(r=sn(n))&&(l=ln[r]=rn[r](n));const cn=[Tn,Cn],fn=[];function un(n,e){return n[6]?0:0==n[6]?1:-1}~(m=un(n))&&(p=fn[m]=cn[m](n));const dn=[En,Sn],mn=[];function pn(n,e){return n[6]?0:0==n[6]?1:-1}~(E=pn(n))&&(B=mn[E]=dn[E](n));const gn=[In,Bn],hn=[];function xn(n,e){return n[6]?0:0==n[6]?1:-1}~(_=xn(n))&&(H=hn[_]=gn[_](n));const $n=[zn,Mn],vn=[];function yn(n,e){return n[6]?0:0==n[6]?1:-1}function wn(n,e){return 0==n[8]?Rn:1==n[8]?Dn:void 0}~(V=yn(n))&&(N=vn[V]=$n[V](n));let _n=wn(n),Hn=_n&&_n(n);return{c(){e=y("div"),t=y("div"),o=y("div"),i=y("div"),l&&l.c(),s=k(),c=y("p"),c.textContent="Hate",f=k(),u=y("div"),d=y("div"),p&&p.c(),h=k(),x=y("p"),x.textContent="Dislike",w=k(),b=y("div"),S=y("div"),B&&B.c(),I=k(),M=y("p"),M.textContent="Neutral",z=k(),D=y("div"),R=y("div"),H&&H.c(),L=k(),P=y("p"),P.textContent="Like",A=k(),q=y("div"),U=y("div"),N&&N.c(),G=k(),F=y("p"),F.textContent="Love",j=k(),W=y("div"),O=y("div"),Q=k(),X=y("textarea"),J=k(),en=y("div"),Hn&&Hn.c(),T(i,"class","fsReactionIcon"),T(c,"class","fsReactionText"),T(c,"id","fsHateDiv"),T(o,"class","fsIconTextCont"),T(d,"class","fsReactionIcon"),T(x,"class","fsReactionText"),T(x,"id","fsDislikeDiv"),T(u,"class","fsIconTextCont"),T(S,"class","fsReactionIcon"),T(M,"class","fsReactionText"),T(M,"id","fsNeutralDiv"),T(b,"class","fsIconTextCont"),T(R,"class","fsReactionIcon"),T(P,"class","fsReactionText"),T(P,"id","fsLikeDiv"),T(D,"class","fsIconTextCont"),T(U,"class","fsReactionIcon"),T(F,"class","fsReactionText"),T(F,"id","fsLoveDiv"),T(q,"class","fsIconTextCont"),T(t,"class","fsIcons-second"),T(O,"class","fsPointerDiv"),T(O,"id","fsPointer"),T(X,"class","fsTextArea"),T(X,"placeholder","Tell us your experience..."),T(W,"class","fsTextAreaCont"),T(en,"class","fsFooter"),T(e,"class","fsCommentContainer")},m(a,l){$(a,e,l),g(e,t),g(t,o),g(o,i),~r&&ln[r].m(i,null),g(o,s),g(o,c),g(t,f),g(t,u),g(u,d),~m&&fn[m].m(d,null),g(u,h),g(u,x),g(t,w),g(t,b),g(b,S),~E&&mn[E].m(S,null),g(b,I),g(b,M),g(t,z),g(t,D),g(D,R),~_&&hn[_].m(R,null),g(D,L),g(D,P),g(t,A),g(t,q),g(q,U),~V&&vn[V].m(U,null),g(q,G),g(q,F),g(e,j),g(e,W),g(W,O),g(W,Q),g(W,X),g(e,J),g(e,en),Hn&&Hn.m(en,null),tn=!0,on||(an=[C(o,"click",n[34]),C(u,"click",n[37]),C(b,"click",n[40]),C(D,"click",n[43]),C(U,"click",n[46]),C(X,"keyup",n[47])],on=!0)},p(n,e){let t=r;r=sn(n),r===t?~r&&ln[r].p(n,e):(l&&(K(),nn(ln[t],1,1,(()=>{ln[t]=null})),Y()),~r?(l=ln[r],l?l.p(n,e):(l=ln[r]=rn[r](n),l.c()),Z(l,1),l.m(i,null)):l=null);let o=m;m=un(n),m===o?~m&&fn[m].p(n,e):(p&&(K(),nn(fn[o],1,1,(()=>{fn[o]=null})),Y()),~m?(p=fn[m],p?p.p(n,e):(p=fn[m]=cn[m](n),p.c()),Z(p,1),p.m(d,null)):p=null);let a=E;E=pn(n),E===a?~E&&mn[E].p(n,e):(B&&(K(),nn(mn[a],1,1,(()=>{mn[a]=null})),Y()),~E?(B=mn[E],B?B.p(n,e):(B=mn[E]=dn[E](n),B.c()),Z(B,1),B.m(S,null)):B=null);let s=_;_=xn(n),_===s?~_&&hn[_].p(n,e):(H&&(K(),nn(hn[s],1,1,(()=>{hn[s]=null})),Y()),~_?(H=hn[_],H?H.p(n,e):(H=hn[_]=gn[_](n),H.c()),Z(H,1),H.m(R,null)):H=null);let c=V;V=yn(n),V===c?~V&&vn[V].p(n,e):(N&&(K(),nn(vn[c],1,1,(()=>{vn[c]=null})),Y()),~V?(N=vn[V],N?N.p(n,e):(N=vn[V]=$n[V](n),N.c()),Z(N,1),N.m(U,null)):N=null),_n===(_n=wn(n))&&Hn?Hn.p(n,e):(Hn&&Hn.d(1),Hn=_n&&_n(n),Hn&&(Hn.c(),Hn.m(en,null)))},i(n){tn||(Z(l),Z(p),Z(B),Z(H),Z(N),tn=!0)},o(n){nn(l),nn(p),nn(B),nn(H),nn(N),tn=!1},d(n){n&&v(e),~r&&ln[r].d(),~m&&fn[m].d(),~E&&mn[E].d(),~_&&hn[_].d(),~V&&vn[V].d(),Hn&&Hn.d(),on=!1,a(an)}}}function vn(n){let e,t,o,i,r,l,s,c,f,u,d,m,p,h,x,w,E,B,I,M,z,D,R,_,L,P,A,q,U,N,G,F,j,W,O,Q,X,J,K,Y,en,ln,sn,cn,fn=n[0].wgQuestion+"";function un(e){n[22](e)}let dn={};function mn(e){n[24](e)}void 0!==n[2][0]&&(dn.name=n[2][0]),c=new gn({props:dn}),H.push((()=>tn(c,"name",un)));let pn={};function hn(e){n[26](e)}void 0!==n[2][1]&&(pn.name=n[2][1]),x=new gn({props:pn}),H.push((()=>tn(x,"name",mn)));let xn={};function $n(e){n[28](e)}void 0!==n[2][2]&&(xn.name=n[2][2]),D=new gn({props:xn}),H.push((()=>tn(D,"name",hn)));let vn={};function yn(e){n[30](e)}void 0!==n[2][3]&&(vn.name=n[2][3]),U=new gn({props:vn}),H.push((()=>tn(U,"name",$n)));let wn={};return void 0!==n[2][4]&&(wn.name=n[2][4]),Q=new gn({props:wn}),H.push((()=>tn(Q,"name",yn))),{c(){e=y("div"),t=y("div"),o=b(fn),i=k(),r=y("div"),l=y("div"),s=y("div"),on(c.$$.fragment),u=k(),d=y("p"),d.textContent="Hate",m=k(),p=y("div"),h=y("div"),on(x.$$.fragment),E=k(),B=y("p"),B.textContent="Dislike",I=k(),M=y("div"),z=y("div"),on(D.$$.fragment),_=k(),L=y("p"),L.textContent="Neutral",P=k(),A=y("div"),q=y("div"),on(U.$$.fragment),G=k(),F=y("p"),F.textContent="Like",j=k(),W=y("div"),O=y("div"),on(Q.$$.fragment),J=k(),K=y("p"),K.textContent="Love",Y=k(),en=y("p"),T(t,"id","fsTxt"),T(s,"class","fsReactionIcon"),T(d,"class","fsReactionText"),T(l,"class","fsIconTextCont"),T(h,"class","fsReactionIcon"),T(B,"class","fsReactionText"),T(p,"class","fsIconTextCont"),T(z,"class","fsReactionIcon"),T(L,"class","fsReactionText"),T(M,"class","fsIconTextCont"),T(q,"class","fsReactionIcon"),T(F,"class","fsReactionText"),T(A,"class","fsIconTextCont"),T(O,"class","fsReactionIcon"),T(K,"class","fsReactionText"),T(W,"class","fsIconTextCont"),T(r,"class","fsIcons"),T(en,"id","test"),T(e,"class","fsReactionsContainer")},m(a,f){$(a,e,f),g(e,t),g(t,o),g(e,i),g(e,r),g(r,l),g(l,s),an(c,s,null),g(l,u),g(l,d),g(r,m),g(r,p),g(p,h),an(x,h,null),g(p,E),g(p,B),g(r,I),g(r,M),g(M,z),an(D,z,null),g(M,_),g(M,L),g(r,P),g(r,A),g(A,q),an(U,q,null),g(A,G),g(A,F),g(r,j),g(r,W),g(W,O),an(Q,O,null),g(W,J),g(W,K),g(e,Y),g(e,en),ln=!0,sn||(cn=[C(l,"click",n[23]),C(p,"click",n[25]),C(M,"click",n[27]),C(A,"click",n[29]),C(W,"click",n[31])],sn=!0)},p(n,e){(!ln||1&e[0])&&fn!==(fn=n[0].wgQuestion+"")&&S(o,fn);const t={};!f&&4&e[0]&&(f=!0,t.name=n[2][0],V((()=>f=!1))),c.$set(t);const i={};!w&&4&e[0]&&(w=!0,i.name=n[2][1],V((()=>w=!1))),x.$set(i);const a={};!R&&4&e[0]&&(R=!0,a.name=n[2][2],V((()=>R=!1))),D.$set(a);const r={};!N&&4&e[0]&&(N=!0,r.name=n[2][3],V((()=>N=!1))),U.$set(r);const l={};!X&&4&e[0]&&(X=!0,l.name=n[2][4],V((()=>X=!1))),Q.$set(l)},i(n){ln||(Z(c.$$.fragment,n),Z(x.$$.fragment,n),Z(D.$$.fragment,n),Z(U.$$.fragment,n),Z(Q.$$.fragment,n),ln=!0)},o(n){nn(c.$$.fragment,n),nn(x.$$.fragment,n),nn(D.$$.fragment,n),nn(U.$$.fragment,n),nn(Q.$$.fragment,n),ln=!1},d(n){n&&v(e),rn(c),rn(x),rn(D),rn(U),rn(Q),sn=!1,a(cn)}}}function yn(e){let t,o,i;return{c(){t=y("button"),t.innerHTML='<p class="fsSendButtonCommentComponent">Send</p>',T(t,"class","fsSendButtonContCommentComp")},m(n,a){$(n,t,a),o||(i=[C(t,"click",e[51]),C(t,"click",e[52])],o=!0)},p:n,d(n){n&&v(t),o=!1,a(i)}}}function wn(e){let t;return{c(){t=y("button"),t.innerHTML='<p class="fsCommentButtonTxtDisable">Send</p>',T(t,"class","fsCommentButtonContDisable"),t.disabled=!0},m(n,e){$(n,t,e)},p:n,d(n){n&&v(t)}}}function bn(n){let e,t,o;function i(e){n[33](e)}let a={};return void 0!==n[2][0]&&(a.name=n[2][0]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][0],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function kn(n){let e,t,o;function i(e){n[32](e)}let a={};return void 0!==n[2][0]&&(a.name=n[2][0]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][0],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Cn(n){let e,t,o;function i(e){n[36](e)}let a={};return void 0!==n[2][1]&&(a.name=n[2][1]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][1],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Tn(n){let e,t,o;function i(e){n[35](e)}let a={};return void 0!==n[2][1]&&(a.name=n[2][1]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][1],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Sn(n){let e,t,o;function i(e){n[39](e)}let a={};return void 0!==n[2][2]&&(a.name=n[2][2]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][2],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function En(n){let e,t,o;function i(e){n[38](e)}let a={};return void 0!==n[2][2]&&(a.name=n[2][2]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][2],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Bn(n){let e,t,o;function i(e){n[42](e)}let a={};return void 0!==n[2][3]&&(a.name=n[2][3]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][3],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function In(n){let e,t,o;function i(e){n[41](e)}let a={};return void 0!==n[2][3]&&(a.name=n[2][3]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][3],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Mn(n){let e,t,o;function i(e){n[45](e)}let a={};return void 0!==n[2][4]&&(a.name=n[2][4]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][4],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function zn(n){let e,t,o;function i(e){n[44](e)}let a={};return void 0!==n[2][4]&&(a.name=n[2][4]),e=new gn({props:a}),H.push((()=>tn(e,"name",i))),{c(){on(e.$$.fragment)},m(n,t){an(e,n,t),o=!0},p(n,o){const i={};!t&&4&o[0]&&(t=!0,i.name=n[2][4],V((()=>t=!1))),e.$set(i)},i(n){o||(Z(e.$$.fragment,n),o=!0)},o(n){nn(e.$$.fragment,n),o=!1},d(n){rn(e,n)}}}function Dn(e){let t,o,i;return{c(){t=y("button"),t.innerHTML='<p class="fsSendButtonCommentComponent">Send</p>',T(t,"class","fsSendButtonContCommentComp")},m(n,a){$(n,t,a),o||(i=C(t,"click",e[48]),o=!0)},p:n,d(n){n&&v(t),o=!1,i()}}}function Rn(e){let t;return{c(){t=y("button"),t.innerHTML='<p class="fsCommentButtonTxtDisable">Send</p>',T(t,"class","fsCommentButtonContDisable"),t.disabled=!0},m(n,e){$(n,t,e)},p:n,d(n){n&&v(t)}}}function _n(n){let e,t,o,i;const a=[vn,$n,xn],r=[];function l(n,e){return 1===n[7]?0:2===n[7]?1:3===n[7]?2:-1}return~(e=l(n))&&(t=r[e]=a[e](n)),{c(){t&&t.c(),o=b("")},m(n,t){~e&&r[e].m(n,t),$(n,o,t),i=!0},p(n,i){let s=e;e=l(n),e===s?~e&&r[e].p(n,i):(t&&(K(),nn(r[s],1,1,(()=>{r[s]=null})),Y()),~e?(t=r[e],t?t.p(n,i):(t=r[e]=a[e](n),t.c()),Z(t,1),t.m(o.parentNode,o)):t=null)},i(n){i||(Z(t),i=!0)},o(n){nn(t),i=!1},d(n){~e&&r[e].d(n),n&&v(o)}}}function Hn(n,e,t){let o,i,a,r,l,s,c,f,u,{feedbackData:d}=e;console.log("hiiih");let m=["hate","dislike","neutral","like","love"],p=m,g="",h="",x="",$="test",v=!0,y=0,{closeHandler:w=((n,e,t)=>{})}=e,{closeHandlerBeforeFinishing:b=((n,e,t)=>{})}=e;const k=()=>{let n=document.querySelector(".fsTextArea");""===n.value?t(8,u=!1):t(8,u=!0),t(4,h=""),t(4,h=n.value),console.log(n.value)},C=()=>{let n=document.querySelector("#fsEmailTextArea");/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(n.value)&&""!==n.value?(t(8,u=!0),t(5,x=""),t(5,x=document.getElementById("fsEmailTextArea").value)):t(8,u=!1)},T=(n,e,f)=>{let u=$;var d;$=f,console.log(f),t(7,o=n),t(3,g=String(e)),t(2,p=["unSelectedHate","unSelectedDislike","unSelectedNeutral","unSelectedLike","unSelectedLove"]),b(x,h,g),y>0&&("hate"==(d=u)?t(20,a="none"):"dislike"==d?t(19,r="none"):"neutral"==d?t(18,l="none"):"like"==d?t(17,s="none"):"love"==d&&t(15,c="none")),y++,1==e?(t(16,i=11),t(20,a="block"),t(2,p[0]=m[0],p),t(6,v=!v)):2==e?(t(2,p[1]=m[1],p),t(16,i=30),t(19,r="block"),t(6,v=!v)):3==e?(t(2,p[2]=m[2],p),t(16,i=49),t(18,l="block"),t(6,v=!v)):4==e?(t(2,p[3]=m[3],p),t(16,i=68),t(17,s="block"),t(6,v=!v)):5==e&&(t(2,p[4]=m[4],p),t(16,i=87),t(15,c="block"),t(6,v=!v))},S=n=>{clearInterval(undefined),document.querySelector(".fsTextArea").value="",t(8,u=!1),t(7,o=n)},E=()=>{console.log("444"),clearInterval(undefined),document.querySelector("#fsEmailTextArea").value=""};return n.$$set=n=>{"feedbackData"in n&&t(0,d=n.feedbackData),"closeHandler"in n&&t(1,w=n.closeHandler),"closeHandlerBeforeFinishing"in n&&t(14,b=n.closeHandlerBeforeFinishing)},n.$$.update=()=>{1&n.$$.dirty[0]&&t(21,f=d.wgAccentColor),65536&n.$$.dirty[0]&&document.documentElement.style.setProperty("--pointerMargin",i+"%"),1048576&n.$$.dirty[0]&&document.documentElement.style.setProperty("--hateDisplay",a),524288&n.$$.dirty[0]&&document.documentElement.style.setProperty("--dislikeDisplay",r),262144&n.$$.dirty[0]&&document.documentElement.style.setProperty("--neutralDisplay",l),131072&n.$$.dirty[0]&&document.documentElement.style.setProperty("--likeDisplay",s),32768&n.$$.dirty[0]&&document.documentElement.style.setProperty("--loveDisplay",c),2097152&n.$$.dirty[0]&&document.documentElement.style.setProperty("--buttonColor",f)},t(7,o=1),t(16,i=10),t(20,a="none"),t(19,r="none"),t(18,l="none"),t(17,s="none"),t(15,c="none"),t(8,u=!1),[d,w,p,g,h,x,v,o,u,k,C,T,S,E,b,c,i,s,l,r,a,f,function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},()=>T(2,1,"hate"),function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},()=>T(2,2,"dislike"),function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},()=>T(2,3,"neutral"),function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},()=>T(2,4,"like"),function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},()=>T(2,5,"love"),function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},function(e){n.$$.not_equal(p[0],e)&&(p[0]=e,t(2,p))},()=>T(2,1,"hate"),function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},function(e){n.$$.not_equal(p[1],e)&&(p[1]=e,t(2,p))},()=>T(2,2,"dislike"),function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},function(e){n.$$.not_equal(p[2],e)&&(p[2]=e,t(2,p))},()=>T(2,3,"neutral"),function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},function(e){n.$$.not_equal(p[3],e)&&(p[3]=e,t(2,p))},()=>T(2,4,"like"),function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},function(e){n.$$.not_equal(p[4],e)&&(p[4]=e,t(2,p))},()=>T(2,5,"love"),()=>k(),()=>S(3),()=>C(),()=>w(x,h,g),()=>w(x,h,g),()=>E()]}hn(".fsReactionsContainer {\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 190px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsIcons {\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n margin-top: 11%;\n }\n #fsTxt {\n font-size: 17px;\n display: flex;\n text-align: center;\n margin-top: 5%;\n width: 61%;\n margin-left: 19%;\n }\n\n .fsIconTextCont {\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 22px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n\n .fsReactionText {\n font-size: 12px;\n display: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n margin-top: 0px;\n \n }\n .fsIconTextCont:hover{\n pointer-events: auto;\n cursor: pointer;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsReactionIcon:hover + .fsReactionText {\n display: block;\n opacity: 0.8;\n }\n\n .fsCommentContainer{\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 291px;\n pointer-events: auto;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsTextAreaCont{\n pointer-events: auto;\n width: 100%;\n height: 140px;\n background-color: #eaeaeb;\n margin-top: 17%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsTextArea{\n border: 0px;\n width: 85%;\n height: 120px;\n background-color: #eaeaeb;\n margin-left: 6%;\n outline: none;\n margin-top: 4%;\n resize: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsSendButtonCommentComponent{\n pointer-events: auto;\n color: #ffff;\n font-size: 12px;\n text-align: center;\n margin-top: 6px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsSendButtonContCommentComp{\n pointer-events: auto;\n background-color: var(--buttonColor);\n width: 50px;\n height: 29px;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 3px 0px;\n border-radius: 3px;\n margin-top: 13px;\n margin-right: 11px;\n cursor: pointer;\n border: 0px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n \n.fsCommentButtonContDisable{\n pointer-events: auto;\n background-color: #cccccc;\n width: 50px;\n height: 29px;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 3px 0px;\n border-radius: 3px;\n margin-top: 13px;\n margin-right: 11px;\n cursor:not-allowed;\n border: 0px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n}\n.fsCommentButtonTxtDisable{\n pointer-events: auto;\n color: black;\n font-size: 12px;\n text-align: center;\n margin-top: 6px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n}\n .fsFooter{\n pointer-events: auto;\n display: flex;\n justify-content: flex-end;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n\n .fsIcons-second{\n\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n margin-top: 6%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsPointerDiv{\n width: 0;\n height: 0;\n border-left: 3px solid transparent;\n margin-top: -8px;\n border-right: 5px solid transparent;\n border-bottom: 8px solid #eaeaeb;\n margin-left: var(--pointerMargin);\n\n\n }\n #fsHateDiv{\n display: var(--hateDisplay);\n }\n #fsDislikeDiv{\n display: var(--dislikeDisplay);\n }\n #fsNeutralDiv{\n display: var(--neutralDisplay);\n }\n #fsLikeDiv{\n display: var(--likeDisplay);\n }\n #fsLoveDiv{\n display: var(--loveDisplay);\n }\n .fsEmailContainer{\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n height: 220px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsEmailInputCont{\n pointer-events: auto;\n pointer-events: auto;\n width: 100%;\n height: 46px;\n background-color: #eaeaeb;\n display: flex;\n /* align-items: center; */\n justify-content: center;\n margin-top: 10%;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n\n }\n #fsEmailTextArea{\n pointer-events: auto;\n text-align: center;\n border: 0px;\n background-color: #eaeaeb;\n outline: none;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsEmailText{\n width: 80%;\n text-align: center;\n margin-left: 11%;\n margin-top: 8%;\n line-height: 1.29;\n font-size: 17px;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n .fsEmailFooter{\n pointer-events: auto;\n display: flex;\n justify-content: flex-end;\n flex-direction: row;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }\n #fsSkipText{\n color: #908f8f;\n cursor: pointer;\n font-size: 13px;\n margin-top: 6%;\n margin-right: 4%;\n letter-spacing: normal;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n\n }\n #fsSkipText:hover{\n color: #666666;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\n }",{insertAt:"top"});class Ln extends cn{constructor(n){super(),sn(this,n,Hn,_n,l,{feedbackData:0,closeHandler:1,closeHandlerBeforeFinishing:14},null,[-1,-1])}}function Pn(n){const e=n-1;return e*e*e+1}function An(n,{delay:e=0,duration:t=400,easing:o=Pn,x:i=0,y:a=0,opacity:r=0}={}){const l=getComputedStyle(n),s=+l.opacity,c="none"===l.transform?"":l.transform,f=s*(1-r);return{delay:e,duration:t,easing:o,css:(n,e)=>`\n\t\t\ttransform: ${c} translate(${(1-n)*i}px, ${(1-n)*a}px);\n\t\t\topacity: ${s-f*e}`}}function qn(n){let e,t,o,i,a,r,l,s,c,f;function u(e){n[21](e)}let d={};return void 0!==n[1]&&(d.fill=n[1]),r=new dn({props:d}),H.push((()=>tn(r,"fill",u))),{c(){e=y("div"),t=y("div"),o=b(n[2]),i=k(),a=y("div"),on(r.$$.fragment),T(t,"id","fsFeedbackTxt"),T(a,"id","fsMainIcon"),T(e,"class","fsWidget")},m(l,u){$(l,e,u),g(e,t),g(t,o),g(e,i),g(e,a),an(r,a,null),s=!0,c||(f=C(e,"click",n[11]),c=!0)},p(n,e){(!s||4&e)&&S(o,n[2]);const t={};!l&&2&e&&(l=!0,t.fill=n[1],V((()=>l=!1))),r.$set(t)},i(n){s||(Z(r.$$.fragment,n),s=!0)},o(n){nn(r.$$.fragment,n),s=!1},d(n){n&&v(e),rn(r),c=!1,f()}}}function Un(t){let o,i,a,l,s,c,u,d,m;function h(n){t[22](n)}let x={closeHandler:t[8],closeHandlerBeforeFinishing:t[9]};return void 0!==t[0]&&(x.feedbackData=t[0]),l=new Ln({props:x}),H.push((()=>tn(l,"feedbackData",h))),{c(){o=y("div"),i=y("div"),i.innerHTML='<p id="fsCloseIcon">X</p>',a=k(),on(l.$$.fragment),T(i,"class","fsCloseCont"),T(o,"class","fsCont")},m(n,e){$(n,o,e),g(o,i),g(o,a),an(l,o,null),u=!0,d||(m=C(i,"click",t[12]),d=!0)},p(n,e){t=n;const o={};!s&&1&e&&(s=!0,o.feedbackData=t[0],V((()=>s=!1))),l.$set(o)},i(i){u||(Z(l.$$.fragment,i),c||U((()=>{c=function(t,o,i){let a,l,s=o(t,i),c=!1,u=0;function d(){a&&D(t,a)}function m(){const{delay:o=0,duration:i=300,easing:r=e,tick:m=n,css:g}=s||en;g&&(a=z(t,0,1,i,o,r,g,u++)),m(0,1);const h=f()+o,x=h+i;l&&l.abort(),c=!0,U((()=>Q(t,!0,"start"))),l=p((n=>{if(c){if(n>=x)return m(1,0),Q(t,!0,"end"),d(),c=!1;if(n>=h){const e=r((n-h)/i);m(e,1-e)}}return c}))}let g=!1;return{start(){g||(g=!0,D(t),r(s)?(s=s(),O().then(m)):m())},invalidate(){g=!1},end(){c&&(d(),c=!1)}}}(o,An,{x:t[6],duration:500}),c.start()})),u=!0)},o(n){nn(l.$$.fragment,n),u=!1},d(n){n&&v(o),rn(l),d=!1,m()}}}function Vn(t){let o,i,l,s,c,u,d,m,h,x=t[0].wgThanksMsg+"";return{c(){o=y("div"),i=y("div"),i.innerHTML='<p id="fsCloseIcon">X</p>',l=k(),s=y("div"),c=b(x),T(i,"class","fsCloseCont"),E(s,"width","61%"),E(s,"text-align","center"),E(s,"margin-top","7%"),E(s,"margin-left","20%"),T(o,"class","fsThanksMessageCont")},m(n,e){$(n,o,e),g(o,i),g(o,l),g(o,s),g(s,c),d=!0,m||(h=C(i,"click",t[10]),m=!0)},p(n,e){t=n,(!d||1&e)&&x!==(x=t[0].wgThanksMsg+"")&&S(c,x)},i(n){d||(u&&u.end(1),d=!0)},o(i){u=function(t,o,i){let l,s=o(t,i),c=!0;const u=J;function d(){const{delay:o=0,duration:i=300,easing:r=e,tick:d=n,css:m}=s||en;m&&(l=z(t,1,0,i,o,r,m));const g=f()+o,h=g+i;U((()=>Q(t,!1,"start"))),p((n=>{if(c){if(n>=h)return d(0,1),Q(t,!1,"end"),--u.r||a(u.c),!1;if(n>=g){const e=r((n-g)/i);d(1-e,e)}}return c}))}return u.r+=1,r(s)?O().then((()=>{s=s(),d()})):d(),{end(n){n&&s.tick&&s.tick(1,0),c&&(l&&D(t,l),c=!1)}}}(o,An,{x:t[7],duration:300}),d=!1},d(n){n&&v(o),n&&u&&u.end(),m=!1,h()}}}function Nn(n){let e,t,o,i,a=n[4]&&qn(n),r=n[3]&&Un(n),l=n[5]&&Vn(n);return{c(){e=y("fsContainer"),a&&a.c(),t=k(),r&&r.c(),o=k(),l&&l.c()},m(n,s){$(n,e,s),a&&a.m(e,null),g(e,t),r&&r.m(e,null),g(e,o),l&&l.m(e,null),i=!0},p(n,[i]){n[4]?a?(a.p(n,i),16&i&&Z(a,1)):(a=qn(n),a.c(),Z(a,1),a.m(e,t)):a&&(K(),nn(a,1,1,(()=>{a=null})),Y()),n[3]?r?(r.p(n,i),8&i&&Z(r,1)):(r=Un(n),r.c(),Z(r,1),r.m(e,o)):r&&(K(),nn(r,1,1,(()=>{r=null})),Y()),n[5]?l?(l.p(n,i),32&i&&Z(l,1)):(l=Vn(n),l.c(),Z(l,1),l.m(e,null)):l&&(K(),nn(l,1,1,(()=>{l=null})),Y())},i(n){i||(Z(a),Z(r),Z(l),i=!0)},o(n){nn(a),nn(r),nn(l),i=!1},d(n){n&&v(e),a&&a.d(),r&&r.d(),l&&l.d()}}}function Gn(n,e,t){let o,{feedback:i}=e;console.log(i);let a="",r="",l="Feedback";l="en"==i.wgLanguage?" Feedback":"ar"==i.wgLanguage?"رأي":"Rétroaction",!0===i.wgAlternateColor?(a="white",r="white"):(a="black",r="black");let s="",c="",f=0,u=0,d=0,m=0,p=!1,g=!0,h=!1,x=0,$=0;0==Number(i.wgPosition)&&(s="center",c="row-reverse",f=5,u=0,d=30,m=0,x=-100,$=20),1==Number(i.wgPosition)&&(s="center",c="row",f=0,u=5,d=0,m=30,x=100,$=-20),2==Number(i.wgPosition)&&(s="flex-end",c="row-reverse",f=5,d=30,m=0,x=-100,$=20),3==Number(i.wgPosition)&&(s="flex-end",c="row",f=0,u=5,d=0,m=30,x=100,$=-20);let v=0,y="",w="",b="";const k=(n,e,t)=>{y=n,w=e,b=Number(t);let o={email:n,comment:e,reaction:t};if(1==v){console.log("hi",o);let n=new CustomEvent("fbEvent",{bubbles:!1,detail:o});window.dispatchEvent(n),console.log(o)}},C=()=>{t(3,p=!p),t(5,h=!h)};return n.$$set=n=>{"feedback"in n&&t(0,i=n.feedback)},n.$$.update=()=>{1&n.$$.dirty&&t(20,o=i.wgAccentColor),1048576&n.$$.dirty&&document.documentElement.style.setProperty("--widgetColor",o),8192&n.$$.dirty&&document.documentElement.style.setProperty("--widgetTextColor",a),16384&n.$$.dirty&&document.documentElement.style.setProperty("--wgPositionHorizintal",s),32768&n.$$.dirty&&document.documentElement.style.setProperty("--wgPositionVertical",c),65536&n.$$.dirty&&document.documentElement.style.setProperty("--widgetLeftSideBorder",f+"px"),131072&n.$$.dirty&&document.documentElement.style.setProperty("--widgetRightSideBorder",u+"px"),262144&n.$$.dirty&&document.documentElement.style.setProperty("--widgetMarginRight",d+"px"),524288&n.$$.dirty&&document.documentElement.style.setProperty("--widgetMarginLeft",m+"px")},[i,r,l,p,g,h,x,$,(n,e,t)=>{let o={email:n,comment:e,reaction:Number(t)},i=new CustomEvent("fbEvent",{bubbles:!1,detail:o});window.dispatchEvent(i),console.log(o),C()},k,()=>{t(5,h=!h),setTimeout((function(){t(4,g=!g)}),350)},()=>{t(3,p=!p),t(4,g=!g)},()=>{v=1,0!=b&&k(y,w,b),t(3,p=!p),setTimeout((function(){t(4,g=!g)}),350)},a,s,c,f,u,d,m,o,function(n){r=n,t(1,r)},function(n){i=n,t(0,i)}]}hn("fsContainer{\n width: 100%;\n display: flex;\n flex-direction: var(--wgPositionVertical);\n position: fixed;\n top: 0; right: 0; bottom: 0; left: 0;\n\theight: 100%;\n pointer-events: none;\n align-items: var(--wgPositionHorizintal);\n padding: 0;\n z-index: 100000;\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n }\n .fsWidget {\n pointer-events: auto;\n background-color: var(--widgetColor);\n width: 34px;\n height: 112px;\n border-top-left-radius:var(--widgetLeftSideBorder) ;\n border-bottom-left-radius: var(--widgetLeftSideBorder);\n border-top-right-radius: var(--widgetRightSideBorder) ;\n border-bottom-right-radius: var(--widgetRightSideBorder);\n box-shadow: 0.2px 0.2px 0.2px rgb(133, 130, 130);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-evenly;\n cursor: pointer;\n margin-top: 5px;\n }\n #fsMainIcon {\n width: 60%;\n margin-left: 4%;\n cursor: pointer;\n }\n #fsFeedbackTxt {\n color: var(--widgetTextColor);\n font-size: 15px;\n writing-mode: vertical-lr;\n transform: rotate(180deg);\n cursor: pointer;\n font-size-adjust: 0.40;\n }\n .fsWidget:hover {\n width: 35px;\n -webkit-box-shadow: 0px 0px 35px 2px rgba(0, 0, 0, 0.24);\n box-shadow: 0px 0px 35px 2px rgba(0, 0, 0, 0.24);\n }\n .fsCont {\n pointer-events: auto;\n width: 320px;\n height: fit-content;\n background-color: rgb(255, 255, 255);\n \tmargin-right: var(--widgetMarginRight);\n margin-left: var(--widgetMarginLeft);\n\t-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px; \n\tbox-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;\n }\n .fsThanksMessageCont{\n pointer-events: auto;\n width: 320px;\n height: 104px;\n background-color: rgb(255, 255, 255);\n \tmargin-right: var(--widgetMarginRight);\n margin-left: var(--widgetMarginLeft);\n\t-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px; \n\tbox-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;\n }\n #fsCloseIcon{\n\t font-size: 15px;\n\t color: #ffff;\n\t font-weight: 600;\n \tcursor: pointer;\n\t \n }\n .fsCloseCont{\n pointer-events: auto;\n\t background-color: #4d5167;\n\t width: 27px;\n height: 27px;\n\tborder-radius: 50%;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tmargin-top: -15px;\n margin-left: 85%;\n\tcursor: pointer;\n\t}\n\n \n \n \n\n /* @media (min-width: 640px) {\n body {\n max-width: none;\n }\n } */",{insertAt:"top"});class Fn extends cn{constructor(n){super(),sn(this,n,Gn,Nn,l,{feedback:0})}}function jn(n){new Fn({target:document.body,props:{feedback:n}})}jn({id:1,wgStatus:1,wgName:"ask",wgDescription:"test",wgCrtDt:"2021-12-05 10:49:14",wgResponses:null,wgUpdTime:null,SiteId:98,UserId:262,wgLanguage:"en",wgPosition:"0",wgAccentColor:"#51797b",wgAlternateColor:!0,wgQuestion:"How would you rate your experience?",wgUserScreenshot:1,wgEmailReqMsg:"We may wish to follow up. Enter your email if you're happy for us to contact you.",wgEmailReqActivation:1,wgAdditionalMsg:"Heads up! This is for feedback only. Need help? Contact us via our [link to Help Center].",wgAdditionalMsgActivation:1,wgThanksMsg:"Thank you for sharing your feedback with us",wgThanksMsgActivation:1,wgDesktop:1,wgPhone:1,wgTablet:1,wgPages:[{id:0,name:"*"}],wgWidgetToUsers:0,wgPercentage:100,wgEmail:"abd@gmail.com",wgWidgetToAllPages:1,wgReactionStyle:0,wgResponseViaEmail:1});export{jn as feedbackCreator};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.fsReactionText {
|
|
33
|
-
font-size:
|
|
33
|
+
font-size: 12px;
|
|
34
34
|
display: none;
|
|
35
35
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
36
36
|
margin-top: 0px;
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
color: #ffff;
|
|
81
81
|
font-size: 12px;
|
|
82
82
|
text-align: center;
|
|
83
|
-
margin-top:
|
|
83
|
+
margin-top: 6px;
|
|
84
84
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
85
85
|
|
|
86
86
|
}
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
color: black;
|
|
119
119
|
font-size: 12px;
|
|
120
120
|
text-align: center;
|
|
121
|
-
margin-top:
|
|
121
|
+
margin-top: 6px;
|
|
122
122
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
123
123
|
|
|
124
124
|
}
|