/* >>> file start: js/crossStorageServ.js */
function _typeof(e){"@babel/helpers - typeof";return(_typeof="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})(e)}!function(){function e(e){var t="LJ.CrossStorage"===e.data.source;if(!t)return null;var r=e.data;if("object"===_typeof(r)&&r.fn){if("getItem"===r.fn){var n={};try{n=localStorage.getItem(r.args[0])}catch(e){n.error=!0}o.parent.postMessage({crossStorageServResponse:n,requestID:r.requestID},"*")}if("setItem"===r.fn){var s=r.args[1],a="";"string"==typeof s?a=s:"object"===_typeof(s)&&(a=JSON.stringify(s));try{localStorage.setItem(r.args[0],a)}catch(e){}}}}function t(){try{return window.self!==window.top}catch(e){return!0}}if(!t())return null;var o=window;"object"===("undefined"==typeof LJMocks?"undefined":_typeof(LJMocks))&&LJMocks.window&&(o=LJMocks.window),o.addEventListener("message",e),o.addEventListener("storage",function(e){var t=e.key,r=e.newValue,n=e.oldValue;o.parent.postMessage({messageType:"ljCrossStorage.storageEvent",eventObj:{key:t,newValue:r,oldValue:n}},"*")})}();
/* <<< file end: js/crossStorageServ.js */

//# map link was there [crossStorageServ.js.map]
