;
(self.AMP=self.AMP||[]).push({m:1,v:"2601162341000",n:"amp-animation",ev:"0.1",l:!0,f:function(t,s){(()=>{var s;function e(){return s||(s=Promise.resolve(void 0))}var{isArray:i}=Array;function n(t,s){return s.toUpperCase()}function r(t,s){const e=t.length-s.length;return e>=0&&t.indexOf(s,e)==e}var h,{hasOwnProperty:o,toString:a}=Object.prototype;function c(t){const s=Object.create(null);return t&&Object.assign(s,t),s}function u(t){return"number"==typeof t&&isFinite(t)}function l(t,s,e,i,n,r,h,o,a,c,u){return t}function f(t){return JSON.parse(t)}function _(t){return(t.ownerDocument||t).defaultView}function A(t,s){return t.replace(/^|,/g,`$&${s} `)}function T(t,s){return t.querySelectorAll(A(s,":scope"))}function m(t,s){return t.closest(s)}function E(t){const s=Object.getOwnPropertyDescriptor(t,"message");if(null!=s&&s.writable)return t;const{message:e,stack:i}=t,n=new Error(e);for(const s in t)n[s]=t[s];return n.stack=i,n}function w(t){let s=null,e="";for(const t of arguments)t instanceof Error&&!s?s=E(t):(e&&(e+=" "),e+=t);return s?e&&(s.message=e+": "+s.message):s=new Error(e),s}function d(t,...s){const e=w.apply(null,s);e.name=t||e.name,function(t){var s,e;null===(s=(e=self).__AMP_REPORT_ERROR)||void 0===s||s.call(e,t)}(e)}var p=["Webkit","webkit","Moz","moz","ms","O","o"],v={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function R(t,s,e){if(s.startsWith("--"))return s;h||(h=c());let i=h[s];if(!i||e){if(i=s,void 0===t[s]){const e=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(s),n=function(t,s){for(let e=0;e<p.length;e++){const i=p[e]+s;if(void 0!==t[i])return i}return""}(t,e);void 0!==t[n]&&(i=n)}e||(h[s]=i)}return i}function b(t,s,e,i,n){const r=R(t.style,s,n);if(!r)return;const h=i?e+i:e;t.style.setProperty(function(t){const s=t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()));return p.some((t=>s.startsWith(t+"-")))?`-${s}`:s}(r),h)}function P(t,s){for(const e in s)b(t,e,s[e])}function g(t){return`${t}px`}function S(t){return"display"in t&&d("STYLE","`display` style detected. You must use toggle instead."),t}var M=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function k(t,s=""){try{return decodeURIComponent(t)}catch(t){return s}}function I(t){const s=c();if(!t)return s;let e;for(;e=M.exec(t);){const t=k(e[1],e[1]),i=e[2]?k(e[2].replace(/\+/g," "),e[2]):"";s[t]=i}return s}function y(t){const{location:s}=t||self;return I(s.originalHash||s.hash)}var N="";function x(t){var s;return N||(N=(null===(s=t.AMP_CONFIG)||void 0===s?void 0:s.v)||"012601162341000"),N}function L(t,s){const e=s||y(t);return["1","actions","amp","amp4ads","amp4email"].includes(e.development)||!!t.AMP_DEV_MODE}self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var V=self.__AMP_LOG;function C(t,s){throw new Error("failed to call initLogConstructor")}function O(t){return V.user||(V.user=G()),function(t,s){return s&&s.ownerDocument.defaultView!=t}(V.user.win,t)?V.userForEmbed||(V.userForEmbed=G()):V.user}function G(t){return C()}function F(){return V.dev||(V.dev=C())}function H(t,s,e,i,n,r,h,o,a,c,u){return t}function $(t,s,e,i,n,r,h,o,a,c,u){return O().assert(t,s,e,i,n,r,h,o,a,c,u)}function D(t,s){return z(t=function(t){return t.__AMP_TOP||(t.__AMP_TOP=t)}(t),s)}function U(t,s){return z(function(t){const s=j(t);return s.isSingleDoc()?s.win:s}(j(t)),s)}function j(t){return t.nodeType?(s=_(t),D(s,"ampdoc")).getAmpDoc(t):t;var s}function z(t,s){H(function(t,s){const e=t.__AMP_SERVICES&&t.__AMP_SERVICES[s];return!(!e||!e.ctor)}(t,s));const e=function(t){let s=t.__AMP_SERVICES;return s||(s=t.__AMP_SERVICES={}),s}(t)[s];return e.obj||(H(e.ctor),H(e.context),e.obj=new e.ctor(e.context),H(e.obj),e.context=null,e.resolve&&e.resolve(e.obj)),e.obj}var X,Y=t=>U(t,"owners"),W=new WeakMap;function B(t){if(W.has(t))return W.get(t);const{promise:s,resolve:e}=new class{constructor(){this.promise=new Promise(((t,s)=>{this.resolve=t,this.reject=s}))}};W.set(t,s);const{win:i}=t,n=D(i,"platform");return n.isSafari()&&n.getMajorVersion()<14&&(i.Element.prototype.animate=null),i.Element.prototype.animate?(e(),s):(e((t=>D(t,"extensions"))(i).installExtensionForDoc(t,"amp-animation-polyfill")),s)}var Z="idle",q="running",K="paused",Q="finished",J={"opacity":!0,"transform":!0,"transform-origin":!0,"visibility":!0,"offset-distance":!0,"offsetDistance":!0,"clip-path":!0,"clipPath":!0};function tt(t,s,e){return s in t?Object.defineProperty(t,s,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[s]=e,t}function st(t,s){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);s&&(i=i.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),e.push.apply(e,i)}return e}function et(t){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?st(Object(e),!0).forEach((function(s){tt(t,s,e[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):st(Object(e)).forEach((function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(e,s))}))}return t}var it="__AMP__EXPERIMENT_TOGGLES",nt=/^(data|https)\:/i,rt=2*Math.PI/360,ht=Math.PI/200,ot=/\b(calc|min|max|clamp|var|url|rand|index|width|height|num|length|x|y)\(/i,at=/\d(%|em|rem|vw|vh|vmin|vmax|s|deg|grad)/i,ct=/^(infinity|infinite)$/i,ut=["h","w","h","w"],lt=["w","h"],ft=class{constructor(){}css(){}resolve(t,s){return this.isConst(s)?this:this.calc(t,s)}isConst(t){return!0}calc(t,s){return this}},_t=class extends ft{constructor(t){super(),this.XN=t}css(){return this.XN}},At=class t extends ft{constructor(s,e){super(),this.YN=s instanceof t?s.YN:Array.isArray(s)?s:s?[s]:[],this.QN=e||null}static concat(s,e){let i;return i=s instanceof t?s:new t([s]),e instanceof t?i.YN=i.YN.concat(e.YN):i.YN.push(e),i}css(){return this.YN.map((t=>t.css())).join(" ")}isConst(t){return this.YN.reduce(((s,e)=>s&&e.isConst(t)),!0)}calc(s,e){const i=Ut(s,e,this.YN,this.QN);return i?new t(i):null}},Tt=class extends ft{constructor(t){super(),this.mi=t}css(){return this.mi?`url("${this.mi}")`:""}isConst(){return!this.mi||nt.test(this.mi)}calc(t){const s=t.resolveUrl(this.mi);return new _t(`url("${s}")`)}},mt=class extends ft{constructor(t,s,e){super(),this.lC=t,this.tG=s,this.sG=e.toLowerCase()}css(){return`${this.tG}${this.sG}`}createSameUnits(t){}isConst(t){return!t||this.isNorm()}isNorm(){return!0}norm(t){return this}calc(t,s){return s?this.norm(t):this}calcPercent(t,s){throw new Error("cannot calculate percent for "+this.lC)}},Et=class t extends mt{constructor(t){super("NUM",t,"")}createSameUnits(s){return new t(s)}static num(s){if(s instanceof t)return s.tG;const e=s.css();return ct.test(e)?1/0:void 0}},wt=class t extends mt{constructor(t){super("PRC",t,"%")}createSameUnits(s){return new t(s)}isNorm(){return!1}norm(t){return t.getDimension()?new dt(0,"px").calcPercent(this.tG,t):this}},dt=class t extends mt{constructor(t,s){super("LEN",t,s)}createSameUnits(s){return new t(s,this.sG)}isNorm(){return"px"==this.sG}norm(s){if(this.isNorm())return this;if("em"==this.sG||"rem"==this.sG){const e="em"==this.sG?s.getCurrentFontSize():s.getRootFontSize();return new t(this.tG*e,"px")}if("vw"==this.sG||"vh"==this.sG||"vmin"==this.sG||"vmax"==this.sG){const e=s.getViewportSize(),i=e.width*this.tG/100,n=e.height*this.tG/100;let r=0;return"vw"==this.sG?r=i:"vh"==this.sG?r=n:"vmin"==this.sG?r=Math.min(i,n):"vmax"==this.sG&&(r=Math.max(i,n)),new t(r,"px")}throw Ht(this.sG)}calcPercent(s,e){const i=Dt(e.getDimension(),e.getCurrentElementRect());return new t(i*s/100,"px")}},pt=class t extends mt{constructor(t,s){super("ANG",t,s)}createSameUnits(s){return new t(s,this.sG)}isNorm(){return"rad"==this.sG}norm(){if(this.isNorm())return this;if("deg"==this.sG)return new t(this.tG*rt,"rad");if("grad"==this.sG)return new t(this.tG*ht,"rad");throw Ht(this.sG)}},vt=class t extends mt{constructor(t,s){super("TME",t,s)}createSameUnits(s){return new t(s,this.sG)}isNorm(){return"ms"==this.sG}norm(){return this.isNorm()?this:new t(this.eG(),"ms")}eG(){if("ms"==this.sG)return this.tG;if("s"==this.sG)return 1e3*this.tG;throw Ht(this.sG)}static millis(s){return s instanceof t?s.eG():s instanceof Et?s.tG:void 0}},Rt=class t extends ft{constructor(t,s,e){super(),this.bx=t.toLowerCase(),this.iG=s,this.QN=e||null}css(){const t=this.iG.map((t=>t.css())).join(",");return`${this.bx}(${t})`}isConst(t){return this.iG.reduce(((s,e)=>s&&e.isConst(t)),!0)}calc(s,e){const i=Ut(s,e,this.iG,this.QN);return i?new t(this.bx,i):null}};function bt(t,s){const e=s||ut,i=t instanceof At?t.YN:[t];if(i.length<1||i.length>4)throw new Error("box must have between 1 and 4 components");return e.length>0?new At(1==i.length?[i[0],i[0]]:i,e):new At(i)}function Pt(t,s){const e=bt(t,[]);return s?new At([e,new _t("/"),bt(s,[])]):e}function gt(t,s){const e=bt(t);return new Rt("inset",s?[new At([e,new _t("round"),s])]:[e])}function St(t,s){return Mt(t,s,"circle")}function Mt(t,s,e){const i=e||"ellipse",n=s?function(t){const s=t instanceof At?t.YN:[t];if(1!=s.length&&2!=s.length&&4!=s.length)throw new Error("position is either 1, 2, or 4 components");let e=null;if(1==s.length)e=["w"];else if(2==s.length)e=["w","h"];else{e=["","","",""];for(let t=0;t<s.length;t+=2){const i=s[t].css().toLowerCase(),n="left"==i||"right"==i?"w":"top"==i||"bottom"==i?"h":"";e[t]=e[t+1]=n}}return new At(s,e)}(s):null;return new Rt(i,t||n?t&&n?[new At([t,new _t("at"),n])]:n?[new At([new _t("at"),n])]:[t]:[])}var kt=class extends Rt{constructor(t,s){super(`translate${t.toUpperCase()}`,s,""==t?["w","h"]:"x"==t?["w"]:"y"==t?["h"]:"z"==t?["z"]:"3d"==t?["w","h","z"]:null),this.C=t}},It=class extends ft{constructor(t,s,e){super(),this.nG=t,this.dj=s||null,this.rG=e||null}css(){throw $t()}isConst(){return!1}calc(t){const s=this.dj?t.getElementRect(this.dj,this.rG):t.getCurrentElementRect();return new dt(Dt(this.nG,s),"px")}},yt=class extends ft{constructor(t){super(),this.hG=t}css(){throw $t()}isConst(){return!1}calc(t,s){const e=this.hG.resolve(t,s);if(null==e)return null;let i;return i=e instanceof mt?e.tG:parseFloat(e.css()),null==i||isNaN(i)?null:new Et(i)}},Nt=class extends ft{constructor(t=null,s=null){super(),this.oG=t,this.aG=s}css(){throw $t()}isConst(){return!1}calc(t,s){if(null==this.oG||null==this.aG)return new Et(Math.random());let e=this.oG.resolve(t,s),i=this.aG.resolve(t,s);if(null==e||null==i)return null;if(!(e instanceof mt&&i instanceof mt))throw new Error("left and right must be both numerical");if(e.lC!=i.lC)throw new Error("left and right must be the same type");e.sG!=i.sG&&(e=e.norm(t),i=i.norm(t));const n=Math.min(e.tG,i.tG),r=Math.max(e.tG,i.tG),h=Math.random(),o=n*(1-h)+r*h;return e.createSameUnits(o)}},xt=class extends ft{constructor(){super()}css(){throw $t()}isConst(){return!1}calc(t){return new Et(t.getCurrentIndex())}},Lt=class extends ft{constructor(){super()}css(){throw $t()}isConst(){return!1}calc(t){return new Et(t.getTargetLength())}},Vt=class extends ft{constructor(t,s){super(),this.cG=t,this.uG=s||null}css(){return`var(${this.cG}${this.uG?","+this.uG.css():""})`}isConst(){return!1}calc(t,s){const e=t.getVar(this.cG);return e?e.resolve(t,s):this.uG?this.uG.resolve(t,s):null}},Ct=class extends ft{constructor(t){super(),this.lG=t}css(){return`calc(${this.lG.css()})`}isConst(){return!1}calc(t,s){return this.lG.resolve(t,s)}},Ot=class extends ft{constructor(t,s,e){super(),this.oG=t,this.aG=s,this.fG=e}css(){return`${this.oG.css()} ${this.fG} ${this.aG.css()}`}isConst(){return!1}calc(t,s){let e=this.oG.resolve(t,s),i=this.aG.resolve(t,s);if(null==e||null==i)return null;if(!(e instanceof mt&&i instanceof mt))throw new Error("left and right must be both numerical");if(e.lC!=i.lC)if(e instanceof wt)e=i.calcPercent(e.tG,t);else{if(!(i instanceof wt))throw new Error("left and right must be the same type");i=e.calcPercent(i.tG,t)}e.sG!=i.sG&&(e=e.norm(t),i=i.norm(t));const n="+"==this.fG?1:-1;return e.createSameUnits(e.tG+n*i.tG)}},Gt=class extends ft{constructor(t,s,e){super(),this.oG=t,this.aG=s,this.fG=e}css(){return`${this.oG.css()} ${this.fG} ${this.aG.css()}`}isConst(){return!1}calc(t,s){const e=this.oG.resolve(t,s),i=this.aG.resolve(t,s);if(null==e||null==i)return null;if(!(e instanceof mt&&i instanceof mt))throw new Error("left and right must be both numerical");let n,r;if("*"==this.fG)if(e instanceof Et)r=e.tG,n=i;else{if(!(i instanceof Et))throw new Error("one of sides in multiplication must be a number");r=i.tG,n=e}else{if(!(i instanceof Et))throw new Error("denominator must be a number");n=e,r=1/i.tG}const h=n.tG*r;return isFinite(h)?n.createSameUnits(h):null}},Ft=class extends Rt{constructor(t,s){super(t,s)}isConst(){return!1}calc(t,s){let e=Ut(t,s,this.iG,null);if(!e)return null;let i=null,n=!1,r=!1;e.forEach((t=>{if(!(t instanceof mt))throw new Error("arguments must be numerical");if(t instanceof wt)n=!0;else if(i){if(t.lC!=i.lC)throw new Error("arguments must be the same type");t.sG!=i.sG&&(r=!0)}else i=t})),i&&n&&(r=!0),i&&(r&&(i=i.norm(t)),e=e.map((s=>s==i?s:s instanceof wt?i.calcPercent(s.tG,t):r?s.norm(t):s)));const h=e.map((t=>t.tG));let o;if("min"==this.bx)o=Math.min.apply(null,h);else if("max"==this.bx)o=Math.max.apply(null,h);else{const t=h[0],s=h[1],e=h[2];o=Math.max(t,Math.min(e,s))}return e[0].createSameUnits(o)}};function Ht(t){return new Error("unknown units: "+t)}function $t(){return new Error("no css")}function Dt(t,s){var e;return"w"==t?s.width:"h"==t?s.height:null!==(e=s[t])&&void 0!==e?e:0}function Ut(t,s,e,i){const n=[];for(let r=0;r<e.length;r++){const h=e[r];let o;if(o=i&&r<i.length?t.withDimension(i[r],(()=>h.resolve(t,s))):h.resolve(t,s),!o)return null;n.push(o)}return n}var jt=function(){var t=function(t,s,e,i){for(e=e||{},i=t.length;i--;e[t[i]]=s);return e},s=[1,7],e=[1,8],i=[1,9],n=[1,14],r=[1,15],h=[1,32],o=[1,33],a=[1,34],c=[1,35],u=[1,36],l=[1,37],f=[1,38],_=[1,39],A=[1,40],T=[1,41],m=[1,42],E=[1,43],w=[1,44],d=[1,45],p=[1,46],v=[1,47],R=[1,48],b=[1,49],P=[1,73],g=[1,50],S=[1,53],M=[1,54],k=[1,55],I=[1,56],y=[1,57],N=[1,66],x=[1,67],L=[1,68],V=[1,69],C=[1,58],O=[1,59],G=[1,60],F=[1,61],H=[1,62],$=[1,63],D=[1,64],U=[1,65],j=[1,51],z=[1,52],X=[1,70],Y=[1,71],W=[1,72],B=[5,9,10,11,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,52,53,57,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,82,85,86,87],Z=[5,9,10,11,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,52,53,55,57,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,82,85,86,87,89,90,91],q=[1,80],K=[1,124],Q=[1,123],J=[1,125],tt=[1,126],st=[53,55,57,89,90,91],et=[1,129],it=[53,55],nt=[1,156],rt=[53,55,90,91],ht={trace:function(){},yy:{},dN:{"error":2,"result":3,"value":4,"EOF":5,"literal_or_function":6,"literal":7,"function":8,"STRING":9,"NUMBER":10,"PERCENTAGE":11,"length":12,"angle":13,"time":14,"url":15,"HEXCOLOR":16,"IDENT":17,"LENGTH_PX":18,"LENGTH_EM":19,"LENGTH_REM":20,"LENGTH_VH":21,"LENGTH_VW":22,"LENGTH_VMIN":23,"LENGTH_VMAX":24,"LENGTH_CM":25,"LENGTH_MM":26,"LENGTH_Q":27,"LENGTH_IN":28,"LENGTH_PC":29,"LENGTH_PT":30,"ANGLE_DEG":31,"ANGLE_RAD":32,"ANGLE_GRAD":33,"TIME_MS":34,"TIME_S":35,"var_function":36,"calc_function":37,"translate_function":38,"rect_function":39,"num_function":40,"rand_function":41,"index_function":42,"length_function":43,"inset_function":44,"circle_function":45,"ellipse_function":46,"polygon_function":47,"min_function":48,"max_function":49,"clamp_function":50,"any_function":51,"FUNCTION_START":52,")":53,"args":54,",":55,"border_radius":56,"/":57,"tuples":58,"URL_START":59,"TRANSLATE_START":60,"TRANSLATE_X_START":61,"TRANSLATE_Y_START":62,"TRANSLATE_Z_START":63,"TRANSLATE_3D_START":64,"INSET_START":65,"ROUND":66,"CIRCLE_START":67,"AT":68,"ELLIPSE_START":69,"POLYGON_START":70,"WIDTH_START":71,"HEIGHT_START":72,"X_START":73,"Y_START":74,"CLOSEST_START":75,"NUM_START":76,"RAND_START":77,"INDEX_START":78,"LENGTH_START":79,"VAR_START":80,"VAR_NAME":81,"CALC_START":82,"calc_expr":83,"calc_expr_list":84,"MIN_START":85,"MAX_START":86,"CLAMP_START":87,"(":88,"*":89,"+":90,"-":91,"$accept":0,"$end":1},bN:{2:"error",5:"EOF",9:"STRING",10:"NUMBER",11:"PERCENTAGE",16:"HEXCOLOR",17:"IDENT",18:"LENGTH_PX",19:"LENGTH_EM",20:"LENGTH_REM",21:"LENGTH_VH",22:"LENGTH_VW",23:"LENGTH_VMIN",24:"LENGTH_VMAX",25:"LENGTH_CM",26:"LENGTH_MM",27:"LENGTH_Q",28:"LENGTH_IN",29:"LENGTH_PC",30:"LENGTH_PT",31:"ANGLE_DEG",32:"ANGLE_RAD",33:"ANGLE_GRAD",34:"TIME_MS",35:"TIME_S",52:"FUNCTION_START",53:")",55:",",57:"/",59:"URL_START",60:"TRANSLATE_START",61:"TRANSLATE_X_START",62:"TRANSLATE_Y_START",63:"TRANSLATE_Z_START",64:"TRANSLATE_3D_START",65:"INSET_START",66:"ROUND",67:"CIRCLE_START",68:"AT",69:"ELLIPSE_START",70:"POLYGON_START",71:"WIDTH_START",72:"HEIGHT_START",73:"X_START",74:"Y_START",75:"CLOSEST_START",76:"NUM_START",77:"RAND_START",78:"INDEX_START",79:"LENGTH_START",80:"VAR_START",81:"VAR_NAME",82:"CALC_START",85:"MIN_START",86:"MAX_START",87:"CLAMP_START",88:"(",89:"*",90:"+",91:"-"},vN:[0,[3,2],[3,1],[4,1],[4,2],[6,1],[6,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[13,1],[13,1],[13,1],[14,1],[14,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[51,2],[51,3],[54,1],[54,3],[56,1],[56,3],[58,2],[58,4],[15,3],[38,3],[38,3],[38,3],[38,3],[38,3],[44,5],[44,3],[45,2],[45,4],[45,5],[45,3],[46,2],[46,4],[46,5],[46,3],[47,3],[39,2],[39,2],[39,2],[39,2],[39,3],[39,3],[39,3],[39,3],[39,5],[39,5],[39,5],[39,5],[40,3],[41,2],[41,5],[42,2],[43,2],[36,3],[36,5],[37,3],[84,1],[84,3],[48,3],[49,3],[50,3],[83,1],[83,3],[83,3],[83,3],[83,3],[83,3]],performAction:function(t,s,e,i,n,r,h){var o=r.length-1;switch(n){case 1:return r[o-1];case 2:return null;case 3:case 5:case 6:case 10:case 11:case 12:case 13:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 100:this.$=r[o];break;case 4:this.$=At.concat(r[o-1],r[o]);break;case 7:case 14:case 15:this.$=new _t(r[o]);break;case 8:this.$=new Et(parseFloat(r[o]));break;case 9:this.$=new wt(parseFloat(r[o]));break;case 16:this.$=new dt(parseFloat(r[o]),"px");break;case 17:this.$=new dt(parseFloat(r[o]),"em");break;case 18:this.$=new dt(parseFloat(r[o]),"rem");break;case 19:this.$=new dt(parseFloat(r[o]),"vh");break;case 20:this.$=new dt(parseFloat(r[o]),"vw");break;case 21:this.$=new dt(parseFloat(r[o]),"vmin");break;case 22:this.$=new dt(parseFloat(r[o]),"vmax");break;case 23:this.$=new dt(parseFloat(r[o]),"cm");break;case 24:this.$=new dt(parseFloat(r[o]),"mm");break;case 25:this.$=new dt(parseFloat(r[o]),"q");break;case 26:this.$=new dt(parseFloat(r[o]),"in");break;case 27:this.$=new dt(parseFloat(r[o]),"pc");break;case 28:this.$=new dt(parseFloat(r[o]),"pt");break;case 29:this.$=new pt(parseFloat(r[o]),"deg");break;case 30:this.$=new pt(parseFloat(r[o]),"rad");break;case 31:this.$=new pt(parseFloat(r[o]),"grad");break;case 32:this.$=new vt(parseFloat(r[o]),"ms");break;case 33:this.$=new vt(parseFloat(r[o]),"s");break;case 50:this.$=new Rt(r[o-1].slice(0,-1),[]);break;case 51:this.$=new Rt(r[o-2].slice(0,-1),r[o-1]);break;case 52:case 95:this.$=[r[o]];break;case 53:const t=r[o-2];t.push(r[o]),this.$=t;break;case 54:this.$=Pt(r[o]);break;case 55:this.$=Pt(r[o-2],r[o]);break;case 56:this.$=[At.concat(r[o-1],r[o])];break;case 57:const s=r[o-3];s.push(At.concat(r[o-1],r[o])),this.$=s;break;case 58:this.$=new Tt(r[o-1].slice(1,-1));break;case 59:this.$=new kt("",r[o-1]);break;case 60:this.$=new kt("x",r[o-1]);break;case 61:this.$=new kt("y",r[o-1]);break;case 62:this.$=new kt("z",r[o-1]);break;case 63:this.$=new kt("3d",r[o-1]);break;case 64:this.$=gt(r[o-3],r[o-1]);break;case 65:this.$=gt(r[o-1]);break;case 66:this.$=St();break;case 67:this.$=St(null,r[o-1]);break;case 68:this.$=St(r[o-3],r[o-1]);break;case 69:this.$=St(r[o-1]);break;case 70:this.$=Mt();break;case 71:this.$=Mt(null,r[o-1]);break;case 72:this.$=Mt(r[o-3],r[o-1]);break;case 73:this.$=Mt(r[o-1]);break;case 74:this.$=function(t){const s=t.map((t=>new At(t,lt)));return new Rt("polygon",s)}(r[o-1]);break;case 75:this.$=new It("w");break;case 76:this.$=new It("h");break;case 77:this.$=new It("x");break;case 78:this.$=new It("y");break;case 79:this.$=new It("w",r[o-1].slice(1,-1));break;case 80:this.$=new It("h",r[o-1].slice(1,-1));break;case 81:this.$=new It("x",r[o-1].slice(1,-1));break;case 82:this.$=new It("y",r[o-1].slice(1,-1));break;case 83:this.$=new It("w",r[o-2].slice(1,-1),"closest");break;case 84:this.$=new It("h",r[o-2].slice(1,-1),"closest");break;case 85:this.$=new It("x",r[o-2].slice(1,-1),"closest");break;case 86:this.$=new It("y",r[o-2].slice(1,-1),"closest");break;case 87:this.$=new yt(r[o-1]);break;case 88:this.$=new Nt;break;case 89:this.$=new Nt(r[o-3],r[o-1]);break;case 90:this.$=new xt;break;case 91:this.$=new Lt;break;case 92:this.$=new Vt(r[o-1]);break;case 93:this.$=new Vt(r[o-3],r[o-1]);break;case 94:this.$=new Ct(r[o-1]);break;case 96:const e=r[o-2];e.push(r[o]),this.$=e;break;case 97:this.$=new Ft("min",r[o-1]);break;case 98:this.$=new Ft("max",r[o-1]);break;case 99:this.$=new Ft("clamp",r[o-1]);break;case 101:this.$=r[o-1];break;case 102:this.$=new Gt(r[o-2],r[o],"*");break;case 103:this.$=new Gt(r[o-2],r[o],"/");break;case 104:this.$=new Ot(r[o-2],r[o],"+");break;case 105:this.$=new Ot(r[o-2],r[o],"-")}},table:[{3:1,4:2,5:[1,3],6:4,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{1:[3]},{5:[1,74],6:75,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{1:[2,2]},t(B,[2,3]),t(Z,[2,5]),t(Z,[2,6]),t(Z,[2,7]),t(Z,[2,8]),t(Z,[2,9]),t(Z,[2,10]),t(Z,[2,11]),t(Z,[2,12]),t(Z,[2,13]),t(Z,[2,14]),t(Z,[2,15]),t(Z,[2,34]),t(Z,[2,35]),t(Z,[2,36]),t(Z,[2,37]),t(Z,[2,38]),t(Z,[2,39]),t(Z,[2,40]),t(Z,[2,41]),t(Z,[2,42]),t(Z,[2,43]),t(Z,[2,44]),t(Z,[2,45]),t(Z,[2,46]),t(Z,[2,47]),t(Z,[2,48]),t(Z,[2,49]),t(Z,[2,16]),t(Z,[2,17]),t(Z,[2,18]),t(Z,[2,19]),t(Z,[2,20]),t(Z,[2,21]),t(Z,[2,22]),t(Z,[2,23]),t(Z,[2,24]),t(Z,[2,25]),t(Z,[2,26]),t(Z,[2,27]),t(Z,[2,28]),t(Z,[2,29]),t(Z,[2,30]),t(Z,[2,31]),t(Z,[2,32]),t(Z,[2,33]),{9:[1,76]},{81:[1,77]},{6:79,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,83:78,85:X,86:Y,87:W,88:q},{6:82,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,54:81,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{6:82,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,54:83,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{6:82,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,54:84,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{6:82,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,54:85,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{6:82,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,54:86,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{9:[1,88],53:[1,87],75:[1,89]},{9:[1,91],53:[1,90],75:[1,92]},{9:[1,94],53:[1,93],75:[1,95]},{9:[1,97],53:[1,96],75:[1,98]},{6:99,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{6:101,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[1,100],59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{53:[1,102]},{53:[1,103]},{4:104,6:4,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{6:107,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[1,105],59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,68:[1,106],69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{4:110,6:4,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[1,108],59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,68:[1,109],69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{6:112,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,58:111,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{6:79,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,83:114,84:113,85:X,86:Y,87:W,88:q},{6:79,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,83:114,84:115,85:X,86:Y,87:W,88:q},{6:79,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,83:114,84:116,85:X,86:Y,87:W,88:q},{6:82,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[1,117],54:118,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{1:[2,1]},t(B,[2,4]),{53:[1,119]},{53:[1,120],55:[1,121]},{53:[1,122],57:K,89:Q,90:J,91:tt},t(st,[2,100]),{6:79,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,83:127,85:X,86:Y,87:W,88:q},{53:[1,128],55:et},t(it,[2,52]),{53:[1,130],55:et},{53:[1,131],55:et},{53:[1,132],55:et},{53:[1,133],55:et},t(Z,[2,75]),{53:[1,134]},{9:[1,135]},t(Z,[2,76]),{53:[1,136]},{9:[1,137]},t(Z,[2,77]),{53:[1,138]},{9:[1,139]},t(Z,[2,78]),{53:[1,140]},{9:[1,141]},{53:[1,142]},t(Z,[2,88]),{55:[1,143]},t(Z,[2,90]),t(Z,[2,91]),{6:75,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[1,145],59:g,60:S,61:M,62:k,63:I,64:y,65:N,66:[1,144],67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},t(Z,[2,66]),{4:146,6:4,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{53:[1,148],68:[1,147]},t(Z,[2,70]),{4:149,6:4,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{6:75,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[1,151],59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,68:[1,150],69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{53:[1,152],55:[1,153]},{6:154,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{53:[1,155],55:nt},t(it,[2,95],{57:K,89:Q,90:J,91:tt}),{53:[1,157],55:nt},{53:[1,158],55:nt},t(Z,[2,50]),{53:[1,159],55:et},t(Z,[2,58]),t(Z,[2,92]),{6:160,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},t(Z,[2,94]),{6:79,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,83:161,85:X,86:Y,87:W,88:q},{6:79,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,83:162,85:X,86:Y,87:W,88:q},{6:79,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,83:163,85:X,86:Y,87:W,88:q},{6:79,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,83:164,85:X,86:Y,87:W,88:q},{53:[1,165],57:K,89:Q,90:J,91:tt},t(Z,[2,59]),{6:166,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},t(Z,[2,60]),t(Z,[2,61]),t(Z,[2,62]),t(Z,[2,63]),t(Z,[2,79]),{53:[1,167]},t(Z,[2,80]),{53:[1,168]},t(Z,[2,81]),{53:[1,169]},t(Z,[2,82]),{53:[1,170]},t(Z,[2,87]),{6:171,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{4:173,6:4,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,56:172,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},t(Z,[2,65]),{6:75,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[1,174],59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{4:175,6:4,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},t(Z,[2,69]),{6:75,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[1,176],59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{4:177,6:4,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},t(Z,[2,73]),t(Z,[2,74]),{6:178,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},t(it,[2,56]),t(Z,[2,97]),{6:79,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,83:179,85:X,86:Y,87:W,88:q},t(Z,[2,98]),t(Z,[2,99]),t(Z,[2,51]),{53:[1,180]},t(st,[2,102]),t(st,[2,103]),t(rt,[2,104],{57:K,89:Q}),t(rt,[2,105],{57:K,89:Q}),t(st,[2,101]),t(it,[2,53]),{53:[1,181]},{53:[1,182]},{53:[1,183]},{53:[1,184]},{53:[1,185]},{53:[1,186]},{6:75,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[2,54],57:[1,187],59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},t(Z,[2,67]),{6:75,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[1,188],59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},t(Z,[2,71]),{6:75,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[1,189],59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},{6:190,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},t(it,[2,96],{57:K,89:Q,90:J,91:tt}),t(Z,[2,93]),t(Z,[2,83]),t(Z,[2,84]),t(Z,[2,85]),t(Z,[2,86]),t(Z,[2,89]),t(Z,[2,64]),{4:191,6:4,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W},t(Z,[2,68]),t(Z,[2,72]),t(it,[2,57]),{6:75,7:5,8:6,9:s,10:e,11:i,12:10,13:11,14:12,15:13,16:n,17:r,18:h,19:o,20:a,21:c,22:u,23:l,24:f,25:_,26:A,27:T,28:m,29:E,30:w,31:d,32:p,33:v,34:R,35:b,36:16,37:17,38:18,39:19,40:20,41:21,42:22,43:23,44:24,45:25,46:26,47:27,48:28,49:29,50:30,51:31,52:P,53:[2,55],59:g,60:S,61:M,62:k,63:I,64:y,65:N,67:x,69:L,70:V,71:C,72:O,73:G,74:F,76:H,77:$,78:D,79:U,80:j,82:z,85:X,86:Y,87:W}],defaultActions:{3:[2,2],74:[2,1]},parseError:function(t,s){if(!s.recoverable){var e=new Error(t);throw e.hash=s,e}this.trace(t)},parse:function(t){var s=this,e=[0],i=[null],n=[],r=this.table,h="",o=0,a=0,c=0,u=2,l=1,f=n.slice.call(arguments,1),_=Object.create(this.lexer),A={yy:{}};for(var T in this.yy)Object.prototype.hasOwnProperty.call(this.yy,T)&&(A.yy[T]=this.yy[T]);_.setInput(t,A.yy),A.yy.lexer=_,A.yy.parser=this,void 0===_.yylloc&&(_.yylloc={});var m=_.yylloc;n.push(m);var E=_.options&&_.options.ranges;"function"==typeof A.yy.parseError?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var w,d,p,v,R,b,P,g,S,M=function(){var t;return"number"!=typeof(t=_.lex()||l)&&(t=s.dN[t]||t),t},k={};;){if(p=e[e.length-1],this.defaultActions[p]?v=this.defaultActions[p]:(null==w&&(w=M()),v=r[p]&&r[p][w]),void 0===v||!v.length||!v[0]){var I="";for(b in S=[],r[p])this.bN[b]&&b>u&&S.push("'"+this.bN[b]+"'");I=_.showPosition?"Parse error on line "+(o+1)+":\n"+_.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.bN[w]||w)+"'":"Parse error on line "+(o+1)+": Unexpected "+(w==l?"end of input":"'"+(this.bN[w]||w)+"'"),this.parseError(I,{text:_.match,token:this.bN[w]||w,line:_.yylineno,loc:m,expected:S})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+p+", token: "+w);switch(v[0]){case 1:e.push(w),i.push(_.yytext),n.push(_.yylloc),e.push(v[1]),w=null,d?(w=d,d=null):(a=_.yyleng,h=_.yytext,o=_.yylineno,m=_.yylloc,c>0&&c--);break;case 2:if(P=this.vN[v[1]][1],k.$=i[i.length-P],k._$={first_line:n[n.length-(P||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(P||1)].first_column,last_column:n[n.length-1].last_column},E&&(k._$.range=[n[n.length-(P||1)].range[0],n[n.length-1].range[1]]),void 0!==(R=this.performAction.apply(k,[h,a,o,A.yy,v[1],i,n].concat(f))))return R;P&&(e=e.slice(0,-1*P*2),i=i.slice(0,-1*P),n=n.slice(0,-1*P)),e.push(this.vN[v[1]][0]),i.push(k.$),n.push(k._$),g=r[e[e.length-2]][e[e.length-1]],e.push(g);break;case 3:return!0}}return!0}},ot=function(){return{EOF:1,parseError:function(t,s){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,s)},setInput:function(t,s){return this.yy=s||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 s=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var i=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),e.length-1&&(this.yylineno-=e.length-1);var n=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:e?(e.length===i.length?this.yylloc.first_column:0)+i[i.length-e.length].length-e[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-s]),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(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+s+"^"},test_match:function(t,s){var e,i,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.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],e=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,s,e,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if((e=this._input.match(this.rules[n[r]]))&&(!s||e[0].length>s[0].length)){if(s=e,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,n[r])))return t;if(this._backtrack){s=!1;continue}return!1}if(!this.options.flex)break}return s?!1!==(t=this.test_match(s,n[i]))&&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,s,e,i){switch(e){case 0:break;case 1:return 18;case 2:return 19;case 3:return 20;case 4:return 21;case 5:return 22;case 6:return 23;case 7:return 24;case 8:return 25;case 9:return 26;case 10:return 27;case 11:return 28;case 12:return 29;case 13:return 30;case 14:return 31;case 15:return 32;case 16:return 33;case 17:return 34;case 18:return 35;case 19:return 11;case 20:return 10;case 21:return 16;case 22:return 68;case 23:return 66;case 24:return 59;case 25:return 82;case 26:return 85;case 27:return 86;case 28:return 87;case 29:return 80;case 30:return 60;case 31:return 61;case 32:return 62;case 33:return 63;case 34:return 64;case 35:return 77;case 36:return 78;case 37:return 79;case 38:return 71;case 39:return 72;case 40:return 75;case 41:return 76;case 42:return 65;case 43:return 67;case 44:return 69;case 45:return 70;case 46:return 73;case 47:return 74;case 48:return 52;case 49:return 17;case 50:return 81;case 51:return 9;case 52:return 90;case 53:return 91;case 54:return 89;case 55:return 57;case 56:return 88;case 57:return 53;case 58:return 55;case 59:return"INVALID";case 60:return 5}},rules:[/^(?:\s+)/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Pp])([Xx]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Ee])([Mm]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Rr])([Ee])([Mm]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Vv])([Hh]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Vv])([Ww]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Vv])([Mm])([Ii])([Nn]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Vv])([Mm])([Aa])([Xx]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Cc])([Mm]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Mm])([Mm]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Qq]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Ii])([Nn]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Pp])([Cc]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Pp])([Tt]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Dd])([Ee])([Gg]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Rr])([Aa])([Dd]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Gg])([Rr])([Aa])([Dd]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Mm])([Ss]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)([Ss]))/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)%)/,/^(?:([+-]?[0-9]+(\.[0-9]+)?([eE][+\-]?[0-9]+)?|[+-]?\.[0-9]+([eE][+\-]?[0-9]+)?)\b)/,/^(?:#([a-fA-F0-9]+))/,/^(?:([Aa])([Tt]))/,/^(?:([Rr])([Oo])([Uu])([Nn])([Dd]))/,/^(?:([Uu])([Rr])([Ll])\()/,/^(?:([Cc])([Aa])([Ll])([Cc])\()/,/^(?:([Mm])([Ii])([Nn])\()/,/^(?:([Mm])([Aa])([Xx])\()/,/^(?:([Cc])([Ll])([Aa])([Mm])([Pp])\()/,/^(?:([Vv])([Aa])([Rr])\()/,/^(?:([Tt])([Rr])([Aa])([Nn])([Ss])([Ll])([Aa])([Tt])([Ee])\()/,/^(?:([Tt])([Rr])([Aa])([Nn])([Ss])([Ll])([Aa])([Tt])([Ee])([Xx])\()/,/^(?:([Tt])([Rr])([Aa])([Nn])([Ss])([Ll])([Aa])([Tt])([Ee])([Yy])\()/,/^(?:([Tt])([Rr])([Aa])([Nn])([Ss])([Ll])([Aa])([Tt])([Ee])([Zz])\()/,/^(?:([Tt])([Rr])([Aa])([Nn])([Ss])([Ll])([Aa])([Tt])([Ee])3([Dd])\()/,/^(?:([Rr])([Aa])([Nn])([Dd])\()/,/^(?:([Ii])([Nn])([Dd])([Ee])([Xx])\()/,/^(?:([Ll])([Ee])([Nn])([Gg])([Tt])([Hh])\()/,/^(?:([Ww])([Ii])([Dd])([Tt])([Hh])\()/,/^(?:([Hh])([Ee])([Ii])([Gg])([Hh])([Tt])\()/,/^(?:([Cc])([Ll])([Oo])([Ss])([Ee])([Ss])([Tt])\()/,/^(?:([Nn])([Uu])([Mm])\()/,/^(?:([Ii])([Nn])([Ss])([Ee])([Tt])\()/,/^(?:([Cc])([Ii])([Rr])([Cc])([Ll])([Ee])\()/,/^(?:([Ee])([Ll])([Ll])([Ii])([Pp])([Ss])([Ee])\()/,/^(?:([Pp])([Oo])([Ll])([Yy])([Gg])([Oo])([Nn])\()/,/^(?:([Xx])\()/,/^(?:([Yy])\()/,/^(?:(-?[a-zA-Z_][\-a-zA-Z0-9_]*)\()/,/^(?:(-?[a-zA-Z_][\-a-zA-Z0-9_]*))/,/^(?:--(-?[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,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60],"inclusive":!0}}}}();function at(){this.yy={}}return ht.lexer=ot,at.prototype=ht,ht.Parser=at,new at}(),zt=jt;function Xt(t,s,e){if(!s.cssRules)return null;const i=s.ownerNode;return i&&(i.hasAttribute("amp-custom")||i.hasAttribute("amp-keyframes"))?Yt(t,s.cssRules,e):null}function Yt(t,s,e){for(let i=s.length-1;i>=0;i--){const n=s[i];if(7==n.type){const s=n;if(n.name==e&&Wt(t,n))return Bt(s)}else if(4==n.type||12==n.type){const s=Yt(t,n.cssRules,e);if(s)return s}}return null}function Wt(t,s){return!(s.media&&s.media.mediaText&&!t.matchMedia(s.media.mediaText).matches)&&!!(12!=s.type||t.CSS&&t.CSS.supports&&t.CSS.supports(s.conditionText))&&(!s.parentRule||Wt(t,s.parentRule))}function Bt(t){const s=[];for(let e=0;e<t.cssRules.length;e++){const i=t.cssRules[e],n={};n.offset="from"==i.keyText?0:"to"==i.keyText?1:parseFloat(i.keyText)/100;const{style:h}=i;for(let t=0;t<h.length;t++){const s=h[t];let e=s;r(s,"animation-timing-function")&&(e="easing"),n[e]=h[s]}s.push(n)}return s}var Zt=class{constructor(t){this._G=t}getPlayState(){}onPlayStateChanged(t){}init(){}start(){}pause(){}resume(){}reverse(){}seekTo(t){}seekToPercent(t){}finish(t=!1){}cancel(){}};function qt(t){let s=0;for(let e=0;e<t.length;e++){const{timing:i}=t[e];$(isFinite(i.iterations),'Animation has infinite timeline, we can not seek to a relative position within an infinite timeline. Use "time" for seekTo or remove infinite iterations');const n=i.iterations-i.iterationStart,r=i.duration*n+i.delay+i.endDelay;r>s&&(s=r)}return s}var Kt,Qt,Jt=class extends Zt{constructor(t){super(t),this.AG=null,this.TG=0,this.mG=Z,this.EG=new class{constructor(){this.ut=null}add(t){return this.ut||(this.ut=[]),this.ut.push(t),()=>{this.remove(t)}}remove(t){this.ut&&function(t,s){const e=t.indexOf(s);-1!=e&&t.splice(e,1)}(this.ut,t)}removeAll(){this.ut&&(this.ut.length=0)}fire(t){if(this.ut)for(const s of this.ut.slice())s(t)}getHandlerCount(){var t,s;return null!==(t=null===(s=this.ut)||void 0===s?void 0:s.length)&&void 0!==t?t:0}}}getPlayState(){return this.mG}onPlayStateChanged(t){return this.EG.add(t)}init(){H(!this.AG),this.AG=this._G.map((t=>{t.vars&&P(t.target,S(t.vars));const s=t.target.animate(t.keyframes,t.timing);return s.pause(),s})),this.TG=this.AG.length,this.AG.forEach((t=>{t.onfinish=()=>{this.TG--,0==this.TG&&this.wG(Q)}}))}start(){this.AG||this.init(),this.resume()}pause(){H(this.AG),this.wG(K),this.AG.forEach((t=>{t.playState==q&&t.pause()}))}resume(){H(this.AG);const t=this.mG;t!=q&&(this.wG(q),this.TG=0,this.AG.forEach((s=>{t==K&&s.playState!=K&&"pending"!=s.playState||(s.play(),this.TG++)})))}reverse(){H(this.AG),this.AG.forEach((t=>{t.reverse()}))}seekTo(t){this.AG&&(this.wG(K),this.AG.forEach((s=>{s.pause(),s.currentTime=t})))}seekToPercent(t){H(t>=0&&t<=1);const s=this.dG()*t;this.seekTo(s)}finish(t=!1){if(!this.AG)return;const s=this.AG;this.AG=null,this.wG(Q),s.forEach((s=>{if(t)try{s.finish()}catch(t){s.pause()}else s.finish()}))}cancel(){this.AG&&(this.wG(Z),this.AG.forEach((t=>{t.cancel()})))}wG(t){this.mG!=t&&(this.mG=t,this.EG.fire(this.mG))}dG(){return qt(this._G)}},ts="amp-animation-worklet",ss=class extends Zt{constructor(t,s,e){super(s),this.i=t,this.AG=[],this.pG=e["start-scroll-offset"],this.vG=e["end-scroll-offset"],this.bG=e["initial-inview-percent"]}init(){const{documentElement:t}=this.i.document,s=(r=t,U(r,"viewport")).getScrollingElement(),e=qt(this._G),i=(1-this.bG)*e,n=this.bG*e;var r;this._G.map((t=>{t.vars&&P(t.target,S(t.vars)),function(t){if(Kt)return Kt;const s=`registerAnimator('${ts}', class {\n    constructor(options = {\n      'current-element-offset': 0\n    }) {\n      console/*OK*/.info('Using animationWorklet ScrollTimeline');\n      this.initialElementOffset_ = options['initial-element-offset'];\n    }\n    animate(currentTime, effect) {\n      if (currentTime == NaN) {\n        return;\n      }\n      effect.localTime = currentTime + this.initialElementOffset_;\n    }\n  });\n  `;return Kt=t.CSS.animationWorklet.addModule(URL.createObjectURL(new Blob([s],{type:"text/javascript"})))}(this.i).then((()=>{const e=new this.i.ScrollTimeline({scrollSource:s,orientation:"block",startScrollOffset:`${g(this.pG)}`,endScrollOffset:`${g(this.vG)}`,timeRange:i,fill:"both"}),r=new KeyframeEffect(t.target,t.keyframes,t.timing),h=new this.i.WorkletAnimation(`${ts}`,[r],e,{"initial-element-offset":n});h.play(),this.AG.push(h)}),(t=>{F().error("AMP-ANIMATION",t)}))}))}start(){this.AG||this.init()}cancel(){this.AG&&this.AG.forEach((t=>{t.cancel()}))}},es=t=>"string"==typeof t?function(t,s){return Qt||(Qt=self.document.createElement("a")),function(t,s,e){return t.href="",new URL(s,t.href)}(Qt,t)}(t):t,is=0,ns={"offset":!0,"easing":!0},rs={"clip-path":"-webkit-clip-path","clipPath":"-webkit-clip-path"},hs=class{constructor(t,s,e,i,n,r={}){this.i=t,this.XN=new as(t,s,e,r),this.Xr=i,this.PG=n,this.Ki=[],this.gG=[]}createRunner(t,s,e=null){return this.resolveRequests([],t,s).then((t=>Promise.all(this.gG).then((()=>this.SG()&&e?new ss(this.i,t,e):new Jt(t)))))}resolveRequests(t,s,e,i=null,n=null,r=null,h=null){const o=this.MG(t,i,n,r,h);return this.Xr.measurePromise((()=>o.resolveRequests(s,e)))}requireLayout(t){this.Ki.includes(t)||(this.Ki.push(t),this.gG.push(this.PG.requireLayout(t)))}MG(t,s,e,i,n){return new os(this,this.XN,t,s,e,i,n)}SG(){return function(t,s){const e=function(t){var s,e,n,r,h;if(t[it])return t[it];t[it]=c();const o=t[it];l(o);const a=et(et({},null!==(s=t.AMP_CONFIG)&&void 0!==s?s:{}),null!==(e=t.AMP_EXP)&&void 0!==e?e:f((null===(n=t.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(const t in a){const s=a[t];"number"==typeof s&&s>=0&&s<=1&&(o[t]=Math.random()<s)}const u=null===(r=t.AMP_CONFIG)||void 0===r?void 0:r["allow-doc-opt-in"];if(i(u)&&u.length){const s=t.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(s){var _;const t=(null===(_=s.getAttribute("content"))||void 0===_?void 0:_.split(","))||[];for(const s of t)u.includes(s)&&(o[s]=!0)}}Object.assign(o,function(t){var s;let e="";try{var i;"localStorage"in t&&(e=null!==(i=t.localStorage.getItem("amp-experiment-toggles"))&&void 0!==i?i:"")}catch(t){}const n=(null===(s=e)||void 0===s?void 0:s.split(/\s*,\s*/g))||[],r=c();for(const t of n)t&&("-"==t[0]?r[t.substr(1)]=!1:r[t]=!0);return r}(t));const A=null===(h=t.AMP_CONFIG)||void 0===h?void 0:h["allow-url-opt-in"];if(i(A)&&A.length){const s=I(t.location.originalHash||t.location.hash);for(const t of A){const e=s[`e-${t}`];"1"==e&&(o[t]=!0),"0"==e&&(o[t]=!1)}}return o}(t);return!!e["chrome-animation-worklet"]}(this.i)&&"animationWorklet"in CSS&&"inabox"!=function(t){const s=t||self;return s.__AMP_MODE?s.__AMP_MODE:s.__AMP_MODE=function(t){return{localDev:!1,development:L(t,y(t)),esm:!0,test:!1,rtvVersion:x(t),ssrReady:!1}}(s)}(this.i).runtime&&!((t=this.i.document.documentElement).classList.contains("i-amphtml-fie")||m(t,".i-amphtml-fie"));var t}},os=class extends class{scan(t){return i(t)?t.reduce(((t,s)=>this.scan(s)||t),!1):!!this.isEnabled(t)&&(t.animations?this.onMultiAnimation(t):t.switch?this.onSwitchAnimation(t):t.animation?this.onCompAnimation(t):t.keyframes?this.onKeyframeAnimation(t):this.onUnknownAnimation(t),!0)}isEnabled(t){return!0}onMultiAnimation(t){}onSwitchAnimation(t){}onCompAnimation(t){}onKeyframeAnimation(t){}onUnknownAnimation(t){throw F().createError('unknown animation type: must have "animations" or "keyframes" field')}}{constructor(t,s,e,i,n,r,h){super(),this.kG=t,this.XN=s,this.IG=e,this.o=i,this.gn=n,this.yG=r||c(),this.NG=h||{duration:0,delay:0,endDelay:0,iterations:1,iterationStart:0,easing:"linear",direction:"normal",fill:"none"},this._G=[],this.yL=[]}resolveRequests(t,s){return s?this.xG(s,(()=>{this.scan(t)})):this.XN.withVars(this.yG,(()=>{this.scan(t)})),Promise.all(this.yL).then((()=>this._G))}isEnabled(t){return!(t.media&&!this.XN.matchMedia(t.media)||t.supports&&!this.XN.supports(t.supports))}onMultiAnimation(t){this.xG(t,(()=>this.scan(t.animations)))}onSwitchAnimation(t){this.xG(t,(()=>{for(let s=0;s<t.switch.length;s++){const e=t.switch[s];if(this.scan(e))break}}))}onCompAnimation(t){$(-1==this.IG.indexOf(t.animation),`Recursive animations are not allowed: "${t.animation}"`);const s=this.IG.concat(t.animation),e=O().assertElement(this.XN.getElementById(t.animation),`Animation not found: "${t.animation}"`);$("AMP-ANIMATION"==e.tagName,`Element is not an animation: "${t.animation}"`);const i=e.getImpl().then((t=>t.getAnimationSpec()));this.xG(t,(()=>{const{gn:t,o:e,NG:n,yG:r}=this,h=i.then((i=>{if(i)return this.kG.resolveRequests(s,i,null,e,t,r,n)})).then((t=>{t.forEach((t=>this._G.push(t)))}));this.yL.push(h)}))}onKeyframeAnimation(t){this.xG(t,(()=>{const s=O().assertElement(this.o,"No target specified"),e=this.LG(s,t);this._G.push({target:s,keyframes:e,vars:this.yG,timing:this.NG})}))}LG(t,s){let e=s.keyframes;if("string"==typeof e){const t=function(t,s){const{styleSheets:e}=t;if(!e)return null;const i=_(t);for(let t=e.length-1;t>=0;t--){const n=Xt(i,e[t],s);if(n)return n}return null}(this.XN.rootNode,e);$(t,`Keyframes not found in stylesheet: "${e}"`),e=t}if(n=e,"[object Object]"===a.call(n)){const s=e,n={};for(const e in s){this.VG(e);const r=s[e];let h;if(ns[e])h=r;else if(i(r)&&1!=r.length)h=r.map((t=>this.XN.resolveCss(t)));else{const s=this.XN.measure(t,e),n=i(r)?r[0]:r;h=[s,this.XN.resolveCss(n)]}n[e]=h,e in rs&&(n[rs[e]]=h)}return n}var n;if(i(e)&&e.length>0){const s=e,i=[],n=1==s.length||s[0].offset>0,r=n?c():this.XN.resolveCssMap(s[0]);i.push(r);for(let e=n?0:1;e<s.length;e++){const n=s[e];for(const s in n)ns[s]||(this.VG(s),r[s]||(r[s]=this.XN.measure(t,s)));i.push(this.XN.resolveCssMap(n))}for(let t=0;t<i.length;t++){const s=i[t];for(const t in rs)t in s&&(s[rs[t]]=s[t])}return i}throw O().createError("keyframes not found",e)}onUnknownAnimation(){throw O().createError('unknown animation type: must have "animation", "animations" or "keyframes" field')}VG(t){ns[t]||$(function(t){return J[t]||!1}(t),"Property is not allowlisted for animation: %s",t)}xG(t,s){const{gn:e,o:i,NG:n,yG:r}=this,h=t.target||t.selector?this.CG(t):[null];this.XN.setTargetLength(h.length),h.forEach(((h,o)=>{this.o=h||i,this.gn=h?o:e,this.XN.withTarget(this.o,this.gn,(()=>{const e=this.o?this.OG(this.o,this.gn||0,t):t;this.yG=this.GG(e,r),this.XN.withVars(this.yG,(()=>{this.NG=this.FG(e,n),s()}))}))})),this.o=i,this.gn=e,this.yG=r,this.NG=n}CG(t){let s;return t.selector?($(!t.target,'Both "selector" and "target" are not allowed'),s=this.XN.queryElements(t.selector),s.length):t.target?("string"==typeof t.target&&O().error("amp-animation","string targets are deprecated"),s=[O().assertElement("string"==typeof t.target?this.XN.getElementById(t.target):t.target,`Target not found: "${t.target}"`)]):this.o&&(s=[this.o]),s.forEach((t=>this.kG.requireLayout(t))),s}OG(t,s,e){if(!e.subtargets||0==e.subtargets.length)return e;const i=c(e);return e.subtargets.forEach((e=>{this.HG(e)(t,s)&&Object.assign(i,e)})),i}HG(t){if(t.matcher)return t.matcher;let s;if($(!(void 0===t.index&&void 0===t.selector||void 0!==t.index&&void 0!==t.selector),'Only one "index" or "selector" must be specified'),void 0!==t.index){const e=Number(t.index);s=(t,s)=>s===e}else{const e=t.selector;s=t=>{try{return s=e,t.matches(s)}catch(t){throw O().createError(`Bad subtarget selector: "${e}"`,t)}var s}}return t.matcher=s}GG(t,s){const e=c(s);for(const s in t)s.startsWith("--")&&(e[s]=t[s]);return this.XN.withVars(e,(()=>{for(const s in t)s.startsWith("--")&&(e[s]=this.XN.resolveCss(t[s]))})),e}FG(t,s){const e=this.XN.resolveMillis(t.duration,s.duration),i=this.XN.resolveMillis(t.delay,s.delay),n=this.XN.resolveMillis(t.endDelay,s.endDelay),r=this.XN.resolveNumber(t.iterations,s.iterations),h=this.XN.resolveNumber(t.iterationStart,s.iterationStart),o=this.XN.resolveIdent(t.easing,s.easing),a=this.XN.resolveIdent(t.direction,s.direction),c=this.XN.resolveIdent(t.fill,s.fill);var u;return this.$G(e,t.duration,"duration"),this.$G(i,t.delay,"delay",!0),this.$G(n,t.endDelay,"endDelay"),$(null!=r&&r>=0,'"iterations" is invalid: %s',t.iterations),$(null!=h&&h>=0&&isFinite(h),'"iterationStart" is invalid: %s',t.iterationStart),$("normal"===(u=a)||"reverse"===u||"alternate"===u||"alternate-reverse"===u,`Unknown direction: ${a}`),$((t=>"none"===t||"forwards"===t||"backwards"===t||"both"===t||"auto"===t)(c),`Unknown fill: ${c}`),{duration:e,delay:i,endDelay:n,iterations:r,iterationStart:h,easing:o,direction:a,fill:c}}$G(t,s,e,i){$(null!=t&&(t>=0||t<0&&i),'"%s" is invalid: %s',e,s),null!=s&&Math.floor(t)}},as=class{constructor(t,s,e,i){const{scaleByScope:n=!1,scope:r=null}=i;this.i=t,this.la=s,this.DG=r,this.UG=n,this.Cg=e,this.jG=c(),this.zG=c(),this.XG=null,this.YG=null,this.WG=null,this.yG=null,this.BG=[],this.ZG=null,this.qG=null}get rootNode(){return this.la}matchMedia(t){return this.i.matchMedia(t).matches}supports(t){return!(!this.i.CSS||!this.i.CSS.supports)&&this.i.CSS.supports(t)}getElementById(t){return this.KG(`#${s=t,CSS.escape(s)}`);var s}queryElements(t){try{return(s=this.QG(t))?Array.prototype.slice.call(s):[]}catch(s){throw O().createError(`Bad query selector: "${t}"`,s)}var s}measure(t,s){let e=t.__AMP_ANIM_ID;e||(e=String(++is),t.__AMP_ANIM_ID=e);let i=this.jG[e];var r,h;return i||(r=t,i=this.i.getComputedStyle(r)||v,this.jG[e]=i),s.startsWith("--")?i.getPropertyValue(s):i[R(i,(h=s,h.replace(/-([a-z])/g,n)))]}setTargetLength(t){this.XG=t}withTarget(t,s,e){const{WG:i,YG:n}=this;this.YG=t,this.WG=s;const r=e(t);return this.YG=n,this.WG=i,r}withVars(t,s){const e=this.yG;this.yG=t;const i=s();return this.yG=e,i}resolveCss(t){return this.JG(t,"",!0)}resolveCssMap(t){const s=c();for(const e in t)s[e]="offset"==e?t[e]:this.resolveCss(t[e]);return s}resolveIdent(t,s){return this.JG(t,s,!1)}resolveMillis(t,s){if(null!=t&&""!==t){if("number"==typeof t)return t;const s=this.TF(t,!1);if(s)return vt.millis(s)}return s}resolveNumber(t,s){if(null!=t&&""!==t){if("number"==typeof t)return t;const s=this.TF(t,!1);if(s)return Et.num(s)}return s}JG(t,s,e){if(null==t||""===t)return s;const i=String(t);if("number"==typeof t)return i;if(!function(t,s){return ot.test(t)||s&&at.test(t)}(i,e))return i;const n=this.TF(i,e);return null!=n?n.css():s}TF(t,s){if(null==t||""===t)return null;if("number"==typeof t)return new Et(t);const e=String(t);let i=this.zG[e];var n;return void 0===i&&(n=e,i=zt.parse(n),this.zG[e]=i),i?i.resolve(this,s):null}RF(){return O().assertElement(this.YG,"Only allowed when target is specified")}getVar(t){$(-1==this.BG.indexOf(t),`Recursive variable: "${t}"`),this.BG.push(t);const s=this.yG&&null!=this.yG[t]?this.yG[t]:this.YG?this.measure(this.YG,t):null,e=this.TF(s,!1);return this.BG.pop(),e}withDimension(t,s){const e=this.ZG;this.ZG=t;const i=s();return this.ZG=e,i}getDimension(){return this.ZG}getViewportSize(){return this.SF().size}SF(){if(!this.qG)if(this.DG&&this.UG){const t=this.DG.getBoundingClientRect(),{offsetHeight:s,offsetWidth:e}=this.DG;this.qG={offset:{x:t.x,y:t.y},size:{width:e,height:s},scaleFactorX:e/(t.width||1),scaleFactorY:s/(t.height||1)}}else{const{innerHeight:t,innerWidth:s}=this.i;this.qG={offset:{x:0,y:0},size:{width:s,height:t},scaleFactorX:1,scaleFactorY:1}}return this.qG}getCurrentIndex(){return this.RF(),this.WG}getTargetLength(){return this.RF(),this.XG}getCurrentFontSize(){return this.IF(this.RF())}getRootFontSize(){return this.IF(this.i.document.documentElement)}IF(t){return parseFloat(this.measure(t,"font-size"))}getCurrentElementRect(){return this.NF(this.RF())}getElementRect(t,s){return this.NF(this.LF(t,s))}LF(t,s){let e;H(null==s||"closest"==s);try{if("closest"==s){const s=m(this.RF(),t);!s||this.DG&&!this.DG.contains(s)||(e=s)}else e=this.KG(t)}catch(s){throw O().createError(`Bad query selector: "${t}"`,s)}return O().assertElement(e,`Element not found: ${t}`)}NF(t){const{offset:s,scaleFactorX:e,scaleFactorY:i}=this.SF(),{height:n,width:r,x:h,y:o}=t.getBoundingClientRect();return function(t,s,e,i){return{left:t,top:s,width:e,height:i,bottom:s+i,right:t+e,x:t,y:s}}((h-s.x)*e,(o-s.y)*i,r*e,n*i)}resolveUrl(t){return function(t,s,e="source"){var i;return $(null!=t,"%s %s must be available",s,e),$("https:"==(i=es(i=t)).protocol||"localhost"==i.hostname||"127.0.0.1"==i.hostname||r(i.hostname,".localhost")||/^\/\//.test(t),'%s %s must start with "https://" or "//" or be relative and served from either https or from localhost. Invalid value: %s',s,e,t),t}((s=t,e=this.Cg,e=es(e),new URL(s,e.href).toString()),this.YG||"");var s,e}KG(t){return this.DG?function(t,s){return t.querySelector(A(s,":scope"))}(this.DG,t):this.la.querySelector(t)}QG(t){return this.DG?T(this.DG,t):this.la.querySelectorAll(t)}},cs=class extends t.BaseElement{constructor(t){super(t),this.VF=!1,this.GF=!1,this.Bh=!1,this.HF=!1,this.$F=!1,this.UF=[],this.jF=null,this.DT=null,this.NT=null,this.zF=null}buildCallback(){const t=this.getAmpDoc(),s=this.element.getAttribute("trigger");s&&(this.VF=$("visibility"==s,'Only allowed value for "trigger" is "visibility": %s',this.element)),this.jF=function(t){const s=(i=t,l(/^[\w-]+$/.test("script")),T(i,"> script")),{length:e}=s;var i;if(1!==e)throw new Error(`Found ${e} <script> children. Expected 1.`);const n=s[0];if(!function(t){var s;return"SCRIPT"==t.tagName&&"APPLICATION/JSON"==(null===(s=t.getAttribute("type"))||void 0===s?void 0:s.toUpperCase())}(n))throw new Error('<script> child must have type="application/json"');try{var r;return f(null!==(r=n.textContent)&&void 0!==r?r:"")}catch(t){throw new Error("Failed to parse <script> contents. Is it valid JSON?")}}(this.element),this.VF&&this.mutateElement((()=>{var t,s;P(this.element,{visibility:"hidden",top:"0px",left:"0px",width:"1px",height:"1px",position:"fixed"}),t=this.element,void 0===(s=!0)&&(s=t.hasAttribute("hidden")),s?t.removeAttribute("hidden"):t.setAttribute("hidden",""),function(t,s){const{style:e}=t;l(!0),l(!e.display),e.display="block"}(this.element)})),this.zF=new class{constructor(t,s,e){this.ln=z(t,"timer"),this.cn=s,this.an=e||0,this.dn=-1,this.fn=0,this.pn=!1,this.mn=()=>{this._n()}}isPending(){return-1!=this.dn}schedule(t){let s=t||this.an;this.pn&&s<10&&(s=10);const e=Date.now()+s;return(!this.isPending()||e-this.fn<-10)&&(this.cancel(),this.fn=e,this.dn=this.ln.delay(this.mn,s),!0)}_n(){this.dn=-1,this.fn=0,this.pn=!0,this.cn(),this.pn=!1}cancel(){this.isPending()&&(this.ln.cancel(this.dn),this.dn=-1)}}(this.win,(()=>{this.HF||this.XF()}),50),this.UF.push(t.onVisibilityChanged((()=>{this.YF(this.GF&&t.isVisible())})));const e=new t.win.IntersectionObserver((s=>{const{isIntersecting:e}=s[s.length-1];this.GF=e,this.YF(this.GF&&t.isVisible())}),{threshold:.001});e.observe(this.element.parentElement),this.UF.push((()=>e.disconnect())),this.UF.push(function(t,s,e,i){let n=t,r=e,h=t=>{try{return r(t)}catch(t){var s,e;throw null===(s=(e=self).__AMP_REPORT_ERROR)||void 0===s||s.call(e,t),t}};const o=function(){if(void 0!==X)return X;X=!1;try{const t={get capture(){return X=!0,!1}};self.addEventListener("test-options",null,t),self.removeEventListener("test-options",null,t)}catch(t){}return X}();return n.addEventListener(s,h,!!o&&i),()=>{null==n||n.removeEventListener(s,h,!!o&&i),r=null,n=null,h=null}}(this.win,"resize",(()=>this.OV()),void 0)),this.registerDefaultAction(this.WF.bind(this),"start",1),this.registerAction("restart",this.ZF.bind(this),1),this.registerAction("pause",this.qF.bind(this),1),this.registerAction("resume",this.KF.bind(this),1),this.registerAction("togglePause",this.QF.bind(this),1),this.registerAction("seekTo",this.JF.bind(this),1),this.registerAction("reverse",this.tH.bind(this),1),this.registerAction("finish",this.sH.bind(this),1),this.registerAction("cancel",this.eH.bind(this),1)}detachedCallback(){const t=this.UF.slice(0);this.UF.length=0,t.forEach((t=>t()))}getAnimationSpec(){return this.jF}layoutCallback(){return this.VF&&this.WF(),e()}pauseCallback(){this.YF(!1)}WF(t){return this.$F=!0,this.Bh?this.XF(t?t.args:null):e()}ZF(t){return this.iH(),this.$F=!0,this.Bh?this.XF(t.args):e()}qF(){return this.$F?this.nH().then((()=>{this.Wv(),this.HF=!0})):e()}KF(){return this.$F?this.nH().then((()=>{this.Bh&&(this.DT.resume(),this.HF=!1)})):e()}QF(){return this.$F?this.nH().then((()=>{if(this.Bh){if(this.DT.getPlayState()==K)return this.XF();this.Wv(),this.HF=!0}})):e()}JF(t){let s=null;if(t.event){const e=t.event.detail;e&&(s=e.positionObserverData||null)}return this.nH(null,s).then((()=>{this.$F=!0,this.Wv(),this.HF=!0;const s=parseFloat(t.args&&t.args.time);u(s)&&this.DT.seekTo(s);const e=parseFloat(t.args&&t.args.percent);var i;u(e)&&this.DT.seekToPercent((i=e,l(!0),Math.min(Math.max(i,0),1)))}))}tH(){return this.$F?this.nH().then((()=>{this.Bh&&this.DT.reverse()})):e()}sH(){return this.rH(),e()}eH(){return this.iH(),e()}YF(t){this.Bh!=t&&(this.Bh=t,this.$F&&(this.Bh?this.HF||this.XF():this.Wv()))}OV(){const{HF:t,$F:s}=this;this.DT&&(this.DT.cancel(),this.DT=null,this.NT=null),this.$F=s,this.HF=t,this.$F&&this.Bh&&this.zF.schedule()}XF(t){return this.$F&&this.Bh?(this.HF=!1,this.DT?(this.DT.resume(),null):this.nH(t).then((()=>{this.DT.start()}))):null}nH(t,s){return this.NT||(this.NT=this.nx(t,s).then((t=>{this.DT=t,this.DT.onPlayStateChanged(this.hH.bind(this)),this.DT.init()}))),this.NT}rH(){this.$F=!1,this.HF=!1,this.DT&&(this.DT.finish(),this.DT=null,this.NT=null)}iH(){this.$F=!1,this.HF=!1,this.DT&&(this.DT.cancel(),this.DT=null,this.NT=null)}nx(t,s){const e=this.jF,i=t||null,n=this.getAmpDoc(),r=B(n),h=n.whenReady(),o=this.win,a=n.getUrl();return Promise.all([r,h]).then((()=>new hs(o,this.oH(),a,this.getVsync(),Y(this.element.getAmpDoc())).createRunner(e,i,s)))}oH(){return this.getAmpDoc().getRootNode()}Wv(){this.DT&&this.DT.pause()}hH(t){t==Q&&this.rH()}};t.registerElement("amp-animation",cs),t.registerServiceForDoc("web-animation",class{constructor(t){this.zi=t,this.Xr=D(t.win,"vsync"),this.PG=Y(t)}createBuilder(t){return B(this.zi).then((()=>new hs(this.zi.win,this.zi.getRootNode(),this.zi.getUrl(),this.Xr,this.PG,t)))}})})();
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */}});
//# sourceMappingURL=amp-animation-0.1.mjs.map