; (()=>{var{hasOwnProperty:t}=Object.prototype;function e(t){const e=function(t){const e=t||2;let n=0;return()=>{let t=Math.pow(e,n++);return t+=function(t,e){let n=t*(e=e||.3)*Math.random();return Math.random()>.5&&(n*=-1),n}(t),1e3*t}}(t);return t=>setTimeout(t,e())}var{isArray:n}=Array;function r(t,e){const n=[];let r=0;for(let s=0;s=0}function p(t,e,n="Assertion failed",s){var i,l;if(e)return e;t&&-1==n.indexOf(t)&&(n+=t);let o=3;const u=n.split("%s");let c=u.shift();const a=[c];for(;u.length;){const t=arguments[o++],e=u.shift();c+=f(t)+e,a.push(t,e.trim())}const h=new Error(c);throw h.messageArray=r(a,(t=>""!==t)),null===(i=(l=self).__AMP_REPORT_ERROR)||void 0===i||i.call(l,h),h}function b(t,e,r,s,i){return n(i)?t(r,i.concat([e])):t(r,`${i||s}: %s`,e),e}function m(t){const e=Object.getOwnPropertyDescriptor(t,"message");if(null!=e&&e.writable)return t;const{message:n,stack:r}=t,s=new Error(n);for(const e in t)s[e]=t[e];return s.stack=r,s}function v(t){let e=null,n="";for(const t of arguments)t instanceof Error&&!e?e=m(t):(n&&(n+=" "),n+=t);return e?n&&(e.message=n+": "+e.message):e=new Error(n),e}function w(t){const e=v.apply(null,arguments);return e.expected=!0,e}var A=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function g(t,e=""){try{return decodeURIComponent(t)}catch(t){return e}}function E(t){const{location:e}=t||self;return function(t){const e=o();if(!t)return e;let n;for(;n=A.exec(t);){const t=g(n[1],n[1]),r=n[2]?g(n[2].replace(/\+/g," "),n[2]):"";e[t]=r}return e}(e.originalHash||e.hash)}var _=t=>self.AMP_CONFIG?self.AMP_CONFIG[t]:null,y=("string"==typeof _("cdnProxyRegex")?new RegExp(_("cdnProxyRegex")):_("cdnProxyRegex"))||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function P(t){if(!self.document||!self.document.head)return null;if(self.location&&y.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${t}"]`);return e&&e.getAttribute("content")||null}var k=_("cdnUrl")||P("runtime-host")||"https://cdn.ampproject.org",M=/^https?:\/\/localhost(:\d+)?$/,x=_("errorReportingUrl")||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",I=_("betaErrorReportingUrl")||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",O="";function R(t){var e;return O||(O=(null===(e=t.AMP_CONFIG)||void 0===e?void 0:e.v)||"012310061803000"),O}function T(t,e){const n=e||E(t);return["1","actions","amp","amp4ads","amp4email"].includes(n.development)||!!t.AMP_DEV_MODE}var S=()=>{},j=(t,e)=>e.reduce(((t,e)=>`${t}&s[]=${N(e)}`),`https://log.amp.dev/?v=012310061803000&id=${encodeURIComponent(t)}`),N=t=>encodeURIComponent(String(f(t))),U=t=>parseInt(E(t).log,10);self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var $=self.__AMP_LOG,V=null;function L(t,e){if(!V)throw new Error("failed to call initLogConstructor");return new V(self,t,e)}function C(t){return $.user||($.user=B(h)),function(t,e){return e&&e.ownerDocument.defaultView!=t}($.user.win,t)?$.userForEmbed||($.userForEmbed=B("​​​​")):$.user}function B(t){return L(((t,e)=>e||t>=1?4:2),t)}function F(){return $.dev||($.dev=L((t=>t>=3?4:t>=2?3:0)))}function z(t,e,n,r,s,i,l,o,u,c,a){return t}var D,G=class{constructor(t,e,n){this.type=t,this.args=e,this.value=n}},W=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,7],n=[1,10],r=[1,11],s=[1,12],i=[1,13],l=[1,23],o=[1,17],u=[1,18],c=[1,19],a=[1,20],h=[1,21],f=[1,22],d=[1,26],p=[1,25],b=[1,27],m=[1,28],v=[1,29],w=[1,30],A=[1,31],g=[1,32],E=[1,33],_=[1,34],y=[1,35],P=[1,36],k=[1,37],M=[1,38],x=[1,39],I=[1,41],O=[5,10,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,31,33,38,39,49],R=[2,40],T=[1,47],S=[1,52],j=[1,54],N=[5,10,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,33,39,49],U=[1,75],$=[33,49],V=[10,33,39],L=[5,10,14,15,19,20,21,22,23,24,25,26,27,28,33,39,49],C=[5,10,19,20,21,22,23,24,25,26,27,28,33,39,49],B=[5,10,19,20,25,26,27,28,33,39,49],F=[10,33],z={trace:function(){},yy:{},kN:{"error":2,"result":3,"expr":4,"EOF":5,"operation":6,"invocation":7,"member_access":8,"(":9,")":10,"variable":11,"literal":12,"!":13,"-":14,"+":15,"*":16,"/":17,"%":18,"&&":19,"||":20,"<=":21,"<":22,">=":23,">":24,"!=":25,"==":26,"?":27,":":28,"NAME":29,"args":30,".":31,"arrow_function":32,",":33,"=>":34,"params":35,"array":36,"member":37,"[":38,"]":39,"primitive":40,"object_literal":41,"array_literal":42,"STRING":43,"NUMBER":44,"TRUE":45,"FALSE":46,"NULL":47,"{":48,"}":49,"object":50,"key_value":51,"key":52,"$accept":0,"$end":1},IN:{2:"error",5:"EOF",9:"(",10:")",13:"!",14:"-",15:"+",16:"*",17:"/",18:"%",19:"&&",20:"||",21:"<=",22:"<",23:">=",24:">",25:"!=",26:"==",27:"?",28:":",29:"NAME",31:".",33:",",34:"=>",38:"[",39:"]",43:"STRING",44:"NUMBER",45:"TRUE",46:"FALSE",47:"NULL",48:"{",49:"}"},yN:[0,[3,2],[3,1],[4,1],[4,1],[4,1],[4,3],[4,1],[4,1],[6,2],[6,2],[6,2],[6,3],[6,3],[6,3],[6,3],[6,3],[6,3],[6,3],[6,3],[6,3],[6,3],[6,3],[6,3],[6,3],[6,5],[7,2],[7,4],[7,6],[7,8],[32,4],[32,3],[32,5],[35,3],[35,3],[30,2],[30,3],[8,2],[37,2],[37,3],[11,1],[12,1],[12,1],[12,1],[40,1],[40,1],[40,1],[40,1],[40,1],[42,2],[42,3],[42,4],[36,1],[36,3],[41,2],[41,3],[41,4],[50,1],[50,3],[51,3],[52,1],[52,1],[52,3]],performAction:function(t,e,n,r,s,i,l){var o=i.length-1;switch(s){case 1:return i[o-1];case 2:return"";case 3:case 4:case 5:case 7:case 8:case 41:case 42:case 43:case 61:this.$=i[o];break;case 6:case 62:this.$=i[o-1];break;case 9:this.$=new G(12,[i[o]]);break;case 10:this.$=new G(13,[i[o]]);break;case 11:this.$=new G(14,[i[o]]);break;case 12:this.$=new G(15,[i[o-2],i[o]]);break;case 13:this.$=new G(16,[i[o-2],i[o]]);break;case 14:this.$=new G(17,[i[o-2],i[o]]);break;case 15:this.$=new G(18,[i[o-2],i[o]]);break;case 16:this.$=new G(19,[i[o-2],i[o]]);break;case 17:this.$=new G(20,[i[o-2],i[o]]);break;case 18:this.$=new G(21,[i[o-2],i[o]]);break;case 19:this.$=new G(22,[i[o-2],i[o]]);break;case 20:this.$=new G(23,[i[o-2],i[o]]);break;case 21:this.$=new G(24,[i[o-2],i[o]]);break;case 22:this.$=new G(25,[i[o-2],i[o]]);break;case 23:this.$=new G(26,[i[o-2],i[o]]);break;case 24:this.$=new G(27,[i[o-2],i[o]]);break;case 25:this.$=new G(28,[i[o-4],i[o-2],i[o]]);break;case 26:this.$=new G(1,[void 0,i[o]],i[o-1]);break;case 27:this.$=new G(1,[i[o-3],i[o]],i[o-1]);break;case 28:{const t=new G(8,[i[o-1]]);this.$=new G(1,[i[o-5],t],i[o-3])}break;case 29:{const t=new G(8,[i[o-3],i[o-1]]);this.$=new G(1,[i[o-7],t],i[o-5])}break;case 30:this.$=new G(29,[void 0,i[o]]);break;case 31:const n=new G(6,null,[i[o-2]]);this.$=new G(29,[n,i[o]]);break;case 32:this.$=new G(29,[i[o-3],i[o]]);break;case 33:this.$=new G(6,null,[i[o-2],i[o]]);break;case 34:this.$=i[o-2],this.$.value.push(i[o]);break;case 35:this.$=new G(2,[]);break;case 36:this.$=new G(2,[i[o-1]]);break;case 37:this.$=new G(3,[i[o-1],i[o]]);break;case 38:this.$=new G(4,null,i[o]);break;case 39:this.$=new G(4,[i[o-1]]);break;case 40:this.$=new G(5,null,i[o]);break;case 44:const r=t.substr(1,e-2).replace(/\\('|")/g,"$1"),s=function(t,e){try{return function(t){return JSON.parse(t)}(t)}catch(t){return null}}(`"${r.replace(/"/g,'\\"')}"`);this.$=new G(6,null,s||r);break;case 45:this.$=new G(6,null,Number(t));break;case 46:this.$=new G(6,null,!0);break;case 47:this.$=new G(6,null,!1);break;case 48:this.$=new G(6,null,null);break;case 49:this.$=new G(7,[]);break;case 50:this.$=new G(7,[i[o-1]]);break;case 51:this.$=new G(7,[i[o-2]]);break;case 52:this.$=new G(8,[i[o]]);break;case 53:case 58:this.$=i[o-2],this.$.args.push(i[o]);break;case 54:this.$=new G(9,[]);break;case 55:this.$=new G(9,[i[o-1]]);break;case 56:this.$=new G(9,[i[o-2]]);break;case 57:this.$=new G(10,[i[o]]);break;case 59:this.$=new G(11,[i[o-2],i[o]]);break;case 60:this.$=new G(6,null,i[o])}},table:[{3:1,4:2,5:[1,3],6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{1:[3]},{5:[1,24],14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,37:40,38:I},{1:[2,2]},t(O,[2,3]),t(O,[2,4]),t(O,[2,5]),{4:42,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},t(O,[2,7]),t(O,[2,8]),{4:43,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:44,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:45,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},t(O,R,{30:46,9:T}),t(O,[2,41]),t(O,[2,42]),t(O,[2,43]),t(O,[2,44]),t(O,[2,45]),t(O,[2,46]),t(O,[2,47]),t(O,[2,48]),{29:S,38:j,40:53,43:o,44:u,45:c,46:a,47:h,49:[1,48],50:49,51:50,52:51},{4:57,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,36:56,38:l,39:[1,55],40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{1:[2,1]},{4:58,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:59,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:60,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:61,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:62,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:63,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:64,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:65,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:66,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:67,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:68,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:69,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:70,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:71,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{29:[1,72]},t(O,[2,37]),{4:73,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{10:[1,74],14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,37:40,38:I},t(N,[2,9],{37:40,31:x,38:I}),t(N,[2,10],{37:40,31:x,38:I}),t(N,[2,11],{37:40,31:x,38:I}),t(O,[2,26]),{4:57,6:4,7:5,8:6,9:e,10:U,11:8,12:9,13:n,14:r,15:s,29:i,36:76,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},t(O,[2,54]),{33:[1,78],49:[1,77]},t($,[2,57]),{28:[1,79]},{28:[2,60]},{28:[2,61]},{4:80,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},t(O,[2,49]),{33:[1,82],39:[1,81]},t(V,[2,52],{37:40,14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,38:I}),t(L,[2,12],{37:40,16:b,17:m,18:v,31:x,38:I}),t(L,[2,13],{37:40,16:b,17:m,18:v,31:x,38:I}),t(N,[2,14],{37:40,31:x,38:I}),t(N,[2,15],{37:40,31:x,38:I}),t(N,[2,16],{37:40,31:x,38:I}),t([5,10,19,20,27,28,33,39,49],[2,17],{37:40,14:d,15:p,16:b,17:m,18:v,21:g,22:E,23:_,24:y,25:P,26:k,31:x,38:I}),t([5,10,20,27,28,33,39,49],[2,18],{37:40,14:d,15:p,16:b,17:m,18:v,19:w,21:g,22:E,23:_,24:y,25:P,26:k,31:x,38:I}),t(C,[2,19],{37:40,14:d,15:p,16:b,17:m,18:v,31:x,38:I}),t(C,[2,20],{37:40,14:d,15:p,16:b,17:m,18:v,31:x,38:I}),t(C,[2,21],{37:40,14:d,15:p,16:b,17:m,18:v,31:x,38:I}),t(C,[2,22],{37:40,14:d,15:p,16:b,17:m,18:v,31:x,38:I}),t(B,[2,23],{37:40,14:d,15:p,16:b,17:m,18:v,21:g,22:E,23:_,24:y,31:x,38:I}),t(B,[2,24],{37:40,14:d,15:p,16:b,17:m,18:v,21:g,22:E,23:_,24:y,31:x,38:I}),{14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,28:[1,83],31:x,37:40,38:I},t(O,[2,38],{30:84,9:[1,85]}),{14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,37:40,38:I,39:[1,86]},t(O,[2,6]),t(O,[2,35]),{10:[1,87],33:[1,88]},t(O,[2,55]),{29:S,38:j,40:53,43:o,44:u,45:c,46:a,47:h,49:[1,89],51:90,52:51},{4:91,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,37:40,38:I,39:[1,92]},t(O,[2,50]),{4:94,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,39:[1,93],40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{4:95,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},t(O,[2,27]),{4:57,6:4,7:5,8:6,9:[1,97],10:U,11:8,12:9,13:n,14:r,15:s,29:[1,98],32:96,36:76,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},t(O,[2,39]),t(O,[2,36]),{4:94,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},t(O,[2,56]),t($,[2,58]),t($,[2,59],{37:40,14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,38:I}),{28:[2,62]},t(O,[2,51]),t(V,[2,53],{37:40,14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,38:I}),t([5,10,28,33,39,49],[2,25],{37:40,14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,38:I}),{10:[1,99],33:[1,100]},{4:42,6:4,7:5,8:6,9:e,10:[1,101],11:8,12:9,13:n,14:r,15:s,29:[1,103],35:102,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},t([10,14,15,16,17,18,19,20,21,22,23,24,25,26,27,31,33,38],R,{30:46,9:T,34:[1,104]}),t(O,[2,28]),{4:105,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{34:[1,106]},{10:[1,107],33:[1,108]},t([10,14,15,16,17,18,19,20,21,22,23,24,25,26,27,31,38],R,{30:46,9:T,33:[1,109]}),{4:110,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{10:[1,111],14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,37:40,38:I},{4:112,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},{34:[1,113]},{29:[1,114]},{29:[1,115]},t(F,[2,31],{37:40,14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,38:I}),t(O,[2,29]),t(F,[2,30],{37:40,14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,38:I}),{4:116,6:4,7:5,8:6,9:e,11:8,12:9,13:n,14:r,15:s,29:i,38:l,40:14,41:15,42:16,43:o,44:u,45:c,46:a,47:h,48:f},t(F,[2,34]),t(F,[2,33]),t(F,[2,32],{37:40,14:d,15:p,16:b,17:m,18:v,19:w,20:A,21:g,22:E,23:_,24:y,25:P,26:k,27:M,31:x,38:I})],defaultActions:{3:[2,2],24:[2,1],52:[2,60],53:[2,61],92:[2,62]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[null],s=[],i=this.table,l="",o=0,u=0,c=0,a=2,h=1,f=s.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var b in this.yy)Object.prototype.hasOwnProperty.call(this.yy,b)&&(p.yy[b]=this.yy[b]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;s.push(m);var v=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var w,A,g,E,_,y,P,k,M,x=function(){var t;return"number"!=typeof(t=d.lex()||h)&&(t=e.kN[t]||t),t},I={};;){if(g=n[n.length-1],this.defaultActions[g]?E=this.defaultActions[g]:(null==w&&(w=x()),E=i[g]&&i[g][w]),void 0===E||!E.length||!E[0]){var O="";for(y in M=[],i[g])this.IN[y]&&y>a&&M.push("'"+this.IN[y]+"'");O=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+M.join(", ")+", got '"+(this.IN[w]||w)+"'":"Parse error on line "+(o+1)+": Unexpected "+(w==h?"end of input":"'"+(this.IN[w]||w)+"'"),this.parseError(O,{text:d.match,token:this.IN[w]||w,line:d.yylineno,loc:m,expected:M})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+w);switch(E[0]){case 1:n.push(w),r.push(d.yytext),s.push(d.yylloc),n.push(E[1]),w=null,A?(w=A,A=null):(u=d.yyleng,l=d.yytext,o=d.yylineno,m=d.yylloc,c>0&&c--);break;case 2:if(P=this.yN[E[1]][1],I.$=r[r.length-P],I._$={first_line:s[s.length-(P||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(P||1)].first_column,last_column:s[s.length-1].last_column},v&&(I._$.range=[s[s.length-(P||1)].range[0],s[s.length-1].range[1]]),void 0!==(_=this.performAction.apply(I,[l,u,o,p.yy,E[1],r,s].concat(f))))return _;P&&(n=n.slice(0,-1*P*2),r=r.slice(0,-1*P),s=s.slice(0,-1*P)),n.push(this.yN[E[1]][0]),r.push(I.$),s.push(I._$),k=i[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},D={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in s)this[i]=s[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),i=0;ie[0].length)){if(e=n,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:break;case 1:return 47;case 2:return 45;case 3:return 46;case 4:return 44;case 5:return 29;case 6:case 7:return 43;case 8:return 34;case 9:return 15;case 10:return 14;case 11:return 16;case 12:return 17;case 13:return 19;case 14:return 20;case 15:return 25;case 16:return 26;case 17:return 21;case 18:return 22;case 19:return 23;case 20:return 24;case 21:return 13;case 22:return 27;case 23:return 28;case 24:return 18;case 25:return 38;case 26:return 39;case 27:return 48;case 28:return 49;case 29:return 9;case 30:return 10;case 31:return 33;case 32:return 31;case 33:return"INVALID";case 34:return 5}},rules:[/^(?:\s+)/,/^(?:null\b)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:[0-9]+(\.[0-9]+)?\b)/,/^(?:[a-zA-Z_][a-zA-Z0-9_]*)/,/^(?:'([^\'\\]|\\.)*')/,/^(?:"([^\"\\]|\\.)*")/,/^(?:=>)/,/^(?:\+)/,/^(?:-)/,/^(?:\*)/,/^(?:\/)/,/^(?:&&)/,/^(?:\|\|)/,/^(?:!=)/,/^(?:==)/,/^(?:<=)/,/^(?:<)/,/^(?:>=)/,/^(?:>)/,/^(?:!)/,/^(?:\?)/,/^(?::)/,/^(?:%)/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:\.)/,/^(?:.)/,/^(?:$)/],conditions:{"INITIAL":{"rules":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"inclusive":!0}}};function W(){this.yy={}}return z.lexer=D,W.prototype=z,z.Parser=W,new W}(),q="custom-functions",Z=class{constructor(t,e,r){D||(D=function(){function t(t,e,r,s){if(!n(t))throw new Error(`splice: ${t} is not an array.`);const i=Array.prototype.slice.call(t),l=Array.prototype.slice.call(arguments,1);return Array.prototype.splice.apply(i,l),i}const e={"[object Array]":{"concat":Array.prototype.concat,"filter":Array.prototype.filter,"indexOf":Array.prototype.indexOf,"join":Array.prototype.join,"lastIndexOf":Array.prototype.lastIndexOf,"map":Array.prototype.map,"reduce":Array.prototype.reduce,"slice":Array.prototype.slice,"some":Array.prototype.some,"sort":function(t){const e=Array.prototype.slice.call(this);return Array.prototype.sort.call(e,t),e},"splice":function(t,e,n){const r=Array.prototype.slice.call(this);return Array.prototype.splice.apply(r,arguments),r},"includes":Array.prototype.includes},"[object Number]":{"toExponential":Number.prototype.toExponential,"toFixed":Number.prototype.toFixed,"toPrecision":Number.prototype.toPrecision,"toString":Number.prototype.toString},"[object String]":{"charAt":String.prototype.charAt,"charCodeAt":String.prototype.charCodeAt,"concat":String.prototype.concat,"indexOf":String.prototype.indexOf,"lastIndexOf":String.prototype.lastIndexOf,"replace":String.prototype.replace,"slice":String.prototype.slice,"split":String.prototype.split,"substr":String.prototype.substr,"substring":String.prototype.substring,"toLowerCase":String.prototype.toLowerCase,"toUpperCase":String.prototype.toUpperCase}};e[q]={"encodeURI":encodeURI,"encodeURIComponent":encodeURIComponent,"abs":Math.abs,"ceil":Math.ceil,"floor":Math.floor,"sqrt":Math.sqrt,"log":Math.log,"max":Math.max,"min":Math.min,"pow":Math.pow,"random":Math.random,"round":Math.round,"sign":Math.sign,"keys":Object.keys,"values":Object.values};const r=o();return Object.keys(e).forEach((t=>{r[t]=o();const n=e[t];Object.keys(n).forEach((e=>{const s=n[e];if(!s)throw new Error(`Unsupported function: ${t}.${e}`);z(!s.name||s.name.startsWith(e)),r[t][e]=s}))})),r[q].copyAndSplice=t,r[q].sort=function(t){if(!n(t))throw new Error(`sort: ${t} is not an array.`);const e=Array.prototype.slice.call(t);return Array.prototype.sort.call(e),e},r[q].splice=t,r}()),this.expressionString=t,this.Zj=e,this.WU=W.parse(this.expressionString),this.expressionSize=this.ZU(this.WU);const s=r||250;if(this.expressionSize>s)throw new Error(`Expression size (${this.expressionSize}) exceeds max (${s}). Please reduce number of operands.`)}evaluate(t){return this.HU(this.WU,t)}ZU(t){if(this.XU(t)){let e=this.Zj[String(t.value)].getExpressionSize();return this.KU(t).forEach((t=>{t&&(e+=this.ZU(t)-1)})),e}{let e=1;return t.args&&t.args.forEach((t=>{t&&(e+=this.ZU(t))})),e}}XU(t){return 1===t.type&&!t.args[0]&&null!=this.Zj[String(t.value)]}KU(t){const e=2===t.args.length&&2===t.args[1].type?t.args[1]:null;if(e){const{args:t}=e;if(0===t.length)return[];if(1===t.length&&8===t[0].type)return t[0].args||[]}return t.args||[]}HU(t,e){if(!t)return null;const{args:n,type:r,value:s}=t;if(6===r&&void 0!==s)return s;switch(r){case 0:return this.HU(n[0],e);case 1:const t=void 0===n[0],i=this.HU(n[0],e),l=this.HU(n[1],e),c=String(s);let a,h;if(t){const t=this.Zj[c];a=t?function(){return t.evaluate(e,Array.prototype.slice.call(arguments))}:D[q][c],a||(h=`${c} is not a supported function.`)}else{if(null===i)return null;const t=Object.prototype.toString.call(i),e=D[t];if(e){const t=i[c];t&&t===e[c]?a=t:this.YU(c)&&(a=e[c])}a||(h=`${t}.${c} is not a supported function.`)}if(a&&Array.isArray(l)){if(this.QU(c,l))throw new Error(`Unexpected argument type in ${c}().`);return a.apply(i,l)}throw new Error(h);case 3:const f=this.HU(n[0],e),d=this.HU(n[1],e);if(null===f||null===d)return null;const p=typeof f;if("string"!==p&&"object"!==p)return null;const b=typeof d;return"string"!==b&&"number"!==b?null:u(f,String(d))?f[d]:null;case 4:return s||this.HU(n[0],e);case 5:const m=s;return u(e,String(m))?e[m]:null;case 2:case 7:return n.length>0?this.HU(n[0],e):[];case 8:return n.map((t=>this.HU(t,e)));case 9:return n.length>0?this.HU(n[0],e):o();case 10:const v=o();return n.forEach((t=>{const{k:n,v:r}=this.HU(t,e);v[n]=r})),v;case 11:return{k:this.HU(n[0],e),v:this.HU(n[1],e)};case 12:return!this.HU(n[0],e);case 13:return-Number(this.HU(n[0],e));case 14:return+Number(this.HU(n[0],e));case 15:return this.HU(n[0],e)+this.HU(n[1],e);case 16:return Number(this.HU(n[0],e))-Number(this.HU(n[1],e));case 17:return Number(this.HU(n[0],e))*Number(this.HU(n[1],e));case 18:return Number(this.HU(n[0],e))/Number(this.HU(n[1],e));case 19:return Number(this.HU(n[0],e))%Number(this.HU(n[1],e));case 20:return this.HU(n[0],e)&&this.HU(n[1],e);case 21:return this.HU(n[0],e)||this.HU(n[1],e);case 22:return this.HU(n[0],e)<=this.HU(n[1],e);case 23:return this.HU(n[0],e)=this.HU(n[1],e);case 25:return this.HU(n[0],e)>this.HU(n[1],e);case 26:return this.HU(n[0],e)!=this.HU(n[1],e);case 27:return this.HU(n[0],e)==this.HU(n[1],e);case 28:return this.HU(n[0],e)?this.HU(n[1],e):this.HU(n[2],e);case 29:const w=o(e);return(...t)=>{const r=this.HU(n[0],e);return r&&r.forEach(((e,n)=>{w[e]=t[n]})),this.HU(n[1],w)};default:throw new Error(`Unexpected AstNodeType: ${r}.`)}}YU(t){return"sort"===t||"splice"===t}QU(t,e){return"keys"!=t&&"values"!=t&&"splice"!=t&&this.k$(e)}k$(t){for(let n=0;n0,"Srcset must have at least one source"),this.tE=t;let e=!1,n=!1;for(let r=0;r1.2))break;n=l,r=u,s=o}return n}rE(t){const e=this.tE;let n=0,r=1/0;for(let s=0;st.url))}stringify(t){const e=[],n=this.tE;for(let r=0;r{const n=this.Gh(t.expressionString);n.error?e[t.expressionString]=n.error:this.wn.push(t)})),e}removeBindingsWithExpressionStrings(t){const e=Object.create(null);t.forEach((t=>{delete this.N$[t],e[t]=!0})),r(this.wn,(t=>!!e[t.expressionString]))}addMacros(t){const e=[];return t.forEach(((t,n)=>{const r=Object.assign(Object.create(null),this.Zj);try{this.Zj[t.id]=new class{constructor(t,e){this.U$=t.argumentNames||[],this.$$=new Z(t.expressionString,e)}evaluate(t,e){const n=function(t){for(var e=1;e{const{expressionString:s}=r;if(void 0!==e[s]||n[s])return;const i=this.N$[s];if(!i){const t=new Error(`Expression "${s}"" is not cached.`);return void(n[s]={message:t.message,stack:t.stack})}const{error:l,result:o}=this.L$(i,t);l?n[s]=l:e[s]=o})),this.wn.forEach((t=>{const{expressionString:r,property:s,tagName:i}=t,l=e[r];if(void 0===l)return;if(null!==l&&"object"==typeof l)return;const o=this.C$(s,l);if(!this.O$.isResultValid(i,s,o)){delete e[r];const t=new Error(`"${l}" is not a valid result for [${s}].`);n[r]={message:t.message,stack:t.stack}}})),{results:e,errors:n}}evaluateExpression(t,e){const n=this.Gh(t);if(!n.expression)return{result:null,error:n.error};this.V$(e);const r=this.L$(n.expression,e);return r.result?{result:r.result,error:null}:{result:null,error:r.error}}V$(t){"global"in t||(t.global=t)}Gh(t){let e=this.N$[t],n=null;if(!e)try{e=new Z(t,this.Zj),this.N$[t]=e}catch(t){n={message:t.message,stack:t.stack}}return{expression:e,error:n}}L$(t,e){let n=null,r=null;try{n=t.evaluate(e)}catch(t){r={message:t.message,stack:t.stack}}return{result:n,error:r}}bindingsForTesting(){return this.wn}expressionsForTesting(){return this.N$}C$(t,e){if(null===e)return null;switch(t){case"text":break;case"class":if(Array.isArray(e))return e.join(" ");break;default:if("boolean"==typeof e)return e?"":null}return String(e)}};function ot(t,e){return ct(t=function(t){return t.__AMP_TOP||(t.__AMP_TOP=t)}(t),e)}function ut(t){return t.nodeType?(n=t,e=(n.ownerDocument||n).defaultView,ot(e,"ampdoc")).getAmpDoc(t):t;var e,n}function ct(t,e){z(function(t,e){const n=t.__AMP_SERVICES&&t.__AMP_SERVICES[e];return!(!n||!n.ctor)}(t,e));const n=function(t){let e=t.__AMP_SERVICES;return e||(e=t.__AMP_SERVICES={}),e}(t)[e];return n.obj||(z(n.ctor),z(n.context),n.obj=new n.ctor(n.context),z(n.obj),n.context=null,n.resolve&&n.resolve(n.obj)),n.obj}var at,ht=["Webkit","webkit","Moz","moz","ms","O","o"];function ft(t,e,n,r,s){const i=function(t,e,n){if(e.startsWith("--"))return e;at||(at=o());let r=at[e];if(!r||n){if(r=e,void 0===t[e]){const n=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),s=function(t,e){for(let n=0;n"-"+t.toLowerCase()));return ht.some((t=>e.startsWith(t+"-")))?`-${e}`:e}(i),l)}var dt,pt=!1;var bt=self.__AMP_ERRORS||[];self.__AMP_ERRORS=bt;var mt,vt=function(t){return(vt=e(1.5))(t)};function wt(t,e,n,r,s){var i;!this||!this.document||s&&s.expected||(z((i=this.document).defaultView),pt||(pt=!0,function(t){!function(t,e){for(const n in e)ft(t,n,e[n])}(t.body,{opacity:1,visibility:"visible","animation":"none"})}(i)));let l=!1;try{l=function(t){if(!t.document)return!1;const e=t.document.querySelectorAll("script[src]");for(let t=0;t"string"==typeof t?function(t,e){return dt||(dt=self.document.createElement("a")),function(t,e,n){return t.href="",new URL(e,t.href)}(dt,t)}(t):t)(n).origin))return!0;var n;return!1}(self)}catch(t){}if(l&&Math.random()>.01)return;const o=function(t,e,n,r,s,i){t=function(t,e){return e&&(t=e.message?e.message:String(e)),t||(t="Unknown error"),t}(t,s);let l=!(!s||!s.expected);if(/_reported_/.test(t))return;if("CANCELLED"==t)return;const o=!(self&&self.window),u=Math.random();if((function(t){return-1!=t.indexOf("Failed to load:")}(t)||"Script error."==t||o)&&(l=!0,u>.001))return;const c=d(t);if(c&&u>.1)return;const a=Object.create(null);a.v=function(t){const e=t||self;return e.__AMP_MODE?e.__AMP_MODE:e.__AMP_MODE=function(t){return{localDev:!1,development:T(t,E(t)),esm:!0,test:!1,rtvVersion:R(t),ssrReady:!1}}(e)}().rtvVersion,a.noAmp=i?"1":"0",a.m=t.replace(h,""),a.a=c?"1":"0",a.ex=l?"1":"0",a.dw=o?"1":"0";let f="1p";var p,b;if(f="esm",a.esm="1",a.rt="esm",a.ca=null!==(b=self.AMP_CONFIG)&&void 0!==b&&b.canary?"1":"0",a.bt=(null===(p=self.AMP_CONFIG)||void 0===p?void 0:p.type)||"unknown",self.location.ancestorOrigins&&self.location.ancestorOrigins[0]&&(a.or=self.location.ancestorOrigins[0]),self.viewerState&&(a.vs=self.viewerState),self.parent&&self.parent!=self&&(a.iem="1"),self.AMP&&self.AMP.viewer){const t=self.AMP.viewer.getResolvedViewerUrl(),e=self.AMP.viewer.maybeGetMessagingOrigin();t&&(a.rvu=t),e&&(a.mso=e)}const m=[],v=self.__AMP__EXPERIMENT_TOGGLES||null;for(const t in v){const e=v[t];m.push(`${t}=${e?"1":"0"}`)}var w,A,g;return a.exps=m.join(","),s?(a.el=(null===(w=s.associatedElement)||void 0===w?void 0:w.tagName)||"u",s.args&&(a.args=JSON.stringify(s.args)),c||s.ignoreStack||!s.stack||(a.s=s.stack),s.message&&(s.message+=" _reported_")):(a.f=e||"",a.l=n||"",a.c=r||""),a.r=self.document?self.document.referrer:"",a.ae=bt.join(","),a.fr=self.location.originalHash||self.location.hash,"production"===a.bt&&(a.pt="1"),g=t,(A=bt).length>=25&&A.splice(0,A.length-25+1),A.push(g),a}(t,e,n,r,s,l);o&&vt((()=>{try{return function(t,e){return e.pt&&Math.random()<.9?et||(et=Promise.resolve(void 0)):function(t,e){const n=(t=>ot(t,"ampdoc"))(t);if(!n.isSingleDoc())return Promise.resolve(!1);const r=n.getSingleDoc();if(!r.getRootNode().documentElement.hasAttribute("report-errors-to-viewer"))return Promise.resolve(!1);const s=(i="viewer",ct(function(t){const e=ut(t);return e.isSingleDoc()?e.win:e}(ut(r)),i));var i;return s.hasCapability("errorReporter")?s.isTrustedViewer().then((t=>{return!!t&&(s.sendMessage("error",{"m":(n=e).m,"a":n.a,"s":n.s,"el":n.el,"ex":n.ex,"v":n.v,"pt":n.pt}),!0);var n})):Promise.resolve(!1)}(t,e).then((t=>{if(!t){const t=new XMLHttpRequest;t.open("POST",Math.random()<.1?I:x,!0),t.send(JSON.stringify(e))}}))}(this,o).catch((()=>{}))}catch(t){}}))}V=class{constructor(t,e,n=""){this.win=t,this.J=e,this.W=this.X(),this.B=n,this.Z=null,this.K=function(t){let e=!1,n=null,r=t;return(...t)=>(e||(n=r.apply(self,t),e=!0,r=null),n)}((()=>{t.fetch(`${k}/rtv/012310061803000/log-messages.simple.json`).then((t=>t.json()),S).then((t=>{t&&(this.Z=t)}))})),this.Y=this.assert.bind(this)}X(){var t;const{win:e}=this;return null!==(t=e.console)&&void 0!==t&&t.log&&0!=U(e)?this.tt():0}tt(t){return this.J(U(t),!1)}et(t,e,n){var r;if(e>this.W)return!1;const i=this.win.console,l=null!==(r={1:i.error,3:i.info,2:i.warn}[e])&&void 0!==r?r:i.log,o=this.nt(n),u=`[${t}]`;return s(o[0])?o[0]=u+" "+o[0]:o.unshift(u),l.apply(i,o),!0}fine(t,...e){this.et(t,4,e)}info(t,...e){this.et(t,3,e)}warn(t,...e){this.et(t,2,e)}error(t,...e){if(!this.et(t,1,e)){var n,r;const s=this.createError.apply(this,e);s.name=t||s.name,null===(n=(r=self).__AMP_REPORT_ERROR)||void 0===n||n.call(r,s)}}expectedError(t,...e){var n,r;this.et(t,1,e)||null===(n=(r=self).__AMP_REPORT_ERROR)||void 0===n||n.call(r,this.createExpectedError.apply(this,e))}createError(t){return this.ot(v.apply(null,arguments))}createExpectedError(t){return this.ot(w.apply(null,arguments))}ot(t){return t=m(t),this.B?t.message?-1==t.message.indexOf(this.B)&&(t.message+=this.B):t.message=this.B:d(t.message)&&(t.message=t.message.replace(h,"")),t}nt(t){return n(t[0])?this.rt(t[0]):t}rt(t){var e;const n=t.shift();return null!==(e=this.Z)&&void 0!==e&&e[n]?[this.Z[n]].concat(t):[`More info at ${j(n,t)}`]}assert(t,e,r){return n(e)?this.assert.apply(this,[t].concat(this.rt(e))):p.apply(null,[this.B].concat(Array.prototype.slice.call(arguments)))}assertElement(t,e){return function(t,e,n){return b(t,e,a(e),"Element expected",n)}(this.Y,t,e)}assertString(t,e){return function(t,e,n){return b(t,e,s(e),"String expected",n)}(this.Y,t,e)}assertNumber(t,e){return function(t,e,n){return b(t,e,"number"==typeof e,"Number expected",n)}(this.Y,t,e)}assertArray(t,e){return function(t,e,r){return b(t,e,n(e),"Array expected",r)}(this.Y,t,e)}assertBoolean(t,e){return function(t,e,n){return b(t,e,!!e===e,"Boolean expected",n)}(this.Y,t,e)}},F(),C(),mt=function(t,e){try{let n;if(t)if(void 0!==t.message)t=m(t),n=!0;else{const e=t;(t=new Error(function(t){try{return JSON.stringify(t)}catch(e){return String(t)}}(e))).origError=e}else t=new Error("Unknown error");if(t.reported)return t;if(t.reported=!0,t.messageArray){const e=function(t,e){for(let e=0;e-1&&(t.associatedElement=t.messageArray[e])}const r=e||t.associatedElement;if(r&&r.classList&&r.classList.add("i-amphtml-error"),self.console&&(d(t.message)||!t.expected)){const e=console.error||console.log;t.messageArray?e.apply(console,t.messageArray):r?e.call(console,t.message,r):e.call(console,t.message)}r&&r.dispatchCustomEventForTesting&&r.dispatchCustomEventForTesting("amp:error",t.message),wt.call(self,void 0,void 0,void 0,void 0,t)}catch(t){setTimeout((function(){throw t}))}return t},self.__AMP_REPORT_ERROR=mt;var At="web-worker",gt=e(1.5);function Et(t){gt((()=>function(t){if(M.test(self.location.origin))return;t instanceof Error||(t=new Error(t));const e=self.AMP_CONFIG||{},n=x+"?ww=1&v="+encodeURIComponent(e.v)+"&m="+encodeURIComponent(t.message)+"&ca="+(e.canary?1:0)+"&s="+encodeURIComponent(t.stack||"");fetch(n,{mode:"no-cors"}).catch((t=>{console.error(t)}))}(t.reason)))}var _t=[];self.addEventListener("unhandledrejection",Et),self.addEventListener("error",Et),self.addEventListener("message",(function(t){const e=t,{args:n,id:r,method:s,scope:i}=e.data;let l;"bind.init"===s||_t[i]||(F().error(At,"Missing evaluator for scope: %s",i),_t[i]=new lt(!0));const o=_t[i];switch(s){case"bind.init":const t=n[0];_t[i]=new lt(t),l=!0;break;case"bind.addBindings":l=o.addBindings.apply(o,n);break;case"bind.removeBindingsWithExpressionStrings":l=o.removeBindingsWithExpressionStrings.apply(o,n);break;case"bind.addMacros":l=o.addMacros.apply(o,n);break;case"bind.evaluateBindings":l=o.evaluateBindings.apply(o,n);break;case"bind.evaluateExpression":l=o.evaluateExpression.apply(o,n);break;default:F().error(At,"Unrecognized method: %s",s)}const u={method:s,returnValue:l,id:r};self.postMessage(u)}))})(); /*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ //# sourceMappingURL=ww.mjs.map