@bikdotai/bik-widgets 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-package/index.cjs +2 -0
- package/dist-package/index.cjs.LICENSE.txt +19 -0
- package/dist-package/index.css +64 -0
- package/dist-package/index.mjs +2 -0
- package/dist-package/index.mjs.LICENSE.txt +19 -0
- package/package.json +7 -5
- package/dist-package/chunks/node_modules_lottie-web_build_player_lottie_light_js.927c24cd7bf65e593181.js +0 -1
- package/dist-package/chunks/src_components_UserDetailsV2_userDetailsV2_desktop_module_css.1efff8cddc83e0d3401c.js +0 -1
- package/dist-package/chunks/src_components_UserDetailsV2_userDetailsV2_mobile_module_css.dc9f2aa849ff133f141e.js +0 -1
- package/dist-package/chunks/src_components_UserDetailsV2_userDetailsV2_module_css.2a5fcc435fb3f37d0034.js +0 -1
- package/dist-package/chunks/src_components_checkbox_checkbox_module_css.be362d6b95515915d752.js +0 -1
- package/dist-package/chunks/src_components_countryCodePicker_countriesDropdown_module_css.a1c8409dacb9abf0dfce.js +0 -1
- package/dist-package/chunks/src_components_couponDetails_couponPreviewDesktop_module_css.ba5ab63e0394cc8a886f.js +0 -1
- package/dist-package/chunks/src_components_couponDetails_couponPreviewMobile_module_css.12642fbc4c56a68af36a.js +0 -1
- package/dist-package/chunks/src_components_couponDetails_coupon_module_css.828bdce7a75e349ebbb1.js +0 -1
- package/dist-package/chunks/src_components_inputComponents_Dropdown_module_css.7a0ce85538bef9add9d6.js +0 -1
- package/dist-package/chunks/src_components_selectedCountry_selectedCountryPreviewDesktop_module_css.7f3139377b37f12d921f.js +0 -1
- package/dist-package/chunks/src_components_selectedCountry_selectedCountryPreviewMobile_module_css.fed0a331046797ed5973.js +0 -1
- package/dist-package/chunks/src_components_selectedCountry_selectedCountry_module_css.630e2d9d9273a276f88c.js +0 -1
- package/dist-package/chunks/src_widgets_BottomDrawer_config_ts.c222c906d3920af1e1cb.js +0 -1
- package/dist-package/chunks/src_widgets_BottomDrawer_index_tsx.e9213fe49b5889e994e2.js +0 -1
- package/dist-package/chunks/src_widgets_CaptivateBanner_config_ts.9aaaf84faf2c9d249a49.js +0 -1
- package/dist-package/chunks/src_widgets_CaptivateBanner_index_tsx.af1c8798259dec2cb3fb.js +0 -1
- package/dist-package/chunks/src_widgets_CaptivateBanner_previewDesktop_module_css.934a120419e64fdcea21.js +0 -1
- package/dist-package/chunks/src_widgets_CaptivateBanner_previewMobile_module_css.ea372353d7adf8c386ed.js +0 -1
- package/dist-package/chunks/src_widgets_CaptivateBanner_style_module_css.ed1acad346401f481abc.js +0 -1
- package/dist-package/chunks/src_widgets_CentrallyAlignedPopup_config_ts.ddfca241b6f1a15049e3.js +0 -1
- package/dist-package/chunks/src_widgets_CentrallyAlignedPopup_index_tsx.d7599511d8519b775ec2.js +0 -1
- package/dist-package/chunks/src_widgets_DirectReward_config_ts.ec522622f042ce691399.js +0 -1
- package/dist-package/chunks/src_widgets_DirectReward_index_tsx.d56025f4ea5792718067.js +0 -2
- package/dist-package/chunks/src_widgets_DirectReward_previewStyles_thankYouPreviewDesktop_module_css.5a86965d82116b2d7b91.js +0 -1
- package/dist-package/chunks/src_widgets_DirectReward_previewStyles_thankYouPreviewMobile_module_css.c93d0e8be4e1f183bcfa.js +0 -1
- package/dist-package/chunks/src_widgets_DirectReward_previewStyles_userDetailsPreviewDesktop_module_css.d1d862bb3b3a826e6368.js +0 -1
- package/dist-package/chunks/src_widgets_DirectReward_previewStyles_userDetailsPreviewMobile_module_css.b6bed87791445adb8886.js +0 -1
- package/dist-package/chunks/src_widgets_DirectReward_style_module_css.8d53a303557c3ca8323a.js +0 -1
- package/dist-package/chunks/src_widgets_ExitIntentHook_tsx.36222875fcd0408c040e.js +0 -1
- package/dist-package/chunks/src_widgets_STW_config_ts.a12b07b7f62eb0ea6dc0.js +0 -1
- package/dist-package/chunks/src_widgets_STW_index_tsx.e6bce54b3f841b9f2113.js +0 -2
- package/dist-package/chunks/src_widgets_STW_previewStyles_thankyouPreviewDesktop_module_css.eda5e42e4f6cd9d87904.js +0 -1
- package/dist-package/chunks/src_widgets_STW_previewStyles_thankyouPreviewMobile_module_css.2da674c296feaef1b037.js +0 -1
- package/dist-package/chunks/src_widgets_STW_previewStyles_userInputsPreviewDesktop_module_css.ea588b3bebcbf4eccf95.js +0 -1
- package/dist-package/chunks/src_widgets_STW_previewStyles_userInputsPreviewMobile_module_css.dc4596a5b41427fae2e2.js +0 -1
- package/dist-package/chunks/src_widgets_STW_previewStyles_wheelPreviewDesktop_module_css.8b9735c97d5240afc20a.js +0 -1
- package/dist-package/chunks/src_widgets_STW_previewStyles_wheelPreviewMobile_module_css.66ddd61f1aedef0ecaa0.js +0 -1
- package/dist-package/chunks/src_widgets_STW_stw1_tsx.e62b308fba62beb29793.js +0 -1
- package/dist-package/chunks/src_widgets_STW_stw2Components_wheelDesign_tsx.925c7d3dd11bc361199d.js +0 -2
- package/dist-package/chunks/src_widgets_STW_stw2Pages_couponDetails_tsx.aa4f9803222126c1d645.js +0 -2
- package/dist-package/chunks/src_widgets_STW_stw2Pages_style_module_css.3a683c60c6678865aee1.js +0 -1
- package/dist-package/chunks/src_widgets_STW_stw2Pages_userDetails_tsx.da1c0b70a43507bcacd0.js +0 -2
- package/dist-package/chunks/src_widgets_STW_stw2Pages_wheel_tsx.a25f6eedaf43920b3f13.js +0 -2
- package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_thankyouPreviewDesktop_module_css.4d86be690aa2ac02d42d.js +0 -1
- package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_thankyouPreviewMobile_module_css.514e8bc036d20099217f.js +0 -1
- package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_userInputsPreviewDesktop_module_css.7dcb9e7b063e981a2730.js +0 -1
- package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_userInputsPreviewMobile_module_css.c2e5280360cd4298e0df.js +0 -1
- package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_wheelPreviewDesktop_module_css.7aaac3771035b1929dca.js +0 -1
- package/dist-package/chunks/src_widgets_STW_stw2PreviewStyles_wheelPreviewMobile_module_css.e8042369ff79890e7ff4.js +0 -1
- package/dist-package/chunks/src_widgets_STW_style_module_css.dd14839c719d8ae26778.js +0 -1
- package/dist-package/chunks/src_widgets_ScratchCard_config_ts.a49cbd81b255752007b2.js +0 -1
- package/dist-package/chunks/src_widgets_ScratchCard_globalStyle_module_css.1844fdb9f244f7eea6a3.js +0 -1
- package/dist-package/chunks/src_widgets_ScratchCard_index_tsx.8e6339dbbe8791e2bbea.js +0 -2
- package/dist-package/chunks/src_widgets_ScratchCard_previewStyles_userDetailsPreviewDesktop_module_css.bf4e3d52d37c4a2c8653.js +0 -1
- package/dist-package/chunks/src_widgets_ScratchCard_previewStyles_userDetailsPreviewMobile_module_css.68bd5853e5a6f0136f54.js +0 -1
- package/dist-package/chunks/src_widgets_ShopifyForm_config_ts.ae68d20563321b24c42f.js +0 -1
- package/dist-package/chunks/src_widgets_ShopifyForm_index_tsx.7f33a3f0fffbd88444c0.js +0 -1
- package/dist-package/chunks/src_widgets_ShopifyForm_previewDesktop_module_css.f5bb8a66eec449599342.js +0 -1
- package/dist-package/chunks/src_widgets_ShopifyForm_previewMobile_module_css.84fab56fb812decfa88b.js +0 -1
- package/dist-package/chunks/src_widgets_ShopifyForm_style_module_css.93e042eb60d4e7a9969e.js +0 -1
- package/dist-package/chunks/src_widgets_SingleButtonRedirection_config_ts.b34f37a93d9f21ca12d2.js +0 -1
- package/dist-package/chunks/src_widgets_WebStories_config_ts.347332569990592c9215.js +0 -1
- package/dist-package/chunks/src_widgets_WebStories_index_css.82d92057971ad51334f8.js +0 -1
- package/dist-package/chunks/src_widgets_WebStories_index_tsx.03f74c2c52432896cce9.js +0 -1
- package/dist-package/chunks/src_widgets_WebStories_style_module_css.acd37b9a11117cfb851a.js +0 -1
- package/dist-package/chunks/src_widgets_index_tsx.d0409ffd2e3c285e9dd3.js +0 -1
- package/dist-package/index.js +0 -2
- package/dist-package/src_components_UserDetailsV2_userDetailsV2_desktop_module_css.index.css +0 -1
- package/dist-package/src_components_UserDetailsV2_userDetailsV2_mobile_module_css.index.css +0 -1
- package/dist-package/src_components_UserDetailsV2_userDetailsV2_module_css.index.css +0 -1
- package/dist-package/src_components_checkbox_checkbox_module_css.index.css +0 -1
- package/dist-package/src_components_countryCodePicker_countriesDropdown_module_css.index.css +0 -1
- package/dist-package/src_components_couponDetails_couponPreviewDesktop_module_css.index.css +0 -1
- package/dist-package/src_components_couponDetails_couponPreviewMobile_module_css.index.css +0 -1
- package/dist-package/src_components_couponDetails_coupon_module_css.index.css +0 -1
- package/dist-package/src_components_inputComponents_Dropdown_module_css.index.css +0 -1
- package/dist-package/src_components_selectedCountry_selectedCountryPreviewDesktop_module_css.index.css +0 -1
- package/dist-package/src_components_selectedCountry_selectedCountryPreviewMobile_module_css.index.css +0 -1
- package/dist-package/src_components_selectedCountry_selectedCountry_module_css.index.css +0 -1
- package/dist-package/src_widgets_CaptivateBanner_previewDesktop_module_css.index.css +0 -1
- package/dist-package/src_widgets_CaptivateBanner_previewMobile_module_css.index.css +0 -1
- package/dist-package/src_widgets_CaptivateBanner_style_module_css.index.css +0 -1
- package/dist-package/src_widgets_DirectReward_index_tsx.index.css +0 -1
- package/dist-package/src_widgets_DirectReward_previewStyles_thankYouPreviewDesktop_module_css.index.css +0 -3
- package/dist-package/src_widgets_DirectReward_previewStyles_thankYouPreviewMobile_module_css.index.css +0 -3
- package/dist-package/src_widgets_DirectReward_previewStyles_userDetailsPreviewDesktop_module_css.index.css +0 -1
- package/dist-package/src_widgets_DirectReward_previewStyles_userDetailsPreviewMobile_module_css.index.css +0 -1
- package/dist-package/src_widgets_DirectReward_style_module_css.index.css +0 -1
- package/dist-package/src_widgets_STW_index_tsx.index.css +0 -2
- package/dist-package/src_widgets_STW_previewStyles_thankyouPreviewDesktop_module_css.index.css +0 -3
- package/dist-package/src_widgets_STW_previewStyles_thankyouPreviewMobile_module_css.index.css +0 -1
- package/dist-package/src_widgets_STW_previewStyles_userInputsPreviewDesktop_module_css.index.css +0 -3
- package/dist-package/src_widgets_STW_previewStyles_userInputsPreviewMobile_module_css.index.css +0 -1
- package/dist-package/src_widgets_STW_previewStyles_wheelPreviewDesktop_module_css.index.css +0 -3
- package/dist-package/src_widgets_STW_previewStyles_wheelPreviewMobile_module_css.index.css +0 -1
- package/dist-package/src_widgets_STW_stw2Pages_style_module_css.index.css +0 -1
- package/dist-package/src_widgets_STW_stw2PreviewStyles_thankyouPreviewDesktop_module_css.index.css +0 -3
- package/dist-package/src_widgets_STW_stw2PreviewStyles_thankyouPreviewMobile_module_css.index.css +0 -1
- package/dist-package/src_widgets_STW_stw2PreviewStyles_userInputsPreviewDesktop_module_css.index.css +0 -1
- package/dist-package/src_widgets_STW_stw2PreviewStyles_userInputsPreviewMobile_module_css.index.css +0 -1
- package/dist-package/src_widgets_STW_stw2PreviewStyles_wheelPreviewDesktop_module_css.index.css +0 -3
- package/dist-package/src_widgets_STW_stw2PreviewStyles_wheelPreviewMobile_module_css.index.css +0 -3
- package/dist-package/src_widgets_STW_style_module_css.index.css +0 -1
- package/dist-package/src_widgets_ScratchCard_globalStyle_module_css.index.css +0 -2
- package/dist-package/src_widgets_ScratchCard_previewStyles_userDetailsPreviewDesktop_module_css.index.css +0 -3
- package/dist-package/src_widgets_ScratchCard_previewStyles_userDetailsPreviewMobile_module_css.index.css +0 -3
- package/dist-package/src_widgets_ShopifyForm_previewDesktop_module_css.index.css +0 -1
- package/dist-package/src_widgets_ShopifyForm_previewMobile_module_css.index.css +0 -1
- package/dist-package/src_widgets_ShopifyForm_style_module_css.index.css +0 -1
- package/dist-package/src_widgets_WebStories_index_css.index.css +0 -1
- package/dist-package/src_widgets_WebStories_index_tsx.index.css +0 -3
- package/dist-package/src_widgets_WebStories_style_module_css.index.css +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see src_widgets_ScratchCard_index_tsx.8e6339dbbe8791e2bbea.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_ScratchCard_index_tsx"],{8181:(t,e,r)=>{r.d(e,{a:()=>n});var n=function(t){var e=t.visiblePages,r=t.currentLocation,n=t.currentPathname,o=t.isMobileDevice,i=t.triggers,a=e.includes("/*")||e.includes(r)||e.some((function(t){return n.startsWith(t)})),c=o&&(null==i?void 0:i.exitIntentFastUpScroll)||Boolean(null==i?void 0:i.exitIntentTimeDelay);return a&&c}},3307:(t,e,r)=>{r.r(e),r.d(e,{default:()=>U});var n=r(9497),o=r.n(n),i=r(7999),a=r(5712),c=r(8181),l=r(3047),u=r(9447),s=r(9247),d=r(2354),f=r(383),g=r(5691),v=r(5857),h=r(9530),p=r(5412),m=r(1149),y=r(5965),b=r(4113),w=r(1886),S=r(4194),C=r(2966),E=r(6659),I=r(2243),k=r(8079);function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function _(){return _=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},_.apply(this,arguments)}function L(){L=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var i=e&&e.prototype instanceof f?e:f,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:S(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var d={};function f(){}function g(){}function v(){}var h={};l(h,i,(function(){return this}));var p=Object.getPrototypeOf,m=p&&p(p(_([])));m&&m!==e&&r.call(m,i)&&(h=m);var y=v.prototype=f.prototype=Object.create(h);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var l=s(t[n],t,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==O(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return o("throw",t,a,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function S(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=C(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function C(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function _(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return g.prototype=v,n(y,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:g,configurable:!0}),g.displayName=l(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,l(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(y),l(y,c,"Generator"),l(y,i,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=_,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:_(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}function P(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function T(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?P(Object(r),!0).forEach((function(e){x(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function x(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==O(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===O(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void r(t)}c.done?e(l):Promise.resolve(l).then(n,o)}function D(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return j(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(t,e):void 0}}(t,e)||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 j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var N=o().lazy((function(){return r.e("src_widgets_ExitIntentHook_tsx").then(r.bind(r,2138))})),F=function(t){var e,r,i,O,P,x,j,F,U,W,M,B,G,R,H,K,z=D((0,n.useState)(!1),2),q=z[0],V=z[1],Y=D((0,n.useState)(!1),2),Z=Y[0],J=Y[1],X=t.leadGeneration,$=X.mandatoryOption,Q=X.optionalOptions,tt=t.info,et=tt.storeId,rt=tt.templateId,nt=t.widgetCustomisation.discountTitle,ot=D((0,n.useState)(!1),2),it=ot[0],at=ot[1],ct=D((0,n.useState)(null),2),lt=ct[0],ut=ct[1],st=D((0,n.useState)(!1),2),dt=st[0],ft=st[1],gt=D((0,n.useState)({code:"SND20OFF",description:"20% off on entire order | Minimum purchase of ₹500.00 One time use only | Expiry date : 5th Aug, 2022"}),2),vt=gt[0],ht=gt[1],pt=D((0,n.useState)({sameSMSNo:!1,sameWhatsappNumber:!1}),2),mt=pt[0],yt=pt[1],bt=new a.k,wt=new l.l,St=D((0,n.useState)(!1),2),Ct=St[0],Et=St[1],It=t.environment,kt=t.visibility,Ot=(kt.triggers.frequency?kt.triggers.frequency:0)/24,_t=1e3*(kt.triggers.timeDelay?kt.triggers.timeDelay:0),Lt=kt.triggers.pageScroll,Pt=kt.triggers.fabButtonVisibility,Tt=(0,w.Z)(),xt=(0,S.k)(t.id),At=xt.setTriggeredIntentDetails,Dt=xt.getTriggeredIntentDetails;null!==(e=t.widgetCustomisation)&&void 0!==e&&e.fabText&&(K={width:"fit-content",height:"fit-content",paddingHorizontal:4,borderRadius:20}),wt.addItemInLocalStorage("storeId",null===(r=t.info)||void 0===r?void 0:r.storeId),(0,n.useEffect)((function(){if(!t.preview){var e,r;if(wt.cookieClickHandler("bik-".concat(t.id,"-visitor"),d.G.BIK_VISITOR,d.W.WIDGET_VISITED,1,t.environment,t.id),Pt||wt.cookieClickHandler("bik-".concat(t.id,"-clicked"),"bikclick","WIDGET_CLICKED",1,t.environment,t.id),!bt.showWidget({currentUrl:window.location.href.replace(window.location.origin,""),customUrls:t.storeWidgetConfig,currentWidgetId:t.id},t.info.isAutomationTesting)||(0,h.getCookie)("bik-".concat(t.id,"-claimed"))&&null!=kt&&null!==(e=kt.triggers)&&void 0!==e&&e.hideAfterClaimed||(0,h.getCookie)("bik-".concat(t.id,"-modalopened"))&&null!=kt&&null!==(r=kt.triggers)&&void 0!==r&&r.frequency)return;Pt&&!(0,h.getCookie)("bik-".concat(t.id,"-claimed"))&&V(!0),_t&&!Ct&&setTimeout((function(){At({triggerSource:C.hL.AUTO_POPULATE,triggerType:C.jW.TIME_DELAY,triggeredPage:(0,E.getTriggeredPageFromUrl)(window.location.href)}),(0,h.setCookie)("bik-".concat(t.id,"-modalopened"),"bikmodalopened",Ot),Et(!0)}),_t);var n=(o=function(){var e,r;Ct||(0,h.getCookie)("bik-".concat(t.id,"-claimed"))&&null!=kt&&null!==(e=kt.triggers)&&void 0!==e&&e.hideAfterClaimed||(0,h.getCookie)("bik-".concat(t.id,"-modalopened"))&&null!=kt&&null!==(r=kt.triggers)&&void 0!==r&&r.frequency||Lt&&(0,h.getScrollPercent)()>=Lt&&(At({triggerSource:C.hL.AUTO_POPULATE,triggerType:C.jW.PAGE_SCROLL,triggeredPage:(0,E.getTriggeredPageFromUrl)(window.location.href)}),(0,h.setCookie)("bik-".concat(t.id,"-modalopened"),"bikmodalopened",Ot),Et(!0))},window.addEventListener("scrollend",o),function(){return window.removeEventListener("scrollend",o)});return function(){n&&n()}}var o}),[window.location.href]);var jt=function(e){var r,n;Ct||(At({triggerSource:C.hL.EXIT_INTENT,triggerType:e,triggeredPage:(0,E.getTriggeredPageFromUrl)(window.location.href),exitIntentLevel:null!==(r=null==kt||null===(n=kt.triggers)||void 0===n?void 0:n.showExitIntentOn)&&void 0!==r?r:C.Ml.WEBPAGE}),(0,h.setCookie)("bik-".concat(t.id,"-modalopened"),"bikmodalopened",Ot),Et(!0))},Nt={icon:o().createElement(s.Z,{color:null===(i=t.widgetCustomisation)||void 0===i?void 0:i.iconColor}),onClick:function(){wt.cookieClickHandler("bik-".concat(t.id,"-clicked"),"bikclick","WIDGET_CLICKED",1,t.environment,t.id),At({triggerSource:C.hL.FAB,triggerType:C.jW.FAB_CLICK,triggeredPage:(0,E.getTriggeredPageFromUrl)(window.location.href)}),V(!1),Et(!0)},buttonStyle:K,isMobile:t.isMobile,preview:null!==(O=t.preview)&&void 0!==O&&O,widgetCustomisation:{fabText:null===(P=t.widgetCustomisation)||void 0===P?void 0:P.fabText,iconColor:null===(x=t.widgetCustomisation)||void 0===x?void 0:x.iconColor,fabTransform:null===(j=t.widgetCustomisation)||void 0===j?void 0:j.fabTransform,fabPositioner:null===(F=t.widgetCustomisation)||void 0===F?void 0:F.fabPositioner,fabBackgroundColor:null===(U=t.widgetCustomisation)||void 0===U?void 0:U.fabBackgroundColor,fabLottie:null===(W=t.widgetCustomisation)||void 0===W?void 0:W.fabLottie,fabAnimationRun:null===(M=t.widgetCustomisation)||void 0===M?void 0:M.fabAnimationRun,fabImage:null===(B=t.widgetCustomisation)||void 0===B?void 0:B.fabImage,fabIconLink:null===(G=t.widgetCustomisation)||void 0===G?void 0:G.fabIconLink,fabWebSize:null===(R=t.widgetCustomisation)||void 0===R?void 0:R.fabWebSize,fabMobileSize:null===(H=t.widgetCustomisation)||void 0===H?void 0:H.fabMobileSize}},Ft=function(){var e,r=(e=L().mark((function e(r){var n,o,i,a,c,l,u,s,d,f,v;return L().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=[],c=[],Object.keys($).map((function(t){if($[t])if(t===I.tG){var e=r[t];Object.keys(e).forEach((function(t){var r=Number(t),n=e[t];$.customFields&&Array.isArray($.customFields)&&$.customFields.some((function(t){return t.id===r}))&&a.push({channel:"customField",value:n,customFieldId:r})}))}else{var c,l=r[t].countryCodeData?r[t].countryCodeData.dial+r[t].value:r[t].value;"isEmail"===t?(c=k.e.EMAIL,i=l):"isSms"===t?(c=k.e.SMS,o=l):"isWhatsapp"===t&&(c=k.e.WHATSAPP,n=l),a.push({channel:c,value:l})}})),mt.sameSMSNo?r.isWhatsapp=T(T({},r.isWhatsapp),{},{countryCodeData:r.isSms.countryCodeData,value:r.isSms.value}):mt.sameWhatsappNumber&&(r.isSms=T(T({},r.isSms),{},{countryCodeData:r.isWhatsapp.countryCodeData,value:r.isWhatsapp.value})),Object.keys(Q).map((function(t){if(Q[t])if(t===I.tG){var e=r[t];Object.keys(e).forEach((function(t){var r=Number(t),n=e[t];Q.customFields&&Array.isArray(Q.customFields)&&Q.customFields.some((function(t){return t.id===r}))&&c.push({channel:"customField",value:n,customFieldId:r})}))}else{var a,l=r[t].countryCodeData?r[t].countryCodeData.dial+r[t].value:r[t].value;"isEmail"===t?(a=k.e.EMAIL,i=l):"isSms"===t?(a=k.e.SMS,o=l):"isWhatsapp"===t&&(a=k.e.WHATSAPP,n=l),c.push({channel:a,value:l})}})),at(!0),l=void 0,n&&(l=localStorage.getItem("".concat(y.dA.BIK_COUPON_DISBURSED,"-").concat(t.id,"-").concat(n))),!l&&o&&(l=localStorage.getItem("".concat(y.dA.BIK_COUPON_DISBURSED,"-").concat(t.id,"-").concat(o))),!l&&i&&(l=localStorage.getItem("".concat(y.dA.BIK_COUPON_DISBURSED,"-").concat(t.id,"-").concat(i))),!l){e.next=17;break}return u=JSON.parse((0,b.X)(l)),ht({code:u.code,description:u.description}),J(!1),ft(!0),at(!1),e.abrupt("return");case 17:return s=Dt(),d={storeId:et,widgetId:t.id,primaryInfo:a,secondaryInfo:c,templateId:rt,quadrant:1,triggeredIntentDetails:s},e.next=21,(0,g.fetchCouponCode)(d,It);case 21:f=e.sent,at(!1),404===f.status&&("Customer already exist!"==f.error?ut("Sorry, You already claimed the prize."):ut(f.error)),f.code&&f.description&&((0,y.Ff)(y.dA.BIK_PHONE_NUMBER,n),(0,y.Ff)(y.dA.BIK_EMAIL,i),ht({code:f.code,description:f.description}),v=JSON.stringify({code:f.code,description:f.description}),n&&(0,y.Ff)("".concat(y.dA.BIK_COUPON_DISBURSED,"-").concat(t.id,"-").concat(n),v),o&&(0,y.Ff)("".concat(y.dA.BIK_COUPON_DISBURSED,"-").concat(t.id,"-").concat(o),v),i&&(0,y.Ff)("".concat(y.dA.BIK_COUPON_DISBURSED,"-").concat(t.id,"-").concat(i),v),kt.triggers.hideAfterClaimed&&(0,h.setCookie)("bik-".concat(t.id,"-claimed"),f.code,24820),J(!1),ft(!0));case 25:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){A(i,n,o,a,c,"next",t)}function c(t){A(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}();return o().createElement("div",{id:"bik-widget-root-".concat(t.id)},function(){var e,r;if(t.preview)return!1;var i=window.location.pathname,a=window.location.href,l=null!==(e=null==kt?void 0:kt.visiblePages)&&void 0!==e?e:[],u=null!==(r=null==kt?void 0:kt.triggers)&&void 0!==r?r:{};return(0,c.a)({visiblePages:l,currentLocation:a,currentPathname:i,isMobileDevice:Tt,triggers:u})?o().createElement(n.Suspense,{fallback:null},o().createElement(N,{onExitIntent:jt,config:{exitIntentTimeDelay:null==u?void 0:u.exitIntentTimeDelay,exitIntentViewLimit:null==u?void 0:u.exitIntentViewLimit,exitIntentFastUpScroll:null==u?void 0:u.exitIntentFastUpScroll,showExitIntentOn:null==u?void 0:u.showExitIntentOn},widgetId:t.id})):null}(),q&&o().createElement(u.Z,_({},Nt,{id:"bik-stw-".concat(t.id,"-fab")})),Z&&o().createElement(f.default,_({},t,{claimPrizeHandle:Ft,error:lt,isLoading:it,onCloseHandle:function(){ut(null),V(Pt),J(!1)},widgetName:"Scratch_The_Card",templateName:m.WIDGET_NAME.SCRATCH_THE_CARD,setSameMobileNumberTogglers:yt,sameMobileNumberTogglers:mt})),dt&&o().createElement(p.default,{onCloseHandle:function(){var e,r;ut(null),ft(!1),V(!(!Pt||(0,h.getCookie)("bik-".concat(t.id,"-claimed"))||null==kt||null===(e=kt.triggers)||void 0===e||!e.hideAfterClaimed||(0,h.getCookie)("bik-".concat(t.id,"-modalopened"))||null==kt||null===(r=kt.triggers)||void 0===r||!r.frequency))},couponCodeDetails:vt,widgetCustomisation:t.widgetCustomisation,preview:t.preview,isMobile:t.isMobile,templateName:m.WIDGET_NAME.SCRATCH_THE_CARD}),o().createElement(v.default,{discountTitle:nt,widgetCustomisation:t.widgetCustomisation,onScratchComplete:function(){setTimeout((function(){Et(!1),J(!0)}),1500)},showModal:Ct,environment:It,onClose:function(){Et(!1),V(Pt)}}))};const U=F;(0,i.Z)(F)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_ScratchCard_previewStyles_userDetailsPreviewDesktop_module_css"],{54:(i,t,e)=>{e.r(t),e.d(t,{default:()=>n});const n={bikDRParentContainer:"INYTQN1O",userDetailsTitleWrapper:"Ti1hy9lp",bikDRCloseBtnWrapperMobile:"XpwH2Xok",bikDRMainContainer:"hoiAbGzg",bikDRImageDiv:"k7wuonJT",bikDRImageContainer:"Ax4674o2",bikDRContentContainer:"YN0nW8AE",directRewardCloseBtnWrapper:"IqbyT38e",bikDRContentWrapper:"ckfCplb8",bikDRTitleWrapper:"uNvAPHJB",bikDRDataInputWrapper:"ZHKjNwSl",bikDRInputContainer:"TOv9s7qY","bik-dr-discount-details-container":"x_dR5vsl","bik-dr-discountcode-details-main":"_Pmsp5Ga",poweredBy:"J7J1iOAI",bikStwPhoneInputRow:"SLdtOlpI",bikFooter2:"JOPrgnWe",bikStwH2:"Bn_MA9Uq","bik-stw-mand-email":"IFynQF6s","bik-stw-mand-phone":"_YUGE3vy","bik-stw-mand-wa":"WGjJaYZ9","bik-stw-opt-email":"onNClmEA","bik-stw-opt-phone":"zwBdZT8q","bik-stw-opt-wa":"jZbcDiN4",bikEmailInputMain:"T8EMJOh2",bikInputMain:"AqLa2LKi",bikStwWaCheckboxContainer:"jOvgPhnx",bikStwPhoneInput:"r6TBKu56",bikStwCountryCodeContainer:"FxdsI_7R",bikStwCountryCodePicker:"LB9_OH3I",bikStwDownArrow:"TxCwFu5Q",bikStwCountryFlag:"LeEYCjXI",bikPhoneInputRow:"msXywlu1",bikCountryFlag:"ELc67XIk",bikCountryCodePicker:"dP8kD7Ga",dropdownContent:"VjY4I1RI",bikSpinInputText:"PZwFJgEh","bikPhoneInput-row":"mSdWk7M4",bikWaCheckboxContainer:"QmG0BzJJ",bikUserDetails:"lRgDpr4B",bikInputWrapper:"uP9ViM7B",bikayiBtn:"Wpw9oQOY"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_ScratchCard_previewStyles_userDetailsPreviewMobile_module_css"],{1949:(i,e,t)=>{t.r(e),t.d(e,{default:()=>r});const r={bikDRParentContainer:"frD9s83s",userDetailsTitleWrapper:"DHdK61JP",bikDRMainContainer:"c3ZIIGsP",bikDRImageDiv:"oZlxoKK_",bikDRImageContainer:"PoQeJajF",bikDRContentContainer:"SyJLcLeF",directRewardCloseBtnWrapper:"mjdkQRED",bikDRContentWrapper:"hl63u6us",bikDRTitleWrapper:"xJo5QYjk",bikDRDataInputWrapper:"USzBE41Y",bikDRInputContainer:"XFLZPz4K",poweredBy:"Etp05zJt",bikDRCloseBtnWrapperMobile:"IcfzU7_1",bikUserDetails:"h65DjQ2u",bikInputWrapper:"wcPrKURp",bikErrorWrapper:"sA_QCDtB",bikayiBtn:"vyj8cOl3",bikStwPhoneInputRow:"EA81gGqm",bikFooter2:"Yzu93s5o",bikStwH2:"d1ibwBGD","bik-stw-opt-email":"IvyygvAe","bik-stw-opt-phone":"te__9Hf6","bik-stw-opt-wa":"aOZIrd1Y",bikStwMandEmail:"vo6S9WaC",bikStwMandPhone:"fgjRIkYB",bikStwMandWa:"rg5gUI7G",bikEmailInputMain:"TNxJsBfC",bikInputMain:"WxrcrMWf",bikStwWaCheckboxContainer:"A2bcwVq6",bikStwPhoneInput:"NZKC5he3",bikStwCountryCodeContainer:"tIw2OnW5",bikStwCountryCodePicker:"hcRwYXsE",bikStwDownArrow:"i0GgYZTM",bikStwCountryFlag:"dJq6z56y"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_ShopifyForm_config_ts"],{3019:(e,t,i)=>{i.r(t),i.d(t,{SHOPIFY_FORM_CONFIG:()=>a});var o=i(1149),a={storeId:"asf",id:"widget",templateId:" Z6LLItSwpTbNmobFvl6S",environment:"staging",templateName:o.WIDGET_NAME.BACK_IN_STOCK_NOTIFIER,widgetCustomisation:{fabPosition:"POP_UP",widgetName:"Back in stock notifier be18l",backgroundColour:"#E6FEFF",fontColour:"#212121",fontFamily:{link:"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap",name:"Montserrat"},playScreenImage:"https://firebasestorage.googleapis.com/v0/b/staging-bikayi.appspot.com/o/0b4e9493-9bb8-4e49-b39a-d1bd734ba0dd%23image_p60HYv5wjgQaOrPdqT5NjbpkroD2_Pntnt.jpg?alt=media&token=fb380dba-905a-449e-815c-353ddb6bca49",playScreenTitle:"<p>Notify me when in stock</p>",playScreenSubTitle:"<p>Provide your email for notifications once this item is back in stock</p>",playScreenButtonText:"Email me when available",playScreenButtonColour:"#01A9AC",postPlayScreenImage:"https://firebasestorage.googleapis.com/v0/b/staging-bikayi.appspot.com/o/0b4e9493-9bb8-4e49-b39a-d1bd734ba0dd%23image_p60HYv5wjgQaOrPdqT5NjbpkroD2_Pntnt.jpg?alt=media&token=fb380dba-905a-449e-815c-353ddb6bca49",playScreenButtonTextColour:"#ffffff",postPlayScreenTitle:"<p>Thank you</p>",postPlayScreenSubTitle:"<p>You will receive an email notification when this product becomes available</p>",postPlayScreenButtonColour:"#01A9AC",postPlayScreenButtonTextColour:"#ffffff",isRedirectionButtonEnabled:!1,skipLabel:!0,widgetPositionMobile:"CENTER",widgetPositionDesktop:"CENTER",postPlayScreenTitleIcon:"https://storage.googleapis.com/bik-widget-mfe/bap/post-play-screen-assets/images/bik/checked.png",multiLingualConfigurations:{ENGLISH:{playScreenTitle:"<p>Notify me when in stock</p>",playScreenSubTitle:"<p>Provide your email for notifications once this item is back in stock</p>",playScreenButtonText:"Email me when available",postPlayScreenTitle:"<p>Thank you</p>",postPlayScreenSubTitle:"<p>You will receive an email notification when this product becomes available</p>",postPlayScreenButtonText:"Email me when available"},ARABIC:{playScreenTitle:"<p>أخبرني عند الوصول إلى المخزون</p>",playScreenSubTitle:"<p>قدم بريدك الإلكتروني للإشعارات بمجرد عودة هذا العنصر إلى المخزون</p>",playScreenButtonText:"أرسل لي بريدًا إلكترونيًا عند التوفر",postPlayScreenTitle:"<p>شكرا لك</p>",postPlayScreenSubTitle:"<p>سوف تتلقى إشعارًا بالبريد الإلكتروني عند توفر هذا المنتج</p>",postPlayScreenButtonText:"أرسل لي بريدًا إلكترونيًا عند التوفر"},FRENCH:{playScreenTitle:"<p>Prévenez-moi en stock</p>",playScreenSubTitle:"<p>Indiquez votre e-mail pour recevoir des notifications une fois cet article de retour en stock</p>",playScreenButtonText:"Envoyez-moi un e-mail lorsque disponible",postPlayScreenTitle:"<p>Merci</p>",postPlayScreenSubTitle:"<p>Vous recevrez une notification par e-mail lorsque ce produit sera disponible</p>",postPlayScreenButtonText:"Envoyez-moi un e-mail lorsque disponible"},SPANISH:{playScreenTitle:"<p>Notifícame cuando esté en stock</p>",playScreenSubTitle:"<p>Proporcione su correo electrónico para recibir notificaciones una vez que este artículo vuelva a estar en stock</p>",playScreenButtonText:"Envíame un correo electrónico cuando esté disponible",postPlayScreenTitle:"<p>Gracias</p>",postPlayScreenSubTitle:"<p>Recibirá una notificación por correo electrónico cuando este producto esté disponible</p>",postPlayScreenButtonText:"Envíame un correo electrónico cuando esté disponible"},MALAY:{playScreenTitle:"<p>Beritahu saya bila stok</p>",playScreenSubTitle:"<p>Masukkan e-mel anda untuk pemberitahuan sekiranya item ini kembali ke stok</p>",playScreenButtonText:"E-mel saya apabila tersedia",postPlayScreenTitle:"<p>Terima kasih</p>",postPlayScreenSubTitle:"<p>Anda akan menerima pemberitahuan e-mel apabila produk ini tersedia</p>",postPlayScreenButtonText:"E-mel saya apabila tersedia"}}},leadGeneration:{mandatoryOption:{isEmail:!1,isSms:!1,isWhatsapp:!0,customFields:[{id:1001,storeId:"shopify-store",fieldName:"Product Interest",fieldType:"single_line",options:[]}]},optionalOptions:{isEmail:!1,isSms:!1,isWhatsapp:!1,customFields:[{id:1002,storeId:"shopify-store",fieldName:"How did you hear about us?",fieldType:"dropdown",options:["Social Media","Search Engine","Friend Recommendation","Advertisement"]},{id:1003,storeId:"shopify-store",fieldName:"Subscribe to newsletter",fieldType:"checkbox",options:[]}]},enableConsentPolicies:!0,privacyPolicyURL:""},info:{delete:!1,liveSince:"",scriptPath:"",infra:"2.0",status:o.STATUS.DRAFT,storeId:"",templateId:" Z6LLItSwpTbNmobFvl6S",widgetTypeId:"lCcPfO2RuooXpBGgZSs0",templateName:o.WIDGET_NAME.BACK_IN_STOCK_NOTIFIER,id:"widget"},storeWidgetConfig:{"/*":[{widgetId:"widget",fabPosition:o.FAB_POSITION.POP_UP}]}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_ShopifyForm_index_tsx"],{2239:(t,e,n)=>{n.r(e),n.d(e,{default:()=>h});var i=n(7999),r=n(3005),o=n(9497),a=n.n(o),c=n(1149),u=n(9530),l=n(7639);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},s.apply(this,arguments)}function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,c=[],u=!0,l=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(i=o.call(n)).done)&&(c.push(i.value),c.length!==e);u=!0);}catch(t){l=!0,r=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}(t,e)||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 f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var v=function(t){var e,n=d((0,o.useState)(!1),2),i=n[0],f=n[1],v=d((0,o.useState)(r.SCREENS.LEAD_SCREEN),2),h=v[0],p=v[1],y=(0,o.useRef)(null),b=new l.M,w=d((0,o.useState)(c.LANGUAGE_VALUES.ENGLISH),2),m=w[0],g=w[1],S=d((0,o.useState)(window.location.href),2),E=S[0],_=S[1],k=(0,o.useRef)(!0);(0,o.useEffect)((function(){var t=function(){_(window.location.href)};window.addEventListener("popstate",t),window.addEventListener("hashchange",t);var e=history.pushState,n=history.replaceState;return history.pushState=function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];e.apply(this,i),t()},history.replaceState=function(){for(var e=arguments.length,i=new Array(e),r=0;r<e;r++)i[r]=arguments[r];n.apply(this,i),t()},function(){window.removeEventListener("popstate",t),window.removeEventListener("hashchange",t),history.pushState=e,history.replaceState=n}}),[]);var C=function(){var e=t.id,n=".shopify-payment-button__button#bik-cta-".concat(e),i=document.querySelector(n);if(i){for(var r=window.getComputedStyle(i),o=document.createElement("style"),a=".bik_notifier_".concat(e,"_button {"),c=0;c<r.length;c++){var u=r.item(c);if(u){var l=r.getPropertyValue(u);l&&(a+="".concat(u,": ").concat(l,"; "))}}document.getElementsByClassName("add-to-cart").length||(a+="width: 100%; height: 44px; "),a+="visibility: visible; }",o.textContent=a;var s=document.head.querySelector('style[data-bik-style-id="'.concat(e,'"]'));s&&s.remove(),o.setAttribute("data-bik-style-id",e),document.head.appendChild(o),i.classList.add("bik_notifier_".concat(e,"_button")),i.classList.remove("shopify-payment-button__button")}};(0,o.useEffect)((function(){window["bik_notifier_".concat(t.id)]={open:function(e){e==="bik-cta-".concat(t.id)&&L()}},k.current?(setTimeout((function(){C()}),1e3),k.current=!1):C()}),[E]);var L=function(){f(!0),(0,u.cookieClickHandler)("bik-".concat(t.id,"-clicked"),"bikClick","WIDGET_CLICKED",0,t.id,t.environment)};(0,o.useEffect)((function(){function e(e){y.current&&!y.current.contains(e.target)&&(t.preview||A())}return document.addEventListener("click",e),function(){document.removeEventListener("click",e)}}),[y]),(0,o.useEffect)((function(){var e,n,i,r,o,a,u,l=(null===(e=window.location.href)||void 0===e?void 0:e.includes("https://dashboard.bik.ai/"))||(null===(n=window.location.href)||void 0===n?void 0:n.includes("https://staging.dashboard.bik.ai/")),s=null==t||null===(i=t.widgetCustomisation)||void 0===i?void 0:i.previewLanguage,d=null!==(r=null!==(o=l?s:null===(a=window)||void 0===a||null===(u=a.Shopify)||void 0===u?void 0:u.locale)&&void 0!==o?o:s)&&void 0!==r?r:c.LANGUAGE_ISO_CODES.EN;g(b.getStoreLanguage(d))}),[window.location.href,null==t||null===(e=t.widgetCustomisation)||void 0===e?void 0:e.previewLanguage]);var A=function(){f(!1),p(r.SCREENS.LEAD_SCREEN)};return a().createElement(a().Fragment,null,i&&a().createElement(r.default,s({},t,{templateName:t.info.templateName,isVisible:i,onClose:A,popupReference:y,selectedScreen:h,setSelectedScreen:p,widgetLanguage:m})))};const h=v;(0,i.Z)(v)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_ShopifyForm_previewDesktop_module_css"],{1863:(p,o,e)=>{e.r(o),e.d(o,{default:()=>t});const t={popupContainer:"Wj2FWubl",popupContainer__content:"itoZBQj_",popupContainer__image:"BZpSnbYy",popupContainer__inner_content:"wmUAHxwe",popupContainer__title:"uYHbj0YE",popupContainer__subTitle:"BbXZ65BW",popupCloser__button:"gtjceZL8",popupContainer__button:"RdOIxNxU",popupContainer__poweredBy:"volXOTvB",popupContainer__titleIcon:"MCmAm0qQ"}}}]);
|
package/dist-package/chunks/src_widgets_ShopifyForm_previewMobile_module_css.84fab56fb812decfa88b.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_ShopifyForm_previewMobile_module_css"],{6186:(p,e,o)=>{o.r(e),o.d(e,{default:()=>t});const t={popupWrapper:"XGjUPKj7",popupContainer:"oOd3HjHV",popupContainer__content:"lJFpclgc",popupContainer__image:"R0JipeH9",popupContainer__inner_content:"eNhcH9e8",popupContainer__title:"i6SVek9u",popupContainer__subTitle:"zQZoAcF9",popupCloser__button:"rNqZLq4Y",popupContainer__button:"SgcUaLEw",popupContainer__poweredBy:"aPhWvhBq",popupContainer__titleIcon:"DI1wGSOL"}}}]);
|
package/dist-package/chunks/src_widgets_ShopifyForm_style_module_css.93e042eb60d4e7a9969e.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_ShopifyForm_style_module_css"],{2747:(p,t,o)=>{o.r(t),o.d(t,{default:()=>n});const n={popupWrapper:"J7StTxYT",popupContainer:"PYygan4a",popupContainer__content:"P2H2GfRi",popupContainer__image:"AXEoMhXx",popupContainer__inner_content:"CC3Kqdzx",popupContainer__title:"s4jRtXyx",popupContainer__subTitle:"Yn3h9wjW",popupCloser__button:"XQnAOjt9",popupContainer__button:"vDAwcO_V",popupContainer__poweredBy:"cUvVjyqQ",popupContainer__titleIcon:"diY7JQPs"}}}]);
|
package/dist-package/chunks/src_widgets_SingleButtonRedirection_config_ts.b34f37a93d9f21ca12d2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_SingleButtonRedirection_config_ts"],{7512:(i,t,e)=>{e.r(t),e.d(t,{default:()=>s});var o=e(5712);const s={id:"is9bagRgFR1IrZl21T6A",isMobile:!1,preview:!1,environment:"",info:{},widgetCustomisation:{fabText:"Chat with us",iconColor:"#fff",fabPositioner:{bottom:"20px",right:"20px"},fabBackgroundColor:"#000",fabIconLink:"https://storage.googleapis.com/bik-widget-mfe/bap%2Ffab-assets%2Ficons%2Fbik%2Fredirect.svg",fabWebSize:50,fabMobileSize:50},visibility:{visiblePages:["/"]},storeWidgetConfig:{"/":[{widgetId:"Kxb0Ib2YdCUv1cUsrK4C",fabPosition:o.Y.CENTER_RIGHT},{widgetId:"is9bagRgFR1IrZl21T6A",fabPosition:o.Y.BOTTOM_RIGHT}],"/*":[{widgetId:"qnXJjhuTog9sTWqDZHc7",fabPosition:o.Y.BOTTOM_LEFT}]}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_WebStories_config_ts"],{7134:(e,t,i)=>{i.r(t),i.d(t,{default:()=>o});const o={storeId:"p60HYv5wjgQaOrPdqT5NjbpkroD2",idToken:"",widgetId:"h19TPIIt2VmqzQ0S7dnu",environment:"https://api.staging.bik.ai/qa-dm",widgetCustomisation:{widgetName:"undefined 53",name:"Story widget",storyCollectionThumbnailConfig:{shape:"CIRCLE",borderColor:"#B01228"},storyCollections:[{index:0,htmlSource:"https://storage.googleapis.com/bik-widget-mfe/bap/web-stories/p60HYv5wjgQaOrPdqT5NjbpkroD2/h19TPIIt2VmqzQ0S7dnu/html/1bfad35764",thumbnail:"https://api.staging.bik.ai/bik-widgets/bap/web-stories/p60HYv5wjgQaOrPdqT5NjbpkroD2/h19TPIIt2VmqzQ0S7dnu/assets/insta_logo.jpeg",name:"Collection name",id:"collectionId1",stories:[{index:0,ref:"https://api.staging.bik.ai/bik-widgets/bap/web-stories/p60HYv5wjgQaOrPdqT5NjbpkroD2/h19TPIIt2VmqzQ0S7dnu/assets/wallpaper.jpeg",fileName:"honey_bee_busy_insect_flower_bee_659.mp4 ",type:"video",ctaButton:{buttonText:"Buy it",redirectionLink:"https://www.bik.ai",backgroundColor:"#365e7c"}}]},{index:1,htmlSource:"https://storage.googleapis.com/bik-widget-mfe/bap/web-stories/p60HYv5wjgQaOrPdqT5NjbpkroD2/6Hx8RbBpFn83Fbz4T9fj/html/f4dda2fd98",thumbnail:"https://api.staging.bik.ai/bik-widgets/bap/web-stories/p60HYv5wjgQaOrPdqT5NjbpkroD2/h19TPIIt2VmqzQ0S7dnu/assets/insta_logo.jpeg",name:"Collection name 2",id:"collectionId2",stories:[{index:0,ref:"https://api.staging.bik.ai/bik-widgets/bap/web-stories/p60HYv5wjgQaOrPdqT5NjbpkroD2/h19TPIIt2VmqzQ0S7dnu/assets/wallpaper.jpeg",fileName:"honey_bee_busy_insect_flower_bee_659.mp4 ",type:"video",ctaButton:{buttonText:"Buy it",redirectionLink:"https://www.bik.ai",backgroundColor:"#365e7c"}}]}]}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_WebStories_index_css"],{2668:(i,e,s)=>{s.r(e),s.d(e,{default:()=>t});const t={"i-amphtml-fill-content":"X0wqYD9f"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_WebStories_index_tsx","src_widgets_WebStories_index_css","src_widgets_WebStories_style_module_css"],{218:(e,t,r)=>{r.r(t),r.d(t,{default:()=>C});var n=r(9497),o=r.n(n),i=r(7137),a=r.n(i),l=r(7399),c=(r(2668),r(2354)),s=r(3047);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===u(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=function(e){return o().createElement("div",{className:"ehpA6ABP",style:f({},e.shimmerStyle)})};function m(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||v(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,t)||v(e,t)||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 v(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var g="https://cdn.ampproject.org/amp-story-player-v0",E={behavior:{autoplay:!1},controls:[{name:"close",position:"start"}]},w=function(e){var t,r,i,a,u,d,f=null!==(t=null===(r=e.widgetCustomisation)||void 0===r?void 0:r.storyCollections)&&void 0!==t?t:[],y=[];f.forEach((function(e){y.push({href:e.htmlSource})}));var v=null!==(i=null===(a=e.widgetCustomisation)||void 0===a?void 0:a.storyCollectionThumbnailConfig)&&void 0!==i?i:{},h=new s.l,w=b((0,n.useState)(null),2),C=w[0],S=w[1],I=b((0,n.useState)(!1),2),O=I[0],k=I[1],_=b((0,n.useState)(!0),2),j=(_[0],_[1]),L=b((0,n.useState)(0),2),R=L[0],T=L[1];h.addItemInLocalStorage("storeId",null===(u=e.info)||void 0===u?void 0:u.storeId),h.cookieClickHandler("bik-".concat(e.id,"-visitor"),c.G.BIK_VISITOR,c.W.WIDGET_VISITED,1,e.environment,null!==(d=e.id)&&void 0!==d?d:"-1");var x,D=function(e){var t=new Date;t.setTime(t.getTime()+864e5);var r="expires="+t.toUTCString();document.cookie="arrayCookie="+JSON.stringify(e)+";"+r+";path=/"},W=function(){for(var e="arrayCookie=",t=decodeURIComponent(document.cookie).split(";"),r=0;r<t.length;r++){for(var n=t[r];" "===n.charAt(0);)n=n.substring(1);if(0===n.indexOf(e))return JSON.parse(n.substring(e.length,n.length))}return[]},A=W(),P=function(t){j(!1),t.add(y),t.addEventListener("storyNavigation",(function(t){var r,n=t.detail;h.cookieClickHandler("bik-".concat(e.id,"-story-viewed"),c.G.STORY_VIEWED,c.W.STORY_VIEWED,1,e.environment,null!==(r=e.id)&&void 0!==r?r:-1,{collectionId:f[R].id,storyId:n.pageId})})),t.addEventListener("navigation",(function(t){var r,n=t.detail.index;T(n);var o=A.includes("web-story-".concat(f[n].id)),i=W();o||D([].concat(m(i),["web-story-".concat(f[n].id)])),h.cookieClickHandler("bik-".concat(e.id,"-collection-viewed"),c.G.COLLECTION_VIEWED,c.W.COLLECTION_VIEWED,1,e.environment,null!==(r=e.id)&&void 0!==r?r:-1,{collectionId:f[n].id})})),t.addEventListener("amp-story-player-close",(function(){N(t)}))};x=function(){var e=document.querySelector("amp-story-player");window.player=e,S(e),e.isReady?P(e):e.addEventListener("ready",(function(){console.log("player is ready"),P(e)}))},(0,n.useEffect)((function(){var e;document.querySelector('script[src="'.concat(g+".js",'"]'))||(document.head.appendChild(function(e){var t=document.createElement("script");return t.async=!0,t.src=g+".js",t.onload=e,t}(x)),document.head.appendChild(((e=document.createElement("link")).href=g+".css",e.rel="stylesheet",e.type="text/css",e)))}),[]);var N=function(e){e.pause(),k(!1)};return o().createElement(o().Fragment,null,0===f.length?o().createElement("div",{style:{margin:16,display:"flex",gap:24}},o().createElement(p,{shimmerStyle:{width:"CIRCLE"===(null==v?void 0:v.shape)?80:64,height:"CIRCLE"===(null==v?void 0:v.shape)?80:96,borderRadius:"CIRCLE"===(null==v?void 0:v.shape)?"50%":4}}),o().createElement(p,{shimmerStyle:{width:"CIRCLE"===(null==v?void 0:v.shape)?80:64,height:"CIRCLE"===(null==v?void 0:v.shape)?80:96,borderRadius:"CIRCLE"===(null==v?void 0:v.shape)?"50%":4}})):o().createElement("div",{style:{overflow:"auto",whiteSpace:"nowrap"}},f.map((function(t,r){var n=A.includes("web-story-".concat(t.id)),i=n?0:2;return o().createElement("button",{id:"web-story-".concat(t.id),onClick:function(o){!function(t){h.cookieClickHandler("bik-".concat(e.id,"-collection-viewed"),c.G.COLLECTION_VIEWED,c.W.COLLECTION_VIEWED,1,e.environment,e.id,{collectionId:f[t].id});var r=C.getStories();C.show(r[t].href),C.play(),k(!0)}(r),n||D([].concat(m(A),["web-story-".concat(t.id)]))},style:{cursor:"pointer",margin:8,border:"none",background:"none",display:"inline-block"}},o().createElement("img",{style:{width:"CIRCLE"===(null==v?void 0:v.shape)?80:64,height:"CIRCLE"===(null==v?void 0:v.shape)?80:96,cursor:"pointer",objectFit:"cover",padding:2,borderRadius:"CIRCLE"===(null==v?void 0:v.shape)?"50%":4,border:"".concat(i,"px solid ").concat(v.borderColor)},src:t.thumbnail}))}))),o().createElement("div",{className:"".concat(O?l.default.lightboxShow:l.default.lightbox)},o().createElement("amp-story-player",{style:{width:"100vw",height:"100vh"}},o().createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(E)}}))))};const C=w;var S=document.getElementById("bik-web-story-widget-wrapper");a().render(o().createElement(w,JSON.parse("{{{bikConfig}}}")),S)},2668:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});const n={"i-amphtml-fill-content":"X0wqYD9f"}},7399:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});const n={lightbox:"VJXw7Jdx",lightboxShow:"v2HBnokr"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_WebStories_style_module_css"],{7399:(s,e,i)=>{i.r(e),i.d(e,{default:()=>t});const t={lightbox:"VJXw7Jdx",lightboxShow:"v2HBnokr"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_bikdotai_bik_widgets=self.webpackChunk_bikdotai_bik_widgets||[]).push([["src_widgets_index_tsx","src_widgets_CentrallyAlignedPopup_index_tsx"],{8591:(i,t,o)=>{o.r(t),o.d(t,{default:()=>g});var e=o(9497),n=o.n(e),r=o(9145),a=o(7999),l=o(8306),d=o(9247),u=o(5712),c=o(3047),s=o(2354);function f(){return f=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(i[e]=o[e])}return i},f.apply(this,arguments)}function b(i,t){return function(i){if(Array.isArray(i))return i}(i)||function(i,t){var o=null==i?null:"undefined"!=typeof Symbol&&i[Symbol.iterator]||i["@@iterator"];if(null!=o){var e,n,r,a,l=[],d=!0,u=!1;try{if(r=(o=o.call(i)).next,0===t){if(Object(o)!==o)return;d=!1}else for(;!(d=(e=r.call(o)).done)&&(l.push(e.value),l.length!==t);d=!0);}catch(i){u=!0,n=i}finally{try{if(!d&&null!=o.return&&(a=o.return(),Object(a)!==a))return}finally{if(u)throw n}}return l}}(i,t)||function(i,t){if(i){if("string"==typeof i)return v(i,t);var o=Object.prototype.toString.call(i).slice(8,-1);return"Object"===o&&i.constructor&&(o=i.constructor.name),"Map"===o||"Set"===o?Array.from(i):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?v(i,t):void 0}}(i,t)||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 v(i,t){(null==t||t>i.length)&&(t=i.length);for(var o=0,e=new Array(t);o<t;o++)e[o]=i[o];return e}var m=function(i){var t,o,a,v,m,g,w,C,k,p,y,I,h,_=new u.k,S=new c.l,A=b((0,e.useState)(!1),2),E=A[0],O=A[1],j=b((0,e.useState)(!1),2),T=j[0],W=j[1],L=b((0,e.useState)(!1),2),M=L[0],x=L[1];S.addItemInLocalStorage("storeId",null===(t=i.info)||void 0===t?void 0:t.storeId),S.cookieClickHandler("bik-".concat(i.id,"-visitor"),s.G.BIK_VISITOR,s.W.WIDGET_VISITED,1,i.environment,i.id);var P={icon:n().createElement(d.Z,{color:null===(o=i.widgetCustomisation)||void 0===o?void 0:o.iconColor}),onClick:function(){S.cookieClickHandler("bik-".concat(i.id,"-clicked"),"bikclick","WIDGET_CLICKED",1,i.environment,i.id),W(!1),O(!0)},isMobile:i.isMobile,preview:null!==(a=i.preview)&&void 0!==a&&a,widgetCustomisation:{iconColor:null===(v=i.widgetCustomisation)||void 0===v?void 0:v.iconColor,fabTransform:null===(m=i.widgetCustomisation)||void 0===m?void 0:m.fabTransform,fabPositioner:null===(g=i.widgetCustomisation)||void 0===g?void 0:g.fabPositioner,fabBackgroundColor:null===(w=i.widgetCustomisation)||void 0===w?void 0:w.fabBackgroundColor,fabLottie:null===(C=i.widgetCustomisation)||void 0===C?void 0:C.fabLottie,fabAnimationRun:null===(k=i.widgetCustomisation)||void 0===k?void 0:k.fabAnimationRun,fabImage:null===(p=i.widgetCustomisation)||void 0===p?void 0:p.fabImage,fabIconLink:null===(y=i.widgetCustomisation)||void 0===y?void 0:y.fabIconLink,fabWebSize:null===(I=i.widgetCustomisation)||void 0===I?void 0:I.fabWebSize,fabMobileSize:null===(h=i.widgetCustomisation)||void 0===h?void 0:h.fabMobileSize}};return(0,e.useEffect)((function(){if(i.preview)W(!0);else{var t=_.showWidget({currentUrl:window.location.href.replace(window.location.origin,""),customUrls:i.storeWidgetConfig,currentWidgetId:i.id},i.info.isAutomationTesting);W(t),x(t)}}),[window.location.href]),n().createElement(n().Fragment,null,M&&n().createElement("div",{id:"bik-widget-root-".concat(i.id)},T&&n().createElement(r.L,f({},P,{id:"bik-ca-".concat(i.id,"-cta-fab")})),n().createElement(l.default,f({},i,{showModal:E,onClose:function(){W(!0),O(!1)}}))))};const g=n().memo(m);(0,a.Z)(m)},4292:(i,t,o)=>{o.r(t),o.d(t,{CentrallyAlignedPopup:()=>e.default});var e=o(8591)}}]);
|