LocalCDN-Firefox-Chrome-Brave/resources/findify-bundle/7.1.59/bundle.jsm

1 line
6.7 KiB
JavaScript
Raw Normal View History

!function(){var e,t,n={eZBL:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},"151q":function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},cvGY:function(e){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}},e.exports.default=e.exports,e.exports.__esModule=!0},"/FUz":function(e){e.exports=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.")},e.exports.default=e.exports,e.exports.__esModule=!0},"Bcl+":function(e,t,n){var r=n("151q"),o=n("cvGY"),i=n("JAfm"),u=n("/FUz");e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||u()},e.exports.default=e.exports,e.exports.__esModule=!0},JAfm:function(e,t,n){var r=n("eZBL");e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.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)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},Qaxh:function(e,t){"use strict";t.default=function(e){var t=document.createElement("link");t.href=e,t.id="findify-styles",t.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(t)}},oDZl:function(e,t){"use strict";t.default=function(e,t){for(var n,r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];(n=console).log.apply(n,["%cFindify: %c".concat(e),"color: #5980B7; font-size: 10px; font-weight: bold;",t].concat(o))}},"6sO2":function(e,t,n){"use strict";var r=n("Bcl+"),o=n.n(r),i=n("Qaxh"),u=n("oDZl");n.g.__FINDIFY_PATH__&&(n.p=n.g.__FINDIFY_PATH__),window.crypto||(window.crypto=window.msCrypto);var a=function(){if(!n.g.__findify_initialized){var e;n.g.__findify_initialized=!0;var t=[Promise.all([n.e(439),n.e(407)]).then(n.bind(n,"9MC2"))];__SENTRY_ENABLED__&&t.push(n.e(897).then(n.bind(n,"ZWPJ"))),t.push(new Promise((function(e){return n.l(__MERCHANT_CONFIG_URL__,e,"config")}))),__MERCHANT_CSS__,__MERCHANT_CSS__?(0,i.default)(__MERCHANT_CSS__):(0,i.default)(n.p+"styles.css"),Promise.all(t).then((function(t){var r=o()(t,3),i=r[0],a=(r[1],r[2]);__SENTRY_ENABLED__&&a&&a.init&&(a.init({dsn:"https://0815ca0746cb49a4abdc89a6d3821eb3@sentry.io/4580512",version:__MERCHANT_VERSION__,environment:__ENVIRONMENT__,whitelistUrls:[n.p,"https://findify-assets-2bveeb6u8ag.netdna-ssl.com"],defaultIntegrations:!1}),a.configureScope((function(e){return e.setExtra("version",__MERCHANT_VERSION__)}))),e=a,i.default({key:__MERCHANT_API_KEY__},a),(0,u.default)("ready","color: #3DBC88"),(0,u.default)("version: ".concat(__MERCHANT_VERSION__))})).catch((function(n){throw e&&e.captureException(n),(0,u.default)("error","color: #D9463F"),(0,u.default)(n.stack),Promise.all(t).then((function(e){var t=o()(e,2),n=t[0],r=t[1];n.default({key:__MERCHANT_API_KEY__},r)})).catch((function(){(0,u.default)("Please contact support team","color: #D9463F")})),n}))}},l=function(){window&&/MSIE|Trident/.test(window.navigator.userAgent)?Promise.all(n.chunks.map(n.e)).then(a):a()};"undefined"==typeof Symbol||"undefined"==typeof Map||"undefined"==typeof Promise?n.l(n.p+"polyfill.js",l,"polyfill"):l()}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports&&i.exports.default&&Object.defineProperty(i.exports,"__esModule",{value:!0}),i.exports}o.m=n,o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.d