All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dom-snapshot.dist.processPageCjs.js Maven / Gradle / Ivy

/* @applitools/[email protected] */
"use strict";var e=function(){const e=function(e){return function(){function t(e,t=0){const n=e.charCodeAt(t);return n>=55296&&n<56320?1024*(n-55296)+(e.charCodeAt(t+1)-56320)+65536:56320<=n&&n<=57343?-1:n}var n=function(e,n){const r=[];let a=0;for(let i=0;i0&&(s=o<128?1:o<2048?2:o<65536?3:o<2097152?4:o<67108864?5:6),a+s>n?(r.push(i),a=s):a+=s}return r};const r="SUCCESS",a="SUCCESS_CHUNKED",i="ERROR";var o=function(e,t,o={}){const s=function(e,{chunkByteLength:t=0}={}){if(e){if(e.value){if(t){if(!e.chunks){const r=JSON.stringify(e.value);e.chunks=n(r,t),e.chunks.length>0&&(e.from=0,e.value=r)}if(e.from>=0)return{status:a,value:e.value.substring(e.from,e.from=e.chunks.shift()),done:!e.from}}return{status:r,value:e.value}}return e.error?{status:i,error:e.error}:{status:"WIP"}}return{status:i,error:"unexpected poll request received - cannot find state of current operation"}}((e=e||{})[t],o);return(s.status===r||s.status===i||s.status===a&&s.done)&&(e[t]=null),s},s={chunkify:n,pollify:function(e,t,n){return r=>function(){return t[n]||(t[n]={},e.apply(null,arguments).then(e=>t[n].value=e).catch(e=>t[n].error=e.message)),o(t,n,r)}},poll:o,absolutizeUrl:function(e,t){return new URL(e,t).href},isInlineFrame:function(e){return e.contentDocument&&e.contentDocument.location&&!/^https?:$/.test(e.contentDocument.location.protocol)},isAccessibleFrame:function(e){try{const t=e.contentDocument;return Boolean(t&&t.defaultView&&t.defaultView.frameElement)}catch(e){return!1}}},l=function(e){const t=new URL(e);return t.username="",t.password="",t.href},c=function(){return window.crypto.getRandomValues(new Uint32Array(1))[0]};function u(e){return{prev:null,next:null,data:e}}function h(e,t,n){var r;return null!==p?(r=p,p=p.cursor,r.prev=t,r.next=n,r.cursor=e.cursor):r={prev:t,next:n,cursor:e.cursor},e.cursor=r,r}function d(e){var t=e.cursor;e.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=p,p=t}var p=null,f=function(){this.cursor=null,this.head=null,this.tail=null};f.createItem=u,f.prototype.createItem=u,f.prototype.updateCursors=function(e,t,n,r){for(var a=this.cursor;null!==a;)a.prev===e&&(a.prev=t),a.next===n&&(a.next=r),a=a.cursor},f.prototype.getSize=function(){for(var e=0,t=this.head;t;)e++,t=t.next;return e},f.prototype.fromArray=function(e){var t=null;this.head=null;for(var n=0;n100&&(c=i-60+3,i=58);for(var u=o;u<=s;u++)u>=0&&u0&&r[u].length>c?"…":"")+r[u].substr(c,98)+(r[u].length>c+100-1?"…":""));return[n(o,a),new Array(i+l+2).join("-")+"^",n(a,s)].filter(Boolean).join("\n")}var y=function(e,t,n,r,a){var i=g("SyntaxError",e);return i.source=t,i.offset=n,i.line=r,i.column=a,i.sourceFragment=function(e){return b(i,isNaN(e)?0:e)},Object.defineProperty(i,"formattedMessage",{get:function(){return"Parse error: "+i.message+"\n"+b(i,2)}}),i.parseError={offset:n,line:r,column:a},i},k={EOF:0,Ident:1,Function:2,AtKeyword:3,Hash:4,String:5,BadString:6,Url:7,BadUrl:8,Delim:9,Number:10,Percentage:11,Dimension:12,WhiteSpace:13,CDO:14,CDC:15,Colon:16,Semicolon:17,Comma:18,LeftSquareBracket:19,RightSquareBracket:20,LeftParenthesis:21,RightParenthesis:22,LeftCurlyBracket:23,RightCurlyBracket:24,Comment:25},v=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),w={TYPE:k,NAME:v};function x(e){return e>=48&&e<=57}function _(e){return e>=65&&e<=90}function S(e){return e>=97&&e<=122}function C(e){return _(e)||S(e)}function z(e){return e>=128}function A(e){return C(e)||z(e)||95===e}function T(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function E(e){return 10===e||13===e||12===e}function P(e){return E(e)||32===e||9===e}function L(e,t){return 92===e&&!E(t)&&0!==t}var O=new Array(128);D.Eof=128,D.WhiteSpace=130,D.Digit=131,D.NameStart=132,D.NonPrintable=133;for(var R=0;R=65&&e<=70||e>=97&&e<=102},isUppercaseLetter:_,isLowercaseLetter:S,isLetter:C,isNonAscii:z,isNameStart:A,isName:function(e){return A(e)||x(e)||45===e},isNonPrintable:T,isNewline:E,isWhiteSpace:P,isValidEscape:L,isIdentifierStart:function(e,t,n){return 45===e?A(t)||45===t||L(t,n):!!A(e)||92===e&&L(e,t)},isNumberStart:function(e,t,n){return 43===e||45===e?x(t)?2:46===t&&x(n)?3:0:46===e?x(t)?2:0:x(e)?1:0},isBOM:function(e){return 65279===e||65534===e?1:0},charCodeCategory:D},B=N.isDigit,I=N.isHexDigit,U=N.isUppercaseLetter,j=N.isName,M=N.isWhiteSpace,F=N.isValidEscape;function W(e,t){return te.length)return!1;for(var a=t;a=0&&M(e.charCodeAt(t));t--);return t+1},findWhiteSpaceEnd:function(e,t){for(;t>24:X},lookupOffset:function(e){return(e+=this.tokenIndex)0?e>24,this.source,a)){case 1:break e;case 2:r++;break e;default:a=16777215&this.offsetAndType[r],this.balance[n]===r&&(r=n)}return r-this.tokenIndex},isBalanceEdge:function(e){return this.balance[this.tokenIndex]>24===Q;e++,t++);t>0&&this.skip(t)},skipSC:function(){for(;this.tokenType===Q||this.tokenType===J;)this.next()},skip:function(e){var t=this.tokenIndex+e;t>24,this.tokenEnd=16777215&t):(this.tokenIndex=this.tokenCount,this.next())},next:function(){var e=this.tokenIndex+1;e>24,this.tokenEnd=16777215&e):(this.tokenIndex=this.tokenCount,this.eof=!0,this.tokenType=X,this.tokenStart=this.tokenEnd=this.source.length)},dump:function(){var e=this.firstCharOffset;return Array.prototype.slice.call(this.offsetAndType,0,this.tokenCount).map((function(t,n){var r=e,a=16777215&t;return e=a,{idx:n,type:K[t>>24],chunk:this.source.substring(r,a),balance:this.balance[n]}}),this)}};var te=ee;function ne(e){return e}var re=function(e,t){var n=ne,r=!1,a=!1;return"function"==typeof t?n=t:t&&(r=Boolean(t.forceBraces),a=Boolean(t.compact),"function"==typeof t.decorate&&(n=t.decorate)),function e(t,n,r,a){var i,o;switch(t.type){case"Group":i=function(t,n,r,a){var i=" "===t.combinator||a?t.combinator:" "+t.combinator+" ",o=t.terms.map((function(t){return e(t,n,r,a)})).join(i);return(t.explicit||r)&&(o=(a||","===o[0]?"[":"[ ")+o+(a?"]":" ]")),o}(t,n,r,a)+(t.disallowEmpty?"!":"");break;case"Multiplier":return e(t.term,n,r,a)+n(0===(o=t).min&&0===o.max?"*":0===o.min&&1===o.max?"?":1===o.min&&0===o.max?o.comma?"#":"+":1===o.min&&1===o.max?"":(o.comma?"#":"")+(o.min===o.max?"{"+o.min+"}":"{"+o.min+","+(0!==o.max?o.max:"")+"}"),t);case"Type":i="<"+t.name+(t.opts?n(function(e){switch(e.type){case"Range":return" ["+(null===e.min?"-∞":e.min)+","+(null===e.max?"∞":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}(t.opts),t.opts):"")+">";break;case"Property":i="<'"+t.name+"'>";break;case"Keyword":i=t.name;break;case"AtKeyword":i="@"+t.name;break;case"Function":i=t.name+"(";break;case"String":case"Token":i=t.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+t.type+"`")}return n(i,t)}(e,n,r,a)};function ae(e,t){var n=e&&e.loc&&e.loc[t];return n?{offset:n.offset,line:n.line,column:n.column}:null}var ie=Object.prototype.hasOwnProperty,oe=Object.create(null),se=Object.create(null);function le(e,t){return t=t||0,e.length-t>=2&&45===e.charCodeAt(t)&&45===e.charCodeAt(t+1)}function ce(e,t){if(t=t||0,e.length-t>=3&&45===e.charCodeAt(t)&&45!==e.charCodeAt(t+1)){var n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}var ue={keyword:function(e){if(ie.call(oe,e))return oe[e];var t=e.toLowerCase();if(ie.call(oe,t))return oe[e]=oe[t];var n=le(t,0),r=n?"":ce(t,0);return oe[e]=Object.freeze({basename:t.substr(r.length),name:t,vendor:r,prefix:r,custom:n})},property:function(e){if(ie.call(se,e))return se[e];var t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");var r=le(t,n.length);if(!r&&(t=t.toLowerCase(),ie.call(se,t)))return se[e]=se[t];var a=r?"":ce(t,n.length),i=t.substr(0,n.length+a.length);return se[e]=Object.freeze({basename:t.substr(i.length),name:t.substr(n.length),hack:n,vendor:a,prefix:i,custom:r})},isCustomProperty:le,vendorPrefix:ce},he="undefined"!=typeof Uint32Array?Uint32Array:Array,de=function(e,t){return null===e||e.length=e.length?void(h>24,l[c]=f,l[f++]=c;f0?6:0;if(!qe(i))return 0;if(++a>6)return 0}return a}function Je(e,t,n){if(!e)return 0;for(;Ge(n(t),63);){if(++e>6)return 0;t++}return t}var et=Ee.isIdentifierStart,tt=Ee.isHexDigit,nt=Ee.isDigit,rt=Ee.cmpStr,at=Ee.consumeNumber,it=Ee.TYPE,ot=["unset","initial","inherit"],st=["calc(","-moz-calc(","-webkit-calc("];function lt(e,t){return te.max)return!0}return!1}function pt(e,t){var n=e.index,r=0;do{if(r++,e.balance<=n)break}while(e=t(r));return r}function ft(e){return function(t,n,r){return null===t?0:t.type===it.Function&&ut(t.value,st)?pt(t,n):e(t,n,r)}}function mt(e){return function(t){return null===t||t.type!==e?0:1}}function gt(e){return function(t,n,r){if(null===t||t.type!==it.Dimension)return 0;var a=at(t.value,0);if(null!==e){var i=t.value.indexOf("\\",a),o=-1!==i&&ht(t.value,i)?t.value.substring(a,i):t.value.substr(a);if(!1===e.hasOwnProperty(o.toLowerCase()))return 0}return dt(r,t.value,a)?0:1}}function bt(e){return"function"!=typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&t.type===it.Number&&0===Number(t.value)?1:e(t,n,r)}}var yt={"ident-token":mt(it.Ident),"function-token":mt(it.Function),"at-keyword-token":mt(it.AtKeyword),"hash-token":mt(it.Hash),"string-token":mt(it.String),"bad-string-token":mt(it.BadString),"url-token":mt(it.Url),"bad-url-token":mt(it.BadUrl),"delim-token":mt(it.Delim),"number-token":mt(it.Number),"percentage-token":mt(it.Percentage),"dimension-token":mt(it.Dimension),"whitespace-token":mt(it.WhiteSpace),"CDO-token":mt(it.CDO),"CDC-token":mt(it.CDC),"colon-token":mt(it.Colon),"semicolon-token":mt(it.Semicolon),"comma-token":mt(it.Comma),"[-token":mt(it.LeftSquareBracket),"]-token":mt(it.RightSquareBracket),"(-token":mt(it.LeftParenthesis),")-token":mt(it.RightParenthesis),"{-token":mt(it.LeftCurlyBracket),"}-token":mt(it.RightCurlyBracket),string:mt(it.String),ident:mt(it.Ident),"custom-ident":function(e){if(null===e||e.type!==it.Ident)return 0;var t=e.value.toLowerCase();return ut(t,ot)||ct(t,"default")?0:1},"custom-property-name":function(e){return null===e||e.type!==it.Ident||45!==lt(e.value,0)||45!==lt(e.value,1)?0:1},"hex-color":function(e){if(null===e||e.type!==it.Hash)return 0;var t=e.value.length;if(4!==t&&5!==t&&7!==t&&9!==t)return 0;for(var n=1;ne.index||e.balancee.index||e.balance=128||0===xt[n])break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function zt(e){for(var t=e.pos;t57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function At(e){var t=e.str.indexOf("'",e.pos+1);return-1===t&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function Tt(e){var t,n=null;return e.eat(123),t=zt(e),44===e.charCode()?(e.pos++,125!==e.charCode()&&(n=zt(e))):n=t,e.eat(125),{min:Number(t),max:n?Number(n):0}}function Et(e,t){var n=function(e){var t=null,n=!1;switch(e.charCode()){case 42:e.pos++,t={min:0,max:0};break;case 43:e.pos++,t={min:1,max:0};break;case 63:e.pos++,t={min:0,max:1};break;case 35:e.pos++,n=!0,t=123===e.charCode()?Tt(e):{min:1,max:0};break;case 123:t=Tt(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}(e);return null!==n?(n.term=t,n):t}function Pt(e){var t=e.peek();return""===t?null:{type:"Token",value:t}}function Lt(e,t){function n(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}for(t=Object.keys(t).sort((function(e,t){return _t[e]-_t[t]}));t.length>0;){for(var r=t.shift(),a=0,i=0;a1&&(e.splice(i,a-i,n(e.slice(i,a),r)),a=i+1),i=-1))}-1!==i&&t.length&&e.splice(i,a-i,n(e.slice(i,a),r))}return r}function Ot(e){for(var t,n=[],r={},a=null,i=e.pos;t=Rt(e);)"Spaces"!==t.type&&("Combinator"===t.type?(null!==a&&"Combinator"!==a.type||(e.pos=i,e.error("Unexpected combinator")),r[t.value]=!0):null!==a&&"Combinator"!==a.type&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(t),a=t,i=e.pos);return null!==a&&"Combinator"===a.type&&(e.pos-=i,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:Lt(n,r)||" ",disallowEmpty:!1,explicit:!1}}function Rt(e){var t=e.charCode();if(t<128&&1===xt[t])return function(e){var t;return t=Ct(e),40===e.charCode()?(e.pos++,{type:"Function",name:t}):Et(e,{type:"Keyword",name:t})}(e);switch(t){case 93:break;case 91:return Et(e,function(e){var t;return e.eat(91),t=Ot(e),e.eat(93),t.explicit=!0,33===e.charCode()&&(e.pos++,t.disallowEmpty=!0),t}(e));case 60:return 39===e.nextCharCode()?function(e){var t;return e.eat(60),e.eat(39),t=Ct(e),e.eat(39),e.eat(62),Et(e,{type:"Property",name:t})}(e):function(e){var t,n=null;return e.eat(60),t=Ct(e),40===e.charCode()&&41===e.nextCharCode()&&(e.pos+=2,t+="()"),91===e.charCodeAt(e.findWsEnd(e.pos))&&(St(e),n=function(e){var t=null,n=null,r=1;return e.eat(91),45===e.charCode()&&(e.peek(),r=-1),-1==r&&8734===e.charCode()?e.peek():t=r*Number(zt(e)),St(e),e.eat(44),St(e),8734===e.charCode()?e.peek():(r=1,45===e.charCode()&&(e.peek(),r=-1),n=r*Number(zt(e))),e.eat(93),null===t&&null===n?null:{type:"Range",min:t,max:n}}(e)),e.eat(62),Et(e,{type:"Type",name:t,opts:n})}(e);case 124:return{type:"Combinator",value:e.substringToPos(124===e.nextCharCode()?e.pos+2:e.pos+1)};case 38:return e.pos++,e.eat(38),{type:"Combinator",value:"&&"};case 44:return e.pos++,{type:"Comma"};case 39:return Et(e,{type:"String",value:At(e)});case 32:case 9:case 10:case 13:case 12:return{type:"Spaces",value:St(e)};case 64:return(t=e.nextCharCode())<128&&1===xt[t]?(e.pos++,{type:"AtKeyword",name:Ct(e)}):Pt(e);case 42:case 43:case 63:case 35:case 33:break;case 123:if((t=e.nextCharCode())<48||t>57)return Pt(e);break;default:return Pt(e)}}function Dt(e){var t=new wt(e),n=Ot(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type&&(n=n.terms[0]),n}Dt("[a&&#|<'c'>*||e() f{2} /,(% g#{1,2} h{2,})]!");var Nt=Dt,Bt=function(){};function It(e){return"function"==typeof e?e:Bt}var Ut=function(e,t,n){var r=Bt,a=Bt;if("function"==typeof t?r=t:t&&(r=It(t.enter),a=It(t.leave)),r===Bt&&a===Bt)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function e(t){switch(r.call(n,t),t.type){case"Group":t.terms.forEach(e);break;case"Multiplier":e(t.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+t.type)}a.call(n,t)}(e)},jt=new te,Mt={decorator:function(e){var t=null,n={len:0,node:null},r=[n],a="";return{children:e.children,node:function(n){var r=t;t=n,e.node.call(this,n),t=r},chunk:function(e){a+=e,n.node!==t?r.push({len:e.length,node:t}):n.len+=e.length},result:function(){return Ft(a,r)}}}};function Ft(e,t){var n=[],r=0,a=0,i=t?t[a].node:null;for(Ee(e,jt);!jt.eof;){if(t)for(;a2&&40===e.charCodeAt(e.length-2)&&41===e.charCodeAt(e.length-1)}function Vt(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&Zt(e.name)}function $t(e){if("function"==typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":var t=function e(t,n,r){switch(t){case" ":for(var a=Wt,i=n.length-1;i>=0;i--)a=Ht(l=n[i],a,qt);return a;case"|":a=qt;var o=null;for(i=n.length-1;i>=0;i--){if(Vt(l=n[i])&&(null===o&&i>0&&Vt(n[i-1])&&(a=Ht({type:"Enum",map:o=Object.create(null)},Wt,a)),null!==o)){var s=(Zt(l.name)?l.name.slice(0,-1):l.name).toLowerCase();if(s in o==0){o[s]=l;continue}}o=null,a=Ht(l,Wt,a)}return a;case"&&":if(n.length>5)return{type:"MatchOnce",terms:n,all:!0};for(a=qt,i=n.length-1;i>=0;i--){var l=n[i];c=n.length>1?e(t,n.filter((function(e){return e!==l})),!1):Wt,a=Ht(l,c,a)}return a;case"||":if(n.length>5)return{type:"MatchOnce",terms:n,all:!1};for(a=r?Wt:qt,i=n.length-1;i>=0;i--){var c;l=n[i],c=n.length>1?e(t,n.filter((function(e){return e!==l})),!0):Wt,a=Ht(l,c,a)}return a}}(e.combinator,e.terms.map($t),!1);return e.disallowEmpty&&(t=Ht(t,Yt,qt)),t;case"Multiplier":return function(e){var t=Wt,n=$t(e.term);if(0===e.max)n=Ht(n,Yt,qt),(t=Ht(n,null,qt)).then=Ht(Wt,Wt,t),e.comma&&(t.then.else=Ht({type:"Comma",syntax:e},t,qt));else for(var r=e.min||1;r<=e.max;r++)e.comma&&t!==Wt&&(t=Ht({type:"Comma",syntax:e},t,qt)),t=Ht(n,Ht(Wt,Wt,t),qt);if(0===e.min)t=Ht(Wt,Wt,t);else for(r=0;r=65&&r<=90&&(r|=32),r!==t.charCodeAt(n))return!1}return!0}function an(e){return null===e||e.type===nn.Comma||e.type===nn.Function||e.type===nn.LeftParenthesis||e.type===nn.LeftSquareBracket||e.type===nn.LeftCurlyBracket||e.type===nn.Delim}function on(e){return null===e||e.type===nn.RightParenthesis||e.type===nn.RightSquareBracket||e.type===nn.RightCurlyBracket||e.type===nn.Delim}function sn(e){function t(e){return null!==e&&("Type"===e.type||"Property"===e.type||"Keyword"===e.type)}var n=null;return null!==this.matched&&function r(a){if(Array.isArray(a.match)){for(var i=0;i=0}function pn(e){return Boolean(e)&&dn(e.offset)&&dn(e.line)&&dn(e.column)}function fn(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(var a in n){var i=!0;if(!1!==hn.call(n,a)){if("type"===a)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if("loc"===a){if(null===n.loc)continue;if(n.loc&&n.loc.constructor===Object)if("string"!=typeof n.loc.source)a+=".source";else if(pn(n.loc.start)){if(pn(n.loc.end))continue;a+=".end"}else a+=".start";i=!1}else if(t.hasOwnProperty(a)){var o=0;for(i=!1;!i&&o");else{if(!Array.isArray(c))throw new Error("Wrong value `"+c+"` in `"+e+"."+i+"` structure definition");o.push("List")}}a[i]=o.join(" | ")}return{docs:a,check:fn(e,r)}}var gn=function(e,t){var n=g("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},bn=function(e,t,n,r){var a=g("SyntaxMatchError",e),i=function(e){for(var t=e.tokens,n=e.longestMatch,r=n1}}(r),o=i.mismatchOffset||0,s=i.node||n,l=ae(s,"end"),c=i.last?l:ae(s,"start"),u=i.css;return a.rawMessage=e,a.syntax=t?re(t):"",a.css=u,a.mismatchOffset=o,a.loc={source:s&&s.loc&&s.loc.source||"",start:c,end:l},a.line=c?c.line:void 0,a.column=c?c.column:void 0,a.offset=c?c.offset:void 0,a.message=e+"\n  syntax: "+a.syntax+"\n   value: "+(a.css||"")+"\n  --------"+new Array(a.mismatchOffset+1).join("-")+"^",a},yn=function(e,t){return"string"==typeof e&&(e=Nt(e)),{type:"MatchGraph",match:$t(e),syntax:t||null,source:e}},kn=function(e,t,n){var r=function(e,t,n){function r(){do{b++,g=by&&(y=b)}function c(){k=2===k.type?k.prev:{type:3,syntax:u.syntax,token:k.token,prev:k},u=u.prev}var u=null,h=null,d=null,p=null,f=0,m=null,g=null,b=-1,y=0,k={type:0,syntax:null,token:null,prev:null};for(r();null===m&&++f<15e3;)switch(t.type){case"Match":if(null===h){if(null!==g&&(b!==e.length-1||"\\0"!==g.value&&"\\9"!==g.value)){t=en;break}m="Match";break}if((t=h.nextState)===tn){if(h.matchStack===k){t=en;break}t=Jt}for(;h.syntaxStack!==u;)c();h=h.prev;break;case"Mismatch":if(null!==p&&!1!==p)(null===d||b>d.tokenIndex)&&(d=p,p=!1);else if(null===d){m="Mismatch";break}t=d.nextState,h=d.thenStack,u=d.syntaxStack,k=d.matchStack,b=d.tokenIndex,g=bb){for(;b<_;)l();t=Jt}else t=en;break;case"Type":case"Property":var S="Type"===t.type?"types":"properties",C=Qt.call(n,S)?n[S][t.name]:null;if(!C||!C.match)throw new Error("Bad syntax reference: "+("Type"===t.type?"<"+t.name+">":"<'"+t.name+"'>"));if(!1!==p&&null!==g&&"Type"===t.type&&("custom-ident"===t.name&&g.type===nn.Ident||"length"===t.name&&"0"===g.value)){null===p&&(p=i(t,d)),t=en;break}u={syntax:t.syntax,opts:t.syntax.opts||null!==u&&u.opts||null,prev:u},k={type:2,syntax:t.syntax,token:k.token,prev:k},t=C.match;break;case"Keyword":var z=t.name;if(null!==g){var A=g.value;if(-1!==A.indexOf("\\")&&(A=A.replace(/\\[09].*$/,"")),rn(A,z)){l(),t=Jt;break}}t=en;break;case"AtKeyword":case"Function":if(null!==g&&rn(g.value,t.name)){l(),t=Jt;break}t=en;break;case"Token":if(null!==g&&g.value===t.value){l(),t=Jt;break}t=en;break;case"Comma":null!==g&&g.type===nn.Comma?an(k.token)?t=en:(l(),t=on(g)?en:Jt):t=an(k.token)||on(g)?Jt:en;break;case"String":var T="";for(_=b;_");function xn(e,t,n){var r={};for(var a in e)e[a].syntax&&(r[a]=n?e[a].syntax:re(e[a].syntax,{compact:t}));return r}function _n(e,t,n){return{matched:e,iterations:n,error:t,getTrace:cn.getTrace,isType:cn.isType,isProperty:cn.isProperty,isKeyword:cn.isKeyword}}function Sn(e,t,n,r){var a,i=function(e,t){return"string"==typeof e?Ft(e,null):t.generate(e,Mt)}(n,e.syntax);return function(e){for(var t=0;t(e[n]=this.createDescriptor(t.descriptors[n],"AtruleDescriptor",n),e),{}):null}},addProperty_:function(e,t){this.properties[e]=this.createDescriptor(t,"Property",e)},addType_:function(e,t){this.types[e]=this.createDescriptor(t,"Type",e),t===yt["-ms-legacy-expression"]&&(this.valueCommonSyntax=wn)},matchAtrulePrelude:function(e,t){var n=ue.keyword(e),r=n.vendor?this.getAtrulePrelude(n.name)||this.getAtrulePrelude(n.basename):this.getAtrulePrelude(n.name);return r?Sn(this,r,t,!0):n.basename in this.atrules?_n(null,new Error("At-rule `"+e+"` should not contain a prelude")):_n(null,new gn("Unknown at-rule",e))},matchAtruleDescriptor:function(e,t,n){var r=ue.keyword(e),a=ue.keyword(t),i=r.vendor?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name];if(!i)return _n(null,new gn("Unknown at-rule",e));if(!i.descriptors)return _n(null,new Error("At-rule `"+e+"` has no known descriptors"));var o=a.vendor?i.descriptors[a.name]||i.descriptors[a.basename]:i.descriptors[a.name];return o?Sn(this,o,n,!0):_n(null,new gn("Unknown at-rule descriptor",t))},matchDeclaration:function(e){return"Declaration"!==e.type?_n(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)},matchProperty:function(e,t){var n=ue.property(e);if(n.custom)return _n(null,new Error("Lexer matching doesn't applicable for custom properties"));var r=n.vendor?this.getProperty(n.name)||this.getProperty(n.basename):this.getProperty(n.name);return r?Sn(this,r,t,!0):_n(null,new gn("Unknown property",e))},matchType:function(e,t){var n=this.getType(e);return n?Sn(this,n,t,!1):_n(null,new gn("Unknown type",e))},match:function(e,t){return"string"==typeof e||e&&e.type?("string"!=typeof e&&e.match||(e=this.createDescriptor(e,"Type","anonymous")),Sn(this,e,t,!1)):_n(null,new gn("Bad syntax"))},findValueFragments:function(e,t,n,r){return un(this,t,this.matchProperty(e,t),n,r)},findDeclarationValueFragments:function(e,t,n){return un(this,e.value,this.matchDeclaration(e),t,n)},findAllFragments:function(e,t,n){var r=[];return this.syntax.walk(e,{visit:"Declaration",enter:function(e){r.push.apply(r,this.findDeclarationValueFragments(e,t,n))}.bind(this)}),r},getAtrulePrelude:function(e){return this.atrules.hasOwnProperty(e)?this.atrules[e].prelude:null},getAtruleDescriptor:function(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null},getProperty:function(e){return this.properties.hasOwnProperty(e)?this.properties[e]:null},getType:function(e){return this.types.hasOwnProperty(e)?this.types[e]:null},validate:function(){function e(r,a,i,o){if(i.hasOwnProperty(a))return i[a];i[a]=!1,null!==o.syntax&&Ut(o.syntax,(function(o){if("Type"===o.type||"Property"===o.type){var s="Type"===o.type?r.types:r.properties,l="Type"===o.type?t:n;s.hasOwnProperty(o.name)&&!e(r,o.name,l,s[o.name])||(i[a]=!0)}}),this)}var t={},n={};for(var r in this.types)e(this,r,t,this.types[r]);for(var r in this.properties)e(this,r,n,this.properties[r]);return t=Object.keys(t).filter((function(e){return t[e]})),n=Object.keys(n).filter((function(e){return n[e]})),t.length||n.length?{types:t,properties:n}:null},dump:function(e,t){return{generic:this.generic,types:xn(this.types,!t,e),properties:xn(this.properties,!t,e)}},toString:function(){return JSON.stringify(this.dump())}};var zn=Cn,An={SyntaxError:kt,parse:Nt,generate:re,walk:Ut},Tn=Ee.isBOM,En=function(){this.lines=null,this.columns=null,this.linesAndColumnsComputed=!1};En.prototype={setSource:function(e,t,n,r){this.source=e,this.startOffset=void 0===t?0:t,this.startLine=void 0===n?1:n,this.startColumn=void 0===r?1:r,this.linesAndColumnsComputed=!1},ensureLinesAndColumnsComputed:function(){this.linesAndColumnsComputed||(function(e,t){for(var n=t.length,r=de(e.lines,n),a=e.startLine,i=de(e.columns,n),o=e.startColumn,s=t.length>0?Tn(t.charCodeAt(0)):0;s>>=5)>0&&(t|=32),n+=$n(t)}while(r>0);return n};function Gn(e){var t={exports:{}};return e(t,t.exports),t.exports}var Xn=Gn((function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function a(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(e){var n=e,r=a(e);if(r){if(!r.path)return e;n=r.path}for(var o,s=t.isAbsolute(n),l=n.split(/\/+/),c=0,u=l.length-1;u>=0;u--)"."===(o=l[u])?l.splice(u,1):".."===o?c++:c>0&&(""===o?(l.splice(u+1,c),c=0):(l.splice(u,2),c--));return""===(n=l.join("/"))&&(n=s?"/":"."),r?(r.path=n,i(r)):n}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=a(t),s=a(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),i(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,i(s);var l="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=l,i(s)):l}t.urlParse=a,t.urlGenerate=i,t.normalize=o,t.join=s,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var l=!("__proto__"in Object.create(null));function c(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function h(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=l?c:function(e){return u(e)?"$"+e:e},t.fromSetString=l?c:function(e){return u(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=h(e.source,t.source);return 0!==r||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)||n||0!=(r=e.generatedColumn-t.generatedColumn)||0!=(r=e.generatedLine-t.generatedLine)?r:h(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=h(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:h(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!=(n=e.generatedColumn-t.generatedColumn)||0!==(n=h(e.source,t.source))||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)?n:h(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=a(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var l=r.path.lastIndexOf("/");l>=0&&(r.path=r.path.substring(0,l+1))}t=s(i(r),t)}return o(t)}})),Qn=Object.prototype.hasOwnProperty,Jn="undefined"!=typeof Map;function er(){this._array=[],this._set=Jn?new Map:Object.create(null)}er.fromArray=function(e,t){for(var n=new er,r=0,a=e.length;r=0)return t}else{var n=Xn.toSetString(e);if(Qn.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},er.prototype.at=function(e){if(e>=0&&er||a==r&&o>=i||Xn.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},nr.prototype.toArray=function(){return this._sorted||(this._array.sort(Xn.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};var rr=tr,ar={MappingList:nr}.MappingList;function ir(e){e||(e={}),this._file=Xn.getArg(e,"file",null),this._sourceRoot=Xn.getArg(e,"sourceRoot",null),this._skipValidation=Xn.getArg(e,"skipValidation",!1),this._sources=new rr,this._names=new rr,this._mappings=new ar,this._sourcesContents=null}ir.prototype._version=3,ir.fromSourceMap=function(e){var t=e.sourceRoot,n=new ir({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=Xn.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var a=r;null!==t&&(a=Xn.relative(t,r)),n._sources.has(a)||n._sources.add(a);var i=e.sourceContentFor(r);null!=i&&n.setSourceContent(r,i)})),n},ir.prototype.addMapping=function(e){var t=Xn.getArg(e,"generated"),n=Xn.getArg(e,"original",null),r=Xn.getArg(e,"source",null),a=Xn.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,a),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=a&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:a})},ir.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=Xn.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Xn.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[Xn.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},ir.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var a=this._sourceRoot;null!=a&&(r=Xn.relative(a,r));var i=new rr,o=new rr;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var s=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=s.source&&(t.source=s.source,null!=n&&(t.source=Xn.join(n,t.source)),null!=a&&(t.source=Xn.relative(a,t.source)),t.originalLine=s.line,t.originalColumn=s.column,null!=s.name&&(t.name=s.name))}var l=t.source;null==l||i.has(l)||i.add(l);var c=t.name;null==c||o.has(c)||o.add(c)}),this),this._sources=i,this._names=o,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=Xn.join(n,t)),null!=a&&(t=Xn.relative(a,t)),this.setSourceContent(t,r))}),this)},ir.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},ir.prototype._serializeMappings=function(){for(var e,t,n,r,a=0,i=1,o=0,s=0,l=0,c=0,u="",h=this._mappings.toArray(),d=0,p=h.length;d0){if(!Xn.compareByGeneratedPositionsInflated(t,h[d-1]))continue;e+=","}e+=Kn(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=Kn(r-c),c=r,e+=Kn(t.originalLine-1-s),s=t.originalLine-1,e+=Kn(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=Kn(n-l),l=n)),u+=e}return u},ir.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=Xn.relative(t,e));var n=Xn.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},ir.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},ir.prototype.toString=function(){return JSON.stringify(this.toJSON())};var or={SourceMapGenerator:ir}.SourceMapGenerator,sr={Atrule:!0,Selector:!0,Declaration:!0},lr=Object.prototype.hasOwnProperty;function cr(e,t){var n=e.children,r=null;"function"!=typeof t?n.forEach(this.node,this):n.forEach((function(e){null!==r&&t.call(this,r),this.node(e),r=e}),this)}var ur=Object.prototype.hasOwnProperty,hr=function(){};function dr(e){return"function"==typeof e?e:hr}function pr(e,t){return function(n,r,a){n.type===t&&e.call(this,n,r,a)}}function fr(e,t){var n=t.structure,r=[];for(var a in n)if(!1!==ur.call(n,a)){var i=n[a],o={name:a,type:!1,nullable:!1};Array.isArray(n[a])||(i=[n[a]]);for(var s=0;s",needPositions:!1,onParseError:Bn,onParseErrorThrow:!1,parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Dn,createList:function(){return new m},createSingleNodeList:function(e){return(new m).appendData(e)},getFirstListNode:function(e){return e&&e.first()},getLastListNode:function(e){return e.last()},parseWithFallback:function(e,t){var n=this.scanner.tokenIndex;try{return e.call(this)}catch(e){if(this.onParseErrorThrow)throw e;var r=t.call(this,n);return this.onParseErrorThrow=!0,this.onParseError(e,r),this.onParseErrorThrow=!1,r}},lookupNonWSType:function(e){do{var t=this.scanner.lookupType(e++);if(t!==jn)return t}while(0!==t);return 0},eat:function(e){if(this.scanner.tokenType!==e){var t=this.scanner.tokenStart,n=Un[e]+" is expected";switch(e){case Mn:this.scanner.tokenType===Fn||this.scanner.tokenType===Wn?(t=this.scanner.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case qn:this.scanner.isDelim(35)&&(this.scanner.next(),t++,n="Name is expected");break;case Yn:this.scanner.tokenType===Hn&&(t=this.scanner.tokenEnd,n="Percent sign is expected");break;default:this.scanner.source.charCodeAt(this.scanner.tokenStart)===e&&(t+=1)}this.error(n,t)}this.scanner.next()},consume:function(e){var t=this.scanner.getTokenValue();return this.eat(e),t},consumeFunctionName:function(){var e=this.scanner.source.substring(this.scanner.tokenStart,this.scanner.tokenEnd-1);return this.eat(Fn),e},getLocation:function(e,t){return this.needPositions?this.locationMap.getLocationRange(e,t,this.filename):null},getLocationFromList:function(e){if(this.needPositions){var t=this.getFirstListNode(e),n=this.getLastListNode(e);return this.locationMap.getLocationRange(null!==t?t.loc.start.offset-this.locationMap.startOffset:this.scanner.tokenStart,null!==n?n.loc.end.offset-this.locationMap.startOffset:this.scanner.tokenStart,this.filename)}return null},error:function(e,t){var n=void 0!==t&&t",t.needPositions=Boolean(n.positions),t.onParseError="function"==typeof n.onParseError?n.onParseError:Bn,t.onParseErrorThrow=!1,t.parseAtrulePrelude=!("parseAtrulePrelude"in n)||Boolean(n.parseAtrulePrelude),t.parseRulePrelude=!("parseRulePrelude"in n)||Boolean(n.parseRulePrelude),t.parseValue=!("parseValue"in n)||Boolean(n.parseValue),t.parseCustomProperty="parseCustomProperty"in n&&Boolean(n.parseCustomProperty),!t.context.hasOwnProperty(a))throw new Error("Unknown context `"+a+"`");return r=t.context[a].call(t,n),t.scanner.eof||t.error(),r}}(e),n=function(e){var t=function(e){var t={};for(var n in e.node)if(ur.call(e.node,n)){var r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=fr(0,r)}return t}(e),n={},r={};for(var a in t)ur.call(t,a)&&null!==t[a]&&(n[a]=mr(t[a],!1),r[a]=mr(t[a],!0));var i=gr(n),o=gr(r),s=function(e,a){var s=hr,l=hr,c=n,u={root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof a)s=a;else if(a&&(s=dr(a.enter),l=dr(a.leave),a.reverse&&(c=r),a.visit)){if(i.hasOwnProperty(a.visit))c=a.reverse?o[a.visit]:i[a.visit];else if(!t.hasOwnProperty(a.visit))throw new Error("Bad value `"+a.visit+"` for `visit` option (should be: "+Object.keys(t).join(", ")+")");s=pr(s,a.visit),l=pr(l,a.visit)}if(s===hr&&l===hr)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");if(a.reverse){var h=s;s=l,l=h}!function e(t,n,r){s.call(u,t,n,r),c.hasOwnProperty(t.type)&&c[t.type](t,u,e),l.call(u,t,n,r)}(e)};return s.find=function(e,t){var n=null;return s(e,(function(e,r,a){null===n&&t.call(this,e,r,a)&&(n=e)})),n},s.findLast=function(e,t){var n=null;return s(e,{reverse:!0,enter:function(e,r,a){null===n&&t.call(this,e,r,a)&&(n=e)}}),n},s.findAll=function(e,t){var n=[];return s(e,(function(e,r,a){t.call(this,e,r,a)&&n.push(e)})),n},s}(e),r=function(e){function t(e){if(!lr.call(n,e.type))throw new Error("Unknown node type: "+e.type);n[e.type].call(this,e)}var n={};if(e.node)for(var r in e.node)n[r]=e.node[r].generate;return function(e,n){var r="",a={children:cr,node:t,chunk:function(e){r+=e},result:function(){return r}};return n&&("function"==typeof n.decorator&&(a=n.decorator(a)),n.sourceMap&&(a=function(e){var t=new or,n=1,r=0,a={line:1,column:0},i={line:0,column:0},o=!1,s={line:1,column:0},l={generated:s},c=e.node;e.node=function(e){if(e.loc&&e.loc.start&&sr.hasOwnProperty(e.type)){var u=e.loc.start.line,h=e.loc.start.column-1;i.line===u&&i.column===h||(i.line=u,i.column=h,a.line=n,a.column=r,o&&(o=!1,a.line===s.line&&a.column===s.column||t.addMapping(l)),o=!0,t.addMapping({source:e.loc.source,original:i,generated:a}))}c.call(this,e),o&&sr.hasOwnProperty(e.type)&&(s.line=n,s.column=r)};var u=e.chunk;e.chunk=function(e){for(var t=0;t|","angle-percentage":"|","angular-color-hint":"","angular-color-stop":"&&?","angular-color-stop-list":"[ [, ]?]# , ","animateable-feature":"scroll-position|contents|",attachment:"scroll|fixed|local","attr()":"attr(  ? [, ]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'['  ']'|'['   [|] ? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [? ]+ ? )","auto-track-list":"[? [|]]* ?  [? [|]]* ?","baseline-position":"[first|last]? baseline","basic-shape":"|||","bg-image":"none|","bg-layer":"|| [/ ]?||||||||","bg-position":"[[left|center|right|top|bottom|]|[left|center|right|] [top|center|bottom|]|[center|[left|right] ?]&&[center|[top|bottom] ?]]","bg-size":"[|auto]{1,2}|cover|contain","blur()":"blur(  )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness(  )","calc()":"calc(  )","calc-sum":" [['+'|'-'] ]*","calc-product":" ['*' |'/' ]*","calc-value":"|||(  )","cf-final-image":"|","cf-mixing-image":"?&&","circle()":"circle( []? [at ]? )","clamp()":"clamp( #{3} )","class-selector":"'.' ","clip-source":"",color:"||||||currentcolor|","color-stop":"|","color-stop-angle":"{1,2}","color-stop-length":"{1,2}","color-stop-list":"[ [, ]?]# , ",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]",compat:"searchfield|textarea|push-button|button-bevel|slider-horizontal|checkbox|radio|square-button|menulist|menulist-button|listbox|meter|progress-bar","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[? * [ *]*]!","compound-selector-list":"#","complex-selector":" [? ]*","complex-selector-list":"#","conic-gradient()":"conic-gradient( [from ]? [at ]? ,  )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[|contents||||counter(  , <'list-style-type'>? )]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"","contrast()":"contrast( [] )","counter()":"counter(  , [|none]? )","counter-style":"|symbols( )","counter-style-name":"","counters()":"counters(  ,  , [|none]? )","cross-fade()":"cross-fade(  , ? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier(  ,  ,  ,  )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( {2,3} ? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element(  )","ellipse()":"ellipse( [{2}]? [at ]? )","ending-shape":"circle|ellipse","env()":"env(  , ? )","explicit-track-list":"[? ]+ ?","family-name":"|+","feature-tag-value":" [|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":" '{'  '}'","feature-value-block-list":"+","feature-value-declaration":" : + ;","feature-value-declaration-list":"","feature-value-name":"","fill-rule":"nonzero|evenodd","filter-function":"|||||||||","filter-function-list":"[|]+","final-bg-layer":"<'background-color'>|||| [/ ]?||||||||","fit-content()":"fit-content( [|] )","fixed-breadth":"","fixed-repeat":"repeat( [] , [? ]+ ? )","fixed-size":"|minmax(  ,  )|minmax(  ,  )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|","frequency-percentage":"|","general-enclosed":"[  )]|(   )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"|fill-box|stroke-box|view-box",gradient:"|||||<-legacy-gradient>","grayscale()":"grayscale(  )","grid-line":"auto||[&&?]|[span&&[||]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl(    [/ ]? )|hsl(  ,  ,  , ? )","hsla()":"hsla(    [/ ]? )|hsla(  ,  ,  , ? )",hue:"|","hue-rotate()":"hue-rotate(  )",image:"|||||","image()":"image( ? [? , ?]! )","image-set()":"image-set( # )","image-set-option":"[|] ","image-src":"|","image-tags":"ltr|rtl","inflexible-breadth":"||min-content|max-content|auto","inset()":"inset( {1,4} [round <'border-radius'>]? )","invert()":"invert(  )","keyframes-name":"|","keyframe-block":"# {  }","keyframe-block-list":"+","keyframe-selector":"from|to|","leader()":"leader(  )","leader-type":"dotted|solid|space|","length-percentage":"|","line-names":"'[' * ']'","line-name-list":"[|]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"|thin|medium|thick","linear-color-hint":"","linear-color-stop":" ?","linear-gradient()":"linear-gradient( [|to ]? ,  )","mask-layer":"|| [/ ]?||||||[|no-clip]||||","mask-position":"[|left|center|right] [|top|center|bottom]?","mask-reference":"none||","mask-source":"","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( #{6} )","matrix3d()":"matrix3d( #{16} )","max()":"max( # )","media-and":" [and ]+","media-condition":"|||","media-condition-without-or":"||","media-feature":"( [||] )","media-in-parens":"(  )||","media-not":"not ","media-or":" [or ]+","media-query":"|[not|only]?  [and ]?","media-query-list":"#","media-type":"","mf-boolean":"","mf-name":"","mf-plain":" : ","mf-range":" ['<'|'>']? '='? | ['<'|'>']? '='? | '<' '='?  '<' '='? | '>' '='?  '>' '='? ","mf-value":"|||","min()":"min( # )","minmax()":"minmax( [|||min-content|max-content|auto] , [|||min-content|max-content|auto] )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"","ns-prefix":"[|'*']? '|'","number-percentage":"|","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"|even|odd","opacity()":"opacity( [] )","overflow-position":"unsafe|safe","outline-radius":"|","page-body":"? [; ]?| ","page-margin-box":" '{'  '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[#]?","page-selector":"+| *","perspective()":"perspective(  )","polygon()":"polygon( ? , [ ]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|] [top|center|bottom|]?|[[left|right] ]&&[[top|bottom] ]]","pseudo-class-selector":"':' |':'   ')'","pseudo-element-selector":"':' ","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [||]? [at ]? ,  )","relative-selector":"? ","relative-selector-list":"#","relative-size":"larger|smaller","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-linear-gradient()":"repeating-linear-gradient( [|to ]? ,  )","repeating-radial-gradient()":"repeating-radial-gradient( [||]? [at ]? ,  )","rgb()":"rgb( {3} [/ ]? )|rgb( {3} [/ ]? )|rgb( #{3} , ? )|rgb( #{3} , ? )","rgba()":"rgba( {3} [/ ]? )|rgba( {3} [/ ]? )|rgba( #{3} , ? )|rgba( #{3} , ? )","rotate()":"rotate( [|] )","rotate3d()":"rotate3d(  ,  ,  , [|] )","rotateX()":"rotateX( [|] )","rotateY()":"rotateY( [|] )","rotateZ()":"rotateZ( [|] )","saturate()":"saturate(  )","scale()":"scale(  , ? )","scale3d()":"scale3d(  ,  ,  )","scaleX()":"scaleX(  )","scaleY()":"scaleY(  )","scaleZ()":"scaleZ(  )","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"|closest-side|farthest-side","skew()":"skew( [|] , [|]? )","skewX()":"skewX( [|] )","skewY()":"skewY( [|] )","sepia()":"sepia(  )",shadow:"inset?&&{2,4}&&?","shadow-t":"[{2,3}&&?]",shape:"rect(  ,  ,  ,  )|rect(     )","shape-box":"|margin-box","side-or-corner":"[left|right]||[top|bottom]","single-animation":"




© 2015 - 2025 Weber Informatics LLC | Privacy Policy