/*! For license information please see survey-v2.8176de1a5dea92754015.js.LICENSE.txt */ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7ff16f15-6317-5cd8-82c1-e44efcb5ddfb")}catch(e){}}(); !function(){var e={62:function(e,n,t){t.p=hj.scriptDomain},5340:function(e,n,t){"use strict";t.r(n);var r=t(5933),o=t.n(r),i=t(2384),a=t.n(i),l=t(1482),s=t.n(l),c=t(2437),u=t.n(c),d=t(7334),p=t.n(d),f=t(6922),h=t.n(f),m=t(6385),_=t.n(m),v=t(3012),y=t.n(v),b=t(2825),g=t.n(b),w=o()((function(e){return e[1]})),x=a()(s()),k=a()(s(),{hash:"#iefix"}),j=a()(u()),S=a()(p()),C=a()(h()),M=a()(_(),{hash:"#hotjar"}),P=a()(y()),O=a()(g());w.push([e.id,"._hj-Pbej5__styles__resetStyles *{line-height:normal;font-family:Arial, sans-serif, Tahoma !important;text-transform:initial !important;letter-spacing:normal !important}._hj-Pbej5__styles__resetStyles *::before,._hj-Pbej5__styles__resetStyles *::after{box-sizing:initial}._hj-Pbej5__styles__resetStyles div{height:auto}._hj-Pbej5__styles__resetStyles button{display:inline-block;height:auto;font-size:1rem}._hj-Pbej5__styles__resetStyles div,._hj-Pbej5__styles__resetStyles span,._hj-Pbej5__styles__resetStyles p,._hj-Pbej5__styles__resetStyles a,._hj-Pbej5__styles__resetStyles button{font-weight:normal !important}._hj-Pbej5__styles__resetStyles div,._hj-Pbej5__styles__resetStyles span,._hj-Pbej5__styles__resetStyles p,._hj-Pbej5__styles__resetStyles a,._hj-Pbej5__styles__resetStyles img,._hj-Pbej5__styles__resetStyles strong,._hj-Pbej5__styles__resetStyles form,._hj-Pbej5__styles__resetStyles label{border:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;float:none !important}._hj-Pbej5__styles__resetStyles span{color:inherit}._hj-Pbej5__styles__resetStyles ol,._hj-Pbej5__styles__resetStyles ul,._hj-Pbej5__styles__resetStyles li{list-style:none !important;margin:0 !important;padding:0 !important}._hj-Pbej5__styles__resetStyles li:before,._hj-Pbej5__styles__resetStyles li:after{content:none !important}._hj-Pbej5__styles__resetStyles hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}._hj-Pbej5__styles__resetStyles input[type='submit'],._hj-Pbej5__styles__resetStyles input[type='button'],._hj-Pbej5__styles__resetStyles button{margin:0;padding:0;float:none !important}._hj-Pbej5__styles__resetStyles input,._hj-Pbej5__styles__resetStyles select,._hj-Pbej5__styles__resetStyles a img{vertical-align:middle}._hj-s3UIi__styles__globalStyles *,._hj-s3UIi__styles__globalStyles *::before,._hj-s3UIi__styles__globalStyles *::after{box-sizing:border-box}@font-face{font-family:'hotjar';src:url("+x+");src:url("+k+') format("embedded-opentype"),url('+j+') format("woff2"),url('+S+') format("truetype"),url('+C+') format("woff"),url('+M+") format(\"svg\");font-weight:normal;font-style:normal}@keyframes _hj-eYRYp__styles__spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes _hj-5\\+Z5O__styles__colors{0%{border-color:#f4364c;border-top-color:transparent}25%{border-color:#00a2f2;border-top-color:transparent}50%{border-color:#efb60c;border-top-color:transparent}75%{border-color:#42ca49;border-top-color:transparent}100%{border-color:#f4364c;border-top-color:transparent}}._hj-s3UIi__styles__globalStyles p{color:inherit !important}._hj-s3UIi__styles__globalStyles a,._hj-s3UIi__styles__globalStyles a:link,._hj-s3UIi__styles__globalStyles a:hover,._hj-s3UIi__styles__globalStyles a:active{color:inherit !important;text-decoration:underline}._hj-s3UIi__styles__globalStyles ._hj-L5SMl__styles__icon{speak:none !important;font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;overflow-wrap:normal !important;word-break:normal !important;word-wrap:normal !important;white-space:nowrap !important;line-height:normal !important;-webkit-font-smoothing:antialiased !important;-moz-osx-font-smoothing:grayscale !important;vertical-align:middle !important}._hj-s3UIi__styles__globalStyles ._hj-L5SMl__styles__icon,._hj-s3UIi__styles__globalStyles ._hj-L5SMl__styles__icon:before,._hj-s3UIi__styles__globalStyles ._hj-L5SMl__styles__icon:after,._hj-s3UIi__styles__globalStyles ._hj-L5SMl__styles__icon *,._hj-s3UIi__styles__globalStyles ._hj-L5SMl__styles__icon *:before,._hj-s3UIi__styles__globalStyles ._hj-L5SMl__styles__icon *:after{font-family:'hotjar' !important;display:inline-block !important;direction:ltr !important}._hj-s3UIi__styles__globalStyles ._hj-L5SMl__styles__icon:before{color:inherit !important}._hj-s3UIi__styles__globalStyles ._hj-dk3Fb__styles__iconX:before{content:'\\e803'}._hj-s3UIi__styles__globalStyles ._hj-9iDZB__styles__iconOk:before{content:'\\e804'}._hj-s3UIi__styles__globalStyles ._hj-t13KX__styles__iconError:before{content:'\\e90c'}._hj-s3UIi__styles__globalStyles ._hj-D\\+oDX__styles__iconLogo:before{content:'\\e806'}._hj-s3UIi__styles__globalStyles ._hj-Nbq9C__styles__iconSelectElement:before{content:'\\e91a'}._hj-s3UIi__styles__globalStyles ._hj-mtJG6__styles__surveyIcons{background-repeat:no-repeat;width:16px;height:16px;display:inline-block !important;zoom:1;vertical-align:middle}._hj-widget-theme-light ._hj-s3UIi__styles__globalStyles ._hj-mtJG6__styles__surveyIcons{background-image:url("+P+")}._hj-widget-theme-dark ._hj-s3UIi__styles__globalStyles ._hj-mtJG6__styles__surveyIcons{background-image:url("+O+")}._hj-s3UIi__styles__globalStyles ._hj-EZqbk__styles__inputField{font-family:Arial, sans-serif, Tahoma;font-size:14px;color:#333 !important;padding:6px !important;text-indent:0 !important;height:30px;width:100%;min-width:100%;background:white;border:1px solid !important;outline:none !important;max-width:none !important;float:none;border-radius:3px}._hj-s3UIi__styles__globalStyles ._hj-AwaE7__styles__textarea{resize:none;height:100px}._hj-s3UIi__styles__globalStyles ._hj-EIBGi__styles__basicButton,._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton{cursor:pointer;text-decoration:none;text-transform:capitalize;font-size:14px;font-weight:bold;padding:6px 16px !important;border:0;outline:0;display:inline-block;vertical-align:top;width:auto;zoom:1;transition:all 0.2s ease-in-out;box-shadow:0 2px 3px 0 rgba(0,0,0,0.15);border-radius:4px;color:white}._hj-s3UIi__styles__globalStyles ._hj-EIBGi__styles__basicButton:hover,._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton:hover,._hj-s3UIi__styles__globalStyles ._hj-EIBGi__styles__basicButton:focus,._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton:focus,._hj-s3UIi__styles__globalStyles ._hj-EIBGi__styles__basicButton:active,._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton:active{background:#00a251}._hj-s3UIi__styles__globalStyles ._hj-EIBGi__styles__basicButton[disabled],._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton[disabled]{cursor:default}._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton{font-size:14px !important;font-weight:500 !important;padding:6px 16px !important;border:0 !important;outline:0 !important;min-height:initial !important;width:auto !important;min-width:initial !important;background:var(--hjFeedbackAccentColor) !important;color:var(--hjFeedbackAccentTextColor) !important;box-shadow:none !important}._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton:hover,._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton:focus,._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton:active{background:var(--hjFeedbackAccentActiveColor) !important}._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton:focus{background:var(--hjFeedbackAccentColor) !important;box-shadow:0 0 0 1px var(--hjFeedbackPrimaryColor),0 0 0 3px var(--hjFeedbackAccentColor) !important}._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton:hover{background:var(--hjFeedbackAccentHoverColor) !important}._hj-s3UIi__styles__globalStyles ._hj-SU8LU__styles__primaryButton[disabled]{cursor:default;background:var(--hjFeedbackDisabledAccentColor) !important;color:var(--hjFeedbackDisabledAccentTextColor) !important}._hj-s3UIi__styles__globalStyles ._hj-F457\\+__styles__clearButton{cursor:pointer;text-decoration:underline;font-size:13px !important;padding:0 10px !important;border:0 !important}._hj-s3UIi__styles__globalStyles ._hj-F457\\+__styles__clearButton,._hj-s3UIi__styles__globalStyles ._hj-F457\\+__styles__clearButton:hover,._hj-s3UIi__styles__globalStyles ._hj-F457\\+__styles__clearButton:focus,._hj-s3UIi__styles__globalStyles ._hj-F457\\+__styles__clearButton:active{background:transparent !important}._hj-s3UIi__styles__globalStyles ._hj-hTm4\\+__styles__answersContentWrapper{padding:4px 12px 16px 12px}._hj-s3UIi__styles__globalStyles ._hj-ag9y\\+__styles__spinner{border:1px solid rgba(0,0,0,0.6);border-top-color:transparent !important;border-radius:50%;transform:rotate(0deg);animation:_hj-eYRYp__styles__spin 0.4s linear infinite, _hj-5\\+Z5O__styles__colors 5.6s ease-in-out infinite}._hj-s3UIi__styles__globalStyles ._hj-H1LCt__styles__widget{font-size:13px !important;position:fixed;z-index:2147483640;bottom:-400px;right:100px;width:300px;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0;-webkit-transform:translateZ(0) !important;transform:translateZ(0) !important}._hj-AwaE7__styles__textarea{}._hj-dk3Fb__styles__iconX,._hj-9iDZB__styles__iconOk,._hj-t13KX__styles__iconError,._hj-D\\+oDX__styles__iconLogo,._hj-Nbq9C__styles__iconSelectElement{}._hj-eJm8p__styles__rtl,._hj-eJm8p__styles__rtl *{direction:rtl !important}._hj-hc6BA__styles__roundedCorners{border-radius:3px}@media screen and (max-width: 480px){._hj-A4W17__styles__inlineSurvey{max-width:100%;overflow-x:auto}}\n",""]),w.locals={resetStyles:"_hj-Pbej5__styles__resetStyles",globalStyles:"_hj-s3UIi__styles__globalStyles",icon:"_hj-L5SMl__styles__icon",iconX:"_hj-dk3Fb__styles__iconX _hj-L5SMl__styles__icon",iconOk:"_hj-9iDZB__styles__iconOk _hj-L5SMl__styles__icon",iconError:"_hj-t13KX__styles__iconError _hj-L5SMl__styles__icon",iconLogo:"_hj-D+oDX__styles__iconLogo _hj-L5SMl__styles__icon",iconSelectElement:"_hj-Nbq9C__styles__iconSelectElement _hj-L5SMl__styles__icon",surveyIcons:"_hj-mtJG6__styles__surveyIcons",inputField:"_hj-EZqbk__styles__inputField",textarea:"_hj-AwaE7__styles__textarea _hj-EZqbk__styles__inputField",basicButton:"_hj-EIBGi__styles__basicButton",primaryButton:"_hj-SU8LU__styles__primaryButton",clearButton:"_hj-F457+__styles__clearButton",answersContentWrapper:"_hj-hTm4+__styles__answersContentWrapper",spinner:"_hj-ag9y+__styles__spinner",spin:"_hj-eYRYp__styles__spin",colors:"_hj-5+Z5O__styles__colors",widget:"_hj-H1LCt__styles__widget",rtl:"_hj-eJm8p__styles__rtl",roundedCorners:"_hj-hc6BA__styles__roundedCorners",inlineSurvey:"_hj-A4W17__styles__inlineSurvey"},n.default=w},5933:function(e){"use strict";e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t=e(n);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t})).join("")},n.i=function(e,t,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i>16,l=i>>8&255,s=255&i,c="number"==typeof r.alpha?r.alpha:o;return"array"===r.format?[a,l,s,c]:"css"===r.format?"rgb("+a+" "+l+" "+s+(1===c?"":" / "+Number((100*c).toFixed(2))+"%")+")":{red:a,green:l,blue:s,alpha:c}}(e,{format:"array"});return S([null,r[0],r[1],r[2],r[3]])}function S(e){var n=e[1],t=e[2],r=e[3],o=e[4];return void 0===o&&(o=1),{type:"rgb",values:[n,t,r].map(w),alpha:k(null===o?1:o)}}var C=function(n){if("string"!=typeof n)return null;var t=r.exec(n);if(t)return j(t[0]);var o=u.exec(n)||s.exec(n);if(o)return function(e){var n=e[1],t=e[2],r=e[3],o=e[4];void 0===o&&(o=1);var i=n;return{type:"hsl",values:[i=i.endsWith("turn")?360*parseFloat(i)/1:i.endsWith("rad")?Math.round(180*parseFloat(i)/Math.PI):parseFloat(i),x(t),x(r)],alpha:k(null===o?1:o)}}(o);var i=_.exec(n)||y.exec(n)||p.exec(n)||h.exec(n);if(i)return S(i);if(b.exec(n))return S([null,0,0,0,0]);var a=e[n.toLowerCase()];return a?S([null,a[0],a[1],a[2],1]):null},M=function(e){var n,t,r,o,i,a=e[0]/360,l=e[1]/100,s=e[2]/100;if(0==l)return[i=255*s,i,i];n=2*s-(t=s<.5?s*(1+l):s+l-s*l),o=[0,0,0];for(var c=0;c<3;c++)(r=a+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?n+6*(t-n)*r:2*r<1?t:3*r<2?n+(t-n)*(2/3-r)*6:n,o[c]=255*i;return o};function P(e){var n=Math.round(function(e,n,t){return Math.min(Math.max(e,n),t)}(e,0,255)).toString(16);return 1==n.length?"0"+n:n}var O=function(e){var n=4===e.length?P(255*e[3]):"";return"#"+P(e[0])+P(e[1])+P(e[2])+n},A=function(e){var n,t,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.min(r,o,i),l=Math.max(r,o,i),s=l-a;return l==a?n=0:r==l?n=(o-i)/s:o==l?n=2+(i-r)/s:i==l&&(n=4+(r-o)/s),(n=Math.min(60*n,360))<0&&(n+=360),t=(a+l)/2,[n,100*(l==a?0:t<=.5?s/(l+a):s/(2-l-a)),100*t]};function I(e){var n=C(e);return null===n?null:("hsl"===n.type&&(n.values=M(n.values)),n)}function z(e,n,t){void 0===t&&(t=50);var r=I(e),o=I(n);if(!r||!o)return null;var i=Math.min(Math.max(0,t),100)/100,a=2*i-1,l=r.alpha-o.alpha,s=((a*l==-1?a:(a+l)/(1+a*l))+1)/2,c=1-s,u=r.values.map((function(e,n){return Math.round(r.values[n]*s+o.values[n]*c)})),d=u[0],p=u[1],f=u[2],h=parseFloat((r.alpha*i+o.alpha*(1-i)).toFixed(8));return{hex:O([d,p,f]),hexa:O([d,p,f,h]),rgba:[d,p,f,h],hsla:A([d,p,f]).map(Math.round).concat([h])}}var E=function(e,n){return null===e||isNaN(e)||"string"==typeof e?n:e},T=function(e,n,t){var r;void 0===e&&(e="#000"),void 0===n&&(n="base"),void 0===t&&(t=0),r=[[0,0,0],1,n,t],this.rgb=r[0],this.alpha=r[1],this.type=r[2],this.weight=r[3];var o=null===e?"#000":e;if("string"!=typeof o)throw new TypeError("Input should be a string: "+o);var i=C(o);if(!i)throw new Error("Unable to parse color from string: "+o);return this["_setFrom"+i.type.toUpperCase()](i.values.concat([i.alpha]))},N={hex:{configurable:!0}};return N.hex.get=function(){return this.hexString().replace(/^#/,"")},T.prototype.setColor=function(e){var n=C(e);return n?this["_setFrom"+n.type.toUpperCase()](n.values.concat([n.alpha])):null},T.prototype.tint=function(e,n){return void 0===n&&(n=E(e,50)),new T("rgb("+z("#fff",this.rgbString(),n).rgba+")","tint",n)},T.prototype.shade=function(e,n){return void 0===n&&(n=E(e,50)),new T("rgb("+z("#000",this.rgbString(),n).rgba+")","shade",n)},T.prototype.tints=function(e,n){var t=this;return void 0===n&&(n=E(e,10)),Array.from({length:100/n},(function(e,r){return t.tint((r+1)*n)}))},T.prototype.shades=function(e,n){var t=this;return void 0===n&&(n=E(e,10)),Array.from({length:100/n},(function(e,r){return t.shade((r+1)*n)}))},T.prototype.all=function(e){return void 0===e&&(e=10),this.tints(e).reverse().concat([Object.assign(this)],this.shades(e))},T.prototype.hexString=function(){return O(this.alpha>=1?this.rgb:this.rgb.concat([this.alpha]))},T.prototype.rgbString=function(){var e=(this.alpha>=1?this.rgb:this.rgb.concat([this.alpha])).join(", ");return(this.alpha>=1?"rgb":"rgba")+"("+e+")"},T.prototype.getBrightness=function(){return Math.round(this.rgb.reduce((function(e,n){return e+n}))/765*100)},T.prototype._setFromRGB=function(e){var n;return n=[[e[0],e[1],e[2]],e[3]],this.rgb=n[0],this.alpha=n[1],this},T.prototype._setFromHSL=function(e){var n,t=e[0],r=e[1],o=e[2],i=e[3];return n=[M([t,r,o]).map(Math.round),i],this.rgb=n[0],this.alpha=n[1],this},Object.defineProperties(T.prototype,N),T.VERSION="v2.1.1",T}()}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.exports}t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,{a:n}),n},t.d=function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;t.g.importScripts&&(e=t.g.location+"");var n=t.g.document;if(!e&&n&&(n.currentScript&&(e=n.currentScript.src),!e)){var r=n.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&!e;)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=e}(),t.nc=void 0,function(){"use strict";var e,n,r,o,i,a,l={},s=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function u(e,n){for(var t in n)e[t]=n[t];return e}function d(e){var n=e.parentNode;n&&n.removeChild(e)}function p(e,n,t){var r,o,i,a=arguments,l={};for(i in n)"key"==i?r=n[i]:"ref"==i?o=n[i]:l[i]=n[i];if(arguments.length>3)for(t=[t],i=3;i1&&M(o,n,t),n=x(t,o,o,e.__k,null,o.__e,n),"function"==typeof e.type&&(e.__d=n)))}function P(n,t,r,o,i,a,l,s,c){var d,p,f,_,v,y,b,w,x,k,j,S=t.type;if(void 0!==t.constructor)return null;null!=r.__h&&(c=r.__h,s=t.__e=r.__e,t.__h=null,a=[s]),(d=e.__b)&&d(t);try{e:if("function"==typeof S){if(w=t.props,x=(d=S.contextType)&&o[d.__c],k=d?x?x.props.value:d.__:o,r.__c?b=(p=t.__c=r.__c).__=p.__E:("prototype"in S&&S.prototype.render?t.__c=p=new S(w,k):(t.__c=p=new m(w,k),p.constructor=S,p.render=E),x&&x.sub(p),p.props=w,p.state||(p.state={}),p.context=k,p.__n=o,f=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=S.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=u({},p.__s)),u(p.__s,S.getDerivedStateFromProps(w,p.__s))),_=p.props,v=p.state,f)null==S.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==S.getDerivedStateFromProps&&w!==_&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(w,k),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(w,p.__s,k)||t.__v===r.__v){p.props=w,p.state=p.__s,t.__v!==r.__v&&(p.__d=!1),p.__v=t,t.__e=r.__e,t.__k=r.__k,p.__h.length&&l.push(p),M(t,s,n);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(w,p.__s,k),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(_,v,y)}))}p.context=k,p.props=w,p.state=p.__s,(d=e.__r)&&d(t),p.__d=!1,p.__v=t,p.__P=n,d=p.render(p.props,p.state,p.context),p.state=p.__s,null!=p.getChildContext&&(o=u(u({},o),p.getChildContext())),f||null==p.getSnapshotBeforeUpdate||(y=p.getSnapshotBeforeUpdate(_,v)),j=null!=d&&d.type==h&&null==d.key?d.props.children:d,g(n,Array.isArray(j)?j:[j],t,r,o,i,a,l,s,c),p.base=t.__e,t.__h=null,p.__h.length&&l.push(p),b&&(p.__E=p.__=null),p.__e=!1}else null==a&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=A(r.__e,t,r,o,i,a,l,c);(d=e.diffed)&&d(t)}catch(n){t.__v=null,(c||null!=a)&&(t.__e=s,t.__h=!!c,a[a.indexOf(s)]=null),e.__e(n,t,r)}return t.__e}function O(n,t){e.__c&&e.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(e){e.call(t)}))}catch(n){e.__e(n,t.__v)}}))}function A(e,n,t,r,o,i,a,c){var u,d,p,f,h,m=t.props,_=n.props;if(o="svg"===n.type||o,null!=i)for(u=0;u=r.__.length&&r.__.push({}),r.__[n]}function W(e){return D=1,function(e,n,t){var r=Z(N++,2);return r.t=e,r.__c||(r.__=[t?t(n):oe(void 0,n),function(e){var n=r.t(r.__[0],e);r.__[0]!==n&&(r.__=[n,r.__[1]],r.__c.setState({}))}],r.__c=L),r.__}(oe,e)}function G(n,t){var r=Z(N++,3);!e.__s&&re(r.__H,t)&&(r.__=n,r.__H=t,L.__H.__h.push(r))}function V(n,t){var r=Z(N++,4);!e.__s&&re(r.__H,t)&&(r.__=n,r.__H=t,L.__h.push(r))}function X(e){return D=5,J((function(){return{current:e}}),[])}function J(e,n){var t=Z(N++,7);return re(t.__H,n)&&(t.__=e(),t.__H=n,t.__h=e),t.__}function K(e,n){return D=8,J((function(){return e}),n)}function Y(e){var n=L.context[e.__c],t=Z(N++,9);return t.__c=e,n?(null==t.__&&(t.__=!0,n.sub(L)),n.props.value):e.__}function Q(){U.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(ne),n.__H.__h.forEach(te),n.__H.__h=[]}catch(t){n.__H.__h=[],e.__e(t,n.__v)}})),U=[]}e.__b=function(e){L=null,B&&B(e)},e.__r=function(e){R&&R(e),N=0;var n=(L=e.__c).__H;n&&(n.__h.forEach(ne),n.__h.forEach(te),n.__h=[])},e.diffed=function(n){H&&H(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==U.push(t)&&F===e.requestAnimationFrame||((F=e.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(r),ee&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);ee&&(n=requestAnimationFrame(t))})(Q)),L=void 0},e.__c=function(n,t){t.some((function(n){try{n.__h.forEach(ne),n.__h=n.__h.filter((function(e){return!e.__||te(e)}))}catch(r){t.some((function(e){e.__h&&(e.__h=[])})),t=[],e.__e(r,n.__v)}})),q&&q(n,t)},e.unmount=function(n){$&&$(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(ne)}catch(n){e.__e(n,t.__v)}};var ee="function"==typeof requestAnimationFrame;function ne(e){var n=L;"function"==typeof e.__c&&e.__c(),L=n}function te(e){var n=L;e.__c=e.__(),L=n}function re(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function oe(e,n){return"function"==typeof n?n(e):n}function ie(e,n){for(var t in n)e[t]=n[t];return e}function ae(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var r in n)if("__source"!==r&&e[r]!==n[r])return!0;return!1}function le(e){this.props=e}(le.prototype=new m).isPureReactComponent=!0,le.prototype.shouldComponentUpdate=function(e,n){return ae(this.props,e)||ae(this.state,n)};var se=e.__b;e.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),se&&se(e)};var ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ue(e){function n(n,t){var r=ie({},n);return delete r.ref,e(r,(t=n.ref||t)&&("object"!=typeof t||"current"in t)?t:null)}return n.$$typeof=ce,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n}var de=e.__e;function pe(e){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),(e=ie({},e)).__c=null,e.__k=e.__k&&e.__k.map(pe)),e}function fe(e){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(fe)),e}function he(){this.__u=0,this.t=null,this.__b=null}function me(e){var n=e.__.__c;return n&&n.__e&&n.__e(e)}function _e(){this.u=null,this.o=null}e.__e=function(e,n,t){if(e.then)for(var r,o=n;o=o.__;)if((r=o.__c)&&r.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),r.__c(e,n);de(e,n,t)},(he.prototype=new m).__c=function(e,n){var t=n.__c,r=this;null==r.t&&(r.t=[]),r.t.push(t);var o=me(r.__v),i=!1,a=function(){i||(i=!0,t.componentWillUnmount=t.__c,o?o(l):l())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){a(),t.__c&&t.__c()};var l=function(){var e;if(! --r.__u)for(r.__v.__k[0]=fe(r.state.__e),r.setState({__e:r.__b=null});e=r.t.pop();)e.forceUpdate()};!0===n.__h||r.__u++||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},he.prototype.componentWillUnmount=function(){this.t=[]},he.prototype.render=function(e,n){this.__b&&(this.__v.__k&&(this.__v.__k[0]=pe(this.__b)),this.__b=null);var t=n.__e&&p(h,null,e.fallback);return t&&(t.__h=null),[p(h,null,n.__e?null:e.children),t]};var ve=function(e,n,t){if(++t[1]===t[0]&&e.o.delete(n),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(t=e.u;t;){for(;t.length>3;)t.pop()();if(t[1]0?Ue(Xe,--Ge):0,Ze--,10===Ve&&(Ze=1,$e--),Ve}function Qe(){return Ve=Ge2||rn(Ve)>3?"":" "}function cn(e,n){for(;--n&&Qe()&&!(Ve<48||Ve>102||Ve>57&&Ve<65||Ve>70&&Ve<97););return tn(e,nn()+(n<6&&32==en()&&32==Qe()))}function un(e){for(;Qe();)switch(Ve){case e:return Ge;case 34:case 39:34!==e&&39!==e&&un(Ve);break;case 40:41===e&&un(e);break;case 92:Qe()}return Ge}function dn(e,n){for(;Qe()&&e+Ve!==57&&(e+Ve!==84||47!==en()););return"/*"+tn(n,Ge-1)+"*"+Te(47===e?e:Qe())}function pn(e){for(;!rn(en());)Qe();return tn(e,Ge)}var fn="-ms-",hn="-moz-",mn="-webkit-",_n="comm",vn="rule",yn="decl",bn="@keyframes";function gn(e,n){for(var t="",r=He(e),o=0;o0&&Re(k)-d&&qe(f>32?Cn(k+";",r,t,d-1):Cn(Fe(k," ","")+";",r,t,d-2),s);break;case 59:k+=";";default:if(qe(x=jn(k,n,t,c,u,o,l,b,g=[],w=[],d),i),123===y)if(0===u)kn(k,n,x,x,g,i,d,l,w);else switch(99===p&&110===Ue(k,3)?100:p){case 100:case 108:case 109:case 115:kn(e,x,x,r&&qe(jn(e,x,x,0,0,o,l,b,o,g=[],d),w),o,w,d,l,r?g:w);break;default:kn(k,x,x,x,[""],w,0,l,w)}}c=u=f=0,m=v=1,b=k="",d=a;break;case 58:d=1+Re(k),f=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==Ye())continue;switch(k+=Te(y),y*m){case 38:v=u>0?1:(k+="\f",-1);break;case 44:l[c++]=(Re(k)-1)*v,v=1;break;case 64:45===en()&&(k+=ln(Qe())),p=en(),u=d=Re(b=k+=pn(nn())),y++;break;case 45:45===h&&2==Re(k)&&(m=0)}}return i}function jn(e,n,t,r,o,i,a,l,s,c,u){for(var d=o-1,p=0===o?i:[""],f=He(p),h=0,m=0,_=0;h0?p[v]+" "+y:Fe(y,/&\f/g,p[v])))&&(s[_++]=b);return Je(e,n,t,0===o?vn:l,s,c,u)}function Sn(e,n,t){return Je(e,n,t,_n,Te(Ve),Be(e,2,-2),0)}function Cn(e,n,t,r){return Je(e,n,t,yn,Be(e,0,r),Be(e,r+1,-1),r)}var Mn=function(e,n,t){for(var r=0,o=0;r=o,o=en(),38===r&&12===o&&(n[t]=1),!rn(o);)Qe();return tn(e,Ge)},Pn=new WeakMap,On=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var n=e.value,t=e.parent,r=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===n.charCodeAt(0)||Pn.get(t))&&!r){Pn.set(e,!0);for(var o=[],i=function(e,n){return an(function(e,n){var t=-1,r=44;do{switch(rn(r)){case 0:38===r&&12===en()&&(n[t]=1),e[t]+=Mn(Ge-1,n,t);break;case 2:e[t]+=ln(r);break;case 4:if(44===r){e[++t]=58===en()?"&\f":"",n[t]=e[t].length;break}default:e[t]+=Te(r)}}while(r=Qe());return e}(on(e),n))}(n,o),a=t.props,l=0,s=0;l6)switch(Ue(e,n+1)){case 109:if(45!==Ue(e,n+4))break;case 102:return Fe(e,/(.+:)(.+)-([^]+)/,"$1"+mn+"$2-$3$1"+hn+(108==Ue(e,n+3)?"$3":"$2-$3"))+e;case 115:return~De(e,"stretch")?In(Fe(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(115!==Ue(e,n+1))break;case 6444:switch(Ue(e,Re(e)-3-(~De(e,"!important")&&10))){case 107:return Fe(e,":",":"+mn)+e;case 101:return Fe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+mn+(45===Ue(e,14)?"inline-":"")+"box$3$1"+mn+"$2$3$1"+fn+"$2box$3")+e}break;case 5936:switch(Ue(e,n+11)){case 114:return mn+e+fn+Fe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return mn+e+fn+Fe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return mn+e+fn+Fe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return mn+e+fn+e+e}return e}var zn=[function(e,n,t,r){if(e.length>-1&&!e.return)switch(e.type){case yn:e.return=In(e.value,e.length);break;case bn:return gn([Ke(e,{value:Fe(e.value,"@","@"+mn)})],r);case vn:if(e.length)return function(e,n){return e.map(n).join("")}(e.props,(function(n){switch(function(e,n){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(n)){case":read-only":case":read-write":return gn([Ke(e,{props:[Fe(n,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return gn([Ke(e,{props:[Fe(n,/:(plac\w+)/,":"+mn+"input-$1")]}),Ke(e,{props:[Fe(n,/:(plac\w+)/,":-moz-$1")]}),Ke(e,{props:[Fe(n,/:(plac\w+)/,fn+"input-$1")]})],r)}return""}))}}],En=function(e){var n=e.key;if("css"===n){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||zn,a={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(e){for(var n=e.getAttribute("data-emotion").split(" "),t=1;t=4;++r,o-=4)n=1540483477*(65535&(n=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(n>>>16)<<16),t=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(o){case 3:t^=(255&e.charCodeAt(r+2))<<16;case 2:t^=(255&e.charCodeAt(r+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(r)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)}(o)+s;return{name:c,styles:o,next:Hn}},Zn=(Object.prototype.hasOwnProperty,T("undefined"!=typeof HTMLElement?En({key:"css"}):null));Zn.Provider;var Wn=function(e){return ue((function(n,t){var r=Y(Zn);return e(n,r,t)}))},Gn=T({}),Vn=function(e,n,t){!function(e,n,t){var r=e.key+"-"+n.name;!1===t&&void 0===e.registered[r]&&(e.registered[r]=n.styles)}(e,n,t);var r=e.key+"-"+n.name;if(void 0===e.inserted[n.name]){var o=n;do{e.insert(n===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},Xn=Ie,Jn=function(e){return"theme"!==e},Kn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Xn:Jn},Yn=function(e,n,t){var r;if(n){var o=n.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(n){return e.__emotion_forwardProp(n)&&o(n)}:o}return"function"!=typeof r&&t&&(r=e.__emotion_forwardProp),r},Qn=function e(n,t){var r,o,i=n.__emotion_real===n,a=i&&n.__emotion_base||n;void 0!==t&&(r=t.label,o=t.target);var l=Yn(n,t,i),s=l||Kn(a),c=!s("as");return function(){var u=arguments,d=i&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var f=u.length,h=1;he.length)&&(n=e.length);for(var t=0,r=new Array(n);t0&&void 0!==arguments[0]?arguments[0]:rt,", Arial, sans-serif")},lt=function(e){var n=function(e,n,t){if(n&&!Array.isArray(n)&&"number"==typeof n.length){var r=n.length;return tt(n,40&&void 0!==arguments[0]&&arguments[0]?hj.hq(window).width()<319:hj.hq(window).width()<=650}var ht=function(e,n){var t=hj.isPreview&&"desktop"===e;return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pt;return function(e){return hj.features.hasFeature("survey.iframe.full_screen")&&"full_screen"===e||hj.features.hasFeature("survey.iframe.popover")&&"popover"===e?window.parent:window}(e).document.documentElement.clientWidthe.length)&&(n=e.length);for(var t=0,r=new Array(n);t{const[t,r,o]=(e=>e.match(/^rgb/)?function(e){const n=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/),[,t,r,o]=n;return[Number(t),Number(r),Number(o)]}(e):function(e){const n=+`0x${e.slice(1).replace(e.length<5&&/./g,"$&$&")}`;return[n>>16&255,n>>8&255,255&n]}(e))(e);return Math.sqrt(t*t*.299+r*r*.587+o*o*.114)>n};var jt,St,Ct,Mt;function Pt(){return Pt=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);te.length)&&(n=e.length);for(var t=0,r=new Array(n);tn?(e+.05)/(n+.05):(n+.05)/(e+.05)}function rr(e){var n=Qt(e),t=n?function(e){var n=Zt(Wt,e,3),t=n[0],r=n[1],o=n[2];t/=255,r/=255,o/=255;var i=Math.max(t,r,o),a=i-Math.min(t,r,o),l=a?i===t?(r-o)/a:i===r?2+(o-t)/a:4+(t-r)/a:0;return[60*l<0?60*l+360:60*l,100*(a?i<=.5?a/(2*i-a):a/(2-(2*i-a)):0),100*(2*i-a)/2]}(n):[0,0,0];t[1]=t[1]?Vt*t[1]:0;var r=new(qt())(e),o=new(qt())(function(e){var n=Zt(Wt,e,3);return"#"+((n[0]<<16)+(n[1]<<8)+n[2]).toString(16).padStart(6,"0")}(function(e){var n=Zt(Wt,e,3),t=n[0],r=n[1],o=n[2];o/=100;var i=function(e){return(e+t/30)%12},a=(r/=100)*Math.min(o,1-o),l=function(e){return o-a*Math.max(-1,Math.min(i(e)-3,Math.min(9-i(e),1)))};return[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))]}(t)));return Xt["colors-".concat(e)]=Xt["colors-".concat(e)]||Kt(r),Xt["greys-".concat(e)]=Xt["greys-".concat(e)]||Kt(o),{colors:Xt["colors-".concat(e)],greys:Xt["greys-".concat(e)]}}var or,ir={};function ar(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3,o=function(e,n,t,r){return"".concat(e).concat(n[t]).concat(r.toString())}(e,n,t,r);if(ir[o])return ir[o];var i=nr(Qt(e)),a=n[t],l=nr(Qt(a)),s=tr(i,l),c=i>l;if(s>=r)return a;for(var u=a,d=Jt[t];d<100&d>-100;c?d+=5:d-=5){var p=new(qt())(n[500]);if((s=tr(i,nr((u=d<0?p.tint(-1*d):p.shade(d)).rgb)))>=r)break}return ir[o]=u.hexString(),u.hexString()}function lr(e){var n=X(null);return V((function(){if(n.current){var t,r,o,i,a,l,s,c,u,d,p,f=e.buttonColor||e.accentColor||e.button,h=rr(f),m=e.secondaryTextColor||e.footerTextColor,_=e.backgroundColor||e.background||e.primaryColor,v=function(e){var n=e.toUpperCase();return Bt[n]||Lt(n)}(_),y=function(e){return Rt[e]||Lt(e)}(_),b=function(e,n){var t=kt(e),r=function(e){var n=Ot(At,Nt(e),3),t=n[0],r=n[1],o=n[2],i=o>15?-5:5;return Tt(t,Math.max(.75*r,0),Math.max(0,o+i))}(n),o=Pt(Pt({color:e,textColor:t?"#000":"#FFF",hoverColor:Lt(e),disabledColor:r,disabledTextColor:kt(r)?"rgba(0,0,0,0.43)":"rgba(255, 255, 255, 0.38)",activeColor:Ft(e)},Dt[e.toUpperCase()]),Ut[n.toUpperCase()]);return Pt({},o)}(f,_);n.current.style.setProperty("--hjFeedbackAccentColor",null!==(t=b.color)&&void 0!==t?t:""),n.current.style.setProperty("--hjFeedbackAccentHoverColor",null!==(r=b.hoverColor)&&void 0!==r?r:""),n.current.style.setProperty("--hjFeedbackAccentActiveColor",null!==(o=b.activeColor)&&void 0!==o?o:""),n.current.style.setProperty("--hjFeedbackAccentTextColor",e.accentTextColor||b.textColor),n.current.style.setProperty("--hjFeedbackDisabledAccentColor",b.disabledColor),n.current.style.setProperty("--hjFeedbackDisabledAccentTextColor",b.disabledTextColor),n.current.style.setProperty("--hjFeedbackSecondaryTextColor",null!=m?m:""),n.current.style.setProperty("--hjFeedbackPrimaryColor",null!=_?_:""),n.current.style.setProperty("--hjFeedbackBackgroundColor",null!==(i=e.backgroundColor)&&void 0!==i?i:""),n.current.style.setProperty("--hjFeedbackDarkGray",null!==(a=e.darkGrey)&&void 0!==a?a:""),n.current.style.setProperty("--hjFeedbackSelectionColor",null!==(l=e.selectionColor)&&void 0!==l?l:""),n.current.style.setProperty("--hjFeedbackSelectionTextColor",null!==(s=e.selectionTextColor)&&void 0!==s?s:""),n.current.style.setProperty("--hjFeedbackPrimaryColor",null!==(c=e.primaryColor)&&void 0!==c?c:""),n.current.style.setProperty("--hjFeedbackSecondaryColor",null!==(u=e.secondaryColor)&&void 0!==u?u:""),n.current.style.setProperty("--hjFeedbackBorderColor",null!=v?v:""),n.current.style.setProperty("--hjFeedbackOptionButtonBackgroundColor",null!=y?y:""),n.current.style.setProperty("--hjFeedbackInputPlaceholderColor","light"===e.skin?ar(_,h.greys,500,4.5):ar(_,h.greys,300,4.5)),n.current.style.setProperty("--hjFeedbackFontColor",null!==(d=e.fontColor)&&void 0!==d?d:""),n.current.style.setProperty("font-size","clamp(16px, 1rem, 32px)","important"),n.current.style.setProperty("--hjFeedbackPageTextColor",null!==(p=e.pageTextColor)&&void 0!==p?p:"")}}),[e]),{ref:n}}function sr(){return hj.isPreview}var cr=function(e,n,t){return{negative:e,neutral:n,positive:t}},ur=((or={})[gt.NPS]=cr(6,8,10),or[gt.RATING_7]=cr(3,4,7),or[gt.RATING_5]=cr(2,3,5),or[gt.REACTION]=cr(2,3,5),or),dr=function(e,n){var t=function(e){if(!ur[e])throw new Error("Got unexpected question type ".concat(e));return ur[e]}(e);if(n<=t.negative)return 0;if(n<=t.neutral)return 1;if(n<=t.positive)return 2;throw new Error("Got unexpected scale answer: "+n)},pr=hj.tryCatch((function(){var e=function(){try{return window.self!==window.top}catch(e){return!0}}(),n={width:!e&&window.screen?window.screen.width:document.body.clientWidth,height:!e&&window.screen?window.screen.height:document.body.clientHeight};return{width:window.innerWidth||document.documentElement.clientWidth||n.width,height:window.innerHeight||document.documentElement.clientHeight||n.height}}),"common"),fr=hj.tryCatch((function(){var e,n;if(document&&document.documentElement&&document.documentElement.clientWidth)e=document.documentElement.clientWidth,n=document.documentElement.clientHeight;else{var t=pr();e=t.width,n=t.height}return{width:e,height:n}}),"common"),hr=hj.tryCatch((function(e){return e=e||window,{left:hj.hq(e).scrollLeft(),top:hj.hq(e).scrollTop()}}),"common"),mr=(hj.tryCatch((function(){var e=parseInt(1e3*(hj.hq(window).scrollTop()+hj.ui.getWindowSize().height)/hj.hq(document).height(),10);return Math.min(1e3,e)}),"common"),hj.tryCatch((function(e){var n=hj.ui.getScrollPosition();hj.hq(document).on("scroll.hotjarDisable resize.hotjarDisable mousewheel.hotjarDisable DOMMouseScroll.hotjarDisable touchmove.hotjarDisable",hj.tryCatch((function(t){t.preventDefault(),window.scrollTo(n.left,n.top),e&&e()}),"common"))}),"common"),hj.tryCatch((function(){hj.hq(document).off("scroll.hotjarDisable"),hj.hq(document).off("resize.hotjarDisable"),hj.hq(document).off("mousewheel.hotjarDisable"),hj.hq(document).off("DOMMouseScroll.hotjarDisable"),hj.hq(document).off("touchmove.hotjarDisable")}),"common"),"_hj-widget-container");function _r(e,n){for(var t=e.querySelectorAll(n),r=0;re.length)&&(n=e.length);for(var t=0,r=new Array(n);t1?t-1:0),o=1;oe.length)&&(n=e.length);for(var t=0,r=new Array(n);te.length)&&(n=e.length);for(var t=0,r=new Array(n);te.content.questions.length||o,A=Br(Rr,W([]),2),I=A[0],z=A[1],E=n&&"ask"===e.connect_visit_data||"always"===e.connect_visit_data;G((function(){e.preview&&h(e.preview.forceAnswerValid)}),[null===(r=e.preview)||void 0===r?void 0:r.forceAnswerValid]),G((function(){var n;sr()||(n=e.id,Ur({event:"surveyDisplayed",surveyId:n,insightsUrl:Nr(n)}))}),[e.id]);var T=function(n){M(!0);var t=u[P.uuid],r=n?P.nextIfSkipped:P.next,o=function(e,n,t,r,o){var i=o;if("byAnswer"===o){var a=Array.isArray(r)?r[0].answerIndex:r.answerIndex;i=n.nextByAnswer[a]}if("byOrder"===i||!i)return t+1;if(0===i.indexOf("question:"))return function(e,n){for(var t=n.split(":")[1],r=0;r-1&&(r.answer=t),hj.event.signal("poll.question",r)}(e.id,P,r.answerText));var c,d=hj.features.hasFeature("survey.screenshots")&&e.auto_screenshot&&(c=e.display_type,xr[c].allowsScreenshots)&&!b,p=S();return function(e,n,t,r,o,i,a){var l=hj.settings.integrations.hubspot,s={utk:l&&l.enabled&&l.send_surveys?hj.bridge.storage.items.HUBSPOT_UTK.get():null,response_content:hj.hq.stringify({version:4,answers:t}),questions_seen:r,first_seen:hj.bridge.getSessionFirstSeen()};o?function(e,n){function t(){var e=hr(),n=e.top,t=e.left,r=fr(),o=r.width,i=r.height;return{width:o,height:i,viewport:[n,t,n+i,t+o]}}e?hj.bridge.getPageContent((function(e,r){n(vr(vr({},t()),{},{pageContent:e,projectId:r}))}),[".".concat(mr)]):n(vr(vr({},t()),{},{pageContent:null}))}(o,(function(t){var r=t.width,l=t.height,c=t.pageContent,u=t.viewport,d=t.projectId;o&&(d?(s.cs_page_content=c,s.cs_project_id=d):s.page_content=c,s.selectors=["html"],s.window_width=r,s.window_height=l,s.viewport=u),hj.request.savePollResponse(e,n,s,i,a)})):hj.request.savePollResponse(e,n,s,i,a)}(e.id,E,a,i,d,(function(n){var t=n.poll_response_id;g(!0),sr()||(function(e,n,t,r,o){var i=Dr([t],o);Ur({event:"surveySubmitted",surveyId:e,question:t,questionIndex:r,response:i,insightsUrl:Lr(e,n)})}(e.id,t,P,l,s),"always"===e.connect_visit_data&&n.is_new_response&&wr(e.id),o===e.content.questions.length&&(function(e,n){hj.request.completePollResponse(e,n)}(e.id,p),function(e,n,t,r){var o=Dr(t,r);Ur({event:"surveyCompleted",surveyId:e,questions:t,responses:o,insightsUrl:void 0===n?void 0:Lr(e,n)})}(e.id,t,e.content.questions,a)))}),(function(){var n,t,r;n=e.id,t=e.content.questions,r=Dr(t,a),Ur({event:"surveyCompletedError",surveyId:n,questions:t,responses:r})})),a})),function(e){"always"!==e.persist_condition&&hj.bridge.storage.items.POLL_DONE.add(e.id)}(e)}s(o),h(!1)};return{state:{questionIndex:l,hasInteracted:_,question:P,answerValid:f,isSubmitted:o,isFinalStep:O,isClosed:x},actions:{onQuestionSkipped:function(){return T(!0)},onQuestionSubmitted:function(){return T(!1)},onAnswerChange:function(e,n){"__proto__"!==P.uuid&&"constructor"!==P.uuid&&(M(!0),h(e),d((function(e){var t,r=(t=e,Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),{}));return r[P.uuid]=n,r})))},onClose:function(){var n;k(!0),n=e.id,Ur({event:"surveyClosed",surveyId:n,insightsUrl:Nr(n)})},setInteracted:M,setQuestionIndex:s}}}function $r(e,n){var t,r,o=parseInt(null!==(t=e.getAttribute("tabindex"))&&void 0!==t?t:"0"),i=parseInt(null!==(r=n.getAttribute("tabindex"))&&void 0!==r?r:"0");return o===i?0:-1===o?-1:-1===i?1:0===o?-1:0===i?1:o-i}var Zr=["a[href]","area[href]","button:not(:disabled)","iframe",'input:not(:disabled):not([type="hidden"])',"select:not(:disabled)","textarea:not(:disabled)","[tabindex]"].map((function(e){return e.concat(':not([tabindex="-1"]):not([data-skip-autofocus="true"])')})).join(", "),Wr=(t(63),Wn((function(e,n){var t=e.styles,r=$n([t],void 0,Y(Gn)),o=X();return V((function(){var e=n.key+"-global",t=new ze({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),t.hydrate([a])),o.current=[t,i],function(){t.flush()}}),[n]),V((function(){var e=o.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Vn(n,r.next,!0),t.tags.length){var i=t.tags[t.tags.length-1].nextElementSibling;t.before=i,t.flush()}n.insert("",r,t,!1)}}),[n,r.name]),null})));function Gr(){for(var e=arguments.length,n=new Array(e),t=0;te.length)&&(n=e.length);for(var t=0,r=new Array(n);te.length)&&(n=e.length);for(var t=0,r=new Array(n);t344&&!s?"".concat(l.width+32,"px"):"".concat(344,"px"),d="100vw",p="".concat(st.spacer.x1," ").concat(st.spacer.x1," 0 0"),f="".concat(function(e,n){return e?n?"0 ".concat(st.spacer.x1," ").concat(st.spacer.x1," 0"):"".concat(st.spacer.x1," 0 0 ").concat(st.spacer.x1):"".concat(st.spacer.x1," ").concat(st.spacer.x1," 0 0")}(s,c),";"),h=function(t,r,o){return n?r:e?o:t};return Gr(Ii||(Ii=Di(["\n width: ",";\n box-shadow: ",";\n border-radius: ",";\n min-height: ",";\n max-height: 100vh !important;\n max-width: 100%;\n\n "," {\n width: ",";\n box-shadow: ",";\n border-radius: ",";\n min-height: ",";\n }\n "])),h(d,d,u),r?"":h(st.shadow.mobile,st.shadow.mobile,st.shadow.desktop),h(p,p,f),h("".concat(l.height+32,"px"),"auto","".concat(l.height+32,"px")),st.breakpoint.desktop,h(u,d,u),r?"":h(st.shadow.desktop,st.shadow.mobile,st.shadow.desktop),h(f,p,f),h("".concat(l.height+32,"px"),"auto","".concat(l.height+32,"px")))}(e.isPreviewMode,e.forceMobilePreview,e.position,e.isMinimized,e.buttonRef)}),(function(e){return function(e,n,t,r){var o=Gr(hi||(hi=Di(["\n opacity: ",";\n ","\n "])),t?0:1,r?t?Gr(mi||(mi=Di(["\n animation: "," 0.3s ease-in-out;\n "])),qi):Gr(_i||(_i=Di(["\n animation: "," 0.3s ease-in-out;\n "])),Hi):""),i="\n animation: none;\n opacity: 1;\n ",a=function(t,r,o){return n?r:e?o:t};return Gr(vi||(vi=Di(["\n ","\n\n "," {\n ","\n }\n "])),a(o,o,i),st.breakpoint.desktop,a(i,o,i))}(e.isPreviewMode,e.forceMobilePreview,e.isMinimized,e.shouldAnimate)})),Ji=function(e){var n=e.isClosed,t=e.isFinalStep,r=e.isMinimized,o=e.isShowingOnce,i=e.toggleId,a=e.updateMinimizedState,l=e.isMobilePreview,s=e.children,c=e.labelId,u=void 0===c?"":c,d=e.surveyBodyRef,f=e.buttonLabel,h=e.buttonRef,m=dt(),_=function(e,n,t){if(n&&!Array.isArray(n)&&"number"==typeof n.length){var r=n.length;return Fi(n,20?document.all&&!document.compatMode?5:document.all&&!window.XMLHttpRequest?6:document.all&&!document.querySelector?7:document.all&&!document.addEventListener?8:document.all&&!window.atob?9:10:-1!==n.indexOf("Trident/")?11:-1!==n.indexOf("Edge/")?12:"notIE"}),"utils"),hj.tryCatch((function(e){return(e=e||navigator.userAgent).indexOf("Firefox")>-1}),"utils"),hj.tryCatch((function(e){return(e=e||navigator.userAgent).indexOf("Safari")>-1&&-1===e.indexOf("Chrome")}),"utils"),hj.tryCatch((function(e){return e=e||navigator.userAgent,/\b(Safari|iPad|iPhone|iPod)\b/.test(e)&&/WebKit/.test(e)&&!/Edge/.test(e)&&void 0===window.MSStream}),"utils"),hj.tryCatch((function(){return _hjSettings.wsHost||(_hjSettings.wsHost="ws.hotjar.com"),_hjSettings.wsHost}),"utils.get-ws-server"),function(){});function Ua(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Ba(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ba(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ba(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t0;n-=1)t=Math.floor(Math.random()*(n+1)),r=e[n],e[n]=e[t],e[t]=r;return e}),"utils.shuffle");var Wa,Ga,Va,Xa=hj.tryCatch((function(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}),"utils.validateEmail"),Ja=hj.tryCatch((function(){return hj.userDeviceType||(hj.userDeviceType=Za(),"mobile"===hj.userDeviceType&&(hj.userDeviceType="phone")),hj.userDeviceType}),"utils.deviceType");function Ka(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Ya(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ya(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ya(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);te.length)&&(n=e.length);for(var t=0,r=new Array(n);te.length)&&(n=e.length);for(var t=0,r=new Array(n);t0});var e},theme:c}),p(zl,{theme:c},t.text)),r&&t.comments&&p(Il,null,p(El,{theme:c,htmlFor:"answer-".concat(t.index,"-comment")},hj.polls.translate("comment_label")),p(ol,{id:"answer-".concat(t.index,"-comment"),ariaLabel:u,kind:"textarea",value:l,required:!0,onInput:function(e){var n=e.currentTarget.value;s(n),i(t.text,n)},onClick:function(e){e.nativeEvent.stopImmediatePropagation(),e.preventDefault()},theme:c})))};function Nl(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Ll(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ll(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ll(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t0&&e.every((function(e){return e.isValid}));r(n,e)},c=function(e){a((function(n){var t=[].concat(n);if("radio"===l)t=[e];else{var r=Rl(t,e.answerText);-1===r?t.push(e):t.splice(r,1)}return s(t),t}))},u=function(e,n){a((function(t){var r=[].concat(t),o=r[Rl(r,e)];return o&&(o.comment=n,o.isValid=n.length>0),s(r),r}))};return p(Bl,{"aria-labelledby":n,role:"radio"===l?"radiogroup":"group"},t.answers.map((function(e){return p(Tl,{key:e.index,answerType:l,answer:e,isSelected:Rl(i,e.text)>-1,onSelect:c,onCommentUpdate:u})})))},ql=function(e,n){return e?"#324FBE":n?"#1C3286":"#838696"},$l=function(e){var n=e.isHighlighted,t=e.isSelected,r=e.stroke;return p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none",style:{overflow:"visible"}},p("path",{fill:ql(n,t),style:t?{stroke:r,strokeWidth:"3px",paintOrder:"stroke"}:{},d:"M17.72 2a2.5 2.5 0 014.56 0l3.87 8.66a2.5 2.5 0 002.02 1.47l9.43 1a2.5 2.5 0 011.42 4.34l-7.05 6.35a2.5 2.5 0 00-.78 2.38l1.97 9.28a2.5 2.5 0 01-3.7 2.69l-8.21-4.74a2.5 2.5 0 00-2.5 0l-8.22 4.74a2.5 2.5 0 01-3.7-2.69l1.98-9.28a2.5 2.5 0 00-.78-2.38L.98 17.47a2.5 2.5 0 011.42-4.34l9.43-1a2.5 2.5 0 002.02-1.47L17.72 2z"}))},Zl="#C2C5CD",Wl="#FFC107",Gl={hate:function(e){return p(h,null,p("path",{fill:e.greyOut?Zl:Wl,d:"M22 42.6a20.6 20.6 0 100-41.2 20.6 20.6 0 000 41.2z"}),p("path",{fill:"#111",d:"M27 12.5a9.7 9.7 0 008.1 2.1c.4 0 .8 1.4.3 1.6-3.3.6-6.7-.4-9.3-2.5-.3-.4.7-1.4 1-1.2zm-18 2a10 10 0 008-2c.3-.3 1.4.8 1 1.1a11 11 0 01-9.3 2.5c-.5-.2-.1-1.6.3-1.5zM24.6 17c1.4 6.1 7 7.6 11.2 3 .2-.1-.1-.3-.5-.8a8.8 8.8 0 01-9.8-2.6c-.5.1-1 .1-.9.4zM8.1 20c4.2 4.6 9.8 3.1 11.2-3 0-.2-.3-.3-.8-.4-2.2 3-6.8 4-10 2.6-.2.4-.6.6-.4.9zm24.7 10.3c-1.2-2.5-4-4.2-10.8-4.2-6.7 0-9.6 1.7-10.8 4.1-.6 1.4.3 3.5.3 3.5 1 2.7 1 3.4 10.5 3.4 9.6 0 9.4-.7 10.5-3.4 0 0 1-2.1.3-3.5z"}),p("path",{fill:"#fff",d:"M29.8 29.6c.1-.2 0-.5-.1-.6 0 0-1.7-1.5-7.6-1.5-6 0-7.7 1.5-7.7 1.5-.1.1-.2.4-.1.6l.1.4c.1.2.3.3.5.3h14.5c.2 0 .4-.1.4-.3v-.4z"}))},dislike:function(e){return p(h,null,p("path",{d:"M22 42.6a20.6 20.6 0 1 0 0-41.2 20.6 20.6 0 0 0 0 41.2Z",fill:e.greyOut?Zl:Wl}),p("path",{d:"M14 23.8a3.4 3.4 0 1 0 0-6.9 3.4 3.4 0 0 0 0 6.9ZM30 23.8a3.4 3.4 0 1 0 0-6.9 3.4 3.4 0 0 0 0 6.9ZM35.2 12.9a9.7 9.7 0 0 0-8-2.2c-.5 0-.8-1.3-.3-1.5 3.3-.6 6.7.4 9.3 2.5.4.3-.7 1.4-1 1.2Zm-18.4-2.3a10 10 0 0 0-8 2.1c-.3.3-1.4-.8-1-1.1 2.6-2.2 6-3.1 9.3-2.5.5.1.2 1.6-.3 1.5ZM28 30.5a14.2 14.2 0 0 0-12 0c-.8.4.3 3 1.3 2.4 2.4-1.1 6-1.5 9.5 0 1 .4 2-1.9 1.1-2.4Z",fill:"#111"}))},neutral:function(e){return p(h,null,p("path",{d:"M42.6 22a20.6 20.6 0 1 1-41.2 0 20.6 20.6 0 0 1 41.2 0Z",fill:e.greyOut?Zl:Wl}),p("path",{d:"M37 20c-2.3-2.6-9.6-1.6-11.8 2-.1.3.3.7.8 1 1.4-1 3.1-1.6 5-1.8 0 2 1.4 3.6 3.4 3.6 2.7 0 4-3.1 2.7-4.7Zm-18.8 0c-2.3-2.6-9.6-1.6-11.8 2-.1.3.3.7.7 1 1.5-1 3.2-1.6 5-1.8 0 2 1.5 3.6 3.4 3.6 2.8 0 4-3.1 2.7-4.7Zm9.5 10.7c-4-1-8.2-.2-11.6 2-.8.7.7 2.8 1.6 2.3 2.2-1.6 5.7-2.6 9.4-1.7.9.3 1.6-2.3.6-2.6Z",fill:"#111"}))},like:function(e){return p(h,null,p("path",{d:"M22 42.6a20.6 20.6 0 1 0 0-41.2 20.6 20.6 0 0 0 0 41.2Z",fill:e.greyOut?Zl:Wl}),p("path",{d:"M14 21.7a3.4 3.4 0 1 0 0-6.8 3.4 3.4 0 0 0 0 6.8ZM30 21.7a3.4 3.4 0 1 0 0-6.9 3.4 3.4 0 0 0 0 7ZM30.7 27.7c-5.6 4-11.8 3.9-17.4 0-.6-.5-1.2.4-.8 1.1a11.1 11.1 0 0 0 19 0c.4-.8-.1-1.6-.8-1Z",fill:"#111"}))},love:function(e){var n=e.greyOut;return p(h,null,p("path",{d:"M42.6 22a20.6 20.6 0 1 1-41.2 0 20.6 20.6 0 0 1 41.2 0Z",fill:n?Zl:Wl}),p("path",{d:"M42.5 9C42 7.3 41 5.8 39.4 5.3c-1.9-.5-3.5.2-5 1.9-1-2.5-2.4-4.4-4.6-5.3-2.2-1-4.4-.3-5.7 1.4-1.5 1.8-2 4.6-.5 8.3a57.7 57.7 0 0 0 8 10.5c.3-.1 7.4-4.6 9.2-6.8 1.7-2.1 2-4.3 1.7-6.1ZM19.9 3.3a4.7 4.7 0 0 0-5.7-1.4C12 2.8 10.6 4.6 9.7 7 8 5.5 6.4 4.7 4.5 5.3c-1.6.5-2.7 2-3 3.8-.4 1.8 0 4 1.7 6.2 1.7 2 8.9 6.6 9.2 6.7.2-.2 6.6-7 8-10.5 1.5-3.7 1-6.4-.5-8.3Z",fill:n?"#111":"#F46767"}),p("path",{d:"M33.7 26.2c0-.6-.4-1.2-1.3-1.4a54.4 54.4 0 0 0-20.8 0c-1 .2-1.3.8-1.3 1.4 0 5 3.9 10 11.7 10 7.8 0 11.7-5 11.7-10Z",fill:"#111"}),p("path",{d:"M30.7 26.3a51.6 51.6 0 0 0-17.4 0c-1 .2-1 .5-1 1l.3 1.2c0 .4.2.6.9.5h17c.8 0 .8-.1 1-.5l.2-1.1c0-.6 0-1-1-1Z",fill:"#fff"}))}},Vl=function(e){var n=e.emotion,t=e.greyOut;return p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"44",height:"44",fill:"none"},p(Gl[n],{greyOut:t}))},Xl={hate:function(e){return p(h,null,p("circle",{cx:"22",cy:"22",r:"22",fill:"#FF3C00",style:{opacity:e.greyOut?.3:1}}),p("path",{d:"M22.1 28.7c3 0 5.7 2 6.3 5 .1 1 1 1.4 1.8 1.3 1-.2 1.5-1 1.3-2a9.5 9.5 0 0 0-9.4-7.4 9.5 9.5 0 0 0-9.3 7.5c-.2 1 .3 1.7 1.2 1.9 1 .1 1.7-.4 1.9-1.3.6-3 3.3-5 6.2-5ZM14.3 23.3a2.3 2.3 0 1 0 0-4.7 2.3 2.3 0 0 0 0 4.7ZM30 23.3a2.3 2.3 0 1 0 0-4.7 2.3 2.3 0 0 0 0 4.7ZM26.8 16.2c.5 0 .8-.1 1.1-.4l3.1-3.1c.7-.7.7-1.6 0-2.2-.6-.7-1.5-.7-2.2 0l-3 3c-.7.7-.7 1.6 0 2.3.2.3.5.4 1 .4ZM16.4 15.8c.6.6 1.5.6 2.2 0 .6-.7.6-1.6 0-2.2l-3.2-3.1c-.6-.7-1.5-.7-2.2 0-.6.6-.6 1.5 0 2.2l3.2 3Z",fill:"#202641"}))},dislike:function(e){return p(h,null,p("circle",{cx:"22",cy:"22",r:"22",fill:"#FF855F",style:{opacity:e.greyOut?.3:1}}),p("path",{d:"M14.8 16.7a2.3 2.3 0 1 0 0-4.7 2.3 2.3 0 0 0 0 4.7ZM30.4 16.7a2.3 2.3 0 1 0 0-4.7 2.3 2.3 0 0 0 0 4.7ZM22.6 25.3c3 0 5.7 2 6.3 5 .1.9 1 1.4 1.8 1.2 1-.2 1.5-1 1.3-1.9a9.5 9.5 0 0 0-9.4-7.5 9.5 9.5 0 0 0-9.3 7.5c-.2 1 .3 1.7 1.2 1.9 1 .2 1.7-.3 1.9-1.3.6-3 3.3-5 6.2-5Z",fill:"#202641"}))},neutral:function(e){return p(h,null,p("circle",{cx:"22",cy:"22",r:"22",fill:"#AFB2BD",style:{opacity:e.greyOut?.3:1}}),p("path",{d:"M14.3 18.7a2.3 2.3 0 1 0 0-4.7 2.3 2.3 0 0 0 0 4.7ZM30 18.7a2.3 2.3 0 1 0 0-4.7 2.3 2.3 0 0 0 0 4.7ZM27 26h-9c-.3 0-.6.2-.7.4a2 2 0 0 0-.3 1.1c0 .4.1.8.3 1 .1.3.4.5.6.5h9.2c.2 0 .5-.2.6-.4.2-.3.3-.7.3-1.1a2 2 0 0 0-.3-1c-.1-.3-.4-.5-.6-.5Z",fill:"#202641"}))},like:function(e){return p(h,null,p("circle",{cx:"22",cy:"22",r:"22",fill:"#6ABDA9",style:{opacity:e.greyOut?.3:1}}),p("path",{d:"M30.3 22.1a1.6 1.6 0 0 0-2 1.2 6.3 6.3 0 0 1-6.2 5 6.4 6.4 0 0 1-6.2-5 1.6 1.6 0 0 0-3.1.7 9.6 9.6 0 0 0 18.7 0 1.6 1.6 0 0 0-1.2-1.9ZM14.3 16.7a2.3 2.3 0 1 0 0-4.7 2.3 2.3 0 0 0 0 4.7ZM30 16.7a2.3 2.3 0 1 0 0-4.7 2.3 2.3 0 0 0 0 4.7Z",fill:"#202641"}))},love:function(e){return p(h,null,p("circle",{cx:"22",cy:"22",r:"22",fill:"#23A68E",style:{opacity:e.greyOut?.3:1}}),p("path",{d:"M27.7 25.7H16.3a1.1 1.1 0 0 0-1 .9v.5a7 7 0 0 0 2.4 4 7 7 0 0 0 11.2-4 1.2 1.2 0 0 0-.3-1 1.1 1.1 0 0 0-.9-.4ZM19 16a2.7 2.7 0 0 0 .7-2 2.8 2.8 0 0 0-.7-1.9 2.7 2.7 0 0 0-2-.8 2.6 2.6 0 0 0-1.8.8l-.8.8-.8-.8a2.7 2.7 0 0 0-3.8 0 2.8 2.8 0 0 0 0 3.9l4.6 4.7L19 16ZM34.2 12.1a2.7 2.7 0 0 0-1.9-.8 2.6 2.6 0 0 0-1.9.8l-.8.8-.8-.8a2.7 2.7 0 0 0-3.8 0 2.8 2.8 0 0 0 0 3.9l4.6 4.7 4.6-4.7a2.7 2.7 0 0 0 .8-2 2.8 2.8 0 0 0-.8-1.9Z",fill:"#202641"}))}},Jl=function(e){var n=e.emotion,t=e.greyOut;return p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"44",height:"44",fill:"none"},p(Xl[n],{greyOut:t}))},Kl={hate:function(e){return p(h,null,p("path",{d:"M36.3 2.5h-35a1.2 1.2 0 0 0-1 2.1L5 9.3v22A3.8 3.8 0 0 0 8.8 35h27.5a3.7 3.7 0 0 0 3.7-3.7v-25a3.8 3.8 0 0 0-3.7-3.8Z",fill:e.greyOut?"#C2C5CD":"#FFC107"}),p("path",{d:"M22.5 22.5a5 5 0 0 1 5 4A1.3 1.3 0 1 0 30 26a7.7 7.7 0 0 0-15 0 1.3 1.3 0 1 0 2.5.5c0-.2.9-4 5-4ZM16.3 18.1a1.9 1.9 0 1 0 0-3.7 1.9 1.9 0 0 0 0 3.7ZM28.7 18.1a1.9 1.9 0 1 0 0-3.7 1.9 1.9 0 0 0 0 3.7ZM32.4 8.2a1.3 1.3 0 0 0-1.7-.6l-5 2.5a1.3 1.3 0 1 0 1.1 2.3l5-2.5a1.3 1.3 0 0 0 .6-1.7ZM18.8 12.5a1.3 1.3 0 0 0 .5-2.4l-5-2.5a1.3 1.3 0 1 0-1.1 2.3l5 2.5.6.1Z",fill:"#000"}),p("defs",null,p("clipPath",{id:"a"},p("path",{fill:"#fff",d:"M0 0h40v40H0z"}))))},dislike:function(e){return p(h,null,p("path",{d:"M36.2 2.5h-35a1.3 1.3 0 0 0-.8 2.1L5 9.3v22A3.7 3.7 0 0 0 8.7 35h27.5a3.8 3.8 0 0 0 3.8-3.8v-25a3.8 3.8 0 0 0-3.8-3.7Z",fill:e.greyOut?"#C2C5CD":"#FFC107"}),p("path",{d:"M22.5 22.5a5 5 0 0 0-5 4A1.3 1.3 0 1 1 15 26a7.6 7.6 0 0 1 7.5-6 7.6 7.6 0 0 1 7.5 6 1.3 1.3 0 1 1-2.5.5c0-.2-.8-4-5-4ZM16.3 15.6a1.9 1.9 0 1 0 0-3.7 1.9 1.9 0 0 0 0 3.7ZM28.8 15.6a1.9 1.9 0 1 0 0-3.7 1.9 1.9 0 0 0 0 3.7Z",fill:"#000"}),p("defs",null,p("clipPath",{id:"a"},p("path",{fill:"#fff",d:"M0 0h40v40H0z"}))))},neutral:function(e){return p(h,null,p("path",{d:"M36.3 2.5h-35A1.3 1.3 0 0 0 0 4c0 .2.2.5.4.6L5 9.3v22A3.8 3.8 0 0 0 8.8 35h27.5a3.7 3.7 0 0 0 3.7-3.7v-25a3.7 3.7 0 0 0-3.7-3.8Zm-20 20h12.5a1.2 1.2 0 1 1 0 2.5H16.3a1.2 1.2 0 1 1 0-2.5Zm-2-8.7a1.9 1.9 0 1 1 3.8 0 1.9 1.9 0 0 1-3.7 0Zm14.5 1.8a1.9 1.9 0 1 1 0-3.7 1.9 1.9 0 0 1 0 3.7Z",fill:e.greyOut?"#C2C5CD":"#FFC107"}),p("path",{d:"M16.3 15.6a1.9 1.9 0 1 0 0-3.7 1.9 1.9 0 0 0 0 3.7ZM28.7 15.6a1.9 1.9 0 1 0 0-3.7 1.9 1.9 0 0 0 0 3.7ZM16.2 25h12.5a1.3 1.3 0 0 0 0-2.5H16.2a1.3 1.3 0 0 0 0 2.5Z",fill:"#000"}),p("defs",null,p("clipPath",{id:"a"},p("path",{fill:"#fff",d:"M0 0h40v40H0z"}))))},like:function(e){return p(h,null,p("path",{d:"M36.2 2.5h-35c-.5 0-1 .3-1 .8-.3.5-.2 1 .2 1.3L5 9.3v22c0 2 1.6 3.7 3.7 3.7h27.5c2.2 0 3.8-1.6 3.8-3.7v-25c0-2.2-1.6-3.8-3.8-3.8Z",fill:e.greyOut?"#C2C5CD":"#FFC107"}),p("path",{d:"M16 20c.6-.1 1.4.3 1.5 1a5 5 0 0 0 5 4 5 5 0 0 0 5-4c.1-.7.8-1.1 1.5-1 .8.1 1.1.8 1 1.5a7.6 7.6 0 0 1-9.1 5.9c-3-.6-5.3-3-5.9-5.9-.1-.6.3-1.4 1-1.5ZM16.3 15.6a1.9 1.9 0 1 0 0-3.7 1.9 1.9 0 0 0 0 3.7ZM28.7 15.6a1.9 1.9 0 1 0 0-3.7 1.9 1.9 0 0 0 0 3.7Z",fill:"#000"}),p("defs",null,p("clipPath",{id:"a"},p("path",{fill:"#fff",d:"M0 0h40v40H0z"}))))},love:function(e){return p(h,null,p("path",{d:"M36.2 2.5h-35c-.5 0-1 .3-1 .8-.3.5-.2 1 .2 1.3L5 9.3v22c0 2 1.6 3.7 3.7 3.7h27.5c2.2 0 3.8-1.6 3.8-3.7v-25c0-2.2-1.6-3.8-3.8-3.8Z",fill:e.greyOut?"#C2C5CD":"#FFC107"}),p("path",{d:"M18.8 10.6c-1-.8-2.3-.8-3.2 0l-.6.7-.6-.7c-.9-.8-2.3-.8-3.1 0-1 .9-1 2.3 0 3.2l3.7 3.7 3.8-3.8c.8-.8.8-2.2 0-3ZM30.6 10.6l-.6.7-.6-.7c-.9-.8-2.3-.8-3.2 0-.8.9-.8 2.3 0 3.2l3.8 3.7 3.7-3.8c1-.8 1-2.2 0-3-.8-1-2.2-1-3 0ZM22.4 27.5c5 0 7.5-4.4 7.5-6 0-.4 0-.6-.3-1-.2-.4-.6-.5-1-.5H16.2c-.3 0-.7.1-1 .5-.2.4-.2.6-.2 1 0 1.6 2.5 6 7.4 6Z",fill:"#000"}),p("defs",null,p("clipPath",{id:"a"},p("path",{fill:"#fff",d:"M0 0h40v40H0z"}))))}},Yl=function(e){var n=e.emotion,t=e.greyOut;return p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"35",fill:"none"},p(Kl[n],{greyOut:t}))};function Ql(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var es,ns,ts,rs,os={1:"hate",2:"dislike",3:"neutral",4:"like",5:"love"},is={emoji:"#111111",smiley:"#202641",default:"#000000",star:"#0A112E"},as=et.input(Fl||(Fl=Ql(["\n &&& {\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n\n ","\n &:checked + div {\n svg {\n overflow: visible;\n\n path:first-child,\n circle:first-child {\n paint-order: stroke;\n stroke: ",";\n stroke-width: 3px;\n }\n }\n }\n\n &:not(:focus-visible):not(:checked):not(:hover) + div {\n transform: scale(1);\n }\n }\n"])),(function(e){return e.hideFocus?"":"&:focus-visible + div,"}),(function(e){var n=e.reactionStyle;return is[n]})),ls=et.label(Dl||(Dl=Ql(["\n &&& {\n background: none !important;\n border: none;\n cursor: pointer;\n outline: none;\n box-shadow: none;\n display: flex;\n justify-content: center;\n width: ",";\n height: ",";\n }\n"])),st.spacer.x7,st.spacer.x7),ss=et.div(Ul||(Ul=Ql(["\n &&& {\n display: flex;\n align-items: center;\n pointer-events: none; /* ensures that the animation of the icon does not affect the hover state of the button */\n transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.35);\n ","\n svg > * {\n transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.35);\n }\n }\n"])),(function(e){var n=e.highlightScale,t=e.isHighlighted,r=e.isScaled;return t||r?"\n transform: scale(".concat(n,");\n "):"\n transform: scale(1.0);\n "})),cs=function(e){var n=e.score,t=e.greyOut,r=e.groupName,o=e.isHighlighted,i=e.isSelected,a=e.onPreselection,l=e.onResetPreselection,s=e.onSelection,c=e.reactionStyle,u=e.label,d=e.hideFocus,f="star"===c?1.1:1.3,h=os[n];return p(ls,{onMouseOver:a,onMouseOut:l,onBlur:l},p(as,{type:"radio",name:r,onBlur:l,checked:i,"aria-label":n.toString(),onClick:s,"aria-describedby":u,reactionStyle:c,hideFocus:d}),p(ss,{highlightScale:f,isHighlighted:o,isScaled:i},"star"===c&&p($l,{isHighlighted:o,isSelected:i,stroke:is.star}),"emoji"===c&&h&&p(Vl,{emotion:h,greyOut:t}),"smiley"===c&&h&&p(Jl,{emotion:h,greyOut:t}),"default"===c&&h&&p(Yl,{emotion:h,greyOut:t})))};function us(e,n,t){if(n&&!Array.isArray(n)&&"number"==typeof n.length){var r=n.length;return ps(n,void 0!==t&&te.length)&&(n=e.length);for(var t=0,r=new Array(n);t0&&"string"==typeof r&&r.length>0;if(!i||!a)return null;var l=Ki(t),s=Ki(r);return p(Os,{theme:o},p("img",{src:s,alt:null!=n?n:""}),p(Ps,null,p(Pa,{kind:"inline",isExternal:!0,href:l,ariaLabel:hj.polls.translate("open_new_tab_aria")},hj.polls.translate("open_new_tab")),p(xs,null)))};function Is(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var zs,Es,Ts=et.label(js||(js=Is(["\n flex: 1;\n display: inline-block;\n\n & > span {\n border: 1px solid ",";\n cursor: pointer;\n }\n\n &:active span,\n &:hover span {\n border: ",";\n }\n\n &:has(:focus-visible) span {\n box-shadow: ",";\n outline: none;\n }\n"])),(function(e){return e.theme.scaleDataPointBorder}),(function(e){var n=e.theme;return"1px solid ".concat(n.scaleOutline,";")}),(function(e){var n=e.theme;return"0px 0px 0px 1px ".concat(n.background,", 0px 0px 0px 3px ").concat(n.buttonOutline)})),Ns=et.span(Ss||(Ss=Is(["\n &&& {\n font-size: 0.875em; // 14px\n border-radius: ",";\n background: ",";\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height: 40px;\n flex-grow: 1;\n color: ",";\n padding: 2px;\n width: 100%;\n\n ","\n }\n"])),st.radius.l,(function(e){return e.theme.background}),(function(e){return e.theme.scaleDataPointText}),(function(e){var n=e.isSelected,t=e.theme;return n&&"color: ".concat(t.scaleDataPointTextSelected,";\n background: ").concat(t.scaleBackgroundSelected,";\n border: 3px solid ").concat(t.scaleOutline,";\n padding: 0px;\n outline: none;\n ")})),Ls=et.input(Cs||(Cs=Is(["\n &&& {\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n }\n"]))),Fs=function(e){var n=e.isSelected,t=e.value,r=e.onSelect,o=e.groupName,i=e.labelId,a=dt();return p(Ts,{theme:a},p(Ls,{"aria-describedby":i,type:"radio",value:t,"aria-label":t,name:o,checked:n,onClick:function(){r(t)}}),p(Ns,{isSelected:n,theme:a,"aria-hidden":"true"},t))};function Ds(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var Us,Bs,Rs,Hs,qs,$s=et.label(zs||(zs=Ds(["\n &&& {\n width: 100%;\n padding: "," 0;\n }\n"])),st.spacer.x1),Zs=et.input(Es||(Es=Ds(["\n &&& {\n width: 100%;\n height: ",";\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n cursor: pointer;\n\n background: #f1f2f6;\n background: ",";\n border-radius: ",";\n transition: ",";\n\n ::-webkit-slider-runnable-track,\n ::-moz-range-track {\n height: ",";\n background: ",";\n border-radius: ",";\n transition: ",";\n }\n\n ::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n margin-top: 0;\n background-color: #fff;\n border: 1px solid ",";\n border-radius: 50%;\n width: 24px;\n height: 24px;\n filter: drop-shadow(0px 10px 15px rgba(16, 16, 16, 0.1)) drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.03))\n drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.1));\n transition: ",";\n }\n\n :hover::-webkit-slider-thumb {\n outline: 1px solid #838696;\n }\n\n :focus {\n outline: none;\n }\n\n :focus-visible::-webkit-slider-thumb {\n outline: 3px solid #5b72cb;\n filter: none;\n }\n\n :focus-visible::-webkit-slider-thumb,\n :focus-visible::-moz-range-thumb {\n border: 1px solid #838696;\n }\n }\n"])),st.spacer.x1,(function(e){var n=e.progress,t=e.theme,r=e.isRTL;return"linear-gradient(".concat(r?"to left":"to right",", ").concat(t.scaleSliderFill," ").concat(n,"%, ").concat(t.scaleSliderBackground," ").concat(n,"%)")}),st.radius.m,st.animation.default,st.spacer.x1,(function(e){var n=e.progress,t=e.theme,r=e.isRTL;return"linear-gradient(".concat(r?"to left":"to right",", ").concat(t.scaleSliderFill," ").concat(n,"%, ").concat(t.scaleSliderBackground," ").concat(n,"%)")}),st.radius.m,st.animation.default,(function(e){return e.theme.sliderThumbBorder}),st.animation.default),Ws=function(e){var n,t,r=e.value,o=e.onSelect,i=e.groupName,a=e.labels,l=""===r||void 0===r?0:parseInt(r,10),s=10*l,c=dt(),u=0===l?null===(n=a[0])||void 0===n?void 0:n.text:10===l?null===(t=a[1])||void 0===t?void 0:t.text:"",d=hj.widget.isActiveLanguageDirectionRtl;return p($s,null,p(Zs,{isRTL:d,theme:c,name:i,type:"range",min:"0",max:"10",step:"1",progress:s,value:l||0,onChange:function(e){o(e.currentTarget.value)},"aria-valuetext":"".concat(l,", ").concat(u)}))};function Gs(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Vs(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Vs(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vs(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);te.length)&&(n=e.length);for(var t=0,r=new Array(n);t_s,v=dt(),y=us(ds,W(xt(v).isExternal),2),b=y[0],g=y[1],w=function(e){return"star"===i?e<=f&&c===_s:e===f};return i?p(vs,{"aria-labelledby":n,role:"radiogroup"},p(ys,null,Array.apply(null,Array(5)).map((function(e,n){return p(cs,{groupName:t.uuid,score:n+1,key:n+1,isHighlighted:(a=n+1,"star"===i?a<=c:a===c),onPreselection:function(){return u(n+1)},onResetPreselection:function(){u(_s),g(!1)},onSelection:function(){return function(e){m(e),u(_s);var n=dr(gt.REACTION,e);r(!0,{answerText:e.toString(),answerIndex:n})}(n+1)},reactionStyle:i,isSelected:w(n+1),greyOut:_&&!w(n+1),label:0===n?l[0]:4===n?l[1]:"",hideFocus:b&&!o});var a}))),p(gs,null,a.map((function(e,n){return p(bs,{key:n,id:l[n],"aria-label":e.text,title:e.text,theme:v,alignment:0===n?"left":"right"},e.text)})))):p(h,null)},vc),Oc=et.div(yc||(yc=jc(["\n && {\n display: flex;\n align-items: center;\n flex-direction: row-reverse;\n ","\n margin-top: ",";\n }\n"])),(function(e){var n=e.withLogo;return"justify-content: ".concat(n?"space-between":"flex-end",";")}),st.spacer.x2),Ac=et.div(bc||(bc=jc(["\n && {\n ","\n display: flex;\n flex-direction: row-reverse;\n justify-content: flex-start;\n align-items: center;\n gap: ",";\n\n button {\n width: 100%;\n\n "," {\n width: auto;\n }\n\n ","\n }\n }\n"])),(function(e){return e.fullWidth&&"width: 100%;"}),st.spacer.x2,st.breakpoint.desktop,(function(e){return e.isPreviewMode?"width: auto; ".concat(st.breakpoint.previewMobile," { width: 100%; }"):""})),Ic=et.h2(gc||(gc=jc(["\n && {\n top: 0;\n z-index: 2;\n display: block;\n text-align: left;\n font-size: 1em; // 16px\n line-height: 1.5em; // 24px\n font-weight: 500 !important;\n margin: 0;\n color: ",";\n overflow-wrap: break-word;\n word-wrap: break-word;\n background-color: ",";\n }\n\n &&& {\n ",";\n }\n\n [dir='rtl'] && {\n text-align: right;\n }\n"])),(function(e){return e.theme.defaultText}),(function(e){return e.theme.background}),(function(e){var n;return null===(n=e.theme.customCSS)||void 0===n?void 0:n.questionTitle})),zc=et.div(wc||(wc=jc(["\n && {\n display: flex;\n flex-direction: column;\n gap: ",";\n overflow-y: auto;\n overflow-x: hidden;\n padding: "," ",";\n margin: -"," -",";\n background-color: ",";\n }\n"])),st.spacer.x1,st.spacer.x0pt5,st.spacer.x1pt5,st.spacer.x0pt5,st.spacer.x1pt5,(function(e){return e.theme.background})),Ec=function(e){var n,t,r,o=e.question,i=e.isStepValid,a=e.onQuestionSkipped,l=e.onQuestionSubmitted,s=e.onAnswerChange,c=e.hideLogo,u=e.logo,d=e.forceMobile,f=e.labelId,m=dt(),_=Pc[o.type],v=ft(sr())||d,y=o.type===gt.TITLE_AND_DESCRIPTION,b=X(null),g=!1===c&&null!=u;return G((function(){var e;y||null===(e=b.current)||void 0===e||e.removeAttribute("tabindex")}),[y]),p(h,null,p(zc,{theme:m},p(Ic,{id:f,theme:m,"aria-label":kc(o),tabIndex:y?0:void 0,ref:b},p(Oa,{text:o.text,isInline:!0})),!y&&p(As,{key:o.uuid,imageAlt:o.image_alt,imagePath:o.image_path,imageThumbnailPath:o.image_thumbnail_path}),p(_,{key:o.uuid,labelId:f,question:o,onChange:s,onSubmit:l}),y&&p(As,{key:o.uuid,imageAlt:o.image_alt,imagePath:o.image_path,imageThumbnailPath:o.image_thumbnail_path})),p(Oc,{withLogo:g},p(Ac,{isPreviewMode:sr(),fullWidth:!g},p(pa,{withCustomCSS:null===(n=m.customCSS)||void 0===n?void 0:n.button,isDisabled:!i,onClick:l,size:v?"m":"s",ariaLabel:hj.polls.translate("next_aria")},hj.polls.translate("next")),!o.required&&(v?p(pa,{withCustomCSS:null===(t=m.customCSS)||void 0===t?void 0:t.skipButton,kind:"ghost",onClick:a},hj.polls.translate("skip")):p(Pa,{withCustomCSS:null===(r=m.customCSS)||void 0===r?void 0:r.skipButton,onClick:a,as:"button",kind:"inline"},hj.polls.translate("skip")))),g&&p(pc,{logo:u,theme:m})))};function Tc(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var Nc,Lc,Fc,Dc,Uc,Bc,Rc=function(e,n,t){var r="desktop"===t?"initial":"none",o="mobile"===t?"initial":"none",i=function(t){return n?o:e?r:t};return Gr(Sc||(Sc=Tc(["\n display: ",";\n\n "," {\n display: ",";\n }\n "])),i(o),st.breakpoint.desktop,i(r))},Hc=et.div(Cc||(Cc=Tc(["\n && {\n margin-top: ",";\n width: 100%;\n text-align: center;\n font-size: 0.875em; // 14px\n color: ",";\n ","\n }\n"])),st.spacer.x6,(function(e){return e.theme.pageTextColor}),(function(e){var n=e.isPreviewMode,t=e.forceMobilePreview;return Rc(n,t,"desktop")})),qc=et.div(Mc||(Mc=Tc(["\n && {\n color: ",";\n margin-top: ",";\n font-size: 0.75em; // 12px\n ","\n }\n"])),(function(e){return e.theme.defaultText}),st.spacer.x1pt5,(function(e){var n=e.isPreviewMode,t=e.forceMobilePreview;return Rc(n,t,"mobile")}));function $c(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var Zc,Wc,Gc,Vc,Xc=et.div(Lc||(Lc=$c(["\n && {\n width: 100%;\n height: 100vh;\n /* prefer dvh units if supported so mobile browser UI is accounted for */\n height: 100dvh;\n position: absolute;\n top: 0;\n left: 0;\n flex-direction: column;\n\n ","\n display: flex;\n }\n"])),(function(e){return n=e.isPreviewMode,t=e.forceMobilePreview,r="justify-content: center; align-items: center;",o="justify-content: flex-end;",i=function(e){return t?o:n?r:e},Gr(Nc||(Nc=$c(["\n ","\n "," {\n ","\n }\n "])),i(o),st.breakpoint.desktop,i(r));var n,t,r,o,i})),Jc=et.div(Bc||(Bc=$c(["\n && {\n background: white;\n border-radius: "," "," 0 0;\n box-shadow: ",";\n padding: "," "," ",";\n margin: auto;\n overflow: auto;\n\n * {\n ","\n ","\n }\n\n ","\n ","\n ","\n }\n"])),st.spacer.x1,st.spacer.x1,st.shadow.modal,st.spacer.x2pt5,st.spacer.x2pt5,st.spacer.x1pt5,st.text.fontFamily(),(function(e){var n;return null===(n=e.theme.customCSS)||void 0===n?void 0:n.survey}),(function(e){return n=e.isPreviewMode,t=e.forceMobilePreview,r="384px",o="100%",i=function(e){return t?o:n?r:e},Gr(Fc||(Fc=$c(["\n width: ",";\n\n "," {\n width: ",";\n }\n "])),i(o),st.breakpoint.desktop,i(r));var n,t,r,o,i}),(function(e){return n=e.isPreviewMode,t=e.forceMobilePreview,r="".concat(st.spacer.x1),o="".concat(st.spacer.x1," ").concat(st.spacer.x1," 0 0"),i=function(e){return t?o:n?r:e},Gr(Dc||(Dc=$c(["\n border-radius: ",";\n\n "," {\n border-radius: ",";\n }\n "])),i(o),st.breakpoint.desktop,i(r));var n,t,r,o,i}),(function(e){return n=e.isPreviewMode,t=e.forceMobilePreview,r="calc(100vh - 120px)",o="100vh",i=function(e){return t?o:n?r:e},Gr(Uc||(Uc=$c(["\n max-height: ",";\n\n "," {\n max-height: ",";\n }\n "])),i(o),st.breakpoint.desktop,i(r));var n,t,r,o,i})),Kc=function(e){var n=e.children,t=e.labelId,r=void 0===t?"":t,o=dt(),i={isPreviewMode:sr(),forceMobilePreview:e.isMobilePreview,theme:o};return p(Xc,i,p("div",{role:"dialog","aria-labelledby":r},p(Jc,i,n)),p(Hc,i,hj.polls.translate("password_warning")))},Yc=ue((function(e){var n=e.children,t=e.labelId,r=e.uniqueId,o=e.isMobilePreview,i=dt();return p(Kc,{isMobilePreview:o,uniqueId:r,labelId:t},n,p(qc,{isPreviewMode:sr(),forceMobilePreview:o,theme:i},hj.polls.translate("password_warning")))}));function Qc(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var eu,nu,tu,ru,ou,iu,au,lu,su,cu=function(e,n,t,r,o){return n?r:e?o:t},uu=et.div(Wc||(Wc=Qc(["\n && {\n display: ",";\n flex-direction: column;\n z-index: ",";\n background: ",";\n padding: "," ",";\n overflow: hidden;\n\n * {\n ","\n ","\n }\n\n ","\n }\n"])),(function(e){return e.isClosed?"none":"flex"}),st.maxIndex,(function(e){return e.backgroundColor}),st.spacer.x2,st.spacer.x2pt5,st.text.fontFamily(),(function(e){var n;return null===(n=e.theme.customCSS)||void 0===n?void 0:n.survey}),(function(e){return n=e.isPreviewMode,t=e.forceMobilePreview,r="0 0",o="0 auto",i="initial",a="".concat(344,"px"),l="".concat(st.spacer.x1),s="".concat(st.shadow.desktop,", 0px 4px 30px 0px rgba(0, 0, 0, 0.05)"),Gr(Zc||(Zc=Qc(["\n margin: ",";\n max-width: ",";\n border-radius: ",";\n box-shadow: ",";\n\n "," {\n margin: ",";\n max-width: ",";\n border-radius: ",";\n box-shadow: ",";\n }\n "])),cu(n,t,r,r,o),cu(n,t,i,i,a),cu(n,t,i,i,l),cu(n,t,i,i,s),st.breakpoint.desktop,cu(n,t,o,r,o),cu(n,t,a,i,a),cu(n,t,l,i,l),cu(n,t,s,i,s));var n,t,r,o,i,a,l,s})),du=et.div(Vc||(Vc=Qc(["\n && {\n ","\n }\n"])),(function(e){return n=e.isPreviewMode,t=e.forceMobilePreview,r="".concat(st.spacer.x2," 0"),o="".concat(st.spacer.x3," 0"),Gr(Gc||(Gc=Qc(["\n padding: ",";\n\n "," {\n padding: ",";\n }\n "])),cu(n,t,r,r,o),st.breakpoint.desktop,cu(n,t,o,r,o));var n,t,r,o})),pu=function(e){var n=e.isMobilePreview,t=e.isClosed,r=e.children,o=e.labelId,i=void 0===o?"":o,a=dt();return p(du,{isPreviewMode:sr(),forceMobilePreview:n,role:"dialog","aria-labelledby":i,"aria-hidden":t},p(uu,{backgroundColor:a.background,isClosed:t,position:a.position,isPreviewMode:sr(),forceMobilePreview:n,theme:a},r))},fu=function(e){var n,t,r,o,i,a,l,s,c=e.all,u=e.horizontal,d=e.vertical,p=e.left,f=e.top,h=e.right,m=e.bottom,_=null!==(n=null!==(t=null!=f?f:d)&&void 0!==t?t:c)&&void 0!==n?n:"initial",v=null!==(r=null!==(o=null!=m?m:d)&&void 0!==o?o:c)&&void 0!==r?r:"initial",y=null!==(i=null!==(a=null!=p?p:u)&&void 0!==a?a:c)&&void 0!==i?i:"initial",b=null!==(l=null!==(s=null!=h?h:u)&&void 0!==s?s:c)&&void 0!==l?l:"initial";return"\n margin-top: ".concat(_,"; \n margin-bottom: ").concat(v,"; \n margin-left: ").concat(y,"; \n margin-right: ").concat(b,";\n ")};function hu(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var mu,_u=et.div(tu||(tu=hu(["\n && {\n background: ",";\n box-shadow: ",";\n padding: "," "," ",";\n margin: auto;\n max-height: 100vh !important;\n overflow: auto;\n * {\n ","\n ","\n }\n\n ","\n ","\n }\n"])),(function(e){return e.theme.background}),st.shadow.modal,st.spacer.x2pt5,st.spacer.x2pt5,st.spacer.x1pt5,st.text.fontFamily(),(function(e){var n;return null===(n=e.theme.customCSS)||void 0===n?void 0:n.survey}),(function(e){return n=e.isPreviewMode,t=e.forceMobilePreview,r="384px",o="100%",i=function(e){return t?o:n?r:e},Gr(eu||(eu=hu(["\n width: ",";\n "," {\n width: ",";\n }\n "])),i(o),st.breakpoint.desktop,i(r));var n,t,r,o,i}),(function(e){return n=e.isPreviewMode,t=e.forceMobilePreview,r="".concat(st.spacer.x1),o="".concat(st.spacer.x1," ").concat(st.spacer.x1," 0 0"),i=function(e){return t?o:n?r:e},Gr(nu||(nu=hu(["\n border-radius: ",";\n "," {\n border-radius: ",";\n }\n "])),i(o),st.breakpoint.desktop,i(r));var n,t,r,o,i})),vu=et.div(ou||(ou=hu(["\n && {\n position: fixed;\n top: 0;\n left: 0;\n z-index: ",";\n height: 100vh;\n width: 100vw;\n display: flex;\n justify-content: center;\n background: ",";\n\n ","\n }\n"])),st.maxIndex,st.colors.modal_overlay,(function(e){return n=e.isPreviewMode,t=e.forceMobilePreview,r="center",o=function(e){return t?"end":n?r:e},Gr(ru||(ru=hu(["\n align-items: ",";\n "," {\n align-items: ",";\n }\n "])),o("end"),st.breakpoint.desktop,o(r));var n,t,r,o})),yu=et.dialog(au||(au=hu(["\n && {\n padding: 0;\n border: none;\n overflow: visible;\n border-radius: ",";\n max-width: 100vw;\n ","\n\n &::backdrop {\n display: none;\n }\n }\n"])),st.spacer.x1,(function(e){return n=e.isPreviewMode,t=e.forceMobilePreview,r="width: 100%; ".concat(fu({all:"0",top:"auto"})),o="width: fit-content; ".concat(fu({all:"auto"})),i=function(e){return t?r:n?o:e},Gr(iu||(iu=hu(["\n ","\n "," {\n ","\n }\n "])),i(r),st.breakpoint.desktop,i(o));var n,t,r,o,i})),bu=et.div(lu||(lu=hu(["\n && {\n display: flex;\n justify-content: end;\n align-items: center;\n height: ",";\n }\n"])),st.spacer.x4pt5),gu=et.button(su||(su=hu(["\n && {\n border: none;\n border-radius: ",";\n background: none;\n height: ",";\n width: ",";\n outline: none !important;\n\n &:hover {\n cursor: pointer;\n }\n\n &:focus-visible {\n box-shadow: 0px 0px 0px 1px #ffffff, 0px 0px 0px 3px ",";\n }\n }\n"])),st.spacer.x0pt5,st.spacer.x3,st.spacer.x3,(function(e){return e.theme.button})),wu=function(e){var n,t,r=e.children,o=e.labelId,i=void 0===o?"":o,a=e.isClosed,l=e.onClose,s=e.isMobilePreview,c={isPreviewMode:sr(),forceMobilePreview:s},u=dt(),d=X(null),f=!sr()&&"function"==typeof HTMLDialogElement&&"function"==typeof HTMLDialogElement.prototype.showModal,h=X(),m=X(!1),_=ao(null===(n=u.customCSS)||void 0===n||null===(t=n.closeButton)||void 0===t?void 0:t.color)||u.icon;return G((function(){f&&setTimeout(hj.tryCatch((function(){var e;document.body.contains(d.current)&&(m.current||d.current.showModal(),m.current=!0,sr()||(h.current instanceof IntersectionObserver&&h.current.disconnect(),h.current=null!==(e=h.current)&&void 0!==e?e:new IntersectionObserver((function(e){var n,t;!0!==(null===(n=e[0])||void 0===n?void 0:n.isIntersecting)&&(null===(t=d.current)||void 0===t||t.close(),l())})),h.current.observe(d.current)))}),"show-survey-modal"),0)}),[f]),a?null:p(vu,{forceMobilePreview:c.forceMobilePreview,isPreviewMode:c.isPreviewMode},p(yu,{as:f?"dialog":"div",role:f?"":"dialog",ref:d,"aria-labelledby":i,forceMobilePreview:c.forceMobilePreview,isPreviewMode:c.isPreviewMode},p(_u,{theme:u,forceMobilePreview:c.forceMobilePreview,isPreviewMode:c.isPreviewMode},p(bu,null,p(gu,{theme:u,onClick:l,"aria-label":hj.polls.translate("close")},p(Xr,{color:_}))),r)))},xu=function(e,n){var t,r;if(hj.isPreview)return!1;var o=(null===(t=e.targeting)||void 0===t?void 0:t.filter((function(e){return"url"===e.component})))||[],i=null===(r=e.targeting)||void 0===r?void 0:r.some((function(e){return"trigger"===e.component})),a=e.display_type===wt.EXTERNAL||e.display_type===wt.MOBILE_POPOVER,l=i||a||!0===hj.targeting.matchUrl(o,hj.currentUrl);return hj.tryCatch((function(){if(!l)throw new Error("Rendered survey out of URL targeting in ".concat(n," with ID: ").concat(e.id))}),"render-out-of-targeting")(),!l},ku=t(5104),ju=t.n(ku),Su=t(6228),Cu=t.n(Su),Mu=t(3399),Pu=t.n(Mu),Ou=t(8585),Au=t.n(Ou),Iu=function(){return p(Wr,{styles:[{"@font-face":{fontFamily:"roboto",src:"url(".concat(Cu(),") format('woff2'), url(").concat(ju(),") format('woff')"),fontWeight:"400",fontStyle:"normal"}},{"@font-face":{fontFamily:"roboto",src:"url(".concat(Au(),") format('woff2'), url(").concat(Pu(),") format('woff')"),fontWeight:"500",fontStyle:"normal"}}]})};function zu(){return zu=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);t1&&void 0!==arguments[1]?arguments[1]:document.body;_r(n,".".concat("_hj-widget-iframe")),rd(e,n)}}()}();