PageSourceSearch

https://www.converse.in/102.44313cb4672ebe0565e5.js

js converse.in collected 2026-10-04 13:26:20 UTC 24,600 bytes, 1 lines download raw bytes

vendor: 4,670 bytes, line 1
1(window.webpackJsonp=window.webpackJsonp||[]).push([[102],{"+qE3":function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise(function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,n)}(e,o,{once:!0})})},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var o,i,a;if(c(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,console&&console.warn}return e}function m(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(r);return o.listener=n,r.wrapFn=o,o}function p(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):v(o,o.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function o(i){r.once&&e.removeEventListener(t,o),n(i)})}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)i(u,this,t);else{var c=u.length,l=v(u,c);for(n=0;n<c;++n)i(l[n],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,m(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,m(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,o,i,a;if(c(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit
1("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},s.prototype.listenerCount=d,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},"+sVj":function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",function(){return a});var i=function(e,t){var n=e.graphQLErrors,r=e.message;return n&&n.length?t||n.map(function(e){return e.message}).join(", "):r},a=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=[],a=r(e);try{for(a.s();!(t=a.n()).done;){var s=t.value;s&&o.push(i(s,n))}}catch(e){a.e(e)}finally{a.f()}return o.join(", ")}},"HM+c":function(e,t,n){"use strict";var r=n("pVnL"),o=n.n(r),i=n("QILm"),a=n.n(i),s=n("q1tI"),u=n.n(s),c=n("17x9"),l=n("8UhI"),f=n("c3RJ"),m=n("y1Xp"),p=n("Xr8/"),d=n("LboF"),v=n.n(d),g=n("ZHL9"),y={injectType:"singletonStyleTag",insert:"head",singleton:!0},h=(v()(g.a,y),g.a.locals||{}),b=["classes","field","message"],O=function(e){var t=e.classes,n=e.field,r=e.message,i=a()(e,b),c=Object(f.a)(n),d=Object(m.a)(h,t);return u.a.createElement(s.Fragment,null,u.a.createElement(l.i,o()({},i,{className:d.input,field:n})),u.a.createElement(p.a,{fieldState:c},r))};t.a=O;O.defaultProps={cols:40,rows:4,wrap:"hard"},O.propTypes={classes:Object(c.shape)({input:c.string}),cols:Object(c.oneOfType)([c.number,c.string]),field:c.string.isRequired,message:c.node,rows:Object(c.oneOfType)([c.number,c.string]),wrap:Object(c.oneOf)(["hard","soft"])}},"Xr8/":function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("dDsW"),a=n("17x9"),s=n("LboF"),u=n.n(s),c=n("keMG"),l={injectType:"singletonStyleTag",insert:"head",singleton:!0},f=(u()(c.a,l),c.a.locals||{}),m=n("y1Xp"),p=function(e){var t,n=e.children,r=e.classes,a=e.fieldState,s=Object(i.a)().formatMessage,u=a.error,c=Object(m.a)(f,r),l=u?c.root_error:c.root;return u&&(t=s({id:u.id,defaultMessage:u.defaultMessage},{value:u.value})),o.a.createElement("p",{className:l},t||n)};t.a=p;
1p.defaultProps={fieldState:{}},p.propTypes={children:a.node,classes:Object(a.shape)({root:a.string,root_error:a.string}),fieldState:Object(a.shape)({error:Object(a.shape)({id:a.string,defaultMessage:a.string,value:Object(a.oneOfType)([a.number,a.string])})})}},Yfqu:function(e,t,n){"use strict";var r=n("JPst"),o=n.n(r)()(function(e){return e[1]});o.push([e.i,".surveyForm-grab-KNW {\n    cursor: grab;\n}\n\n.surveyForm-root-hE3 {\n    align-items: center;\n    justify-content: center;\n    top: 0;\n    left: 0;\n    grid-template-columns: minmax(0, 1fr);\n    background-color: rgba(0, 0, 0, 0.3);\n    z-index: 99;\n}\n\n.surveyForm-rootInner-5Hf {\n    background-color: #ffffff;\n}\n\n.surveyForm-closeIcon-a9V {\n    top: 0.5rem;\n    right: 0.5rem;\n    cursor: pointer;\n}\n.surveyForm-SurveyFormSection-r6D{\n    display: grid;\n    grid-template-columns: minmax(0, 1fr);\n}\n.surveyForm-shoppingExperience--Yk {}\n\n.surveyForm-surveyFormHeading-sol {\n    font-size: 2rem;\n    font-weight: 600;\n}\n.surveyForm-Form-24V{\n    display: grid;\n    grid-template-columns: minmax(0, 1fr);\n    align-items: center;\n}\n.surveyForm-ratingHeading-WvD {\n    font-size: 3rem;\n    text-align: center;\n    font-weight: 700;\n    margin-top: 3rem;\n    margin-bottom: 5rem;\n}\n\n.surveyForm-commentHeading-yw2 {\n    font-size: 2rem;\n    text-align: center;\n    font-weight: 600;\n    margin-top: 3rem;\n    margin-bottom: 2rem;\n}\n\n.surveyForm-commentContainer-Eei {\n    text-align: center;\n    margin-bottom: 2rem;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    flex-wrap: wrap;\n}\n\n.surveyForm-commentContainer-Eei textarea{\n    width: 70%;\n    max-width: 70%;\n    min-width: 70%;\n    min-height: 12rem;\n}\n\n.surveyForm-commentContainer-Eei p{\n    display: block;\n    width: 70%;\n    text-align: left;\n}\n\n.surveyForm-ratingContainer-8KP {\n    text-align: center;\n    margin-bottom: 2rem;\n    display: grid;\n    grid-auto-flow: column;\n    justify-content: center;\n    grid-gap: 0.8rem;\n}\n\n.surveyForm-ratingContainer-8KP input {\n    margin: 0;\n    width: 28px;\n    position: relative;\n    z-index: 9;\n    opacity: 0;\n    cursor: pointer;\n}\n\n.surveyForm-ratingContainer-8KP .surveyForm-rating-Ohs {\n    /* font-size: 0;\n    margin-left: -15px;\n    margin-right: 5px;\n    cursor: pointer; */\n}\n.surveyForm-rating-Ohs{\n    margin-left: -28px;\n    margin-right: 5px;\n    cursor: pointer;\n}\n.surveyForm-submitButton-CMQ {\n    display: grid;\n}\n.surveyForm-submitButton-CMQ button{\n    font-size: 1.8rem;\n}\n.surveyForm-rateLabel-zax{\n    font-size: 1.6rem;\n}\n.surveyForm-ratingContainer-8KP input:checked ~ label svg {\n    stroke: #000000;\n    fill: #ffffff !important;\n}\n.surveyForm-ratingContainer-8KP input:checked + label svg {\n    stroke: #000000;\n    fill: #000000 !important;\n}\n.surveyForm-ratingInner-6Wx{\n    display: grid;\n    grid-template-columns: minmax(0, 1fr);\n}\n.surveyForm-thankyou-gRn{\n    display: grid;\n    align-items: center;\n    justify-content: center;\n    font-size: 2.2rem;\n}\n@media (max-width: 767px) {\n    .surveyForm-ratingContainer-8KP input {\n        width: 22px;\n    }\n    .surveyForm-ratingInner-6Wx svg{\n        width: 18px;\n        height: 18px;\n    }\n    .surveyForm-rootInner-5Hf {\n        margin: 10px;\n    }\n\n    .surveyForm-ratingHeading-WvD {\n        font-size: 1.8rem;\n    }\n    .surveyForm-ratingContainer-8KP{\n        grid-gap: 0.5rem;\n    }\n}\n@media (min-width: 768px){\n    .surveyForm-root-hE3 {\n        grid-template-columns: minmax(0, 80rem);\n    }\n}\n",""]),o.locals={grab:"surveyForm-grab-KNW",root:"surveyForm-root-hE3 fixed grid w-full h-full",rootInner:"surveyForm-rootInner-5Hf grid p-sm relative min-h-[40rem] lg_p-lg min-h-[30rem]",closeIcon:"surveyForm-closeIcon-a9V absolute",SurveyFormSection:"surveyForm-SurveyFormSection-r6D",shoppingExperience:"surveyForm-shoppingExperience--Yk",surveyFormHeading:"surveyForm-surveyFormHeading-sol mb-xs",Form:"surveyForm-Form-24V",ratingHeading:"surveyForm-ratingHeading-WvD",commentHeading:"surveyForm-commentHeading-yw2",commentContainer:"surveyForm-commentContainer-Eei",ratingContainer:"surveyForm-ratingContainer-8KP",rating:"surveyForm-rating-Ohs",submitButton:"surveyForm-submitButton-CMQ",rateLabel:"surveyForm-rateLabel-zax",ratingInner:"surveyForm-ratingInner-6Wx",thankyou:"surveyForm-thankyou-gRn"},t.a=o},c3RJ:function(e,t,n){"use strict";var r=n("J4zp"),o=n.n(r),i=n("q1tI"),a=n("8UhI");t.a=function(e){var t=Object(i.useState)(!0),n=o()(t,2),r=n[0],s=n[1],u=console.warn,c=/^Attempting to get field (.*) but it does not exist$/g;r&&(console.warn=function(e){e.match(c)||u(e)}
1),Object(i.useEffect)(function(){s(!1)},[]);var l=Object(a.k)(e);return r&&(console.warn=u),l}},keMG:function(e,t,n){"use strict";var r=n("JPst"),o=n.n(r)()(function(e){return e[1]});o.push([e.i,".message-root-B-9 {\n}\n\n/* TODO @TW: cannot compose */\n.message-root-B-9:empty {\n    display: none;\n}\n\n.message-root_error-sDd {\n}\n",""]),o.locals={root:"message-root-B-9 font-normal leading-none pb-0.5 pt-2.5 px-0.5 text-colorDefault text-sm",root_error:"message-root_error-sDd message-root-B-9 font-normal leading-none pb-0.5 pt-2.5 px-0.5 text-colorDefault text-sm font-semibold text-error"},t.a=o},po04:function(e,t,n){"use strict";n.r(t);var r,o=n("yXPU"),i=n.n(o),a=n("RIqP"),s=n.n(a),u=n("J4zp"),c=n.n(u),l=n("q1tI"),f=n.n(l),m=n("lSNA"),p=n.n(m),d=n("+sVj"),v=n("dDsW"),g=n("J3e4"),y=n("pZLH"),h=n("y1Xp"),b=n("VkAN"),O=n.n(b),w=n("UYTu"),j={mutations:{addCustomerFeedbackMutation:Object(w.a)(r||(r=O()(["\nmutation AddCustomerFeedback(\n  $name: String,\n  $email: String,\n  $phone: String,\n  $rating: Int!,\n  $incrementId: String\n  $message: String\n) {\n    addcustomerfeedback(\n      name: $name,\n      email: $email,\n      phone: $phone,\n      rating: $rating,\n      increment_id: $incrementId,\n      message: $message\n    ) {\n      success\n      message\n    }\n  }\n"])))}};function F(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var u=r&&r.prototype instanceof s?r:s,c=Object.create(u.prototype);return x(c,"_invoke",function(n,r,o){var i,s,u,c=0,l=o||[],f=!1,m={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,s=0,u=e,m.n=n,a}};function p(n,r){for(s=n,u=r,t=0;!f&&c&&!o&&t<l.length;t++){var o,i=l[t],p=m.p,d=i[2];n>3?(o=d===r)&&(u=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(s=0,m.v=r,m.n=i[1]):p<d&&(o=n<3||i[0]>r||r>d)&&(i[4]=n,i[5]=r,m.n=d,s=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,d){if(c>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,d),s=l,u=d;(t=s<2?e:u)||!f;){i||(s?s<3?(s>1&&(m.n=-1),p(s,u)):m.n=u:m.v=u);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=m.n<0)?u:n.call(r,m))!==a)break}catch(t){i=e,s=1,u=t}finally{c=1}}return{value:t,done:f}}}(n,o,i),!0),c}var a={};function s(){}function u(){}function c(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(x(t={},r,function(){return this}),t),f=c.prototype=s.prototype=Object.create(l);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,x(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=c,x(f,"constructor",c),x(c,"constructor",u),u.displayName="GeneratorFunction",x(c,o,"GeneratorFunction"),x(f),x(f,o,"Generator"),x(f,r,function(){return this}),x(f,"toString",function(){return"[object Generator]"}),(F=function(){return{w:i,m:m}})()}function x(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(x=function(e,t,n,r){function i(t,n){x(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))})(e,t,n,r)}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach(function(t){p()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var L=function(e){var t=e||{},n=t.incrementId,r=t.noDelay,o=Object(h.a)(j,null==e?void 0:e.operations).mutations.addCustomerFeedbackMutation,a=Object(v.a)().formatMessage,s=Object(g.a)(),u=c()(s,2)[1].addToast,f=Object(l.useState)(!1),m=c()(f,2),p=m[0],b=m[1],O=Object(y.a)(o,{fetchPolicy:"no-cache"}),w=c()(O,2),x=w[0],E=w[1],L=E.error,_=E.data,k=E.loading,P=Object(l.useRef)(null);Object(l.useEffect)(function(){if(P.current&&(clearTimeout(P.current),P.current=null),!r)return P.current=setTimeout(function(){b(!0),P.current=null},2e3),function(){P.current&&(clearTimeout(P.current),P.current=null)};b(!0)},[r,n]);return{errorMessage:Object(l.useMemo)(function(){return Object(d.a)([L])},[L]),loading:k,data:_,handleSubmitSurvey:Object(l.useCallback)((T=i()(F().m(function e(t,r){var o,i,s,c,l;return F().w(function(e){for(;;)switch(e.p=e.n){case 0:if(void 0!==t&&null!=t){e.n=1;break}return u({type:"error",message:a({id:"surveyForm.errorMessage",defaultMessage:"Please give your rating on a scale of 1 to 10"}),dismissable:!0,timeout:3e3}),e.a(2);case 1:if(!(t<=6)||r&&r.hasOwnProperty("message")){e.n=2;break}return u({type:"error",message:a({id:"surveyForm.errorMessage",defaultMessage:"Please share your feedback"}),dismissable:!0,timeout:3e3}),e.a(2);case 2:return e.p=2,i=S(S({},r),{},{rating:t,incrementId:n}),e.n=3,x({variables:S({},i)});case 3:s=e.v,!0===(null==(c=null==s?void 0:null===(o=s.data)||void 0===o?void 0:o.addcustomerfeedback)?void 0:c.success)&&b(!1),e.n=5;break;case 4:e.p=4,l=e.v,u({type:"error",message:l.message||a({id:"surveyForm.errorMessage",defaultMessage:"Something went wrong. Please try again after sometime!"}),dismissable:!0,timeout:3e3});case 5:return e.a(2)}},e,null,[[2,4]])})),function(e,t){return T.apply(this,arguments)}),[x,u,a,n]),customCloseHandler:(C=i()(F().m(function e(){return F().w(function(e){for(;;)switch(e.n){case 0:b(!1);case 1:return e.a(2)}},e)})),function(){return C.apply(this,arguments)}),showSurveyPopup:p,resetInternalState:function(){b(!1),P.current&&(clearTimeout(P.current),P.current=null)}};
1var C;var T},_=n("LboF"),k=n.n(_),P=n("Yfqu"),C={injectType:"singletonStyleTag",insert:"head",singleton:!0},T=(k()(P.a,C),P.a.locals||{}),I=n("PkP7"),M=n("8UhI"),N=n("HM+c"),H=n("oTwF"),D=n("8/mu"),R=n("wHH0");function z(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var u=r&&r.prototype instanceof s?r:s,c=Object.create(u.prototype);return A(c,"_invoke",function(n,r,o){var i,s,u,c=0,l=o||[],f=!1,m={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,s=0,u=e,m.n=n,a}};function p(n,r){for(s=n,u=r,t=0;!f&&c&&!o&&t<l.length;t++){var o,i=l[t],p=m.p,d=i[2];n>3?(o=d===r)&&(u=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(s=0,m.v=r,m.n=i[1]):p<d&&(o=n<3||i[0]>r||r>d)&&(i[4]=n,i[5]=r,m.n=d,s=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,d){if(c>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,d),s=l,u=d;(t=s<2?e:u)||!f;){i||(s?s<3?(s>1&&(m.n=-1),p(s,u)):m.n=u:m.v=u);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=m.n<0)?u:n.call(r,m))!==a)break}catch(t){i=e,s=1,u=t}finally{c=1}}return{value:t,done:f}}}(n,o,i),!0),c}var a={};function s(){}function u(){}function c(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(A(t={},r,function(){return this}),t),f=c.prototype=s.prototype=Object.create(l);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,A(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=c,A(f,"constructor",c),A(c,"constructor",u),u.displayName="GeneratorFunction",A(c,o,"GeneratorFunction"),A(f),A(f,o,"Generator"),A(f,r,function(){return this}),A(f,"toString",function(){return"[object Generator]"}),(z=function(){return{w:i,m:m}})()}function A(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(A=function(e,t,n,r){function i(t,n){A(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))})(e,t,n,r)}t.default=function(e){var t,n=e.email,r=void 0===n?"":n,o=e.firstname,a=void 0===o?"":o,u=e.lastname,m=void 0===u?"":u,p=e.phone,d=void 0===p?"":p,g=e.incrementId,y=e.onSuccess,b=e.noDelay,O=e.onClose,w=Object(h.a)(T,e.classes),j=L({incrementId:g,noDelay:b}),F=Object(v.a)().formatMessage,x=j.loading,E=j.data,S=j.handleSubmitSurvey,_=j.customCloseHandler,k=j.showSurveyPopup;j.resetInternalState;Object(l.useEffect)(function(){var e;!0===(null==E?void 0:null===(e=E.addcustomerfeedback)||void 0===e?void 0:e.success)&&y&&y()},[E,y]),Object(l.useEffect)(function(){G(void 0)},[g]);var P=Object(l.useState)(),C=c()(P,2),A=C[0],G=C[1],$=Object(l.useCallback)(function(e){G(e)},[]),K=Object(l.useMemo)(function(){return s()(Array(10).keys()).map(function(e){var t=void 0!==A&&e<A;return f.a.createElement(f.a.Fragment,{key:"rating-".concat(e)},f.a.createElement("input",{className:"radio",type:"checkbox",value:"Rating".concat(e+1),id:"Rating".concat(e+1),name:"rating",onChange:function(){return $(e+1)},checked:t}),f.a.createElement("label",{className:w.rating,htmlFor:"Rating".concat(e+1)},f.a.createElement("span",{className:w.ratingInner},f.a.createElement(H.a,{src:D.a,size:28}),f.a.createElement("span",{className:w.rateLabel},"".concat(e+1)))))})},[A,$,w.rating,w.ratingInner,w.rateLabel]),W=(V=i()(z().m(function e(){return z().w(function(e){for(;;)switch(e.n){case 0:if(_(),"function"==typeof O)try{O()}catch(e){}case 1:return e.a(2)}},e)})),function(){return V.apply(this,arguments)});var V;return f.a.createElement(f.a.Fragment,null,!0===k&&f.a.createElement("div",{className:w.root},f.a.createElement("div",{className:w.rootInner},f.a.createElement(H.a,{onClick:W,className:w.closeIcon,src:R.a,size:24}),!0===(null==E?void 0:null===(t=E.addcustomerfeedback)||void 0===t?void 0:t.success)?f.a.createElement("h1",{className:w.thankyou},"Thank you for your feedback!"):f.a.createElement("section",{className:w.SurveyFormSection},f.a.createElement(M.b,{className:w.Form,onSubmit:function(e){return S(A,e)}},f.a.createElement(M.h,{type:"hidden",field:"name",initialValue:"".concat(a," ").concat(m)}),f.a.createElement(M.h,{type:"hidden",field:"email",initialValue:r}),f.a.createElement(M.h,{type:"hidden",field:"phone",initialValue:d}),f.a.createElement("div",{className:w.shoppingExperience},f.a.createElement("h2",{className:w.ratingHeading},"How was your shopping experience ?"),f.a.createElement("div",{className:w.ratingContainer},K),f.a.createElement("h2",{className:w.commentHeading},"Share your feedback here:"),f.a.createElement("div",{className:w.commentContainer},f.a.createElement(N.a,{field:"message",id:"message"}))),f.a.createElement("div",{className:w.submitButton},f.a.createElement(I.a,{disabled:x,type:"submit",priority:"high"},F({id:"global.submitButton",defaultMessage:"Submit"}))))))))}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.