(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1798],{5805:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t(237).Z;Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,n){var t=i.default,a=(null==n?void 0:n.suspense)?{}:{loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};r(e,Promise)?a.loader=function(){return e}:"function"===typeof e?a.loader=e:"object"===typeof e&&(a=o({},a,e));if((a=o({},a,n)).suspense)throw new Error("Invalid suspense option usage in next/dynamic. Read more: https://nextjs.org/docs/messages/invalid-dynamic-suspense");a.suspense&&(delete a.ssr,delete a.loading);a.loadableGenerated&&delete(a=o({},a,a.loadableGenerated)).loadableGenerated;if("boolean"===typeof a.ssr&&!a.suspense){if(!a.ssr)return delete a.ssr,u(t,a);delete a.ssr}return t(a)},n.noSSR=u;var o=t(9419).Z,a=t(3903).Z,i=(a(t(2139)),a(t(2060)));function u(e,n){return delete n.webpack,delete n.modules,e(n)}("function"===typeof n.default||"object"===typeof n.default&&null!==n.default)&&"undefined"===typeof n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},6941:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LoadableContext=void 0;var r=(0,t(3903).Z)(t(2139)).default.createContext(null);n.LoadableContext=r},2060:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t(616).Z,o=t(416).Z;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=t(9419).Z,i=(0,t(3903).Z)(t(2139)),u=t(6941),s=t(3100).useSyncExternalStore,l=[],d=[],c=!1;function f(e){var n=e(),t={loading:!0,loaded:null,error:null};return t.promise=n.then((function(e){return t.loading=!1,t.loaded=e,e})).catch((function(e){throw t.loading=!1,t.error=e,e})),t}var g=function(){function e(n,t){r(this,e),this._loadFn=n,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return o(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var n=this._res,t=this._opts;n.loading&&("number"===typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),t.delay)),"number"===typeof t.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),t.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(n){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=a({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var n=this;return this._callbacks.add(e),function(){n._callbacks.delete(e)}}}]),e}();function p(e){return function(e,n){var t=function(){if(!l){var n=new g(e,o);l={getCurrentValue:n.getCurrentValue.bind(n),subscribe:n.subscribe.bind(n),retry:n.retry.bind(n),promise:n.promise.bind(n)}}return l.promise()},r=function(){t();var e=i.default.useContext(u.LoadableContext);e&&Array.isArray(o.modules)&&o.modules.forEach((function(n){e(n)}))},o=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},n);o.suspense&&(o.lazy=i.default.lazy(o.loader));var l=null;if(!c){var f=o.webpack?o.webpack():o.modules;f&&d.push((function(e){var n=!0,r=!1,o=void 0;try{for(var a,i=f[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var u=a.value;if(-1!==e.indexOf(u))return t()}}catch(s){r=!0,o=s}finally{try{n||null==i.return||i.return()}finally{if(r)throw o}}}))}var p=o.suspense?function(e,n){return r(),i.default.createElement(o.lazy,a({},e,{ref:n}))}:function(e,n){r();var t=s(l.subscribe,l.getCurrentValue,l.getCurrentValue);return i.default.useImperativeHandle(n,(function(){return{retry:l.retry}}),[]),i.default.useMemo((function(){return t.loading||t.error?i.default.createElement(o.loading,{isLoading:t.loading,pastDelay:t.pastDelay,timedOut:t.timedOut,error:t.error,retry:l.retry}):t.loaded?i.default.createElement((n=t.loaded)&&n.__esModule?n.default:n,e):null;var n}),[e,t])};return p.preload=function(){return t()},p.displayName="LoadableComponent",i.default.forwardRef(p)}(f,e)}function _(e,n){for(var t=[];e.length;){var r=e.pop();t.push(r(n))}return Promise.all(t).then((function(){if(e.length)return _(e,n)}))}p.preloadAll=function(){return new Promise((function(e,n){_(l).then(e,n)}))},p.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(n){var t=function(){return c=!0,n()};_(d,e).then(t,t)}))},window.__NEXT_PRELOADREADY=p.preloadReady;var v=p;n.default=v},7050:function(e,n,t){"use strict";t.d(n,{X0:function(){return r},h7:function(){return s},hu:function(){return u},yZ:function(){return o}});var r,o,a=t(8788),i=t(2970);!function(e){e.SWEEPS_SURVEY="sweeps-survey",e.SWEEPS_SURVEY_STEP="sweeps-survey-step",e.BET_BET_123="bet-bet-123",e.FINANCE_SURVEY="finance-survey",e.PASSION_SURVEY="passion-survey",e.FINANCE_SURVEY_INAPP="finance-survey-inapp",e.FINANCE_SURVEY_AGE="finance-survey-age",e.CASUAL_SL="casual-sl",e.SOCIAL_SURVEY="social-survey",e.ARE_YOU_HUMAN="are-you-human",e.PLEASE_CONFIRM="please-confirm",e.SWEEP_BOX="sweep-box",e.CAREER_SURVEY="career-survey",e.PAGE_SURVEY="system-message",e.FINANCE_SURVEY_TEST="finance-survey-test",e.PROGRESS_BAR="progress-bar",e.JOB_SURVEY="job-survey",e.GAME_SURVEY="game-survey",e.SINGLE_PAGE="single-page",e.CHAT="chat",e.GROCERY_STORE="grocery-store",e.FINANCE_SURVEY_NON_UNIQUE="finance-survey-non-unique",e.DATING_NOTIFICATION="dating-notification",e.BETTING_FOOTBALL="betting-football",e.MOBILE_GIVEAWAY="mobile-giveaway",e.TEST_FINANCE="test-finance",e.CHOOSE_BOX="choose-box"}(r||(r={})),function(e){e.FINANCE="finance",e.BETTING="betting",e.SWEEPS="sweeps",e.PRELANDING="prelanding"}(o||(o={}));var u=Object.keys(r).length,s=function(){var e=(0,a.Z)((function(e){var n,t,r;return(0,i.__generator)(this,(function(o){switch(o.label){case 0:return[4,fetch("".concat("https://do-config.com","/api/configs_path_").concat(e.toLowerCase()))];case 1:return(n=o.sent()).ok?[4,n.json()]:[3,3];case 2:return t=o.sent(),r=[],t.forEach((function(e){e.aliases.forEach((function(n){r.push({landingName:e.landingName,languages:e.languages,id:e.id.toString(),aliasId:n})}))})),[2,r];case 3:return console.error("Error: ",n.status,n.statusText),[2,null]}}))}));return function(n){return e.apply(this,arguments)}}();!function(){var e=(0,a.Z)((function(e,n){var t,r,o,a,u,s,l,d,c;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return[4,fetch("".concat("https://do-config.com","/api/configs/").concat(e,"/").concat(n))];case 1:return(t=i.sent()).ok?[4,t.json()]:[3,3];case 2:return a=i.sent(),u=null===a||void 0===a?void 0:a.offerData,s=null===a||void 0===a?void 0:a.id,l=null===a||void 0===a||null===(r=a.vertical)||void 0===r?void 0:r.name,d=null===a||void 0===a||null===(o=a.project)||void 0===o?void 0:o.alias,c=null===a||void 0===a?void 0:a.landingName,u?[2,{id:s,jsonData:u,vertical:l,project:d,language:n,landingName:c}]:(console.error("Error: Offer not found"),[2,null]);case 3:return console.error("Error: ",t.status,t.statusText),[2,null]}}))}))}()},9740:function(e,n,t){"use strict";t.d(n,{O:function(){return f}});var r=t(6753),o=t(2228),a=t(3888);function i(){var e=(0,o.Z)(["\n 0% {\n background-position: -40rem 0;\n }\n 100% {\n background-position: 40rem 0;\n }\n"]);return i=function(){return e},e}function u(){var e=(0,o.Z)(["\n height: ",";\n width: ",";\n margin: ",";\n background-color: ",";\n border-radius: ",";\n background: linear-gradient(\n ",",\n ","\n ",",\n ","\n ",",\n "," ","\n );\n background-size: 80rem 100%;\n animation: "," 1.5s infinite linear forwards;\n"]);return u=function(){return e},e}function s(){var e=(0,o.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: ",";\n align-items: ",";\n width: 100%;\n"]);return s=function(){return e},e}var l=(0,a.F4)(i()),d=a.ZP.div.withConfig({componentId:"sc-420f7849-0"})(u(),(function(e){return e.$height||"2rem"}),(function(e){return e.$width||"100%"}),(function(e){return e.$margin||"0"}),(function(e){return e.$backgroundColor||"#eee"}),(function(e){return e.$borderRadius||"3px"}),(function(e){return e.$gradientDirection||"to right"}),(function(e){return e.$gradientStartColor||"#eee"}),(function(e){return e.$gradientStartPercentage||"8%"}),(function(e){return e.$gradientMiddleColor||"#ddd"}),(function(e){return e.$gradientMiddlePercentage||"18%"}),(function(e){return e.$gradientEndColor||"#eee"}),(function(e){return e.$gradientEndPercentage||"33%"}),l),c=a.ZP.div.withConfig({componentId:"sc-420f7849-1"})(s(),(function(e){return e.$justifyContent||"center"}),(function(e){return e.$alignItems||"start"})),f=function(e){var n=e.$height,t=e.$width,o=e.$margin,a=e.$backgroundColor,i=e.$borderRadius,u=e.$gradientStartColor,s=e.$gradientMiddleColor,l=e.$gradientEndColor,f=e.$gradientStartPercentage,g=e.$gradientMiddlePercentage,p=e.$gradientEndPercentage,_=e.$gradientDirection,v=e.$alignItems,h=e.$justifyContent,y=e.$styleContainer,E=e.style;return(0,r.tZ)(c,{style:y,$alignItems:v,$justifyContent:h,children:(0,r.tZ)(d,{style:E,$height:n,$margin:o,$width:t,$backgroundColor:a,$borderRadius:i,$gradientStartColor:u,$gradientMiddleColor:s,$gradientEndColor:l,$gradientStartPercentage:f,$gradientMiddlePercentage:g,$gradientEndPercentage:p,$gradientDirection:_})})}},5237:function(e,n,t){e.exports=t(5805)},452:function(e,n,t){"use strict";var r=t(2139);var o="function"===typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e===1/n)||e!==e&&n!==n},a=r.useState,i=r.useEffect,u=r.useLayoutEffect,s=r.useDebugValue;function l(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!o(e,t)}catch(r){return!0}}var d="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,n){return n()}:function(e,n){var t=n(),r=a({inst:{value:t,getSnapshot:n}}),o=r[0].inst,d=r[1];return u((function(){o.value=t,o.getSnapshot=n,l(o)&&d({inst:o})}),[e,t,n]),i((function(){return l(o)&&d({inst:o}),e((function(){l(o)&&d({inst:o})}))}),[e]),s(t),t};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},3100:function(e,n,t){"use strict";e.exports=t(452)}}]);