PageSourceSearch

https://web-static.linetv.tw/release-fargate/public/dist/6975-59410626-prod.js

js linetv.tw collected 2026-09-24 09:28:54 UTC 28,094 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[6975],{6975:(e,t,n)=>{t.Hy=t.uS=void 0;var o=s(n(30392)),i=s(n(32278)),r=s(n(58077));function s(e){return e&&e.__esModule?e:{default:e}}o.default;var l=i.default;t.uS=l;var a=r.default;t.Hy=a},30392:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(37007),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};o.get||o.set?Object.defineProperty(t,n,o):t[n]=e[n]}return t.default=e,t}(n(70650));function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){s(e,t,n[t])})}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return l="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},l(e)}var a=null,u=null,d=!0,f=!1,c=!1,p=null,h=!0,g=!0,b={},y=!1,v={},m={},S=!1,O=Object.assign((new o.EventEmitter).setMaxListeners(0),{singleRequestIsEnabled:function(){return d},configureSingleRequest:function(e){d=!!e},disableInitialLoadIsEnabled:function(){return f},configureDisableInitialLoad:function(e){f=!!e},configureLazyLoad:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=null;null!==t&&"object"===l(t)&&(n=r({},t)),c=!!e,p=n},lazyLoadIsEnabled:function(){return c},limitedAdsIsEnabled:function(){return S},configureLimitedAds:function(e){S=!!e},getLazyLoadConfig:function(){return p},getAdSenseAttribute:function(e){return m[e]},configurePersonalizedAds:function(e){h=e},configureCookieOption:function(e){g=e},personalizedAdsEnabled:function(){return h},cookiesEnabled:function(){return g},setAdSenseAttribute:function(e,t){this.setAdSenseAttributes(s({},e,t))},getAdSenseAttributes:function(){return r({},m)},setAdSenseAttributes:function(e){Object.assign(m,e),!0===y&&this.getGoogletag().then(function(e){e.cmd.push(function(){var t=e.pubads();Object.keys(m).forEach(function(e){t.set(e,v[e])})})})},setTargetingArguments:function(e){Object.assign(v,e),Object.keys(b).forEach(function(t){b[t].targetingArguments=e}),!0===y&&this.getGoogletag().then(function(e){e.cmd.push(function(){var t=e.pubads();Object.keys(v).forEach(function(e){t&&t.setTargeting(e,v[e])})})})},getTargetingArguments:function(){return r({},v)},getSlotProperty:function(e,t){var n=this.getRegisteredSlots()[e],o=null;return void 0!==n&&(o=n[t]||o),o},getSlotTargetingArguments:function(e){var t=this.getSlotProperty(e,"targetingArguments");return t?r({},t):null},getSlotAdSenseAttributes:function(e){var t=this.getSlotProperty(e,"adSenseAttributes");return t?r({},t):null},init:function(){var e=this;!1===y&&(y=!0,this.getGoogletag().then(function(t){t.cmd.push(function(){var n=t.pubads();n.addEventListener("slotRenderEnded",function(t){var n=t.slot.getSlotElementId();e.emit("slotRenderEnded",{slotId:n,event:t})}),n.addEventListener("impressionViewable",function(t){var n=t.slot.getSlotElementId();e.emit("impressionViewable",{slotId:n,event:t})}),n.addEventListener("slotVisibilityChanged",function(t){var n=t.slot.getSlotElementId();e.emit("slotVisibilityChanged",{slotId:n,event:t})}),n.setRequestNonPersonalizedAds(e.personalizedAdsEnabled()?0:1),n.setCookieOptions(e.cookiesEnabled()?0:1)})}))},getGoogletag:function(){return null===u&&(u=i.loadGPTScript(S)),u},setCollapseEmptyDivs:function(e){this.collapseEmptyDivs=e},load:function(){for(var e=this,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];a=null===a?this.doLoad.apply(this,n):a.then(function(){return e.doLoad.apply(e,n)})},doLoad:function(){this.init();for(var e={},t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];
1return(e=(e=n.length>0?n.filter(function(e){return Object.prototype.hasOwnProperty.call(b,e)}):Object.keys(b)).filter(function(e){return!b[e].loading&&!b[e].gptSlot})).forEach(function(e){b[e].loading=!0}),this.gptLoadAds(e)},gptLoadAds:function(e){var t=this;return new Promise(function(n){t.getGoogletag().then(function(o){t.configureInitialOptions(o),e.forEach(function(e){b[e].loading=!1,o.cmd.push(function(){var n,i=b[e],r="".concat(i.dfpNetworkId,"/").concat(i.adUnit);if(null!==(n=!0===i.renderOutOfThePage?o.defineOutOfPageSlot(r,e):o.defineSlot(r,i.sizes,e))){i.gptSlot=n;var s=t.getSlotTargetingArguments(e);null!==s&&Object.keys(s).forEach(function(e){i&&i.gptSlot&&i.gptSlot.setTargeting(e,s[e])});var l=t.getSlotAdSenseAttributes(e);if(null!==l&&Object.keys(l).forEach(function(e){i.gptSlot.set(e,l[e])}),i.gptSlot.addService(o.pubads()),i.sizeMapping){var a=o.sizeMapping();i.sizeMapping.forEach(function(e){a=a.addSize(e.viewport,e.sizes)}),i.gptSlot.defineSizeMapping(a.build())}}})}),t.configureOptions(o),o.cmd.push(function(){o.enableServices(),e.forEach(function(e){o.display(e)}),n()})})})},configureInitialOptions:function(e){var t=this;e.cmd.push(function(){t.disableInitialLoadIsEnabled()&&e.pubads().disableInitialLoad()})},configureOptions:function(e){var t=this;e.cmd.push(function(){var n=e.pubads();n.setRequestNonPersonalizedAds(t.personalizedAdsEnabled()?0:1),n.setCookieOptions(t.cookiesEnabled()?0:1);var o=t.getTargetingArguments();Object.keys(o).forEach(function(e){n&&n.setTargeting(e,o[e])});var i=t.getAdSenseAttributes();
1if(Object.keys(i).forEach(function(e){n.set(e,i[e])}),t.lazyLoadIsEnabled()){var r=t.getLazyLoadConfig();r?n.enableLazyLoad(r):n.enableLazyLoad()}t.singleRequestIsEnabled()&&n.enableSingleRequest(),!0!==t.collapseEmptyDivs&&!1!==t.collapseEmptyDivs||n.collapseEmptyDivs(t.collapseEmptyDivs)})},getRefreshableSlots:function(){for(var e={},t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return 0===n.length?Object.keys(b).map(function(e){return b[e]}).reduce(function(t,n){return!0===n.slotShouldRefresh()&&(e[n.slotId]=n),e},e):n.reduce(function(t,n){var o=b[n];return void 0!==o&&(e[n]=o),e},e)},refresh:function(){for(var e=this,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];null===a?this.load():a.then(function(){e.gptRefreshAds(Object.keys(e.getRefreshableSlots.apply(e,n)))})},gptRefreshAds:function(e){var t=this;return this.getGoogletag().then(function(n){t.configureOptions(n),n.cmd.push(function(){var t=n.pubads(),o=e.map(function(e){return b[e].slotId});t.refresh(o)})})},reload:function(){var e=this;return this.destroyGPTSlots.apply(this,arguments).then(function(){return e.load()})},destroyGPTSlots:function(){for(var e=this,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return 0===n.length&&(n=Object.keys(b)),new Promise(function(t){var o=[];for(var i in n){var r=n[i],s=b[r];o.push(s)}e.getGoogletag().then(function(e){e.cmd.push(function(){if(!0===y)if(n.length>0){for(var i in o){var r=o[i];o.push(r.gptSlot),delete r.gptSlot}e.destroySlots(o)}else e.destroySlots();t(n)})})})},registerSlot:function(e){var t=this,n=e.slotId,o=e.dfpNetworkId,i=e.adUnit,r=e.sizes,s=e.renderOutOfThePage,l=e.sizeMapping,u=e.adSenseAttributes,d=e.targetingArguments,f=e.slotShouldRefresh,c=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Object.prototype.hasOwnProperty.call(b,n)||(b[n]={slotId:n,sizes:r,renderOutOfThePage:s,dfpNetworkId:o,adUnit:i,adSenseAttributes:u,targetingArguments:d,sizeMapping:l,slotShouldRefresh:f,loading:!1},this.emit("slotRegistered",{slotId:n}),!0===c&&null!==a&&(a=a.catch().then(function(){var e=b[n];if(void 0!==e){var o=e.loading,i=e.gptSlot;!1!==o||i||t.load(n)}})))},unregisterSlot:function(e){var t=e.slotId;this.destroyGPTSlots(t),delete b[t]},getRegisteredSlots:function(){return b},attachSlotRenderEnded:function(e){this.on("slotRenderEnded",e)},detachSlotRenderEnded:function(e){this.removeListener("slotRenderEnded",e)},attachSlotVisibilityChanged:function(e){this.on("slotVisibilityChanged",e)},detachSlotVisibilityChanged:function(e){this.removeListener("slotVisibilityChanged",e)},attachSlotIsViewable:function(e){this.on("impressionViewable",e)},detachSlotIsViewable:function(e){this.removeListener("impressionViewable",e)}});t.default=O},32278:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AdSlot=void 0;var o=l(n(96540)),i=l(n(5556)),r=l(n(30392)),s=n(58077);function l(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u.apply(this,arguments)}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){g(e,t,n[t])})}return e}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=0,y=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?h(e):t}(this,c(t).call(this,e))).doRegisterSlot=n.doRegisterSlot.bind(h(h(n))),n.generateSlotId=n.generateSlotId.bind(h(h(n))),n.getSlotId=n.getSlotId.bind(h(h(n))),n.mapContextToAdSlotProps=n.mapContextToAdSlotProps.bind(h(h(n))),n.slotShouldRefresh=n.slotShouldRefresh.bind(h(h(n))),n.slotRenderEnded=n.slotRenderEnded.bind(h(h(n))),n.slotRegisterCallback=n.slotRegisterCallback.bind(h(h(n))),n.slotIsViewable=n.slotIsViewable.bind(h(h(n))),n.slotVisibilityChanged=n.slotVisibilityChanged.bind(h(h(n))),n.getClasses=n.getClasses.bind(h(h(n))),n.state={slotId:n.props.slotId||null,className:n.props.className||""},n.adElementRef=o.default.createRef?o.default.createRef():function(e){n.adElementRef=e},n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,(i=[{key:"componentDidMount",value:function(){void 0!==this.context&&this.context.newSlotCallback&&this.context.newSlotCallback(),this.registerSlot()}},{key:"componentWillUnmount",value:function(){this.unregisterSlot()}},{key:"getSlotId",value:function(){return this.props.slotId||this.state.slotId}},{key:"getClasses",value:function(){var e=this.state.className.split(" ");return e.push("adunitContainer"),e}},{key:"generateSlotId",value:function(){return"adSlot-".concat(b++)}},{key:"mapContextToAdSlotProps",value:function(){var e=this.context,t={};return void 0!==e.dfpNetworkId&&(t.dfpNetworkId=e.dfpNetworkId),void 0!==e.dfpAdUnit&&(t.adUnit=e.dfpAdUnit),void 0!==e.dfpSizeMapping&&(t.sizeMapping=e.dfpSizeMapping),void 0!==e.dfpTargetingArguments&&(t.targetingArguments=e.dfpTargetingArguments),t}},{key:"doRegisterSlot",value:function(){r.default.registerSlot(d({},this.mapContextToAdSlotProps(),this.props,this.state,{slotShouldRefresh:this.slotShouldRefresh})),!0===this.props.fetchNow&&r.default.load(this.getSlotId()),r.default.attachSlotRenderEnded(this.slotRenderEnded),r.default.attachSlotIsViewable(this.slotIsViewable),r.default.attachSlotVisibilityChanged(this.slotVisibilityChanged),this.slotRegisterCallback()}},{key:"registerSlot",value:function(){null===this.state.slotId?this.setState({slotId:this.generateSlotId()},this.doRegisterSlot):this.doRegisterSlot()}},{key:"unregisterSlot",value:function(){r.default.unregisterSlot(d({},this.mapContextToAdSlotProps(),this.props,this.state)),r.default.detachSlotRenderEnded(this.slotRenderEnded),r.default.detachSlotIsViewable(this.slotIsViewable),r.default.detachSlotVisibilityChanged(this.slotVisibilityChanged)}},{key:"slotRenderEnded",value:function(e){if(e.slotId===this.getSlotId()&&void 0!==this.props.onSlotRender){var t=d({},e,{adElementRef:this.adElementRef});this.props.onSlotRender(t)}}},{key:"slotRegisterCallback",value:function(){"function"==typeof this.props.onSlotRegister&&this.props.onSlotRegister({slotId:this.getSlotId(),sizes:this.props.sizes,slotCount:b,adElementRef:this.adElementRef})}},{key:"slotIsViewable",value:function(e){e.slotId===this.getSlotId()&&void 0!==this.props.onSlotIsViewable&&this.props.onSlotIsViewable(e)}},{key:"slotVisibilityChanged",value:function(e){e.slotId===this.getSlotId()&&void 0!==this.props.onSlotVisibilityChanged&&this.props.onSlotVisibilityChanged(e)}},{key:"slotShouldRefresh",value:function(){var e=!0;return void 0!==this.props.shouldRefresh&&(e=this.props.shouldRefresh(d({},this.mapContextToAdSlotProps(),this.props,{slotId:this.getSlotId()}))),e}},{key:"render",value:function(){var e=this.state.slotId,t={className:"adBox"};return null!==e&&(t.id=e),o.default.createElement("div",{className:this.getClasses().join(" ").trim()},o.default.createElement("div",u({ref:this.adElementRef},t)))}}
vendor: 5,515 bytes, line 1
1])&&f(n.prototype,i),t}(o.default.Component);t.AdSlot=y,g(y,"propTypes",{dfpNetworkId:i.default.string,adUnit:i.default.string,sizes:i.default.arrayOf(i.default.oneOfType([i.default.arrayOf(i.default.number),i.default.string])),renderOutOfThePage:i.default.bool,sizeMapping:i.default.arrayOf(i.default.object),fetchNow:i.default.bool,adSenseAttributes:i.default.object,targetingArguments:i.default.object,onSlotRender:i.default.func,onSlotRegister:i.default.func,onSlotIsViewable:i.default.func,onSlotVisibilityChanged:i.default.func,shouldRefresh:i.default.func,slotId:i.default.string,className:i.default.string}),g(y,"defaultProps",{fetchNow:!1}),null===s.Context?y.contextTypes={dfpNetworkId:i.default.string,dfpAdUnit:i.default.string,dfpSizeMapping:i.default.arrayOf(i.default.object),dfpTargetingArguments:i.default.object,newSlotCallback:i.default.func}:y.contextType=s.Context;var v=y;t.default=v},37007:e=>{var t,n="object"==typeof Reflect?Reflect:null,o=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function r(){r.init.call(this)}e.exports=r,e.exports.once=function(e,t){return new Promise(function(n,o){function i(n){e.removeListener(t,r),o(n)}function r(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}g(e,t,r,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&g(e,"error",t,{once:!0})}(e,i)})},r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var s=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return void 0===e._maxListeners?r.defaultMaxListeners:e._maxListeners}function u(e,t,n,o){var i,r,s,u;if(l(n),void 0===(r=e._events)?(r=e._events=Object.create(null),e._eventsCount=0):(void 0!==r.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),r=e._events),s=r[t]),void 0===s)s=r[t]=n,++e._eventsCount;else if("function"==typeof s?s=r[t]=o?[n,s]:[s,n]:o?s.unshift(n):s.push(n),(i=a(e))>0&&s.length>i&&!s.warned){s.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=e,d.type=t,d.count=s.length,u=d,console&&console.warn&&console.warn(u)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var o={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(o);return i.listener=n,o.wrapFn=i,i}function c(e,t,n){var o=e._events;if(void 0===o)return[];var i=o[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):h(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),o=0;o<t;++o)n[o]=e[o];return n}function g(e,t,n,o){if("function"==typeof e.on)o.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function i(r){o.once&&e.removeEventListener(t,i),n(r)})}}Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),r.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},r.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},r.prototype.getMaxListeners=function(){return a(this)},r.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,r=this._events;if(void 0!==r)i=i&&void 0===r.error;else if(!i)return!1;if(i){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var l=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw l.context=s,l}var a=r[e];if(void 0===a)return!1;if("function"==typeof a)o(a,this,t);else{var u=a.length,d=h(a,u);for(n=0;n<u;++n)o(d[n],this,t)}return!0},r.prototype.addListener=function(e,t){return u(this,e,t,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(e,t){return u(this,e,t,!0)},r.prototype.once=function(e,t){return l(t),this.on(e,f(this,e,t)),this},r.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,f(this,e,t)),this},r.prototype.removeListener=function(e,t){var n,o,i,r,s;if(l(t),void 0===(o=this._events))return this;if(void 0===(n=o[e]))return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete o[e],o.removeListener&&this.emit
1("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,r=n.length-1;r>=0;r--)if(n[r]===t||n[r].listener===t){s=n[r].listener,i=r;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(o[e]=n[0]),void 0!==o.removeListener&&this.emit("removeListener",e,s||t)}return this},r.prototype.off=r.prototype.removeListener,r.prototype.removeAllListeners=function(e){var t,n,o;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,r=Object.keys(n);for(o=0;o<r.length;++o)"removeListener"!==(i=r[o])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(o=t.length-1;o>=0;o--)this.removeListener(e,t[o]);return this},r.prototype.listeners=function(e){return c(this,e,!0)},r.prototype.rawListeners=function(e){return c(this,e,!1)},r.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},r.prototype.listenerCount=p,r.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},58077:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Context=void 0;var o=s(n(96540)),i=s(n(5556)),r=s(n(30392));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=o.default.createContext?o.default.createContext({dfpNetworkId:null,dfpAdUnit:null,dfpSizeMapping:null,dfpTargetingArguments:null,newSlotCallback:null}):null;t.Context=p;var h=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?f(e):t}(this,u(t).call(this,e))).loadAdsIfPossible=n.loadAdsIfPossible.bind(f(f(n))),n.newSlotCallback=n.newSlotCallback.bind(f(f(n))),n.applyConfigs=n.applyConfigs.bind(f(f(n))),n.shouldReloadConfig=n.shouldReloadConfig.bind(f(f(n))),n.attachLoadCallback=n.attachLoadCallback.bind(f(f(n))),n.getContextValue=n.getContextValue.bind(f(f(n))),n.loadAlreadyCalled=!1,n.loadCallbackAttached=!1,n.shouldReloadAds=!1,n.totalSlots=0,n.contextValue={},null===p&&(n.getChildContext=function(){return n.getContextValue()}),n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(i=[{key:"componentDidMount",value:function(){this.applyConfigs(),this.props.autoLoad&&!this.loadAdsIfPossible()&&this.attachLoadCallback()}},{key:"shouldComponentUpdate",value:function(e){return this.shouldReloadAds=this.shouldReloadConfig(e),e.children!==this.props.children||!(!e.autoLoad||this.props.autoLoad)||this.shouldReloadAds}},{key:"componentDidUpdate",value:function(){this.applyConfigs(),this.props.autoLoad&&(this.loadAlreadyCalled?this.shouldReloadAds&&r.default.reload():this.loadAdsIfPossible()||this.attachLoadCallback()),this.shouldReloadAds=!1}},{key:"getContextValue",value:function(){var e=this.props,t=e.dfpNetworkId,n=e.adUnit,o=e.sizeMapping,i=e.targetingArguments,r=this.contextValue,s=r.dfpNetworkId,l=r.adUnit,a=r.sizeMapping,u=r.targetingArguments;return t===s&&n===l&&o===a&&i===u||(this.contextValue={dfpNetworkId:t,dfpAdUnit:n,dfpSizeMapping:o,dfpTargetingArguments:i,newSlotCallback:this.newSlotCallback}),this.contextValue}},{key:"applyConfigs",value:function(){r.default.configurePersonalizedAds(this.props.personalizedAds),r.default.configureCookieOption(this.props.cookieOption),r.default.configureSingleRequest(this.props.singleRequest),r.default.configureDisableInitialLoad(this.props.disableInitialLoad),r.default.configureLazyLoad(!!this.props.lazyLoad,"boolean"==typeof this.props.lazyLoad?null:this.props.lazyLoad),r.default.setAdSenseAttributes(this.props.adSenseAttributes),r.default.setCollapseEmptyDivs(this.props.collapseEmptyDivs),r.default.configureLimitedAds(this.props.limitedAds)}},{key:"attachLoadCallback",value:function(){return!1===this.loadCallbackAttached&&(r.default.on("slotRegistered",this.loadAdsIfPossible),this.loadCallbackAttached=!0,!0)}},{key:"newSlotCallback",value:function(){this.totalSlots++}},{key:"loadAdsIfPossible",value:function(){var e=!1;return Object.keys(r.default.getRegisteredSlots()).length>=this.totalSlots&&(r.default.removeListener("slotRegistered",this.loadAdsIfPossible),r.default.load(),this.loadAlreadyCalled=!0,this.loadCallbackAttached=!1,e=!0),e}},{key:"shouldReloadConfig",value:function(e){var t=e.autoReload||this.props.autoReload;if((this.props.autoLoad||e.autoLoad)&&"object"===l(t)){var n=Object.keys(t);for(var o in n){var i=n[o];if(!0===t[i]&&this.props[i]!==e[i])return!0}}return!1}},{key:"render",value:function(){var e=this.props.children;return null===p?e:o.default.createElement(p.Provider,{value:this.getContextValue()},e)}}
1])&&a(n.prototype,i),t}(o.default.Component);t.default=h,c(h,"propTypes",{children:i.default.oneOfType([i.default.element,i.default.array]).isRequired,autoLoad:i.default.bool,autoReload:i.default.shape({dfpNetworkId:i.default.bool,personalizedAds:i.default.bool,cookieOption:i.default.bool,singleRequest:i.default.bool,disableInitialLoad:i.default.bool,adUnit:i.default.bool,sizeMapping:i.default.bool,adSenseAttributes:i.default.bool,targetingArguments:i.default.bool,collapseEmptyDivs:i.default.bool,lazyLoad:i.default.bool}),dfpNetworkId:i.default.string.isRequired,personalizedAds:i.default.bool,cookieOption:i.default.bool,singleRequest:i.default.bool,disableInitialLoad:i.default.bool,adUnit:i.default.string,sizeMapping:i.default.arrayOf(i.default.object),adSenseAttributes:i.default.object,targetingArguments:i.default.object,collapseEmptyDivs:i.default.oneOfType([i.default.bool,i.default.object]),adSenseAttrs:i.default.object,lazyLoad:i.default.oneOfType([i.default.bool,i.default.shape({fetchMarginPercent:i.default.number,renderMarginPercent:i.default.number,mobileScaling:i.default.number})]),limitedAds:i.default.bool}),c(h,"defaultProps",{autoLoad:!0,autoReload:{dfpNetworkId:!1,personalizedAds:!1,cookieOption:!1,singleRequest:!1,disableInitialLoad:!1,adUnit:!1,sizeMapping:!1,adSenseAttributes:!1,targetingArguments:!1,collapseEmptyDivs:!1,lazyLoad:!1},personalizedAds:!0,cookieOption:!0,singleRequest:!0,disableInitialLoad:!1,collapseEmptyDivs:null,lazyLoad:!1,limitedAds:!1}),null===p&&(h.childContextTypes={dfpNetworkId:i.default.string,dfpAdUnit:i.default.string,dfpSizeMapping:i.default.arrayOf(i.default.object),dfpTargetingArguments:i.default.object,newSlotCallback:i.default.func})},70650:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.loadGPTScript=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise(function(t,o){!function(e,t,o){window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[];var i=document.createElement("script");i.src="".concat(document.location.protocol,"//").concat(o?n.limitedAds:n.standard,"/tag/js/gpt.js"),i.async=!0,i.type="text/javascript",i.onerror=function(e){t(e)},i.onload=function(){e(window.googletag)},document.getElementsByTagName("head")[0].appendChild(i)}(t,o,e)})};var n={standard:"securepubads.g.doubleclick.net",limitedAds:"pagead2.googlesyndication.com"}}}]);

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.