PageSourceSearch

https://haptime.in/assets/external/insideIframe.js

js haptime.in collected 2026-10-05 01:17:32 UTC 12,665 bytes, 112 lines download raw bytes

1/******/ (function(modules) { // webpackBootstrap
2/******/ 	// The module cache
3/******/ 	var installedModules = {};
4/******/
5/******/ 	// The require function
6/******/ 	function __webpack_require__(moduleId) {
7/******/
8/******/ 		// Check if module is in cache
9/******/ 		if(installedModules[moduleId]) {
10/******/ 			return installedModules[moduleId].exports;
11/******/ 		}
12/******/ 		// Create a new module (and put it into the cache)
13/******/ 		var module = installedModules[moduleId] = {
14/******/ 			i: moduleId,
15/******/ 			l: false,
16/******/ 			exports: {}
17/******/ 		};
18/******/
19/******/ 		// Execute the module function
20/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21/******/
22/******/ 		// Flag the module as loaded
23/******/ 		module.l = true;
24/******/
25/******/ 		// Return the exports of the module
26/******/ 		return module.exports;
27/******/ 	}
28/******/
29/******/
30/******/ 	// expose the modules object (__webpack_modules__)
31/******/ 	__webpack_require__.m = modules;
32/******/
33/******/ 	// expose the module cache
34/******/ 	__webpack_require__.c = installedModules;
35/******/
36/******/ 	// define getter function for harmony exports
37/******/ 	__webpack_require__.d = function(exports, name, getter) {
38/******/ 		if(!__webpack_require__.o(exports, name)) {
39/******/ 			Object.defineProperty(exports, name, {
40/******/ 				configurable: false,
41/******/ 				enumerable: true,
42/******/ 				get: getter
43/******/ 			});
44/******/ 		}
45/******/ 	};
46/******/
47/******/ 	// define __esModule on exports
48/******/ 	__webpack_require__.r = function(exports) {
49/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
50/******/ 	};
51/******/
52/******/ 	// getDefaultExport function for compatibility with non-harmony modules
53/******/ 	__webpack_require__.n = function(module) {
54/******/ 		var getter = module && module.__esModule ?
55/******/ 			function getDefault() { return module['default']; } :
56/******/ 			function getModuleExports() { return module; };
57/******/ 		__webpack_require__.d(getter, 'a', getter);
58/******/ 		return getter;
59/******/ 	};
60/******/
61/******/ 	// Object.prototype.hasOwnProperty.call
62/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
63/******/
64/******/ 	// __webpack_public_path__
65/******/ 	__webpack_require__.p = "";
66/******/
67/******/
68/******/ 	// Load entry module and return exports
69/******/ 	return __webpack_require__(__webpack_require__.s = 426);
70/******/ })
71/************************************************************************/
72/******/ ({
73
74/***/ 3:
75/***/ (function(module, __webpack_exports__, __webpack_require__) {
76
77"use strict";
78__webpack_require__.r(__webpack_exports__);
79/* harmony import */ var utilities_root__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
80null==utilities_root__WEBPACK_IMPORTED_MODULE_0__["default"].Wistia&&(utilities_root__WEBPACK_IMPORTED_MODULE_0__["default"].Wistia={});var W=utilities_root__WEBPACK_IMPORTED_MODULE_0__["default"].Wistia;null==W._initializers&&(W._initializers={}),null==W._destructors&&(W._destructors={}),null==W.mixin&&(W.mixin=function(klass,obj){for(var k in obj)obj.hasOwnProperty(k)&&(klass[k]=obj[k])});/* harmony default export */ __webpack_exports__["default"] = (utilities_root__WEBPACK_IMPORTED_MODULE_0__["default"].Wistia);;
81;
82
83/***/ }),
84
85/***/ 4:
86/***/ (function(module, __webpack_exports__, __webpack_require__) {
87
88"use strict";
89__webpack_require__.r(__webpack_exports__);
90/* WEBPACK VAR INJECTION */(function(global) {var root;try{root=(0,eval)('this')}catch(err){try{root=self}catch(err){root=global}}/* harmony default export */ __webpack_exports__["default"] = (root);;
91;
92/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(5)))
93
94/***/ }),
95
96/***/ 426:
97/***/ (function(module, exports, __webpack_require__) {
98
99var W,iframeInit,slice=[].slice;W=__webpack_require__(3)['default'],iframeInit=function(mediaJson,optionsJson){var ampSendEvents,e,embedOptions,frame,i,j,key,len,len1,m,postMessageQueue,receiveMessage,ref,ref1,simpleHashForPostMessage,url,val;for(key in url=W.url.parse(location.href),embedOptions=W.extend(optionsJson,url.params),ampSendEvents=!1,embedOptions.pageTitle=document.title,W.obj.castDeep(embedOptions),embedOptions.container='wistia_video',embedOptions.canonicalUrl||(embedOptions.canonicalUrl=embedOptions.pageUrl),embedOptions.canonicalTitle||(embedOptions.canonicalTitle=embedOptions.pageTitle),ref=embedOptions.plugin||{},ref)val=ref[key],embedOptions.plugin[key].outsideIframe&&(embedOptions.plugin[key]=null,delete embedOptions.plugin[key]);for(url.params.popover&&(W.obj.get(url.params,'plugin.requireEmail')?embedOptions.autoPlay=!1:embedOptions.autoPlay=!0),!1!==embedOptions.autoPlay&&embedOptions.autoplay&&(embedOptions.autoPlay=!0),url.params.twitter&&!1!==embedOptions.autoPlay&&(embedOptions.autoPlay=!!embedOptions.autoplay),embedOptions._inIframe=!0,window.wistiaEmbed=W.embed(mediaJson,embedOptions),W.timeout(wistiaEmbed.uuid+'.fit_later',function(){return window.wistiaEmbed.fit()},100),(W.detect.iphone||W.detect.ipad)&&wistiaEmbed.ready(function(){return setInterval(function(){return wistiaEmbed.elem().style.zoom='',wistiaEmbed.elem().style.zoom=1},3e3)}),receiveMessage=function(event){var args,e,message,method;if('remove'===event.data)return void wistiaEmbed.remove();if(!/^(visitor_key|send_visitor_key|clear_visitor_key)/.test(event.data)){if
99(/^wistia-iframe-/.test(event.data))return void(0>window._allIframes.join(' ').indexOf(event.data)&&window._allIframes.push(event.data));if('declare-existing-wistia-iframe'===event.data)return void event.source.postMessage('wistia-iframe-'+iframeUuid,'*');if('amp-listening'===event.data)return void(ampSendEvents=!0);if('amp-play'===event.data)return void wistiaEmbed.play();if('amp-pause'===event.data)return void wistiaEmbed.pause();if('amp-mute'===event.data)return void wistiaEmbed.mute();if('amp-unmute'===event.data)return void wistiaEmbed.unmute();if('string'==typeof event.data)try{message=JSON.parse(event.data)}catch(error){e=error,W.notice('inside_iframe','receiveMessage','Could not parse message from '+event.origin),W.notice('inside_iframe','receiveMessage',event.data),message={}}else message=event.data;return(method=message.method,args=message.args,'startIframeHandshake'===method)?(window.apiSignature=args[0],!window.wistiaEmbed)?void 0:(wistiaEmbed.postMessage('relay.trigger','iframebound'),wistiaEmbed.postMessage('updateProperties',{options:simpleHashForPostMessage(wistiaEmbed.options),params:simpleHashForPostMessage(wistiaEmbed.params),_embedType:wistiaEmbed.embedType,_hashedId:wistiaEmbed.hashedId(),_width:wistiaEmbed.width(),_height:wistiaEmbed.height(),_videoWidth:wistiaEmbed.videoWidth(),_videoHeight:wistiaEmbed.videoHeight()}),wistiaEmbed._hasImpl(function(){return wistiaEmbed.postMessage('_hasImpl',!0)}),wistiaEmbed.hasData(function(){return wistiaEmbed.postMessage('updateProperties',{_embedType:wistiaEmbed.embedType,options:simpleHashForPostMessage(wistiaEmbed.options),params:simpleHashForPostMessage(wistiaEmbed.params),_name:wistiaEmbed.name(),_duration:wistiaEmbed.duration(),_videoWidth:wistiaEmbed.videoWidth(),_videoHeight:wistiaEmbed.videoHeight(),_mediaData:wistiaEmbed._mediaData}),wistiaEmbed.postMessage('hasData',!0)}),wistiaEmbed.embedded(function(){return wistiaEmbed.postMessage('updateProperties',{_embedType:wistiaEmbed.embedType,options:simpleHashForPostMessage(wistiaEmbed.options),params:simpleHashForPostMessage(wistiaEmbed.params),origAspectRatio:wistiaEmbed.aspect(),origVideoHeight:wistiaEmbed.videoHeight(),origVideoWidth:wistiaEmbed.videoWidth(),origHeight:wistiaEmbed.height(),origWidth:wistiaEmbed.width(),origPluginWidth:wistiaEmbed.extraWidth(),origPluginHeight:wistiaEmbed.extraHeight(),_videoWidth:wistiaEmbed.videoWidth(),_videoHeight:wistiaEmbed.videoHeight(),_width:wistiaEmbed.width(),_height:wistiaEmbed.height()}),wistiaEmbed.postMessage('embedded',!0)}),wistiaEmbed.ready(function(){return wistiaEmbed.postMessage('updateProperties',{options:simpleHashForPostMessage(wistiaEmbed.options),params:simpleHashForPostMessage(wistiaEmbed.params),_embedType:wistiaEmbed.embedType,_visitorKey:wistiaEmbed.visitorKey(),_eventKey:wistiaEmbed.eventKey(),_width:wistiaEmbed.width(),_height:wistiaEmbed.height(),_videoWidth:wistiaEmbed.videoWidth(),_videoHeight:wistiaEmbed.videoHeight(),_state:wistiaEmbed.state(),_time:wistiaEmbed.time(),_isMuted:wistiaEmbed.isMuted(),_volume:wistiaEmbed.volume()}),wistiaEmbed.postMessage('relay.trigger','videoready'),W.visitorKey.ready(function(){return wistiaEmbed.postMessage('updateProperties',{_visitorKey:wistiaEmbed.visitorKey()})})})):method?'undefined'!=typeof wistiaEmbed&&null!==wistiaEmbed?wistiaEmbed[method].apply(wistiaEmbed,args):void 0:void 0}},simpleHashForPostMessage=function(h){var result;return result={},Wistia.obj.eachLeaf(h,function(obj,path){if(/^string|number|boolean$/i.test(typeof obj))return W.obj.set(result,path,obj)}),result},window.apiSignature=null,window.iframeUuid=Math.random().toString(36).replace(/[^a-z0-9]+/g,''),window._allIframes=['wistia-iframe-'+iframeUuid],wistiaEmbed.postMessage=function(){var args,message,method;if(method=arguments[0],args=2<=arguments.length?slice.call(arguments,1):[],parent!==self)return message={method:method,args:args},apiSignature&&(message.signature=apiSignature),message=JSON.stringify(message),parent.postMessage(message,'*')},wistiaEmbed.ping=function(){var args;return args=1<=arguments.length?slice.call(arguments,0):[],wistiaEmbed.postMessage.apply(wistiaEmbed,['pong'].concat(slice.call(args)))},wistiaEmbed.updateProperties=function(props){for(key in props)val=props[key],this[key]=W.obj.isObject(val)?W.obj.merge({},this[key],val):val;return this.postMessage('updateProperties',simpleHashForPostMessage(props))},postMessageQueue=window.wistiaPostMessageQueue||[],(i=0,len=postMessageQueue.length);i<len;i++){m=postMessageQueue[i];try{receiveMessage(m)}catch(error){e=error,W.error(e)}}if(window.wistiaPostMessageQueue=[],!W.detect.browser.ltie8){if(parent===self)return;if(parent.postMessage('new-wistia-iframe','*'),25>=W.util.parentFramesLength())for(ref1=parent.frames,j=0,len1=ref1.length;j<len1;j++)frame=ref1[j],frame!==self&&frame!==parent&&(frame.postMessage('wistia-iframe-'+iframeUuid,'*'),frame.postMessage('declare-existing-wistia-iframe','*'));return wistiaEmbed.bind('down',function(){return wistiaEmbed.postMessage('updateProperties',{_down:!0})}),wistiaEmbed.bind('up',function(){return wistiaEmbed.postMessage('updateProperties',{_down:!1})}),wistiaEmbed.bind('volumechange',function(v,isMuted){return wistiaEmbed.postMessage('updateProperties',{_volume:v,_isMuted:isMuted})}),wistiaEmbed.bind('emailchange',function(v){return wistiaEmbed.postMessage('updateProperties',{_email:v,params:{trackEmail:v}})}),wistiaEmbed.bind('timechange',function(t){return wistiaEmbed.postMessage('updateProperties',{_time:t})}),wistiaEmbed.bind('statechange',function(s){return wistiaEmbed.postMessage('updateProperties',{_state:s})}),wistiaEmbed.bind('mutechange',function(isMuted){return wistiaEmbed.postMessage('updateProperties',{_isMuted:isMuted})}),wistiaEmbed.bind('widthchange',function(){return wistiaEmbed.postMessage('updateProperties',{_videoWidth:wistiaEmbed.videoWidth(),_width:wistiaEmbed.width()})}),wistiaEmbed.bind('heightchange',function(){return wistiaEmbed.postMessage('updateProperties',{_videoHeight:wistiaEmbed.videoHeight(),_height:wistiaEmbed.height()})}),wistiaEmbed.bind('foreigndatachange',function(v){return wistiaEmbed.postMessage('updateProperties',{_foreignData:v})}),wistiaEmbed.bind('percentwatchedchanged',function(p){return wistiaEmbed.postMessage('updateProperties',{_percentWatched:p})}),wistiaEmbed.bind('all',function(){var args;if(args=1<=arguments.length?slice.call(arguments,0):[],'afterremove'===args[0])return wistiaEmbed.postMessage('relay.trigger','_afterremove');if(/^up|down$/.test(args[0]));else return wistiaEmbed.postMessage.apply(wistiaEmbed,['_trigger'].concat(slice.call(args)))}),W.elem.bind(window,'message',receiveMessage)}},W.define('insideIframe.js',iframeInit);;
100;
101
102/***/ }),
103
104/***/ 5:
105/***/ (function(module, exports) {
106
107var g,_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};g=function(){return this}();try{g=g||Function("return this")()||(1,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":_typeof(window))&&(g=window)}module.exports=g;;
108;
109
110/***/ })
111
112/******/ });

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.