PageSourceSearch

https://tasty.co/static-assets/tasty-ui/_next/static/chunks/906-434938bb2a2749e9.js

js tasty.co collected 2026-10-02 02:16:01 UTC 21,898 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[906],{80711:function(e,t,n){"use strict";n.d(t,{B:function(){return c}});var r=n(91458);var i=e=>{let t,n;if("string"!==typeof e&&"number"!==typeof e)return!1;n=document.createElement("textarea"),n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style.left="-9999px",n.style.top=`${window.pageYOffset||document.documentElement.scrollTop}px`,n.setAttribute("readonly",""),n.value=e,document.body.appendChild(n),n.select(),n.setSelectionRange(0,n.value.length);try{t=document.execCommand("copy")}catch(r){t=!1}return document.body.removeChild(n),t};const o=(e,t="",n="")=>{if("undefined"!==typeof window&&"string"===typeof e&&e){const r=t||"_blank";window.open(e,r,n)}};var a=(e,t={})=>{if("string"===typeof e&&e){const n=t.name||"",r={scrollbars:1,toolbar:0,status:0};t&&t.height&&t.width&&Object.assign(r,{width:t.width,height:t.height,top:window.screen.height/2-t.height/2,left:window.screen.width/2-t.width/2});const i=Object.keys(r).map((e=>`${e}=${r[e]}`)).join(",");o(e,n,i)}},s=e=>{o(e)};const u={bluesky:(e,t,n)=>{const i=r.ZP.getShareUrl(e,"bluesky",t);return n?a(i,{width:550,height:750}):s(i),!0},copy:(e,{getCopyText:t,...n},r)=>{if("function"===typeof t){const o=t({...n,isDesktop:r,url:e});return i(o||e)}return i(e)},facebook:(e,t,n)=>{let i=r.ZP.getShareUrl(e,"facebook",t);return n?a(i,{width:550,height:450}):s(i),!0},lineapp:(e,t)=>{const n=r.ZP.getShareUrl(e,"lineapp",t);return s(n),!0},native:(e,t)=>{const n={url:r.ZP.getShareUrl(e,"native",t)};return t.text&&(n.text=t.text),t.title&&(n.title=t.title),t.files&&(n.files=t.files),r.ZP.triggerNativeShare(n),!0}
1,pinterest:(e,t,n)=>{const i=r.ZP.getShareUrl(e,"pinterest",t);return n?a(i,{width:550,height:450}):s(i),!0},sms:(e,t)=>{const n=r.ZP.getShareUrl(e,"sms",t);return r.ZP.redirect(n),!0},snapchat:(e,t)=>{const n=r.ZP.getShareUrl(e,"snapchat",t);return s(n),!0},twitter:(e,t,n)=>{const i=r.ZP.getShareUrl(e,"twitter",t);return n?a(i,{width:550,height:450}):s(i),!0},vk:(e,t)=>{const n=r.ZP.getShareUrl(e,"vk",t);return s(n),!0},whatsapp:(e,t)=>{const n=r.ZP.getShareUrl(e,"whatsapp",t);return s(n),!0}},c=(e,t,n,r)=>u[t]?u[t](e,n,r):!!["email"].includes(t)},91458:function(e,t,n){"use strict";n.d(t,{O1:function(){return o}});var r=n(65148),i=n(7731);const o=(e,t,n)=>{let o="",a={},s="?";if("email"===t){const{body:t,title:r}=n;o="mailto:",a={body:t||e},r&&(a.subject=r)}if("bluesky"===t){const{title:t}=n;o="https://bsky.app/intent/compose",a={text:`${t?t+"\n\n":""}${e}`}}else if("facebook"===t){const{fbAppId:t,quote:r,redirectUri:i}=n;o="https://www.facebook.com/dialog/share",a={href:e,app_id:t},r&&(a.quote=r),i&&(a.redirect_uri=i)}else if("lineapp"===t){const{title:t}=n;o=`https://line.me/R/msg/text/?${encodeURIComponent(t)}%0A%0A${encodeURIComponent(e)}`,s="",a={}}else if("native"===t)o=e,s="";else if("pinterest"===t){const{images:t,title:r}=n,i=t&&t[0]&&t[0].url?t[0].url:"";o="https://pinterest.com/pin/create/button/",a={url:e},r&&(a.description=r),i&&(a.media=i)}else if("sms"===t){const{title:t}=n;o="sms:",a={body:`${t?t+"\n\n":""}${e}`},s="undefined"!==typeof window&&(0,r.gc)()?"?":"&"}else if("snapchat"===t)o="https://production-05101132-dot-context-www.appspot.com/scan",a={attachmentUrl:e};else if("twitter"===t){const{via:t,title:r}=n;o="https://twitter.com/intent/tweet",a={url:e},r&&(a.text=r),t&&(a.via=t)}else if("vk"===t){const{image:t,title:r}=n;o="https://vk.com/share.php",a={url:e},t&&(a.image=t),r&&(a.title=r)}else if("whatsapp"===t){const{title:t}=n;o="https://wa.me/",a={text:`${t?t+"\n\n":""}${e}`}}return o?`${o}${(0,i.nZ)(a,s)}`:""};t.ZP={getShareUrl:o,isNativeShareEligible:function({includeTablets:e=!1}={}){return!!((0,r.tq)()&&(0,r.s2)({includeTablets:e})&&navigator.canShare)},redirect:e=>{"undefined"!==typeof window&&"string"===typeof e&&e&&(window.location.href=e)},triggerNativeShare:function({url:e,text:t,title:n,files:r}){const i={};e&&(i.url=e),t&&(i.text=t),n&&(i.title=n),r?.length&&(i.files=r);try{navigator.share(i)}catch(o){console.error(`Error attempting to share natively: ${o.message}`)}}}},12798:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),i=n(28316),o=function(e){var t=e.element,n=e.id,o=e.children,a=function(e){var t=e.id,n=e.element,i=(0,r.useRef)(null),o=(0,r.useState)(!1),a=o[0],s=o[1];return(0,r.useEffect)((function(){if(a){var e=n||document.querySelector("#".concat(t));return e?(e.appendChild(i.current),function(){i.current.remove(),e&&!e.childElementCount&&e.remove()}):function(){}}return function(){}}),[n,t,a]),(0,r.useEffect)((function(){s(!0)}),[]),i.current||(i.current=document.createElement("div")),i.current}({id:n,element:t});return a?(0,i.createPortal)(o,a):null}},29339:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(2784),i=n(42719),o=n(410),a=n(21871),s=n(94776),u=n.n(s),c=n(88641);function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var f=function(e){return function(t){return function(e,t,n={}){const r=Date.now()/1e3-e;let i;if(Intl.RelativeTimeFormat&&r<86400){const e=new Intl.RelativeTimeFormat(t,{localeMatcher:"best fit",numeric:"always",style:"long"});if(r<3600){const t=Math.round(r/60);i=e.format(-t,"minute")}else{const t=Math.round(r/3600);i=e.format(-t,"hour")}return{formattedTimestamp:i,hasTimestampString:!0}}const o=new Date(1e3*e);return i=new Intl.DateTimeFormat(t,{year:"numeric",month:"short",day:"numeric",...n}).format(o),{formattedTimestamp:i,hasTimestampString:!1}}(t,e.language,{month:"long",hour:"numeric",minute:"numeric"}).formattedTimestamp}},d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.addBehavior=c.Application.addBehavior.bind(c.Application),this.addModule=c.Application.addM
1odule.bind(c.Application),this.broadcast=c.Application.broadcast.bind(c.Application),this.on=c.Application.on.bind(c.Application),this.off=c.Application.off.bind(c.Application),this.start=c.Application.start.bind(c.Application),this.startAll=c.Application.startAll.bind(c.Application),this.stop=c.Application.stop.bind(c.Application),this.getGlobalConfig=c.Application.getGlobalConfig.bind(c.Application)}var t,n,r;return t=e,(n=[{key:"init",value:function(e){var t={formatDate:f(e)};c.Application.init(t)}},{key:"destroy",value:function(){c.Application.destroy()}}])&&l(t.prototype,n),r&&l(t,r),e}();var p=n(16534);function h(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){h(o,r,i,a,s,"next",e)}function s(e){h(o,r,i,a,s,"throw",e)}a(void 0)}))}}function v(e){var t=e.assets,n=void 0===t?{}:t,i=function(e){var t=e.id,n=(0,r.useState)(null),i=n[0],o=n[1];return(0,r.useEffect)((function(){window.BZFD||(window.BZFD={}),window.BZFD.Config||(window.BZFD.Config={}),window.BZFD.App=window.BZFD.App||new d,o(window.BZFD.App)}),[t]),i}({id:e.id}),a=(0,r.useState)(!1),s=a[0],c=a[1];return(0,r.useEffect)((function(){if(!s){if(n.inline_js){var e=document.createElement("script");e.innerHTML=n.inline_js,document.body.appendChild(e)}n.js&&function(){t.apply(this,arguments)}()}function t(){return t=m(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Promise.all(n.js.map(function(){var e=m(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.v)(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 3:c(!0),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),(0,o.Tb)(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])}))),t.apply(this,arguments)}}),[n,s]),i&&s?i:null}var g=r.createContext({});g.Provider;var b=n(55345),y=n(7731),w=n(65148),E=n(69120),k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=window.location.search,n=(0,y.jH)(t),r=null===n||void 0===n?void 0:n.origin;return r?r="bf-".concat(r):e&&(r=e.getAttribute("data-origin")),r},A=function(e){var t="0:0";if(!e||!e.eligible||!e.loaded)return t;var n=Object.keys(e.eligible).filter((function(t){return e.declared[t].storeResponse&&e.eligible[t].variant_id})).map((function(t){return"".concat(e.eligible[t].id,":").concat(e.eligible[t].variant_id)}));return t=n.length?n.join(";"):"0:0"},x=function(e){var t=window.location.search,n=(0,y.jH)(t),r="0";return e&&e.origin&&"undefined"!==typeof e.origin&&e.origin.length?r=e.origin:n&&"origin"in n&&n.origin.length?r="bf-"+n.origin:n&&"ref"in n&&n.ref.length&&(r=n.ref),r.trim()},S=function(){return(0,w.tq)()?"m":"d"},z=["japan"],C=["--disable-skimlinks-lib","noskimlinks"],_=["advertiser","aunews","business","canadanews","community","francenews","japannews","lgbt","politics","quickpost","science","tech","uknews","ukpolitics","usnews","world"],D=function(e){var t=e.element,n=e.experimentSubtags;if(t){var r="https://go.redirectingat.com/".replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),i=r+"/?\\?id=(.*)&sref=(.*)&url=(http.*)&xs=(.*)",o=new RegExp(r+"/?\\?id=(.*)&site=(.*)&xs=(.*)&url=(http.*)"),a=new RegExp(i),s=(0,b.nC)(t)["link-id"];if(o.test(t.href)||a.test(t.href)){var u=decodeURIComponent((0,b.Wy)(t).xcust||"").split("|")||"";u[1]=S(),u[2]=x({origin:k(t)})||function(){var e=document.referrer,t=(0,E.an)(),n="0";return t.length?n="tweet"===t?"twitter":t:e&&e.match(/buzzfeed.com/i)?n="bf":e&&(n=(n=e.match(/^(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:/\n]+)/))&&n[1]&&n[1].length?n[1].slice(0,10):n),n.trim()}(),u[3]=n,u[4]=s,(0,b.tF)(t,{xcust:encodeURIComponent(u.join("|"))})}}};function j(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}var P=function(){var e,t=(e=u().mark((function e(t){var n,r,i,o,a;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.element,r=t.experiments,n){e.next=3;break}return e.abrupt("return");case 3:i=n.href,null!==(o=(0,b.NJ)(i))&&void 0!==o&&o.tag||(i=(0,b.mG)(i,{tag:"buzz0f-20"})),(a={subbuzzPos:"0",subbuzzCount:"0",platform:S(),origin:x({origin:k(n)}),experiment:A(r),pubhubId:"0",bioId:"0",linkId:"0",module:"0",rank:"0",referrer:"0"}).origin&&"0"!==a.origin||delete a.origin,i=(0,b.mL)(i,a),n.href=i;case 10:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){j(o,r,i,a,s,"next",e)}function s(e){j(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();n(83421);var M="subbuzzes__2mQEr";function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function T(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Z={skimlinks:{hook:function(e){var t=e.buzz,n=void 0===t?{}:t,i=e.ABeagleContext,o=(0,r.useContext)(i||g).experiments,a=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=a.current,t=-1!==z.indexOf(n.classification.edition.toLowerCase()),r=-1!==_.indexOf(n.classification.section.toLowerCase()),i=C.some((function(e){return n.tags.includes(e)})),s="uk"===n.classification.edition.toLowerCase()&&"shopping"!==n.classification.section.toLowerCase();if(!(!e||t||r||i||n.isAd||0!==n.flags.sensitive||0!==n.flags.nsfw||s)){var u=A(o);e.querySelectorAll("a[href]").forEach((function(e){e.classList.contains("js-skimlink-subtag-modified")||(e.classList.add("js-skimlink-subtag-modified"),e.hasAttribute("data-skimlinks-tracking")||e.setAttribute("data-skimlinks-tracking",n.id||""),e.addEventListener("click",(function(e){D({element:e.target.closest("a"),experimentSubtags:u})}),{once:!0}))})),document.querySelector('script[src*="skimresources"]')||(0,p.v)("https://s.skimresources.com/js/74679X1524629.skimlinks.js")}}),[n.id,o.loaded]),a},includeABeagleExperiments:!0},amazonSubtag:{hook:function(e){var t=e.buzz,n=void 0===t?{}:t,i=e.ABeagleContext,o=(0,r.useRef)(null),a=(0,r.useContext)(i||g).experiments;return(0,r.useEffect)((function(){var e=o.current;e&&e.querySelectorAll("a[href]").forEach((function(e){(function(e){var t=e.hostname;return e.hasAttribute("data-affiliate")&&!(t===document.location.hostname||t.match(/buzzfeed\.(com|io)/))})(e)&&(0,b.D1)(e.href)&&P({element:e,buzz:n,experiments:a})}))}),[n.id,a.loaded]),o},includeABeagleExperiments:!0}},B=function(e){var t=e.buzz,n=e.html,o=e.index,a=e.modifiers,s=[];return a&&a.forEach((function(e){var n=Z[e];if(n){var r={buzz:t,index:o};n.includeABeagleExperiments&&(r.ABeagleContext=g);var i=n.hook(r);i&&s.push(i)}})),r.createElement("div",{dangerouslySetInnerHTML:{__html:n},className:"subbuzz-wrapper",ref:i.Z.apply(void 0,T(s))})},I=r.forwardRef((function(e,t){var n=e.buzz,i=e.className,s=void 0===i?"":i,u=e.experiments,c=e.modifiers,l=void 0===c?[]:c,f=e.subbuzzes,d=v({id:n.id,assets:f.assets}),p=f.subbuzzes?T(f.subbuzzes):[];(0,r.useEffect)((function(){return d&&d.init&&d.init(n),function(){d&&d.destroy&&d.destroy()}}),[n,d]);var h=p.map((function(e,t){return r.createElement(r.Fragment,{key:t},r.createElement(B,{buzz:n,html:e,experiments:u,index:t,modifiers:l}),r.createElement("div",{className:"subbuzz-inter",id:"subbuzz-inter-".concat(t)}))}
1));return r.createElement(g.Provider,{value:{experiments:u||{}}},r.createElement(a.Z,{onError:o.Tb},r.createElement("div",{className:"".concat(M," ").concat(s),ref:t},r.createElement("style",{dangerouslySetInnerHTML:{__html:f.assets.inline_css}}),f.assets.js.map((function(e,t){return r.createElement("link",{rel:"preload",href:e,as:"script",key:"subbuzz-preload-js-".concat(t)})})),h)))}))},83421:function(){},88641:function(e,t){var n;!function(r){var i={};i.EventTarget=function(){"use strict";function e(){this._handlers={}}return e.prototype={constructor:e,on:function(e,t){var n,r,i=this._handlers[e];for("undefined"===typeof i&&(i=this._handlers[e]=[]),n=0,r=i.length;n<r;n++)if(i[n]===t)return;i.push(t)},fire:function(e,t){var n,r,i,o={type:e,data:t};if((n=this._handlers[o.type])instanceof Array)for(r=0,i=(n=n.concat()).length;r<i;r++)n[r].call(this,o)},off:function(e,t){var n,r,i=this._handlers[e];if(i instanceof Array)for(n=0,r=i.length;n<r;n++)if(i[n]===t){i.splice(n,1);break}}},e}(),i.NativeDOM=function(){"use strict";return{type:"native",query:function(e,t){return e.querySelector(t)},queryAll:function(e,t){return e.querySelectorAll(t)},on:function(e,t,n){e.addEventListener(t,n,!1)},off:function(e,t,n){e.removeEventListener(t,n,!1)}}}(),i.DOM=i.NativeDOM,i.DOMEventDelegate=function(){"use strict";var e=["click","mouseover","mouseout","mousedown","mouseup","mouseenter","mouseleave","mousemove","keydown","keyup","submit","change","contextmenu","dblclick","input","focusin","focusout"];function t(e){return e&&e.hasAttribute("data-module")}function n(e){return e&&e.hasAttribute("data-type")}function r(e,t,n,r){var i,o;for(i=0;i<e.length;i++)t["on"+(o=e[i])]&&n.call(r,o)}function o(t,n,r){this.element=t,this._handler=n,this._eventTypes=r||e,this._boundHandler={},this._attached=!1}return o.prototype={constructor:o,_handleEvent:function(e){var r=function(e){for(var r=!1,i=!1;!r&&e&&e.parentNode&&!i;)r=n(e),i=t(e),r||(e=e.parentNode);return r?e:null}(e.target),i=r?r.getAttribute("data-type"):"";this._handler["on"+e.type](e,r,i)},attachEvents:function(){this._attached||(r(this._eventTypes,this._handler,(function(e){var t=this;function n(){t._handleEvent.apply(t,arguments)}i.DOM.on(this.element,e,n),this._boundHandler[e]=n}),this),this._attached=!0)},detachEvents:function(){r(this._eventTypes,this._handler,(function(e){i.DOM.off(this.element,e,this._boundHandler[e])}),this)}},o}(),i.Context=function(){"use strict";function e(e,t){this.application=e,this.element=t}return e.prototype={constructor:e,broadcast:function(e,t){this.application.broadcast(e,t)},getService:function(e){return this.application.getService(e)},hasService:function(e){return this.application.hasService(e)},getConfig:function(e){return this.application.getModuleConfig(this.element,e)},getGlobal:function(e){return this.application.getGlobal(e)},getGlobalConfig:function(e){return this.application.getGlobalConfig(e)},reportError:function(e){this.application.reportError(e)},getElement:function(){return this.element}},e}(),i.Application=function(){"use strict";var e="[data-module]",t={},n={},o=[],a={},s={},u={},c=!1,l=null,f=new i.EventTarget;function d(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function p(e){if("function"!==typeof l){if(t.debug)throw e;f.fire("error",{exception:e})}else l(e)}function h(e,t){"function"===typeof e[t]&&e[t].apply(e,Array.prototype.slice.call(arguments,2))}function m(e){var t,n,r,i,o,a=[],u={};for(n=e.instance.behaviors||[],t=0;t<n.length;t++)o=n[t],"behaviorInstances"in e||(e.behaviorInstances={}),i=e.behaviorInstances,r=s[o],o in u?p(new Error('Behavior "'+o+'" cannot be specified twice in a module.')):r?(i[o]||(i[o]=r.creator(e.context)),a.push(i[o])):p(new Error('Behavior "'+o+'" not found')),u[o]=!0;return a}function v(e,n,r){var o=new i.DOMEventDelegate(n,r,t.eventTypes);e.push(o),o.attachEvents()}function g(e){return u[e.id]}function b(e,t,n){null!==e.onmessage&&"object"===typeof e.onmessage&&e.onmessage.hasOwnProperty(t)?e.onmessage[t].call(e,n):-1!==function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}(e.messages||[],t)&&e.onmessage.call(e,t,n)}return d(f,{init:function(e){return d(t,e||{}),this.startAll(document.documentElement),this.fire("init"),c=!0,this},destroy:function(){return this.stopAll(document.documentElement),t={},n={},a={},o=[],s={},u={},c=!1,this},isStarted:function(e){return"object"===typeof g(e)},start:function(e){var r,o,a,s=function(e){var t=e.getAttribute("data-module");return t?t.split(" ")[0]:""}(e),c=n[s];if(!c)return p(new Error('Module type "'+s+'" is not defined.')),this;if(!this.isStarted(e)){e.id||(e.id="mod-"+s+"-"+c.counter),c.counter++,o=new i.Context(this,e),a=c.creator(o),t.debug||function(e,t){var n,r;for(n in e)"function"===typeof(r=e[n])&&(e[n]=function(e,n){return function(){var r=t+"."+e+"() - ";try{return n.apply(this,arguments)}catch(i){i.methodName=e,i.objectName=t,i.name=r+i.name,i.message=r+i.message,p(i)}}}(n,r))}(a,s),r={moduleName:s,instance:a,context:o,element:e,eventDelegates:[]},u[e.id]=r;for(var l=m(r),f=0,d=l.length;f<d;f++)h(l[f],"init");h(r.instance,"init"),function(e){var t=e.eventDelegates,n=m(e);v(t,e.element,e.instance);for(var r=0;r<n.length;r++)v(t,e.element,n[r])}(r)}return this},stop:function(e){var n=g(e);if(n){!function(e){for(var t=e.eventDelegates,n=0;n<t.length;n++)t[n].detachEvents();e.eventDelegates=[]}(n);for(var r=m(n),i=r.length-1;i>=0;i--)h(r[i],"destroy");h(n.instance,"destroy"),delete u[e.id]}else if(t.debug)return p(new Error("Unable to stop module associated with element: "+e.id)),this;return this},startAll:function(t){for(var n=i.DOM.queryAll(t,e),r=0,o=n.length;r<o;r++)this.start(n[r]);return this},stopAll:function(t){for(var n=i.DOM.queryAll(t,e),r=0,o=n.length;r<o;r++)this.stop(n[r]);return this},addModule:function(e,t){return"undefined"!==typeof n[e]?(p(new Error("Module "+e+" has already been added.")),this):(n[e]={creator:t,counter:1},this)},getModuleConfig:function(e,t){var n=g(e),r=null;
1if(n&&n.config)r=n.config;else{var o=i.DOM.query(e,'script[type="text/x-config"]');if(o)try{r=JSON.parse(o.text)}catch(a){p(new Error("Module with id "+e.id+" has a malformed config."))}n&&(n.config=r)}return r?"undefined"===typeof t?r:t in r?r[t]:null:null},addService:function(e,t){return"undefined"!==typeof a[e]?(p(new Error("Service "+e+" has already been added.")),this):(a[e]={creator:t,instance:null},this)},getService:function(e){var t=a[e];if(t){if(!t.instance){if(function(e){for(var t=0,n=o.length;t<n;t++)if(o[t]===e)return!0;return!1}(e))return p(new ReferenceError("Circular service dependency: "+o.join(" -> ")+" -> "+e)),null;o.push(e),t.instance=t.creator(f),o.pop()}return t.instance}return p(new Error('Service "'+e+'" not found')),null},hasService:function(e){return a.hasOwnProperty(e)},addBehavior:function(e,t){return"undefined"!==typeof s[e]?(p(new Error("Behavior "+e+" has already been added.")),this):(s[e]={creator:t,instance:null},this)},broadcast:function(e,t){var n,r,i,o;for(r in u)if(u.hasOwnProperty(r))for(b((i=u[r]).instance,e,t),o=m(i),n=0;n<o.length;n++)b(o[n],e,t);return this.fire("message",{message:e,messageData:t}),this},getGlobal:function(e){return e in r?r[e]:null},getGlobalConfig:function(e){return"undefined"===typeof e?t:e in t?t[e]:null},setGlobalConfig:function(e){return c?(p(new Error("Cannot set global configuration after application initialization")),this):(d(t,e),this)},setErrorHandler:function(e){l=e},reportError:p,reportWarning:function(e){if(t.debug){var n=this.getGlobal("console");n&&n.warn&&n.warn(e)}else f.fire("warning",e)},reportInfo:function(e){if(t.debug){var n=this.getGlobal("console");n&&n.info&&n.info(e)}}})}(),void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}("undefined"!==typeof window?window:this)}}]);
2//# sourceMappingURL=906-434938bb2a2749e9.js.map

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.