1.a79ab95c1589a13f8a4cab612bc71f9f7.com
Open in
urlscan Pro
2600:9000:2490:9400:a:6cdf:4440:93a1
Public Scan
URL:
https://1.a79ab95c1589a13f8a4cab612bc71f9f7.com/scripts/prod/crossdomain2.12.0.5273.b96c35cc.min.js
Submission: On June 16 via manual from IN — Scanned from DE
Submission: On June 16 via manual from IN — Scanned from DE
Form analysis
0 forms found in the DOMText Content
var cdwpb=function(t){var a={};function __webpack_require__(e){if(a[e])return a[e].exports;var r=a[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,__webpack_require__),r.l=!0,r.exports}return __webpack_require__.m=t,__webpack_require__.c=a,__webpack_require__.d=function(e,r,t){__webpack_require__.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(r,e){if(1&e&&(r=__webpack_require__(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(__webpack_require__.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var a in r)__webpack_require__.d(t,a,function(e){return r[e]}.bind(null,a));return t},__webpack_require__.n=function(e){var r=e&&e.__esModule?function getDefault(){return e["default"]}:function getModuleExports(){return e};return __webpack_require__.d(r,"a",r),r},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=49)}({49:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=function _interopRequireDefault(e){return e&&e.__esModule?e:{"default":e}}(t(50));r["default"]={Application:a["default"]}},50:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=function(e,r,t){return r&&defineProperties(e.prototype,r),t&&defineProperties(e,t),e};function defineProperties(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var n=(a(Application,null,[{key:"localStorageAvailable",value:function localStorageAvailable(){try{var e="__cd_ls_test__";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(r){return r}}}]),a(Application,[{key:"initialize",value:function initialize(){window.addEventListener("message",this.handleMessage,!1)}},{key:"handleMessage",value:function handleMessage(e){try{var r=JSON.parse(e.data),t=this.getOrSetLocalStorageItem(r);t&&this.sendMessage(t,e.origin)}catch(a){this.sendMessage({error_message:"Could not parse message data",error_code:0})}}},{key:"sendMessage",value:function sendMessage(e,r){window.parent.postMessage(e,r)}},{key:"getOrSetLocalStorageItem",value:function getOrSetLocalStorageItem(t){var e=Application.localStorageAvailable();if(!0!==e)return this.sendMessage({error_message:"Unable to access storage",error_code:e.code}),!1;var a={},n={};return Object.keys(t).forEach(function(e){if(t.hasOwnProperty(e)){var r=window.localStorage.getItem(e);null!==r?a[e]=r:(n[e]=t[e]+"__"+Date.now(),window.localStorage.setItem(e,n[e]))}}),{found:a,"new":n}}}]),Application);function Application(){!function _classCallCheck(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,Application),this.handleMessage=this.handleMessage.bind(this),this.sendMessage=this.sendMessage.bind(this),this.initialize()}r["default"]=n}});