 see game-card.9e09d6dab71642fd4787.js.LICENSE.txt */
"use strict";(self.webpackChunk_msnews_msnews_experiences=self.webpackChunk_msnews_msnews_experiences||[]).push([["game-card"],{33720:function(e,t,a){a.r(t),a.d(t,{GameCard:function(){return Uu},GameCardStyles:function(){return ef},GameCardTemplate:function(){return Xu},ToolingInfo:function(){return tf}});var n=a(64690),i=a(84925),r=a(84289),o=a(12517),s=a(83227);const l=(0,n.e)(s.x.gameCard,"Game Card Peregrine Web Component experience",Object.assign(Object.assign(Object.assign({},(0,i.sz)("title","title","Title for card")),(0,r.iF)("selectors","query selectors","selectors needed to find the app root")),(0,o.u)({widgetTitle:"Title for the widget",linkText:"link text",downloadText:"Download text",appText:"text for the app"})));var c=a(9610),d=Object.defineProperty,p=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(e,t,a)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,h=(e,t)=>{for(var a in t||(t={}))g.call(t,a)&&b(e,a,t[a]);if(f)for(var a of f(t))m.call(t,a)&&b(e,a,t[a]);return e},v=(e,t)=>p(e,u(t)),y=(e,t,a)=>new Promise(((n,i)=>{var r=e=>{try{s(a.next(e))}catch(e){i(e)}},o=e=>{try{s(a.throw(e))}catch(e){i(e)}},s=e=>e.done?n(e.value):Promise.resolve(e.value).then(r,o);s((a=a.apply(e,t)).next())}));function w(e,t){const a=Object.create(null),n=e.split(",");for(let e=0;e<n.length;e++)a[n[e]]=!0;return t?e=>!!a[e.toLowerCase()]:e=>!!a[e]}const M=w("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function A(e){return!!e||""===e}function x(e){if(R(e)){const t={};for(let a=0;a<e.length;a++){const n=e[a],i=H(n)?z(n):x(n);if(i)for(const e in i)t[e]=i[e]}return t}return H(e)||Z(e)?e:void 0}const T=/;(?![^(]*\))/g,C=/:(.+)/;function z(e){const t={};return e.split(T).forEach((e=>{if(e){const a=e.split(C);a.length>1&&(t[a[0].trim()]=a[1].trim())}})),t}function D(e){let t="";if(H(e))t=e;else if(R(e))for(let a=0;a<e.length;a++){const n=D(e[a]);n&&(t+=n+" ")}else if(Z(e))for(const a in e)e[a]&&(t+=a+" ");return t.trim()}const S=e=>null==e?"":R(e)||Z(e)&&(e.toString===$||!U(e.toString))?JSON.stringify(e,k,2):String(e),k=(e,t)=>t&&t.__v_isRef?k(e,t.value):Q(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,a])=>(e[`${t} =>`]=a,e)),{})}:F(t)?{[`Set(${t.size})`]:[...t.values()]}:!Z(t)||R(t)||q(t)?t:String(t),I={},j=[],N=()=>{},E=()=>!1,_=/^on[^a-z]/,O=e=>_.test(e),L=e=>e.startsWith("onUpdate:"),P=Object.assign,B=(e,t)=>{const a=e.indexOf(t);a>-1&&e.splice(a,1)},G=Object.prototype.hasOwnProperty,Y=(e,t)=>G.call(e,t),R=Array.isArray,Q=e=>"[object Map]"===K(e),F=e=>"[object Set]"===K(e),U=e=>"function"==typeof e,H=e=>"string"==typeof e,W=e=>"symbol"==typeof e,Z=e=>null!==e&&"object"==typeof e,V=e=>Z(e)&&U(e.then)&&U(e.catch),$=Object.prototype.toString,K=e=>$.call(e),q=e=>"[object Object]"===K(e),J=e=>H(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,X=w(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ee=e=>{const t=Object.create(null);return a=>t[a]||(t[a]=e(a))},te=/-(\w)/g,ae=ee((e=>e.replace(te,((e,t)=>t?t.toUpperCase():"")))),ne=/\B([A-Z])/g,ie=ee((e=>e.replace(ne,"-$1").toLowerCase())),re=ee((e=>e.charAt(0).toUpperCase()+e.slice(1))),oe=ee((e=>e?`on${re(e)}`:"")),se=(e,t)=>!Object.is(e,t),le=(e,t)=>{for(let a=0;a<e.length;a++)e[a](t)},ce=(e,t,a)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:a})},de=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let pe;const ue=[];class fe{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&pe&&(this.parent=pe,this.index=(pe.scopes||(pe.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}}on(){this.active&&(ue.push(this),pe=this)}off(){this.active&&(ue.pop(),pe=ue[ue.length-1])}stop(e){if(this.active){if(this.effects.forEach((e=>e.stop())),this.cleanups.forEach((e=>e())),this.scopes&&this.scopes.forEach((e=>e.stop(!0))),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}const ge=e=>{const t=new Set(e);return t.w=0,t.n=0,t},me=e=>(e.w&ye)>0,be=e=>(e.n&ye)>0,he=new WeakMap;let ve=0,ye=1;const we=[];let Me;const Ae=Symbol(""),xe=Symbol("");class Te{constructor(e,t=null,a){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],function(e,t){(t=t||pe)&&t.active&&t.effects.push(e)}(this,a)}run(){if(!this.active)return this.fn();if(!we.includes(this))try{return we.push(Me=this),De.push(ze),ze=!0,ye=1<<++ve,ve<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ye})(this):Ce(this),this.fn()}finally{ve<=30&&(e=>{const{deps:t}=e;if(t.length){let a=0;for(let n=0;n<t.length;n++){const i=t[n];me(i)&&!be(i)?i.delete(e):t[a++]=i,i.w&=~ye,i.n&=~ye}t.length=a}})(this),ye=1<<--ve,ke(),we.pop();const e=we.length;Me=e>0?we[e-1]:void 0}}stop(){this.active&&(Ce(this),this.onStop&&this.onStop(),this.active=!1)}}function Ce(e){const{deps:t}=e;if(t.length){for(let a=0;a<t.length;a++)t[a].delete(e);t.length=0}}let ze=!0;const De=[];function Se(){De.push(ze),ze=!1}function ke(){const e=De.pop();ze=void 0===e||e}function Ie(e,t,a){if(!je())return;let n=he.get(e);n||he.set(e,n=new Map);let i=n.get(a);i||n.set(a,i=ge()),Ne(i)}function je(){return ze&&void 0!==Me}function Ne(e,t){let a=!1;ve<=30?be(e)||(e.n|=ye,a=!me(e)):a=!e.has(Me),a&&(e.add(Me),Me.deps.push(e))}function Ee(e,t,a,n,i,r){const o=he.get(e);if(!o)return;let s=[];if("clear"===t)s=[...o.values()];else if("length"===a&&R(e))o.forEach(((e,t)=>{("length"===t||t>=n)&&s.push(e)}));else switch(void 0!==a&&s.push(o.get(a)),t){case"add":R(e)?J(a)&&s.push(o.get("length")):(s.push(o.get(Ae)),Q(e)&&s.push(o.get(xe)));break;case"delete":R(e)||(s.push(o.get(Ae)),Q(e)&&s.push(o.get(xe)));break;case"set":Q(e)&&s.push(o.get(Ae))}if(1===s.length)s[0]&&_e(s[0]);else{const e=[];for(const t of s)t&&e.push(...t);_e(ge(e))}}function _e(e,t){for(const t of R(e)?e:[...e])(t!==Me||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Oe=w("__proto__,__v_isRef,__isVue"),Le=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(W)),Pe=Re(),Be=Re(!1,!0),Ge=Re(!0),Ye=function(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const a=Tt(this);for(let e=0,t=this.length;e<t;e++)Ie(a,0,e+"");const n=a[t](...e);return-1===n||!1===n?a[t](...e.map(Tt)):n}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Se();const a=Tt(this)[t].apply(this,e);return ke(),a}})),e}();function Re(e=!1,t=!1){return function(a,n,i){if("__v_isReactive"===n)return!e;if("__v_isReadonly"===n)return e;if("__v_raw"===n&&i===(e?t?ht:bt:t?mt:gt).get(a))return a;const r=R(a);if(!e&&r&&Y(Ye,n))return Reflect.get(Ye,n,i);const o=Reflect.get(a,n,i);return(W(n)?Le.has(n):Oe(n))?o:(e||Ie(a,0,n),t?o:kt(o)?r&&J(n)?o:o.value:Z(o)?e?yt(o):vt(o):o)}}function Qe(e=!1){return function(t,a,n,i){let r=t[a];if(!e&&(n=Tt(n),r=Tt(r),!R(t)&&kt(r)&&!kt(n)))return r.value=n,!0;const o=R(t)&&J(a)?Number(a)<t.length:Y(t,a),s=Reflect.set(t,a,n,i);return t===Tt(i)&&(o?se(n,r)&&Ee(t,"set",a,n):Ee(t,"add",a,n)),s}}const Fe={get:Pe,set:Qe(),deleteProperty:function(e,t){const a=Y(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&a&&Ee(e,"delete",t,void 0),n},has:function(e,t){const a=Reflect.has(e,t);return W(t)&&Le.has(t)||Ie(e,0,t),a},ownKeys:function(e){return Ie(e,0,R(e)?"length":Ae),Reflect.ownKeys(e)}},Ue={get:Ge,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},He=P({},Fe,{get:Be,set:Qe(!0)}),We=e=>Z(e)?vt(e):e,Ze=e=>Z(e)?yt(e):e,Ve=e=>e,$e=e=>Reflect.getPrototypeOf(e);function Ke(e,t,a=!1,n=!1){const i=Tt(e=e.__v_raw),r=Tt(t);t!==r&&!a&&Ie(i,0,t),!a&&Ie(i,0,r);const{has:o}=$e(i),s=n?Ve:a?Ze:We;return o.call(i,t)?s(e.get(t)):o.call(i,r)?s(e.get(r)):void(e!==i&&e.get(t))}function qe(e,t=!1){const a=this.__v_raw,n=Tt(a),i=Tt(e);return e!==i&&!t&&Ie(n,0,e),!t&&Ie(n,0,i),e===i?a.has(S