2 lines
51 KiB
JavaScript
2 lines
51 KiB
JavaScript
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["vendors~Reddit"],{"./node_modules/@r/google-tag-manager/compiled.js":function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.setup=o.trigger=o.getLocation=void 0;var n=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},r=t("./node_modules/@r/google-tag-manager/node_modules/uuid/index.js"),s=function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t]);return o.default=e,o}(t("./node_modules/@r/frames/compiled.js"));var i="gtm-"+(0,r.v4)(),a=!1,l=[],u=function(){var e=document.getElementById(i);return e&&e.contentWindow?e:null},c=o.getLocation=function(){return{href:location.href,hostname:location.hostname,origin:location.origin,pathname:location.pathname||"/",search:location.search.replace(/^\?/,""),hash:location.hash.replace(/^#/,"")}},d=o.trigger=function(e,o){var t=u();t&&a?(o&&s.postMessage(t.contentWindow,"data.gtm",o),s.postMessage(t.contentWindow,"event.gtm",{event:e})):function(e,o){l.push({eventName:e,payload:o})}(e,o)},p=function(){if(u()&&a){var e=l.slice();l=[],e.forEach(function(e){var o=e.eventName,t=e.payload;return d(o,t)})}};o.setup=function(e){var o=e.containerId,t=e.jailUrl,r=e.payload;if(o)if(t){s.listen("gtm"),s.receiveMessageOnce("loaded.gtm",function(){a=!0,s.stopListening("gtm")});var l=document.createElement("iframe");l.style.display="none",l.id=i,l.name=JSON.stringify(n({referrer:document.referrer},c(),r)),l.src=t+"?id="+o,l.onload=p,document.body.appendChild(l)}else console.warn("GTM#setup: No `jailUrl` specified, skipping.");else console.warn("GTM#setup: No `containerId` specified, skipping.")}},"./node_modules/@r/google-tag-manager/node_modules/uuid/index.js":function(e,o,t){var n=t("./node_modules/@r/google-tag-manager/node_modules/uuid/v1.js"),r=t("./node_modules/@r/google-tag-manager/node_modules/uuid/v4.js"),s=r;s.v1=n,s.v4=r,e.exports=s},"./node_modules/@r/google-tag-manager/node_modules/uuid/lib/bytesToUuid.js":function(e,o){for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,o){var n=o||0,r=t;return r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}},"./node_modules/@r/google-tag-manager/node_modules/uuid/lib/rng-browser.js":function(e,o,t){(function(o){var t,n=o.crypto||o.msCrypto;if(n&&n.getRandomValues){var r=new Uint8Array(16);t=function(){return n.getRandomValues(r),r}}if(!t){var s=new Array(16);t=function(){for(var e,o=0;o<16;o++)0==(3&o)&&(e=4294967296*Math.random()),s[o]=e>>>((3&o)<<3)&255;return s}}e.exports=t}).call(this,t("./node_modules/webpack/buildin/global.js"))},"./node_modules/@r/google-tag-manager/node_modules/uuid/v1.js":function(e,o,t){var n=t("./node_modules/@r/google-tag-manager/node_modules/uuid/lib/rng-browser.js"),r=t("./node_modules/@r/google-tag-manager/node_modules/uuid/lib/bytesToUuid.js"),s=n(),i=[1|s[0],s[1],s[2],s[3],s[4],s[5]],a=16383&(s[6]<<8|s[7]),l=0,u=0;e.exports=function(e,o,t){var n=o&&t||0,s=o||[],c=void 0!==(e=e||{}).clockseq?e.clockseq:a,d=void 0!==e.msecs?e.msecs:(new Date).getTime(),p=void 0!==e.nsecs?e.nsecs:u+1,m=d-l+(p-u)/1e4;if(m<0&&void 0===e.clockseq&&(c=c+1&16383),(m<0||d>l)&&void 0===e.nsecs&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=d,u=p,a=c;var b=(1e4*(268435455&(d+=122192928e5))+p)%4294967296;s[n++]=b>>>24&255,s[n++]=b>>>16&255,s[n++]=b>>>8&255,s[n++]=255&b;var f=d/4294967296*1e4&268435455;s[n++]=f>>>8&255,s[n++]=255&f,s[n++]=f>>>24&15|16,s[n++]=f>>>16&255,s[n++]=c>>>8|128,s[n++]=255&c;for(var h=e.node||i,y=0;y<6;++y)s[n+y]=h[y];return o||r(s)}},"./node_modules/@r/google-tag-manager/node_modules/uuid/v4.js":function(e,o,t){var n=t("./node_modules/@r/google-tag-manager/node_modules/uuid/lib/rng-browser.js"),r=t("./node_modules/@r/google-tag-manager/node_modules/uuid/lib/bytesToUuid.js
|
||
|
//# sourceMappingURL=vendors~Reddit.b4b1f834f3a9543b6f27.js.map
|