@nylas/web-elements 1.4.1 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/nylas-web-elements/{index-95193d9b.js → index-212258bf.js} +2 -2
  2. package/dist/nylas-web-elements/{index.es-69f2eefb.js → index.es-82b6efae.js} +2 -2
  3. package/dist/nylas-web-elements/index.esm.js +1 -1
  4. package/dist/nylas-web-elements/input-component.entry.js +1 -1
  5. package/dist/nylas-web-elements/input-component.entry.js.map +1 -1
  6. package/dist/nylas-web-elements/input-image-url.entry.js +1 -1
  7. package/dist/nylas-web-elements/multi-select-dropdown.entry.js +1 -1
  8. package/dist/nylas-web-elements/nylas-additional-participants.entry.js +1 -1
  9. package/dist/nylas-web-elements/{nylas-api-request-d8eb4c91.js → nylas-api-request-51129e10.js} +2 -2
  10. package/dist/nylas-web-elements/nylas-availability-picker.entry.js +1 -1
  11. package/dist/nylas-web-elements/nylas-booked-event-card.entry.js +1 -1
  12. package/dist/nylas-web-elements/nylas-booking-calendar-picker.entry.js +1 -1
  13. package/dist/nylas-web-elements/nylas-booking-confirmation-redirect.entry.js +1 -1
  14. package/dist/nylas-web-elements/nylas-booking-confirmation-type.entry.js +1 -1
  15. package/dist/nylas-web-elements/nylas-booking-form-config.entry.js +1 -1
  16. package/dist/nylas-web-elements/nylas-booking-form.entry.js +1 -1
  17. package/dist/nylas-web-elements/nylas-buffer-time.entry.js +1 -1
  18. package/dist/nylas-web-elements/nylas-calendar-picker.entry.js +1 -1
  19. package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js +1 -1
  20. package/dist/nylas-web-elements/nylas-cancellation-policy.entry.js +1 -1
  21. package/dist/nylas-web-elements/nylas-cancelled-event-card.entry.js +1 -1
  22. package/dist/nylas-web-elements/nylas-confirmation-email.entry.js +1 -1
  23. package/dist/nylas-web-elements/nylas-confirmed-event-card.entry.js +1 -1
  24. package/dist/nylas-web-elements/nylas-connected-calendars.entry.js +1 -1
  25. package/dist/nylas-web-elements/nylas-custom-booking-flow.entry.js +1 -1
  26. package/dist/nylas-web-elements/nylas-custom-event-slug.entry.js +1 -1
  27. package/dist/nylas-web-elements/nylas-customize-booking-settings.entry.js +1 -1
  28. package/dist/nylas-web-elements/nylas-date-component.entry.js +1 -1
  29. package/dist/nylas-web-elements/nylas-date-picker.entry.js +1 -1
  30. package/dist/nylas-web-elements/nylas-date-picker.entry.js.map +1 -1
  31. package/dist/nylas-web-elements/nylas-disable-emails.entry.js +1 -1
  32. package/dist/nylas-web-elements/nylas-editor-tabs-group.entry.js +1 -1
  33. package/dist/nylas-web-elements/nylas-editor-tabs.entry.js +1 -1
  34. package/dist/nylas-web-elements/nylas-event-calendar.entry.js +1 -1
  35. package/dist/nylas-web-elements/nylas-event-calendar.entry.js.map +1 -1
  36. package/dist/nylas-web-elements/nylas-event-capacity.entry.js +1 -1
  37. package/dist/nylas-web-elements/nylas-event-capacity.entry.js.map +1 -1
  38. package/dist/nylas-web-elements/nylas-event-description.entry.js +1 -1
  39. package/dist/nylas-web-elements/nylas-event-duration.entry.js +1 -1
  40. package/dist/nylas-web-elements/nylas-event-info.entry.js +1 -1
  41. package/dist/nylas-web-elements/nylas-event-limits.entry.js +1 -1
  42. package/dist/nylas-web-elements/nylas-event-location.entry.js +1 -1
  43. package/dist/nylas-web-elements/nylas-event-timeslot.entry.js +1 -1
  44. package/dist/nylas-web-elements/nylas-event-timeslot.entry.js.map +1 -1
  45. package/dist/nylas-web-elements/nylas-event-title.entry.js +1 -1
  46. package/dist/nylas-web-elements/nylas-event-title.entry.js.map +1 -1
  47. package/dist/nylas-web-elements/nylas-feedback-form.entry.js +1 -1
  48. package/dist/nylas-web-elements/nylas-form-card.entry.js +1 -1
  49. package/dist/nylas-web-elements/nylas-if-state.entry.js +1 -1
  50. package/dist/nylas-web-elements/nylas-limit-future-bookings.entry.js +1 -1
  51. package/dist/nylas-web-elements/nylas-list-configurations.entry.js +1 -1
  52. package/dist/nylas-web-elements/nylas-locale-switch.entry.js +1 -1
  53. package/dist/nylas-web-elements/nylas-login.entry.js +1 -1
  54. package/dist/nylas-web-elements/nylas-min-booking-notice.entry.js +1 -1
  55. package/dist/nylas-web-elements/nylas-min-cancellation-notice.entry.js +1 -1
  56. package/dist/nylas-web-elements/nylas-notification.entry.js +1 -1
  57. package/dist/nylas-web-elements/nylas-organizer-confirmation-card.entry.js +1 -1
  58. package/dist/nylas-web-elements/nylas-page-name.entry.js +1 -1
  59. package/dist/nylas-web-elements/nylas-page-styling.entry.js +1 -1
  60. package/dist/nylas-web-elements/nylas-participant-booking-calendars.entry.js +1 -1
  61. package/dist/nylas-web-elements/nylas-participants-custom-availability.entry.js +1 -1
  62. package/dist/nylas-web-elements/nylas-provider.entry.js +1 -1
  63. package/dist/nylas-web-elements/nylas-reminder-emails.entry.js +1 -1
  64. package/dist/nylas-web-elements/nylas-reminder-time.entry.js +1 -1
  65. package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +1 -1
  66. package/dist/nylas-web-elements/nylas-scheduling-method.entry.js +1 -1
  67. package/dist/nylas-web-elements/nylas-scheduling.entry.js +1 -1
  68. package/dist/nylas-web-elements/nylas-select-event-type.entry.js +1 -1
  69. package/dist/nylas-web-elements/nylas-selected-event-card.entry.js +1 -1
  70. package/dist/nylas-web-elements/nylas-time-window-picker.entry.js +1 -1
  71. package/dist/nylas-web-elements/nylas-timeslot-interval.entry.js +1 -1
  72. package/dist/nylas-web-elements/nylas-timeslot-picker.entry.js +1 -1
  73. package/dist/nylas-web-elements/nylas-timeslot-picker.entry.js.map +1 -1
  74. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  75. package/dist/nylas-web-elements/nylas-web-elements.esm.js.map +1 -1
  76. package/dist/nylas-web-elements/{register-component-3d439a88.js → register-component-8b5587d5.js} +2 -2
  77. package/dist/nylas-web-elements/{scheduler-store-0acc5e0f.js → scheduler-store-36b93b74.js} +2 -2
  78. package/dist/nylas-web-elements/textarea-component.entry.js +1 -1
  79. package/dist/nylas-web-elements/time-period-selector.entry.js +1 -1
  80. package/dist/nylas-web-elements/{utils-3fdf2c83.js → utils-ac8fef1e.js} +2 -2
  81. package/dist/types/components/scheduler/nylas-date-picker/nylas-date-picker.d.ts +4 -0
  82. package/dist/types/components/scheduler-editor/nylas-event-capacity/nylas-event-capacity.d.ts +1 -0
  83. package/package.json +2 -3
  84. package/CHANGELOG.md +0 -872
  85. /package/dist/nylas-web-elements/{index-95193d9b.js.map → index-212258bf.js.map} +0 -0
  86. /package/dist/nylas-web-elements/{index.es-69f2eefb.js.map → index.es-82b6efae.js.map} +0 -0
  87. /package/dist/nylas-web-elements/{nylas-api-request-d8eb4c91.js.map → nylas-api-request-51129e10.js.map} +0 -0
  88. /package/dist/nylas-web-elements/{register-component-3d439a88.js.map → register-component-8b5587d5.js.map} +0 -0
  89. /package/dist/nylas-web-elements/{scheduler-store-0acc5e0f.js.map → scheduler-store-36b93b74.js.map} +0 -0
  90. /package/dist/nylas-web-elements/{utils-3fdf2c83.js.map → utils-ac8fef1e.js.map} +0 -0
@@ -10,5 +10,5 @@ import{g as e,c as t,a as n,d as i,b as r,u as o}from"./utc-290d564f.js";const a
10
10
  *
11
11
  * Copyright (c) 2014-2017, Jon Schlinkert.
12
12
  * Released under the MIT License.
13
- */function yA(e){return Object.prototype.toString.call(e)==="[object Object]"}function kA(e){var t,n;if(yA(e)===false)return false;t=e.constructor;if(t===undefined)return true;n=t.prototype;if(yA(n)===false)return false;if(n.hasOwnProperty("isPrototypeOf")===false){return false}return true}const TA=Object.freeze({__proto__:null,isPlainObject:kA});const wA=n(TA);"use strict";var EA=function e(t){return SA(t)&&!BA(t)};function SA(e){return!!e&&typeof e==="object"}function BA(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||DA(e)}var CA=typeof Symbol==="function"&&Symbol.for;var MA=CA?Symbol.for("react.element"):60103;function DA(e){return e.$$typeof===MA}function _A(e){return Array.isArray(e)?[]:{}}function PA(e,t){return t.clone!==false&&t.isMergeableObject(e)?IA(_A(e),e,t):e}function AA(e,t,n){return e.concat(t).map((function(e){return PA(e,n)}))}function xA(e,t){if(!t.customMerge){return IA}var n=t.customMerge(e);return typeof n==="function"?n:IA}function LA(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}function OA(e){return Object.keys(e).concat(LA(e))}function RA(e,t){try{return t in e}catch(e){return false}}function jA(e,t){return RA(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function NA(e,t,n){var i={};if(n.isMergeableObject(e)){OA(e).forEach((function(t){i[t]=PA(e[t],n)}))}OA(t).forEach((function(r){if(jA(e,r)){return}if(RA(e,r)&&n.isMergeableObject(t[r])){i[r]=xA(r,n)(e[r],t[r],n)}else{i[r]=PA(t[r],n)}}));return i}function IA(e,t,n){n=n||{};n.arrayMerge=n.arrayMerge||AA;n.isMergeableObject=n.isMergeableObject||EA;n.cloneUnlessOtherwiseSpecified=PA;var i=Array.isArray(t);var r=Array.isArray(e);var o=i===r;if(!o){return PA(t,n)}else if(i){return n.arrayMerge(e,t,n)}else{return NA(e,t,n)}}IA.all=function e(t,n){if(!Array.isArray(t)){throw new Error("first argument should be an array")}return t.reduce((function(e,t){return IA(e,t,n)}),{})};var qA=IA;var zA=qA;var FA={exports:{}};(function(e){(function(t,n){if(typeof undefined==="function"&&undefined.amd){undefined([],n)}else if("object"==="object"&&e.exports){e.exports=n()}else{t.parseSrcset=n()}})(t,(function(){return function(e){function t(e){return e===" "||e==="\t"||e==="\n"||e==="\f"||e==="\r"}function n(t){var n,i=t.exec(e.substring(m));if(i){n=i[0];m+=n.length;return n}}var i=e.length,r=/^[ \t\n\r\u000c]+/,o=/^[, \t\n\r\u000c]+/,a=/^[^ \t\n\r\u000c]+/,s=/[,]+$/,l=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,u,d,f,h,g,m=0,p=[];while(true){n(o);if(m>=i){return p}u=n(a);d=[];if(u.slice(-1)===","){u=u.replace(s,"");v()}else{b()}}function b(){n(r);f="";h="in descriptor";while(true){g=e.charAt(m);if(h==="in descriptor"){if(t(g)){if(f){d.push(f);f="";h="after descriptor"}}else if(g===","){m+=1;if(f){d.push(f)}v();return}else if(g==="("){f=f+g;h="in parens"}else if(g===""){if(f){d.push(f)}v();return}else{f=f+g}}else if(h==="in parens"){if(g===")"){f=f+g;h="in descriptor"}else if(g===""){d.push(f);v();return}else{f=f+g}}else if(h==="after descriptor"){if(t(g)){}else if(g===""){v();return}else{h="in descriptor";m-=1}}m+=1}}function v(){var t=false,n,i,r,o,a={},s,f,h,g,m;for(o=0;o<d.length;o++){s=d[o];f=s[s.length-1];h=s.substring(0,s.length-1);g=parseInt(h,10);m=parseFloat(h);if(l.test(h)&&f==="w"){if(n||i){t=true}if(g===0){t=true}else{n=g}}else if(c.test(h)&&f==="x"){if(n||i||r){t=true}if(m<0){t=true}else{i=m}}else if(l.test(h)&&f==="h"){if(r||i){t=true}if(g===0){t=true}else{r=g}}else{t=true}}if(!t){a.url=u;if(n){a.w=n}if(i){a.d=i}if(r){a.h=r}p.push(a)}else if(console&&console.log){console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'.")}}}}))})(FA);const UA=FA.exports;var YA=t.process;var VA={exports:{}};var HA=String;var $A=function(){return{isColorSupported:false,reset:HA,bold:HA,dim:HA,italic:HA,underline:HA,inverse:HA,hidden:HA,strikethrough:HA,black:HA,red:HA,green:HA,yellow:HA,blue:HA,magenta:HA,cyan:HA,white:HA,gray:HA,bgBlack:HA,bgRed:HA,bgGreen:HA,bgYellow:HA,bgBlue:HA,bgMagenta:HA,bgCyan:HA,bgWhite:HA,blackBright:HA,redBright:HA,greenBright:HA,yellowBright:HA,blueBright:HA,magentaBright:HA,cyanBright:HA,whiteBright:HA,bgBlackBright:HA,bgRedBright:HA,bgGreenBright:HA,bgYellowBright:HA,bgBlueBright:HA,bgMagentaBright:HA,bgCyanBright:HA,bgWhiteBright:HA}};VA.exports=$A();var GA=VA.exports.createColors=$A;const WA=VA.exports;const KA={};const ZA=Object.freeze({__proto__:null,default:KA});const JA=n(ZA);"use strict";let QA=VA.exports;let XA=JA;class ex extends Error{constructor(e,t,n,i,r,o){super(e);this.name="CssSyntaxError";this.reason=e;if(r){this.file=r}if(i){this.source=i}if(o){this.plugin=o}if(typeof t!=="undefined"&&typeof n!=="undefined"){if(typeof t==="number"){this.line=t;this.column=n}else{this.line=t.line;this.column=t.column;this.endLine=n.line;this.endColumn=n.column}}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,ex)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"<css input>";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=QA.isColorSupported;let n=e=>e;let i=e=>e;let r=e=>e;if(e){let{bold:e,gray:t,red:o}=QA.createColors(true);i=t=>e(o(t));n=e=>t(e);if(XA){r=e=>XA(e)}}let o=t.split(/\r?\n/);let a=Math.max(this.line-3,0);let s=Math.min(this.line+2,o.length);let l=String(s).length;return o.slice(a,s).map(((e,t)=>{let o=a+1+t;let s=" "+(" "+o).slice(-l)+" | ";if(o===this.line){if(e.length>160){let t=20;let o=Math.max(0,this.column-t);let a=Math.max(this.column+t,this.endColumn+t);let l=e.slice(o,a);let c=n(s.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return i(">")+n(s)+r(l)+"\n "+c+i("^")}let t=n(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+n(s)+r(e)+"\n "+t+i("^")}return" "+n(s)+r(e)})).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}var tx=ex;ex.default=ex;"use strict";const nx={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:false};function ix(e){return e[0].toUpperCase()+e.slice(1)}class rx{constructor(e){this.builder=e}atrule(e,t){let n="@"+e.name;let i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){n+=e.raws.afterName}else if(i){n+=" "}if(e.nodes){this.block(e,n+i)}else{let r=(e.raws.between||"")+(t?";":"");this.builder(n+i+r,e)}}beforeAfter(e,t){let n;if(e.type==="decl"){n=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){n=this.raw(e,null,"beforeComment")}else if(t==="before"){n=this.raw(e,null,"beforeRule")}else{n=this.raw(e,null,"beforeClose")}let i=e.parent;let r=0;while(i&&i.type!=="root"){r+=1;i=i.parent}if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e<r;e++)n+=t}}return n}block(e,t){let n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");let i;if(e.nodes&&e.nodes.length){this.body(e);i=this.raw(e,"after")}else{i=this.raw(e,"after","emptyBody")}if(i)this.builder(i);this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let r=e.nodes[i];let o=this.raw(r,"before");if(o)this.builder(o);this.stringify(r,t!==i||n)}}comment(e){let t=this.raw(e,"left","commentLeft");let n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon");let i=e.prop+n+this.rawValue(e,"value");if(e.important){i+=e.raws.important||" !important"}if(t)i+=";";this.builder(i,e)}document(e){this.body(e)}raw(e,t,n){let i;if(!n)n=t;if(t){i=e.raws[t];if(typeof i!=="undefined")return i}let r=e.parent;if(n==="before"){if(!r||r.type==="root"&&r.first===e){return""}if(r&&r.type==="document"){return""}}if(!r)return nx[n];let o=e.root();if(!o.rawCache)o.rawCache={};if(typeof o.rawCache[n]!=="undefined"){return o.rawCache[n]}if(n==="before"||n==="after"){return this.beforeAfter(e,n)}else{let r="raw"+ix(n);if(this[r]){i=this[r](o,e)}else{o.walk((e=>{i=e.raws[t];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=nx[n];o.rawCache[n]=i;return i}rawBeforeClose(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeComment(e,t){let n;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){n=e.raws.before;if(n.includes("\n")){n=n.replace(/[^\n]+$/,"")}return false}}));if(typeof n==="undefined"){n=this.raw(t,null,"beforeDecl")}else if(n){n=n.replace(/\S/g,"")}return n}rawBeforeDecl(e,t){let n;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){n=e.raws.before;if(n.includes("\n")){n=n.replace(/[^\n]+$/,"")}return false}}));if(typeof n==="undefined"){n=this.raw(t,null,"beforeRule")}else if(n){n=n.replace(/\S/g,"")}return n}rawBeforeOpen(e){let t;e.walk((e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}}));return t}rawBeforeRule(e){let t;e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)){if(typeof n.raws.before!=="undefined"){t=n.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawColon(e){let t;e.walkDecls((e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}}));return t}rawEmptyBody(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}}));return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk((n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e){if(typeof n.raws.before!=="undefined"){let e=n.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawSemicolon(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}}));return t}rawValue(e,t){let n=e[t];let i=e.raws[t];if(i&&i.value===n){return i.raw}return n}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}}var ox=rx;rx.default=rx;"use strict";let ax=ox;function sx(e,t){let n=new ax(t);n.stringify(e)}var lx=sx;sx.default=sx;var cx={};"use strict";var ux=cx.isClean=Symbol("isClean");var dx=cx.my=Symbol("my");"use strict";let fx=tx;let hx=ox;let gx=lx;let{isClean:mx,my:px}=cx;function bx(e,t){let n=new e.constructor;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)){continue}if(i==="proxyCache")continue;let r=e[i];let o=typeof r;if(i==="parent"&&o==="object"){if(t)n[i]=t}else if(i==="source"){n[i]=r}else if(Array.isArray(r)){n[i]=r.map((e=>bx(e,n)))}else{if(o==="object"&&r!==null)r=bx(r);n[i]=r}}return n}function vx(e,t){if(t&&typeof t.offset!=="undefined"){return t.offset}let n=1;let i=1;let r=0;for(let o=0;o<e.length;o++){if(i===t.line&&n===t.column){r=o;break}if(e[o]==="\n"){n=1;i+=1}else{n+=1}}return r}class yx{constructor(e={}){this.raws={};this[mx]=false;this[px]=true;for(let t in e){if(t==="nodes"){this.nodes=[];for(let n of e[t]){if(typeof n.clone==="function"){this.append(n.clone())}else{this.append(n)}}}else{this[t]=e[t]}}}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){this.parent.insertAfter(this,e);return this}assign(e={}){for(let t in e){this[t]=e[t]}return this}before(e){this.parent.insertBefore(this,e);return this}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}clone(e={}){let t=bx(this);for(let n in e){t[n]=e[n]}return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}error(e,t={}){if(this.source){let{end:n,start:i}=this.rangeBy(t);return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new fx(e)}getProxyProcessor(){return{get(e,t){if(t==="proxyOf"){return e}else if(t==="root"){return()=>e.root().toProxy()}else{return e[t]}},set(e,t,n){if(e[t]===n)return true;e[t]=n;if(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text"){e.markDirty()}return true}}}markClean(){this[mx]=true}markDirty(){if(this[mx]){this[mx]=false;let e=this;while(e=e.parent){e[mx]=false}}}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e){let t=this.source.start;if(e.index){t=this.positionInside(e.index)}else if(e.word){let n=this.source.input.css.slice(vx(this.source.input.css,this.source.start),vx(this.source.input.css,this.source.end));let i=n.indexOf(e.word);if(i!==-1)t=this.positionInside(i)}return t}positionInside(e){let t=this.source.start.column;let n=this.source.start.line;let i=vx(this.source.input.css,this.source.start);let r=i+e;for(let e=i;e<r;e++){if(this.source.input.css[e]==="\n"){t=1;n+=1}else{t+=1}}return{column:t,line:n}}prev(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line};let n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let i=this.source.input.css.slice(vx(this.source.input.css,this.source.start),vx(this.source.input.css,this.source.end));let r=i.indexOf(e.word);if(r!==-1){t=this.positionInside(r);n=this.positionInside(r+e.word.length)}}else{if(e.start){t={column:e.start.column,line:e.start.line}}else if(e.index){t=this.positionInside(e.index)}if(e.end){n={column:e.end.column,line:e.end.line}}else if(typeof e.endIndex==="number"){n=this.positionInside(e.endIndex)}else if(e.index){n=this.positionInside(e.index+1)}}if(n.line<t.line||n.line===t.line&&n.column<=t.column){n={column:t.column+1,line:t.line}}return{end:n,start:t}}raw(e,t){let n=new hx;return n.raw(this,e,t)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}replaceWith(...e){if(this.parent){let t=this;let n=false;for(let i of e){if(i===this){n=true}else if(n){this.parent.insertAfter(t,i);t=i}else{this.parent.insertBefore(t,i)}}if(!n){this.remove()}}return this}root(){let e=this;while(e.parent&&e.parent.type!=="document"){e=e.parent}return e}toJSON(e,t){let n={};let i=t==null;t=t||new Map;let r=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)){continue}if(e==="parent"||e==="proxyCache")continue;let i=this[e];if(Array.isArray(i)){n[e]=i.map((e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}}))}else if(typeof i==="object"&&i.toJSON){n[e]=i.toJSON(null,t)}else if(e==="source"){let o=t.get(i.input);if(o==null){o=r;t.set(i.input,r);r++}n[e]={end:i.end,inputId:o,start:i.start}}else{n[e]=i}}if(i){n.inputs=[...t.keys()].map((e=>e.toJSON()))}return n}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}toString(e=gx){if(e.stringify)e=e.stringify;let t="";e(this,(e=>{t+=e}));return t}warn(e,t,n){let i={node:this};for(let e in n)i[e]=n[e];return e.warn(t,i)}get proxyOf(){return this}}var kx=yx;yx.default=yx;"use strict";let Tx=kx;class wx extends Tx{constructor(e){super(e);this.type="comment"}}var Ex=wx;wx.default=wx;"use strict";let Sx=kx;class Bx extends Sx{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}var Cx=Bx;Bx.default=Bx;"use strict";let Mx=Ex;let Dx=Cx;let _x=kx;let{isClean:Px,my:Ax}=cx;let xx,Lx,Ox,Rx;function jx(e){return e.map((e=>{if(e.nodes)e.nodes=jx(e.nodes);delete e.source;return e}))}function Nx(e){e[Px]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){Nx(t)}}}class Ix extends _x{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let n,i;while(this.indexes[t]<this.proxyOf.nodes.length){n=this.indexes[t];i=e(this.proxyOf.nodes[n],n);if(i===false)break;this.indexes[t]+=1}delete this.indexes[t];return i}every(e){return this.nodes.every(e)}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let e=this.lastEach;this.indexes[e]=0;return e}getProxyProcessor(){return{get(e,t){if(t==="proxyOf"){return e}else if(!e[t]){return e[t]}else if(t==="each"||typeof t==="string"&&t.startsWith("walk")){return(...n)=>e[t](...n.map((e=>{if(typeof e==="function"){return(t,n)=>e(t.toProxy(),n)}else{return e}})))}else if(t==="every"||t==="some"){return n=>e[t](((e,...t)=>n(e.toProxy(),...t)))}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map((e=>e.toProxy()))}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}},set(e,t,n){if(e[t]===n)return true;e[t]=n;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true}}}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}insertAfter(e,t){let n=this.index(e);let i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n+1,0,e);let r;for(let e in this.indexes){r=this.indexes[e];if(n<r){this.indexes[e]=r+i.length}}this.markDirty();return this}insertBefore(e,t){let n=this.index(e);let i=n===0?"prepend":false;let r=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(let e of r)this.proxyOf.nodes.splice(n,0,e);let o;for(let e in this.indexes){o=this.indexes[e];if(n<=o){this.indexes[e]=o+r.length}}this.markDirty();return this}normalize(e,t){if(typeof e==="string"){e=jx(Lx(e).nodes)}else if(typeof e==="undefined"){e=[]}else if(Array.isArray(e)){e=e.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new Dx(e)]}else if(e.selector||e.selectors){e=[new Rx(e)]}else if(e.name){e=[new xx(e)]}else if(e.text){e=[new Mx(e)]}else{throw new Error("Unknown node type in node creation")}let n=e.map((e=>{if(!e[Ax])Ix.rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[Px])Nx(e);if(!e.raws)e.raws={};if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this.proxyOf;return e}));return n}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}removeChild(e){e=this.index(e);this.proxyOf.nodes[e].parent=undefined;this.proxyOf.nodes.splice(e,1);let t;for(let n in this.indexes){t=this.indexes[n];if(t>=e){this.indexes[n]=t-1}}this.markDirty();return this}replaceValues(e,t,n){if(!n){n=t;t={}}this.walkDecls((i=>{if(t.props&&!t.props.includes(i.prop))return;if(t.fast&&!i.value.includes(t.fast))return;i.value=i.value.replace(e,n)}));this.markDirty();return this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,n)=>{let i;try{i=e(t,n)}catch(e){throw t.addToError(e)}if(i!==false&&t.walk){i=t.walk(e)}return i}))}walkAtRules(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="atrule"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="atrule"&&e.test(n.name)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="atrule"&&n.name===e){return t(n,i)}}))}walkComments(e){return this.walk(((t,n)=>{if(t.type==="comment"){return e(t,n)}}))}walkDecls(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="decl"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="decl"&&e.test(n.prop)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="decl"&&n.prop===e){return t(n,i)}}))}walkRules(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="rule"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="rule"&&e.test(n.selector)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="rule"&&n.selector===e){return t(n,i)}}))}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}Ix.registerParse=e=>{Lx=e};Ix.registerRule=e=>{Rx=e};Ix.registerAtRule=e=>{xx=e};Ix.registerRoot=e=>{Ox=e};var qx=Ix;Ix.default=Ix;Ix.rebuild=e=>{if(e.type==="atrule"){Object.setPrototypeOf(e,xx.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,Rx.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,Dx.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,Mx.prototype)}else if(e.type==="root"){Object.setPrototypeOf(e,Ox.prototype)}e[Ax]=true;if(e.nodes){e.nodes.forEach((e=>{Ix.rebuild(e)}))}};"use strict";let zx=qx;class Fx extends zx{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}var Ux=Fx;Fx.default=Fx;zx.registerAtRule(Fx);"use strict";let Yx=qx;let Vx,Hx;class $x extends Yx{constructor(e){super({type:"document",...e});if(!this.nodes){this.nodes=[]}}toResult(e={}){let t=new Vx(new Hx,this,e);return t.stringify()}}$x.registerLazyResult=e=>{Vx=e};$x.registerProcessor=e=>{Hx=e};var Gx=$x;$x.default=$x;let Wx="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let Kx=(e,t=21)=>(n=t)=>{let i="";let r=n;while(r--){i+=e[Math.random()*e.length|0]}return i};let Zx=(e=21)=>{let t="";let n=e;while(n--){t+=Wx[Math.random()*64|0]}return t};const Jx=Object.freeze({__proto__:null,nanoid:Zx,customAlphabet:Kx});const Qx=n(Jx);"use strict";let{existsSync:Xx,readFileSync:eL}=JA;let{dirname:tL,join:nL}=JA;let{SourceMapConsumer:iL,SourceMapGenerator:rL}=JA;function oL(e){if(S){return S.from(e,"base64").toString()}else{return window.atob(e)}}class aL{constructor(e,t){if(t.map===false)return;this.loadAnnotation(e);this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:undefined;let i=this.loadMap(t.from,n);if(!this.mapFile&&t.from){this.mapFile=t.from}if(this.mapFile)this.root=tL(this.mapFile);if(i)this.text=i}consumer(){if(!this.consumerCache){this.consumerCache=new iL(this.text)}return this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/;let n=/^data:application\/json;base64,/;let i=/^data:application\/json;charset=utf-?8,/;let r=/^data:application\/json,/;let o=e.match(i)||e.match(r);if(o){return decodeURIComponent(e.substr(o[0].length))}let a=e.match(t)||e.match(n);if(a){return oL(e.substr(a[0].length))}let s=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){if(typeof e!=="object")return false;return typeof e.mappings==="string"||typeof e._mappings==="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=e.lastIndexOf(t.pop());let i=e.indexOf("*/",n);if(n>-1&&i>-1){this.annotation=this.getAnnotationURL(e.substring(n,i))}}loadFile(e){this.root=tL(e);if(Xx(e)){this.mapFile=e;return eL(e,"utf-8").toString().trim()}}loadMap(e,t){if(t===false)return false;if(t){if(typeof t==="string"){return t}else if(typeof t==="function"){let n=t(e);if(n){let e=this.loadFile(n);if(!e){throw new Error("Unable to load previous source map: "+n.toString())}return e}}else if(t instanceof iL){return rL.fromSourceMap(t).toString()}else if(t instanceof rL){return t.toString()}else if(this.isMap(t)){return JSON.stringify(t)}else{throw new Error("Unsupported previous source map format: "+t.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){let t=this.annotation;if(e)t=nL(tL(e),t);return this.loadFile(t)}}startWith(e,t){if(!e)return false;return e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}var sL=aL;aL.default=aL;"use strict";let{nanoid:lL}=Qx;let{isAbsolute:cL,resolve:uL}=JA;let{SourceMapConsumer:dL,SourceMapGenerator:fL}=JA;let{fileURLToPath:hL,pathToFileURL:gL}=JA;let mL=tx;let pL=sL;let bL=JA;let vL=Symbol("fromOffsetCache");let yL=Boolean(dL&&fL);let kL=Boolean(uL&&cL);class TL{constructor(e,t={}){if(e===null||typeof e==="undefined"||typeof e==="object"&&!e.toString){throw new Error(`PostCSS received ${e} instead of CSS string`)}this.css=e.toString();if(this.css[0]==="\ufeff"||this.css[0]==="￾"){this.hasBOM=true;this.css=this.css.slice(1)}else{this.hasBOM=false}if(t.from){if(!kL||/^\w+:\/\//.test(t.from)||cL(t.from)){this.file=t.from}else{this.file=uL(t.from)}}if(kL&&yL){let e=new pL(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;if(!this.file&&t)this.file=this.mapResolve(t)}}if(!this.file){this.id="<input css "+lL(6)+">"}if(this.map)this.map.file=this.from}error(e,t,n,i={}){let r,o,a;if(t&&typeof t==="object"){let e=t;let i=n;if(typeof e.offset==="number"){let i=this.fromOffset(e.offset);t=i.line;n=i.col}else{t=e.line;n=e.column}if(typeof i.offset==="number"){let e=this.fromOffset(i.offset);o=e.line;r=e.col}else{o=i.line;r=i.column}}else if(!n){let e=this.fromOffset(t);t=e.line;n=e.col}let s=this.origin(t,n,o,r);if(s){a=new mL(e,s.endLine===undefined?s.line:{column:s.column,line:s.line},s.endLine===undefined?s.column:{column:s.endColumn,line:s.endLine},s.source,s.file,i.plugin)}else{a=new mL(e,o===undefined?t:{column:n,line:t},o===undefined?n:{column:r,line:o},this.css,this.file,i.plugin)}a.input={column:n,endColumn:r,endLine:o,line:t,source:this.css};if(this.file){if(gL){a.input.url=gL(this.file).toString()}a.input.file=this.file}return a}fromOffset(e){let t,n;if(!this[vL]){let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let i=0,r=e.length;i<r;i++){n[i]=t;t+=e[i].length+1}this[vL]=n}else{n=this[vL]}t=n[n.length-1];let i=0;if(e>=t){i=n.length-1}else{let t=n.length-2;let r;while(i<t){r=i+(t-i>>1);if(e<n[r]){t=r-1}else if(e>=n[r+1]){i=r+1}else{i=r;break}}}return{col:e-n[i]+1,line:i+1}}mapResolve(e){if(/^\w+:\/\//.test(e)){return e}return uL(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,i){if(!this.map)return false;let r=this.map.consumer();let o=r.originalPositionFor({column:t,line:e});if(!o.source)return false;let a;if(typeof n==="number"){a=r.originalPositionFor({column:i,line:n})}let s;if(cL(o.source)){s=gL(o.source)}else{s=new URL(o.source,this.map.consumer().sourceRoot||gL(this.map.mapFile))}let l={column:o.column,endColumn:a&&a.column,endLine:a&&a.line,line:o.line,url:s.toString()};if(s.protocol==="file:"){if(hL){l.file=hL(s)}else{throw new Error(`file: protocol is not available in this PostCSS build`)}}let c=r.sourceContentFor(o.source);if(c)l.source=c;return l}toJSON(){let e={};for(let t of["hasBOM","css","file","id"]){if(this[t]!=null){e[t]=this[t]}}if(this.map){e.map={...this.map};if(e.map.consumerCache){e.map.consumerCache=undefined}}return e}get from(){return this.file||this.id}}var wL=TL;TL.default=TL;if(bL&&bL.registerInput){bL.registerInput(TL)}"use strict";let EL=qx;let SL,BL;class CL extends EL{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}normalize(e,t,n){let i=super.normalize(e);if(t){if(n==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of i){e.raws.before=t.raws.before}}}return i}removeChild(e,t){let n=this.index(e);if(!t&&n===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[n].raws.before}return super.removeChild(e)}toResult(e={}){let t=new SL(new BL,this,e);return t.stringify()}}CL.registerLazyResult=e=>{SL=e};CL.registerProcessor=e=>{BL=e};var ML=CL;CL.default=CL;EL.registerRoot(CL);"use strict";let DL={comma(e){return DL.split(e,[","],true)},space(e){let t=[" ","\n","\t"];return DL.split(e,t)},split(e,t,n){let i=[];let r="";let o=false;let a=0;let s=false;let l="";let c=false;for(let n of e){if(c){c=false}else if(n==="\\"){c=true}else if(s){if(n===l){s=false}}else if(n==='"'||n==="'"){s=true;l=n}else if(n==="("){a+=1}else if(n===")"){if(a>0)a-=1}else if(a===0){if(t.includes(n))o=true}if(o){if(r!=="")i.push(r.trim());r="";o=false}else{r+=n}}if(n||r!=="")i.push(r.trim());return i}};var _L=DL;DL.default=DL;"use strict";let PL=qx;let AL=_L;class xL extends PL{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return AL.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}var LL=xL;xL.default=xL;PL.registerRule(xL);"use strict";let OL=Ux;let RL=Ex;let jL=Cx;let NL=wL;let IL=sL;let qL=ML;let zL=LL;function FL(e,t){if(Array.isArray(e))return e.map((e=>FL(e)));let{inputs:n,...i}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:NL.prototype};if(n.map){n.map={...n.map,__proto__:IL.prototype}}t.push(n)}}if(i.nodes){i.nodes=e.nodes.map((e=>FL(e,t)))}if(i.source){let{inputId:e,...n}=i.source;i.source=n;if(e!=null){i.source.input=t[e]}}if(i.type==="root"){return new qL(i)}else if(i.type==="decl"){return new jL(i)}else if(i.type==="rule"){return new zL(i)}else if(i.type==="comment"){return new RL(i)}else if(i.type==="atrule"){return new OL(i)}else{throw new Error("Unknown node type: "+e.type)}}var UL=FL;FL.default=FL;"use strict";let{dirname:YL,relative:VL,resolve:HL,sep:$L}=JA;let{SourceMapConsumer:GL,SourceMapGenerator:WL}=JA;let{pathToFileURL:KL}=JA;let ZL=wL;let JL=Boolean(GL&&WL);let QL=Boolean(YL&&HL&&VL&&$L);class XL{constructor(e,t,n,i){this.stringify=e;this.mapOpts=n.map||{};this.root=t;this.opts=n;this.css=i;this.originalCSS=i;this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute;this.memoizedFileURLs=new Map;this.memoizedPaths=new Map;this.memoizedURLs=new Map}addAnnotation(){let e;if(this.isInline()){e="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){e=this.mapOpts.annotation}else if(typeof this.mapOpts.annotation==="function"){e=this.mapOpts.annotation(this.opts.to,this.root)}else{e=this.outputFile()+".map"}let t="\n";if(this.css.includes("\r\n"))t="\r\n";this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file));let n=e.root||YL(e.file);let i;if(this.mapOpts.sourcesContent===false){i=new GL(e.text);if(i.sourcesContent){i.sourcesContent=null}}else{i=e.consumer()}this.map.applySourceMap(i,t,this.toUrl(this.path(n)))}}clearAnnotation(){if(this.mapOpts.annotation===false)return;if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--){e=this.root.nodes[t];if(e.type!=="comment")continue;if(e.text.startsWith("# sourceMappingURL=")){this.root.removeChild(t)}}}else if(this.css){this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,"")}}generate(){this.clearAnnotation();if(QL&&JL&&this.isMap()){return this.generateMap()}else{let e="";this.stringify(this.root,(t=>{e+=t}));return[e]}}generateMap(){if(this.root){this.generateString()}else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile();this.map=WL.fromSourceMap(e,{ignoreInvalidMapping:true})}else{this.map=new WL({file:this.outputFile(),ignoreInvalidMapping:true});this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"})}if(this.isSourcesContent())this.setSourcesContent();if(this.root&&this.previous().length>0)this.applyPrevMaps();if(this.isAnnotation())this.addAnnotation();if(this.isInline()){return[this.css]}else{return[this.css,this.map]}}generateString(){this.css="";this.map=new WL({file:this.outputFile(),ignoreInvalidMapping:true});let e=1;let t=1;let n="<no source>";let i={generated:{column:0,line:0},original:{column:0,line:0},source:""};let r,o;this.stringify(this.root,((a,s,l)=>{this.css+=a;if(s&&l!=="end"){i.generated.line=e;i.generated.column=t-1;if(s.source&&s.source.start){i.source=this.sourcePath(s);i.original.line=s.source.start.line;i.original.column=s.source.start.column-1;this.map.addMapping(i)}else{i.source=n;i.original.line=1;i.original.column=0;this.map.addMapping(i)}}o=a.match(/\n/g);if(o){e+=o.length;r=a.lastIndexOf("\n");t=a.length-r}else{t+=a.length}if(s&&l!=="start"){let r=s.parent||{raws:{}};let o=s.type==="decl"||s.type==="atrule"&&!s.nodes;if(!o||s!==r.last||r.raws.semicolon){if(s.source&&s.source.end){i.source=this.sourcePath(s);i.original.line=s.source.end.line;i.original.column=s.source.end.column-1;i.generated.line=e;i.generated.column=t-2;this.map.addMapping(i)}else{i.source=n;i.original.line=1;i.original.column=0;i.generated.line=e;i.generated.column=t-1;this.map.addMapping(i)}}}}))}isAnnotation(){if(this.isInline()){return true}if(typeof this.mapOpts.annotation!=="undefined"){return this.mapOpts.annotation}if(this.previous().length){return this.previous().some((e=>e.annotation))}return true}isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}let e=this.mapOpts.annotation;if(typeof e!=="undefined"&&e!==true){return false}if(this.previous().length){return this.previous().some((e=>e.inline))}return true}isMap(){if(typeof this.opts.map!=="undefined"){return!!this.opts.map}return this.previous().length>0}isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some((e=>e.withContent()))}return true}outputFile(){if(this.opts.to){return this.path(this.opts.to)}else if(this.opts.from){return this.path(this.opts.from)}else{return"to.css"}}path(e){if(this.mapOpts.absolute)return e;if(e.charCodeAt(0)===60)return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?YL(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){n=YL(HL(n,this.mapOpts.annotation))}let i=VL(n,e);this.memoizedPaths.set(e,i);return i}previous(){if(!this.previousMaps){this.previousMaps=[];if(this.root){this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;if(!this.previousMaps.includes(t)){this.previousMaps.push(t)}}}))}else{let e=new ZL(this.originalCSS,this.opts);if(e.map)this.previousMaps.push(e.map)}}return this.previousMaps}setSourcesContent(){let e={};if(this.root){this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=true;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,t.source.input.css)}}}))}else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){if(this.mapOpts.from){return this.toUrl(this.mapOpts.from)}else if(this.usesFileUrls){return this.toFileUrl(e.source.input.from)}else{return this.toUrl(this.path(e.source.input.from))}}toBase64(e){if(S){return S.from(e).toString("base64")}else{return window.btoa(unescape(encodeURIComponent(e)))}}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(KL){let t=KL(e).toString();this.memoizedFileURLs.set(e,t);return t}else{throw new Error("`map.absolute` option is not available in this PostCSS build")}}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;if($L==="\\"){e=e.replace(/\\/g,"/")}let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);this.memoizedURLs.set(e,n);return n}}var eO=XL;"use strict";const tO="'".charCodeAt(0);const nO='"'.charCodeAt(0);const iO="\\".charCodeAt(0);const rO="/".charCodeAt(0);const oO="\n".charCodeAt(0);const aO=" ".charCodeAt(0);const sO="\f".charCodeAt(0);const lO="\t".charCodeAt(0);const cO="\r".charCodeAt(0);const uO="[".charCodeAt(0);const dO="]".charCodeAt(0);const fO="(".charCodeAt(0);const hO=")".charCodeAt(0);const gO="{".charCodeAt(0);const mO="}".charCodeAt(0);const pO=";".charCodeAt(0);const bO="*".charCodeAt(0);const vO=":".charCodeAt(0);const yO="@".charCodeAt(0);const kO=/[\t\n\f\r "#'()/;[\\\]{}]/g;const TO=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const wO=/.[\r\n"'(/\\]/;const EO=/[\da-f]/i;var SO=function e(t,n={}){let i=t.css.valueOf();let r=n.ignoreErrors;let o,a,s,l,c;let u,d,f,h,g;let m=i.length;let p=0;let b=[];let v=[];function y(){return p}function k(e){throw t.error("Unclosed "+e,p)}function T(){return v.length===0&&p>=m}function w(e){if(v.length)return v.pop();if(p>=m)return;let t=e?e.ignoreUnclosed:false;o=i.charCodeAt(p);switch(o){case oO:case aO:case lO:case cO:case sO:{l=p;do{l+=1;o=i.charCodeAt(l)}while(o===aO||o===oO||o===lO||o===cO||o===sO);u=["space",i.slice(p,l)];p=l-1;break}case uO:case dO:case gO:case mO:case vO:case pO:case hO:{let e=String.fromCharCode(o);u=[e,e,p];break}case fO:{g=b.length?b.pop()[1]:"";h=i.charCodeAt(p+1);if(g==="url"&&h!==tO&&h!==nO&&h!==aO&&h!==oO&&h!==lO&&h!==sO&&h!==cO){l=p;do{d=false;l=i.indexOf(")",l+1);if(l===-1){if(r||t){l=p;break}else{k("bracket")}}f=l;while(i.charCodeAt(f-1)===iO){f-=1;d=!d}}while(d);u=["brackets",i.slice(p,l+1),p,l];p=l}else{l=i.indexOf(")",p+1);a=i.slice(p,l+1);if(l===-1||wO.test(a)){u=["(","(",p]}else{u=["brackets",a,p,l];p=l}}break}case tO:case nO:{c=o===tO?"'":'"';l=p;do{d=false;l=i.indexOf(c,l+1);if(l===-1){if(r||t){l=p+1;break}else{k("string")}}f=l;while(i.charCodeAt(f-1)===iO){f-=1;d=!d}}while(d);u=["string",i.slice(p,l+1),p,l];p=l;break}case yO:{kO.lastIndex=p+1;kO.test(i);if(kO.lastIndex===0){l=i.length-1}else{l=kO.lastIndex-2}u=["at-word",i.slice(p,l+1),p,l];p=l;break}case iO:{l=p;s=true;while(i.charCodeAt(l+1)===iO){l+=1;s=!s}o=i.charCodeAt(l+1);if(s&&o!==rO&&o!==aO&&o!==oO&&o!==lO&&o!==cO&&o!==sO){l+=1;if(EO.test(i.charAt(l))){while(EO.test(i.charAt(l+1))){l+=1}if(i.charCodeAt(l+1)===aO){l+=1}}}u=["word",i.slice(p,l+1),p,l];p=l;break}default:{if(o===rO&&i.charCodeAt(p+1)===bO){l=i.indexOf("*/",p+2)+1;if(l===0){if(r||t){l=i.length}else{k("comment")}}u=["comment",i.slice(p,l+1),p,l];p=l}else{TO.lastIndex=p+1;TO.test(i);if(TO.lastIndex===0){l=i.length-1}else{l=TO.lastIndex-2}u=["word",i.slice(p,l+1),p,l];b.push(u);p=l}break}}p++;return u}function E(e){v.push(e)}return{back:E,endOfFile:T,nextToken:w,position:y}};"use strict";let BO=Ux;let CO=Ex;let MO=Cx;let DO=ML;let _O=LL;let PO=SO;const AO={empty:true,space:true};function xO(e){for(let t=e.length-1;t>=0;t--){let n=e[t];let i=n[3]||n[2];if(i)return i}}class LO{constructor(e){this.input=e;this.root=new DO;this.current=this.root;this.spaces="";this.semicolon=false;this.createTokenizer();this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new BO;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let n;let i;let r;let o=false;let a=false;let s=[];let l=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();n=e[0];if(n==="("||n==="["){l.push(n==="("?")":"]")}else if(n==="{"&&l.length>0){l.push("}")}else if(n===l[l.length-1]){l.pop()}if(l.length===0){if(n===";"){t.source.end=this.getPosition(e[2]);t.source.end.offset++;this.semicolon=true;break}else if(n==="{"){a=true;break}else if(n==="}"){if(s.length>0){r=s.length-1;i=s[r];while(i&&i[0]==="space"){i=s[--r]}if(i){t.source.end=this.getPosition(i[3]||i[2]);t.source.end.offset++}}this.end(e);break}else{s.push(e)}}else{s.push(e)}if(this.tokenizer.endOfFile()){o=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(s);if(s.length){t.raws.afterName=this.spacesAndCommentsFromStart(s);this.raw(t,"params",s);if(o){e=s[s.length-1];t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(a){t.nodes=[];this.current=t}}checkMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let n=0;let i;for(let r=t-1;r>=0;r--){i=e[r];if(i[0]!=="space"){n+=1;if(n===2)break}}throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(e){let t=0;let n,i,r;for(let[o,a]of e.entries()){i=a;r=i[0];if(r==="("){t+=1}if(r===")"){t-=1}if(t===0&&r===":"){if(!n){this.doubleColon(i)}else if(n[0]==="word"&&n[1]==="progid"){continue}else{return o}}n=i}return false}comment(e){let t=new CO;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n)){t.text="";t.raws.left=n;t.raws.right=""}else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}createTokenizer(){this.tokenizer=PO(this.input)}decl(e,t){let n=new MO;this.init(n,e[0][2]);let i=e[e.length-1];if(i[0]===";"){this.semicolon=true;e.pop()}n.source.end=this.getPosition(i[3]||i[2]||xO(e));n.source.end.offset++;while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);n.raws.before+=e.shift()[1]}n.source.start=this.getPosition(e[0][2]);n.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}n.prop+=e.shift()[1]}n.raws.between="";let r;while(e.length){r=e.shift();if(r[0]===":"){n.raws.between+=r[1];break}else{if(r[0]==="word"&&/\w/.test(r[1])){this.unknownWord([r])}n.raws.between+=r[1]}}if(n.prop[0]==="_"||n.prop[0]==="*"){n.raws.before+=n.prop[0];n.prop=n.prop.slice(1)}let o=[];let a;while(e.length){a=e[0][0];if(a!=="space"&&a!=="comment")break;o.push(e.shift())}this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){r=e[t];if(r[1].toLowerCase()==="!important"){n.important=true;let i=this.stringFrom(e,t);i=this.spacesFromEnd(e)+i;if(i!==" !important")n.raws.important=i;break}else if(r[1].toLowerCase()==="important"){let i=e.slice(0);let r="";for(let e=t;e>0;e--){let t=i[e][0];if(r.trim().startsWith("!")&&t!=="space"){break}r=i.pop()[1]+r}if(r.trim().startsWith("!")){n.important=true;n.raws.important=r;e=i}}if(r[0]!=="space"&&r[0]!=="comment"){break}}let s=e.some((e=>e[0]!=="space"&&e[0]!=="comment"));if(s){n.raws.between+=o.map((e=>e[1])).join("");o=[]}this.raw(n,"value",o.concat(e),t);if(n.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new _O;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current.source.end.offset++;this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e);e.source={input:this.input,start:this.getPosition(t)};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}other(e){let t=false;let n=null;let i=false;let r=null;let o=[];let a=e[1].startsWith("--");let s=[];let l=e;while(l){n=l[0];s.push(l);if(n==="("||n==="["){if(!r)r=l;o.push(n==="("?")":"]")}else if(a&&i&&n==="{"){if(!r)r=l;o.push("}")}else if(o.length===0){if(n===";"){if(i){this.decl(s,a);return}else{break}}else if(n==="{"){this.rule(s);return}else if(n==="}"){this.tokenizer.back(s.pop());t=true;break}else if(n===":"){i=true}}else if(n===o[o.length-1]){o.pop();if(o.length===0)r=null}l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(o.length>0)this.unclosedBracket(r);if(t&&i){if(!a){while(s.length){l=s[s.length-1][0];if(l!=="space"&&l!=="comment")break;this.tokenizer.back(s.pop())}}this.decl(s,a)}else{this.unknownWord(s)}}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,i){let r,o;let a=n.length;let s="";let l=true;let c,u;for(let e=0;e<a;e+=1){r=n[e];o=r[0];if(o==="space"&&e===a-1&&!i){l=false}else if(o==="comment"){u=n[e-1]?n[e-1][0]:"empty";c=n[e+1]?n[e+1][0]:"empty";if(!AO[u]&&!AO[c]){if(s.slice(-1)===","){l=false}else{s+=r[1]}}else{l=false}}else{s+=r[1]}}if(!l){let i=n.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:i,value:s}}e[t]=s}rule(e){e.pop();let t=new _O;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}spacesAndCommentsFromEnd(e){let t;let n="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;n=e.pop()[1]+n}return n}spacesAndCommentsFromStart(e){let t;let n="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;n+=e.shift()[1]}return n}spacesFromEnd(e){let t;let n="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;n=e.pop()[1]+n}return n}stringFrom(e,t){let n="";for(let i=t;i<e.length;i++){n+=e[i][1]}e.splice(t,e.length-t);return n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}var OO=LO;"use strict";let RO=qx;let jO=wL;let NO=OO;function IO(e,t){let n=new jO(e,t);let i=new NO(n);try{i.parse()}catch(e){if("development"!=="production"){if(e.name==="CssSyntaxError"&&t&&t.from){if(/\.scss$/i.test(t.from)){e.message+="\nYou tried to parse SCSS with "+"the standard CSS parser; "+"try again with the postcss-scss parser"}else if(/\.sass/i.test(t.from)){e.message+="\nYou tried to parse Sass with "+"the standard CSS parser; "+"try again with the postcss-sass parser"}else if(/\.less$/i.test(t.from)){e.message+="\nYou tried to parse Less with "+"the standard CSS parser; "+"try again with the postcss-less parser"}}}throw e}return i.root}var qO=IO;IO.default=IO;RO.registerParse(IO);"use strict";class zO{constructor(e,t={}){this.type="warning";this.text=e;if(t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line;this.column=e.start.column;this.endLine=e.end.line;this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){if(this.node){return this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message}if(this.plugin){return this.plugin+": "+this.text}return this.text}}var FO=zO;zO.default=zO;"use strict";let UO=FO;class YO{constructor(e,t,n){this.processor=e;this.messages=[];this.root=t;this.opts=n;this.css=undefined;this.map=undefined}toString(){return this.css}warn(e,t={}){if(!t.plugin){if(this.lastPlugin&&this.lastPlugin.postcssPlugin){t.plugin=this.lastPlugin.postcssPlugin}}let n=new UO(e,t);this.messages.push(n);return n}warnings(){return this.messages.filter((e=>e.type==="warning"))}get content(){return this.css}}var VO=YO;YO.default=YO;"use strict";let HO={};var $O=function e(t){if(HO[t])return;HO[t]=true;if(typeof console!=="undefined"&&console.warn){console.warn(t)}};"use strict";let GO=qx;let WO=Gx;let KO=eO;let ZO=qO;let JO=VO;let QO=ML;let XO=lx;let{isClean:eR,my:tR}=cx;let nR=$O;const iR={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"};const rR={AtRule:true,AtRuleExit:true,Comment:true,CommentExit:true,Declaration:true,DeclarationExit:true,Document:true,DocumentExit:true,Once:true,OnceExit:true,postcssPlugin:true,prepare:true,Root:true,RootExit:true,Rule:true,RuleExit:true};const oR={Once:true,postcssPlugin:true,prepare:true};const aR=0;function sR(e){return typeof e==="object"&&typeof e.then==="function"}function lR(e){let t=false;let n=iR[e.type];if(e.type==="decl"){t=e.prop.toLowerCase()}else if(e.type==="atrule"){t=e.name.toLowerCase()}if(t&&e.append){return[n,n+"-"+t,aR,n+"Exit",n+"Exit-"+t]}else if(t){return[n,n+"-"+t,n+"Exit",n+"Exit-"+t]}else if(e.append){return[n,aR,n+"Exit"]}else{return[n,n+"Exit"]}}function cR(e){let t;if(e.type==="document"){t=["Document",aR,"DocumentExit"]}else if(e.type==="root"){t=["Root",aR,"RootExit"]}else{t=lR(e)}return{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function uR(e){e[eR]=false;if(e.nodes)e.nodes.forEach((e=>uR(e)));return e}let dR={};class fR{constructor(e,t,n){this.stringified=false;this.processed=false;let i;if(typeof t==="object"&&t!==null&&(t.type==="root"||t.type==="document")){i=uR(t)}else if(t instanceof fR||t instanceof JO){i=uR(t.root);if(t.map){if(typeof n.map==="undefined")n.map={};if(!n.map.inline)n.map.inline=false;n.map.prev=t.map}}else{let e=ZO;if(n.syntax)e=n.syntax.parse;if(n.parser)e=n.parser;if(e.parse)e=e.parse;try{i=e(t,n)}catch(e){this.processed=true;this.error=e}if(i&&!i[tR]){GO.rebuild(i)}}this.result=new JO(e,i,n);this.helpers={...dR,postcss:dR,result:this.result};this.plugins=this.processor.plugins.map((e=>{if(typeof e==="object"&&e.prepare){return{...e,...e.prepare(this.result)}}else{return e}}))}async(){if(this.error)return Promise.reject(this.error);if(this.processed)return Promise.resolve(this.result);if(!this.processing){this.processing=this.runAsync()}return this.processing}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{if(t)t.addToError(e);this.error=e;if(e.name==="CssSyntaxError"&&!e.plugin){e.plugin=n.postcssPlugin;e.setMessage()}else if(n.postcssVersion){if("development"!=="production"){let e=n.postcssPlugin;let t=n.postcssVersion;let i=this.result.processor.version;let r=t.split(".");let o=i.split(".");if(r[0]!==o[0]||parseInt(r[1])>parseInt(o[1])){console.error("Unknown error from PostCSS plugin. Your current PostCSS "+"version is "+i+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}}}catch(e){if(console&&console.error)console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{if(!this.listeners[t])this.listeners[t]=[];this.listeners[t].push([e,n])};for(let t of this.plugins){if(typeof t==="object"){for(let n in t){if(!rR[n]&&/^[A-Z]/.test(n)){throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`)}if(!oR[n]){if(typeof t[n]==="object"){for(let i in t[n]){if(i==="*"){e(t,n,t[n][i])}else{e(t,n+"-"+i.toLowerCase(),t[n][i])}}}else if(typeof t[n]==="function"){e(t,n,t[n])}}}}}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e];let n=this.runOnRoot(t);if(sR(n)){try{await n}catch(e){throw this.handleError(e)}}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[eR]){e[eR]=true;let t=[cR(e)];while(t.length>0){let e=this.visitTick(t);if(sR(e)){try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}}if(this.listeners.OnceExit){for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else{await n(e,this.helpers)}}catch(e){throw this.handleError(e)}}}}this.processed=true;return this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));if(sR(t[0])){return Promise.all(t)}return t}return e.Once(this.result.root,this.helpers)}else if(typeof e==="function"){return e(this.result.root,this.result)}}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true;this.sync();let e=this.result.opts;let t=XO;if(e.syntax)t=e.syntax.stringify;if(e.stringifier)t=e.stringifier;if(t.stringify)t=t.stringify;let n=new KO(t,this.result.root,this.result.opts);let i=n.generate();this.result.css=i[0];this.result.map=i[1];return this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;this.processed=true;if(this.processing){throw this.getAsyncError()}for(let e of this.plugins){let t=this.runOnRoot(e);if(sR(t)){throw this.getAsyncError()}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[eR]){e[eR]=true;this.walkSync(e)}if(this.listeners.OnceExit){if(e.type==="document"){for(let t of e.nodes){this.visitSync(this.listeners.OnceExit,t)}}else{this.visitSync(this.listeners.OnceExit,e)}}}return this.result}then(e,t){if("development"!=="production"){if(!("from"in this.opts)){nR("Without `from` option PostCSS could generate wrong source map "+"and will not find Browserslist config. Set it to CSS file path "+"or to `undefined` to prevent this warning.")}}return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,i]of e){this.result.lastPlugin=n;let e;try{e=i(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent){return true}if(sR(e)){throw this.getAsyncError()}}}visitTick(e){let t=e[e.length-1];let{node:n,visitors:i}=t;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&t.visitorIndex<i.length){let[e,r]=i[t.visitorIndex];t.visitorIndex+=1;if(t.visitorIndex===i.length){t.visitors=[];t.visitorIndex=0}this.result.lastPlugin=e;try{return r(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){let i=t.iterator;let r;while(r=n.nodes[n.indexes[i]]){n.indexes[i]+=1;if(!r[eR]){r[eR]=true;e.push(cR(r));return}}t.iterator=0;delete n.indexes[i]}let r=t.events;while(t.eventIndex<r.length){let e=r[t.eventIndex];t.eventIndex+=1;if(e===aR){if(n.nodes&&n.nodes.length){n[eR]=true;t.iterator=n.getIterator()}return}else if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[eR]=true;let t=lR(e);for(let n of t){if(n===aR){if(e.nodes){e.each((e=>{if(!e[eR])this.walkSync(e)}))}}else{let t=this.listeners[n];if(t){if(this.visitSync(t,e.toProxy()))return}}}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}fR.registerPostcss=e=>{dR=e};var hR=fR;fR.default=fR;QO.registerLazyResult(fR);WO.registerLazyResult(fR);"use strict";let gR=eO;let mR=qO;const pR=VO;let bR=lx;let vR=$O;class yR{constructor(e,t,n){t=t.toString();this.stringified=false;this._processor=e;this._css=t;this._opts=n;this._map=undefined;let i;let r=bR;this.result=new pR(this._processor,i,this._opts);this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new gR(r,i,this._opts,t);if(a.isMap()){let[e,t]=a.generate();if(e){this.result.css=e}if(t){this.result.map=t}}else{a.clearAnnotation();this.result.css=a.css}}async(){if(this.error)return Promise.reject(this.error);return Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){if("development"!=="production"){if(!("from"in this._opts)){vR("Without `from` option PostCSS could generate wrong source map "+"and will not find Browserslist config. Set it to CSS file path "+"or to `undefined` to prevent this warning.")}}return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root){return this._root}let e;let t=mR;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error){throw this.error}else{this._root=e;return e}}get[Symbol.toStringTag](){return"NoWorkResult"}}var kR=yR;yR.default=yR;"use strict";let TR=Gx;let wR=hR;let ER=kR;let SR=ML;class BR{constructor(e=[]){this.version="8.4.49";this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e){if(n.postcss===true){n=n()}else if(n.postcss){n=n.postcss}if(typeof n==="object"&&Array.isArray(n.plugins)){t=t.concat(n.plugins)}else if(typeof n==="object"&&n.postcssPlugin){t.push(n)}else if(typeof n==="function"){t.push(n)}else if(typeof n==="object"&&(n.parse||n.stringify)){if("development"!=="production"){throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use "+"one of the syntax/parser/stringifier options as outlined "+"in your PostCSS runner documentation.")}}else{throw new Error(n+" is not a PostCSS plugin")}}return t}process(e,t={}){if(!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax){return new ER(this,e,t)}else{return new wR(this,e,t)}}use(e){this.plugins=this.plugins.concat(this.normalize([e]));return this}}var CR=BR;BR.default=BR;SR.registerProcessor(BR);TR.registerProcessor(BR);"use strict";let MR=Ux;let DR=Ex;let _R=qx;let PR=tx;let AR=Cx;let xR=Gx;let LR=UL;let OR=wL;let RR=hR;let jR=_L;let NR=kx;let IR=qO;let qR=CR;let zR=VO;let FR=ML;let UR=LL;let YR=lx;let VR=FO;function HR(...e){if(e.length===1&&Array.isArray(e[0])){e=e[0]}return new qR(e)}HR.plugin=function e(t,n){let i=false;function r(...e){if(console&&console.warn&&!i){i=true;console.warn(t+": postcss.plugin was deprecated. Migration guide:\n"+"https://evilmartians.com/chronicles/postcss-8-plugin-migration");if(YA.env.LANG&&YA.env.LANG.startsWith("cn")){console.warn(t+": 里面 postcss.plugin 被弃用. 迁移指南:\n"+"https://www.w3ctech.com/topic/2226")}}let r=n(...e);r.postcssPlugin=t;r.postcssVersion=(new qR).version;return r}let o;Object.defineProperty(r,"postcss",{get(){if(!o)o=r();return o}});r.process=function(e,t,n){return HR([r(n)]).process(e,t)};return r};HR.stringify=YR;HR.parse=IR;HR.fromJSON=LR;HR.list=jR;HR.comment=e=>new DR(e);HR.atRule=e=>new MR(e);HR.decl=e=>new AR(e);HR.rule=e=>new UR(e);HR.root=e=>new FR(e);HR.document=e=>new xR(e);HR.CssSyntaxError=PR;HR.Declaration=AR;HR.Container=_R;HR.Processor=qR;HR.Document=xR;HR.Comment=DR;HR.Warning=VR;HR.AtRule=MR;HR.Result=zR;HR.Input=OR;HR.Rule=UR;HR.Root=FR;HR.Node=NR;RR.registerPostcss(HR);var $R=HR;HR.default=HR;const GR=bA;const WR=vA;const{isPlainObject:KR}=wA;const ZR=zA;const JR=FA.exports;const{parse:QR}=$R;const XR=["img","audio","video","picture","svg","object","map","iframe","embed"];const ej=["script","style"];function tj(e,t){if(e){Object.keys(e).forEach((function(n){t(e[n],n)}))}}function nj(e,t){return{}.hasOwnProperty.call(e,t)}function ij(e,t){const n=[];tj(e,(function(e){if(t(e)){n.push(e)}}));return n}function rj(e){for(const t in e){if(nj(e,t)){return false}}return true}function oj(e){return e.map((function(e){if(!e.url){throw new Error("URL missing")}return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", ")}var aj=lj;const sj=/^[^\0\t\n\f\r /<=>]+$/;function lj(e,t,n){if(e==null){return""}if(typeof e==="number"){e=e.toString()}let i="";let r="";function o(e,t){const n=this;this.tag=e;this.attribs=t||{};this.tagPosition=i.length;this.text="";this.mediaChildren=[];this.updateParentNodeText=function(){if(p.length){const e=p[p.length-1];e.text+=n.text}};this.updateParentNodeMediaChildren=function(){if(p.length&&XR.includes(this.tag)){const e=p[p.length-1];e.mediaChildren.push(this.tag)}}}t=Object.assign({},lj.defaults,t);t.parser=Object.assign({},cj,t.parser);const a=function(e){return t.allowedTags===false||(t.allowedTags||[]).indexOf(e)>-1};ej.forEach((function(e){if(a(e)&&!t.allowVulnerableTags){console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}}));const s=t.nonTextTags||["script","style","textarea","option"];let l;let c;if(t.allowedAttributes){l={};c={};tj(t.allowedAttributes,(function(e,t){l[t]=[];const n=[];e.forEach((function(e){if(typeof e==="string"&&e.indexOf("*")>=0){n.push(WR(e).replace(/\\\*/g,".*"))}else{l[t].push(e)}}));if(n.length){c[t]=new RegExp("^("+n.join("|")+")$")}}))}const u={};const d={};const f={};tj(t.allowedClasses,(function(e,t){if(l){if(!nj(l,t)){l[t]=[]}l[t].push("class")}u[t]=e;if(Array.isArray(e)){const n=[];u[t]=[];f[t]=[];e.forEach((function(e){if(typeof e==="string"&&e.indexOf("*")>=0){n.push(WR(e).replace(/\\\*/g,".*"))}else if(e instanceof RegExp){f[t].push(e)}else{u[t].push(e)}}));if(n.length){d[t]=new RegExp("^("+n.join("|")+")$")}}}));const h={};let g;tj(t.transformTags,(function(e,t){let n;if(typeof e==="function"){n=e}else if(typeof e==="string"){n=lj.simpleTransform(e)}if(t==="*"){g=n}else{h[t]=n}}));let m;let p;let b;let v;let y;let k;let T=false;E();const w=new GR.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&e==="html"){E()}if(y){k++;return}const w=new o(e,n);p.push(w);let _=false;const A=!!w.text;let x;if(nj(h,e)){x=h[e](e,n);w.attribs=n=x.attribs;if(x.text!==undefined){w.innerText=x.text}if(e!==x.tagName){w.name=e=x.tagName;v[m]=x.tagName}}if(g){x=g(e,n);w.attribs=n=x.attribs;if(e!==x.tagName){w.name=e=x.tagName;v[m]=x.tagName}}if(!a(e)||t.disallowedTagsMode==="recursiveEscape"&&!rj(b)||t.nestingLimit!=null&&m>=t.nestingLimit){_=true;b[m]=true;if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){if(s.indexOf(e)!==-1){y=true;k=1}}b[m]=true}m++;if(_){if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){return}r=i;i=""}i+="<"+e;if(e==="script"){if(t.allowedScriptHostnames||t.allowedScriptDomains){w.innerText=""}}if(!l||nj(l,e)||l["*"]){tj(n,(function(n,r){if(!sj.test(r)){delete w.attribs[r];return}if(n===""&&!t.allowedEmptyAttributes.includes(r)&&(t.nonBooleanAttributes.includes(r)||t.nonBooleanAttributes.includes("*"))){delete w.attribs[r];return}let o=false;if(!l||nj(l,e)&&l[e].indexOf(r)!==-1||l["*"]&&l["*"].indexOf(r)!==-1||nj(c,e)&&c[e].test(r)||c["*"]&&c["*"].test(r)){o=true}else if(l&&l[e]){for(const t of l[e]){if(KR(t)&&t.name&&t.name===r){o=true;let e="";if(t.multiple===true){const i=n.split(" ");for(const n of i){if(t.values.indexOf(n)!==-1){if(e===""){e=n}else{e+=" "+n}}}}else if(t.values.indexOf(n)>=0){e=n}n=e}}}if(o){if(t.allowedSchemesAppliedToAttributes.indexOf(r)!==-1){if(B(e,n)){delete w.attribs[r];return}}if(e==="script"&&r==="src"){let e=true;try{const i=C(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===i.url.hostname}));const r=(t.allowedScriptDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=false}if(!e){delete w.attribs[r];return}}if(e==="iframe"&&r==="src"){let e=true;try{const i=C(n);if(i.isRelativeUrl){e=nj(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains}else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===i.url.hostname}));const r=(t.allowedIframeDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=false}if(!e){delete w.attribs[r];return}}if(r==="srcset"){try{let e=JR(n);e.forEach((function(e){if(B("srcset",e.url)){e.evil=true}}));e=ij(e,(function(e){return!e.evil}));if(!e.length){delete w.attribs[r];return}else{n=oj(ij(e,(function(e){return!e.evil})));w.attribs[r]=n}}catch(e){delete w.attribs[r];return}}if(r==="class"){const t=u[e];const i=u["*"];const o=d[e];const a=f[e];const s=d["*"];const l=[o,s].concat(a).filter((function(e){return e}));if(t&&i){n=P(n,ZR(t,i),l)}else{n=P(n,t||i,l)}if(!n.length){delete w.attribs[r];return}}if(r==="style"){if(t.parseStyleAttributes){try{const i=QR(e+" {"+n+"}",{map:false});const o=M(i,t.allowedStyles);n=D(o);if(n.length===0){delete w.attribs[r];return}}catch(t){if(typeof window!=="undefined"){console.warn('Failed to parse "'+e+" {"+n+"}"+"\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547")}delete w.attribs[r];return}}else if(t.allowedStyles){throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}}i+=" "+r;if(n&&n.length){i+='="'+S(n,true)+'"'}else if(t.allowedEmptyAttributes.includes(r)){i+='=""'}}else{delete w.attribs[r]}}))}if(t.selfClosing.indexOf(e)!==-1){i+=" />"}else{i+=">";if(w.innerText&&!A&&!t.textFilter){i+=S(w.innerText);T=true}}if(_){i=r+S(i);r=""}},ontext:function(e){if(y){return}const n=p[p.length-1];let r;if(n){r=n.tag;e=n.innerText!==undefined?n.innerText:e}if(t.disallowedTagsMode==="completelyDiscard"&&!a(r)){e=""}else if((t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard")&&(r==="script"||r==="style")){i+=e}else{const n=S(e,false);if(t.textFilter&&!T){i+=t.textFilter(n,r)}else if(!T){i+=n}}if(p.length){const t=p[p.length-1];t.text+=e}},onclosetag:function(e,n){if(y){k--;if(!k){y=false}else{return}}const o=p.pop();if(!o){return}if(o.tag!==e){p.push(o);return}y=t.enforceHtmlBoundary?e==="html":false;m--;const s=b[m];if(s){delete b[m];if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){o.updateParentNodeText();return}r=i;i=""}if(v[m]){e=v[m];delete v[m]}if(t.exclusiveFilter&&t.exclusiveFilter(o)){i=i.substr(0,o.tagPosition);return}o.updateParentNodeMediaChildren();o.updateParentNodeText();if(t.selfClosing.indexOf(e)!==-1||n&&!a(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0){if(s){i=r;r=""}return}i+="</"+e+">";if(s){i=r+S(i);r=""}T=false}},t.parser);w.write(e);w.end();return i;function E(){i="";m=0;p=[];b={};v={};y=false;k=0}function S(e,n){if(typeof e!=="string"){e=e+""}if(t.parser.decodeEntities){e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");if(n){e=e.replace(/"/g,"&quot;")}}e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");if(n){e=e.replace(/"/g,"&quot;")}return e}function B(e,n){n=n.replace(/[\x00-\x20]+/g,"");while(true){const e=n.indexOf("\x3c!--");if(e===-1){break}const t=n.indexOf("--\x3e",e+4);if(t===-1){break}n=n.substring(0,e)+n.substring(t+3)}const i=n.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!i){if(n.match(/^[/\\]{2}/)){return!t.allowProtocolRelative}return false}const r=i[1].toLowerCase();if(nj(t.allowedSchemesByTag,e)){return t.allowedSchemesByTag[e].indexOf(r)===-1}return!t.allowedSchemes||t.allowedSchemes.indexOf(r)===-1}function C(e){e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//");if(e.startsWith("relative:")){throw new Error("relative: exploit attempt")}let t="relative://relative-site";for(let e=0;e<100;e++){t+=`/${e}`}const n=new URL(e,t);const i=n&&n.hostname==="relative-site"&&n.protocol==="relative:";return{isRelativeUrl:i,url:n}}function M(e,t){if(!t){return e}const n=e.nodes[0];let i;if(t[n.selector]&&t["*"]){i=ZR(t[n.selector],t["*"])}else{i=t[n.selector]||t["*"]}if(i){e.nodes[0].nodes=n.nodes.reduce(_(i),[])}return e}function D(e){return e.nodes[0].nodes.reduce((function(e,t){e.push(`${t.prop}:${t.value}${t.important?" !important":""}`);return e}),[]).join(";")}function _(e){return function(t,n){if(nj(e,n.prop)){const i=e[n.prop].some((function(e){return e.test(n.value)}));if(i){t.push(n)}}return t}}function P(e,t,n){if(!t){return e}e=e.split(/\s+/);return e.filter((function(e){return t.indexOf(e)!==-1||n.some((function(t){return t.test(e)}))})).join(" ")}}const cj={decodeEntities:true};lj.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:true,enforceHtmlBoundary:false,parseStyleAttributes:true};lj.simpleTransform=function(e,t,n){n=n===undefined?true:n;t=t||{};return function(i,r){let o;if(n){for(o in t){r[o]=t[o]}}else{r=t}return{tagName:e,attribs:r}}};var uj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n():"function"==typeof undefined&&undefined.amd?undefined(n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_timezone=n()}(t,(function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,i,r){var o,a=function(e,n,i){void 0===i&&(i={});var r=new Date(e),o=function(e,n){void 0===n&&(n={});var i=n.timeZoneName||"short",r=e+"|"+i,o=t[r];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),t[r]=o),o}(n,i);return o.formatToParts(r)},s=function(t,n){for(var i=a(t,n),o=[],s=0;s<i.length;s+=1){var l=i[s],c=l.type,u=l.value,d=e[c];d>=0&&(o[d]=parseInt(u,10))}var f=o[3],h=24===f?0:f,g=o[0]+"-"+o[1]+"-"+o[2]+" "+h+":"+o[4]+":"+o[5]+":000",m=+t;return(r.utc(g).valueOf()-(m-=m%1e3))/6e4},l=i.prototype;l.tz=function(e,t){void 0===e&&(e=o);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:e}),s=Math.round((i-new Date(a))/1e3/60),l=r(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-s,!0);if(t){var c=l.utcOffset();l=l.add(n-c,"minute")}return l.$x.$timezone=e,l},l.offsetName=function(e){var t=this.$x.$timezone||r.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return n&&n.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return c.call(n,e,t).tz(this.$x.$timezone,!0)},r.tz=function(e,t,n){var i=n&&t,a=n||t||o,l=s(+r(),a);if("string"!=typeof e)return r(e).tz(a);var c=function(e,t,n){var i=e-60*t*1e3,r=s(i,n);if(t===r)return[i,t];var o=s(i-=60*(r-t)*1e3,n);return r===o?[i,r]:[e-60*Math.min(r,o)*1e3,Math.max(r,o)]}(r.utc(e,i).valueOf(),l,a),u=c[0],d=c[1],f=r(u).utcOffset(d);return f.$x.$timezone=a,f},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(e){o=e}}}))})(uj,uj.exports);const dj=uj.exports;var fj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_fr=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return n.default.locale(i,null,!0),i}))})(fj,fj.exports);const hj=fj.exports;var gj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_es=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return n.default.locale(i,null,!0),i}))})(gj,gj.exports);const mj=gj.exports;var pj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_de=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function r(e,t,n){var r=i[n];return Array.isArray(r)&&(r=r[t?0:1]),r.replace("%d",e)}var o={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return n.default.locale(o,null,!0),o}))})(pj,pj.exports);const bj=pj.exports;var vj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_nl=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return n.default.locale(i,null,!0),i}))})(vj,vj.exports);const yj=vj.exports;var kj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_sv=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return n.default.locale(i,null,!0),i}))})(kj,kj.exports);const Tj=kj.exports;var wj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_ja=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return n.default.locale(i,null,!0),i}))})(wj,wj.exports);const Ej=wj.exports;var Sj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_zh_cn=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return n.default.locale(i,null,!0),i}))})(Sj,Sj.exports);const Bj=Sj.exports;var Cj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_ko=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return n.default.locale(i,null,!0),i}))})(Cj,Cj.exports);const Mj=Cj.exports;r.extend(o);r.extend(dj);const Dj={textFilter:function(e){return e.replace(/&amp;/g,"&")}};function _j(e){return r().tz(e).format("Z")}function Pj(e){return aj(e,Dj)}function Aj(e,t,n){return(e||"")+(t?` ${t}`:"")+(n?` ${n}`:"")}function xj(e){return Object.keys(e).reduce(((t,n)=>{if(e[n]!==undefined){t[n]=e[n]}return t}),{})}function Lj(...e){if(window&&window.localStorage&&window.localStorage.getItem("debug")){console.groupCollapsed(...e);const t=new Error;t.name="Debug";console.debug(t.stack);console.groupEnd()}}function Oj(...e){console.error(...e)}function Rj(){return Math.random().toString(36).substr(2,9)}function jj(e){return e.toString().replace(/^on/,"")}function Nj(e){const t=new Date(e*1e3);const n=new Date;const i=new Date(n.getFullYear(),n.getMonth(),n.getDate());if(t>=i){const e=new Intl.DateTimeFormat("default",{hour:"numeric",minute:"numeric",hour12:true});return e.format(t)}else{const e=new Intl.DateTimeFormat("default",{month:"short",day:"numeric"});return e.format(t)}}function Ij(e){return e.name?`${e.name} - ${e.email}`:e.email}function qj(e,t="",n=1,i=3){const r=e.find((e=>e.email?.toLowerCase()===t.toLowerCase()));const o=e.filter((e=>e.email?.toLowerCase()!==t.toLowerCase()));const a=o.length;const s=o.slice(0,i).map((e=>e.name||e.email)).join(", ");if(a===0){return r?"me":""}else if(a===1){return r&&n>1?`me, ${s}`:s}else if(a===2){return r?`me, ${s}`:`${s}`}else{return r?`me, ${s}, +${a-i}`:`${s}, +${a-i}`}}const zj=[{amount:60,name:"seconds"},{amount:60,name:"minutes"},{amount:24,name:"hours"},{amount:7,name:"days"},{amount:4.34524,name:"weeks"},{amount:12,name:"months"},{amount:Number.POSITIVE_INFINITY,name:"years"}];const Fj=e=>{const t=new Intl.RelativeTimeFormat(undefined,{numeric:"auto"});const n=new Date;let i=(e.getTime()-n.getTime())/1e3;for(let e=0;e<=zj.length;e++){const n=zj[e];if(Math.abs(i)<n.amount){return t.format(Math.round(i),n.name)}i/=n.amount}};function Uj(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function Yj(e){return new Date(e.getFullYear(),e.getMonth(),1)}function Vj(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0)}function Hj(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function $j(e,t,n){const i=r(e).tz(n);const o=r(t);return i.year()===o.year()&&i.month()===o.month()&&i.date()===o.date()}function Gj(e,t,n="en-US"){return r(e).tz(t).locale(n).format("dddd, MMMM D, YYYY")}function Wj(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}function Kj(e){return e.replace(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()))}function Zj(e){return e.replace("CATEGORY_","").replace(/_/g," ")}function Jj(e){const t=/<[^>]*>/g;return t.test(e)?"html":"plain"}function Qj(e){const t=e.headers;const n=t&&t.find((e=>e.name==="Content-Type"))?.value||"";const i=t&&t.find((e=>e.name==="Content-Disposition"))?.value||"";if(n.includes("text/html")){return true}if(i.includes("inline")){return true}if(e.body&&Jj(e.body)==="html"){return true}return false}function Xj(e){const t=e.split("\n").filter((e=>e.trim().length>0));const n=t.map((e=>`<p>${e}</p>`));let i=n.join("");const r=/((?:https?|ftp):\/\/[^\s]+)/g;i=i.replace(r,'<a href="$1">$1</a>');return i}function eN(e){const t=(new DOMParser).parseFromString(e,"text/html");return t.body.textContent||""}function tN(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0)}function nN(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23)}function iN(e){return`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`}function rN(){return Intl.DateTimeFormat().resolvedOptions().timeZone}const oN=e=>{if(e.includes("RRULE:")){e=e.replace("RRULE:","");return ti.fromString(e).toText()}return ti.fromString(e).toText()};const aN=e=>{if(e===""){return true}const t=/^(0[0-9]|1[0-2]|^[0-9])(:[0-5][0-9][ap]m?|:[0-5][0-9]|:[0-5]|:)?$/i;return t.test(e)};const sN=e=>{const t=/^(0[1-9]|1[0-2]):([0-5][0-9])(am|pm)$/i;return t.test(e)};function lN(e=null){let t=r();if(e){t=e}const n=t.minute()%15;let i;if(n!==0){i=t.add(15-n,"minute")}else{i=t}return i}function cN(e){const t=r();let n="";const[i,o]=e.split(":");if(i.length===1){n+="0"+i}else if(i.length===2){n+=i}n+=":";if(o===undefined||o==""){n+="00"}else{if(o.length===1){n+=o+"0"}else{n+=o}}const a=n.slice(-1);if(a==="a"){n+="m"}if(a==="p"){n+="m"}if(n.slice(-1)!=="m"){if(n.split(":")[0]=="00"){n+="am"}else{n+=t.format("a")}}return n}function uN(e){return r(e,"hh:mma")}function dN(e,t){return r(e).tz(t).format("hh:mm A")}function fN(e){const[t,n]=e.split(":").map((e=>parseInt(e,10)));let i=t;const r=i>=12?"pm":"am";i=i%12;i=i?i:12;const o=i.toString().padStart(2,"0");const a=n.toString().padStart(2,"0");return`${o}:${a}${r}`}function hN(e){const[t,n]=e.split(/(am|pm)/i);const[i,r]=t.split(":").map((e=>parseInt(e,10)));let o=i;if(n.toLowerCase()==="pm"&&o<12){o+=12}else if(n.toLowerCase()==="am"&&o===12){o=0}return`${o.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`}function gN(e){const[t,n]=e.match(/(\d+):(\d+)(am|pm)/).slice(1);let i=parseInt(t,10)*60+parseInt(n,10);if(e.includes("pm")&&parseInt(t,10)<12)i+=12*60;if(e.includes("am")&&parseInt(t,10)===12)i-=12*60;return i}function mN(e){const t=Math.floor(e/60);const n=e%60;return`${t}:${n<10?"0":""}${n}`}function pN(){const e=navigator.userAgent;const t=/Chrome/.test(e)&&/Google Inc/.test(navigator.vendor);const n=/Safari/.test(e)&&/Apple Computer/.test(navigator.vendor);const i=/Firefox/.test(e);const r=/Trident/.test(e);const o=/Edge/.test(e);const a=t&&/Edg/.test(e);if(a)return"Edge (Chromium)";if(t)return"Chrome";if(n)return"Safari";if(i)return"Firefox";if(r)return"Internet Explorer";if(o)return"Edge (Legacy)";return"Unknown"}function bN(e,t=null){if(t){return[null,t]}return[e,null]}function vN(e,t){const n={"config.id":t?.id,id:t?.id,slug:t?.slug};Object.keys(n).forEach((t=>{if(n[t]){e=e.replace(`{${t}}`,n[t])}}));return e}function yN(e){if(e.keyCode<48||e.keyCode>90&&e.keyCode<96||e.keyCode>111&&e.keyCode<186||e.keyCode>222||e.keyCode===32||e.keyCode===91||e.keyCode===92||e.keyCode===93||e.keyCode>=112&&e.keyCode<=123||e.keyCode>=37&&e.keyCode<=40){return true}if(e.ctrlKey||e.altKey||e.metaKey){return true}const t=[48,49,50,51,52,53,54,55,56,57,186,187,188,189,190,191,192,219,220,221,222];if(e.shiftKey&&t.includes(e.keyCode)){return false}return false}function kN(e,t){const n=new Date(e);n.setDate(n.getDate()+t);n.setHours(23);n.setMinutes(59);n.setSeconds(0);n.setMilliseconds(0);return n}function TN(e,t){const n=new Date(e);n.setMinutes(n.getMinutes()+t);return n}function wN(e){return e&&typeof e==="object"&&!Array.isArray(e)}function EN(e,t){if(Array.isArray(e)&&Array.isArray(t)&&e!==t){if(e.some((e=>e.is_organizer))&&t.some((e=>e.is_organizer))){e=e.map((e=>({...e,is_organizer:false})))}else if(!t.some((e=>e.is_organizer))){let t=false;e=e.map((e=>{if(!t){t=true;return{...e,is_organizer:true}}return e}))}return e.map(((e,n)=>t[n]?EN(e,t[n]):e)).concat(t.slice(e.length))}else if(wN(e)&&wN(t)){const n=Object.assign({},e);Object.keys(t).forEach((i=>{if(wN(t[i])){if(!(i in e)){n[i]=t[i]}else{n[i]=EN(e[i],t[i])}}else{n[i]=t[i]}}));return n}return t}function SN(e){if(e<60){return`${e} ${MN("time.minutes")}`}const t=Math.floor(e/60);const n=e%60;const i=MN(`time.${t>1?"hours":"hour"}`);const r=n?`${n} ${MN(`time.${n>1?"minutes":"minute"}`)}`:"";return`${t} ${i} ${r}`}function BN(e,t){e.forEach((e=>{const n=t.shadowRoot?.querySelector(`slot[name="${e}"]`);const i=n?.assignedNodes();if(i&&i.length===0){console.warn(`${t.nodeName} No content provided for slot="${e}".`)}}))}function CN(e){const t=S.from(e,"base64");const n=t.slice(0,16);const i=t.slice(16,32);const r=t.slice(32);function o(e){const t=e.toString("hex");return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}const a=o(n);const s=o(i);const l=r.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");return[a,s,l]}const MN=e=>hr.t(e);const DN=e=>{if(typeof e!=="string")return"";return e.charAt(0).toUpperCase()+e.slice(1)};const _N=e=>MN(`months.${e}`);const PN=e=>{try{new URL(e);return true}catch(e){return false}};const AN=e=>new Promise(((t,n)=>{if(e==="")return t(true);const i=new Image;i.src=e;i.onerror=()=>{n(false)};i.onload=()=>{t(true)}}));function xN(e,t,n,i,o="UTC"){const a={0:ti.SU,1:ti.MO,2:ti.TU,3:ti.WE,4:ti.TH,5:ti.FR,6:ti.SA};const s=r.tz(e,o).toDate();const l=a[s.getDay()];const c=s.getDate();const u=Math.ceil(c/7);const d=n?r.tz(n,o).toDate():undefined;switch(t){case"none":{return null}case"daily":{return new ti({freq:ti.DAILY,until:d}).toString()}case"weekly":{return new ti({freq:ti.WEEKLY,byweekday:l,until:d}).toString()}case"monthly":{return new ti({freq:ti.MONTHLY,byweekday:[l.nth(u)],until:d}).toString()}case"yearly":{return new ti({freq:ti.YEARLY,dtstart:s,until:d}).toString()}case"custom":{if(!i){throw new Error("Custom options must be provided for custom recurrence.")}const t=i.frequency==="weekly"?i.daysOfWeek?.map((e=>ti[e])):i.frequency==="monthly"&&!i.monthlySameDate?[l.nth(u)]:undefined;const n=i.frequency==="monthly"&&i.monthlySameDate?r.tz(e,o).date():undefined;return new ti({freq:{daily:ti.DAILY,weekly:ti.WEEKLY,monthly:ti.MONTHLY,yearly:ti.YEARLY}[i.frequency||"daily"],interval:i.interval||1,byweekday:t,bymonthday:n,until:i.end?.type==="on"?r.tz(i.end.date,o).toDate():undefined,count:i.end?.type==="after"?i.end.count:undefined}).toString()}default:{throw new Error(`Invalid option: ${t}`)}}}function LN(e,t){const n=r(e).startOf("day");let i;let o;switch(t){case"week":{i=n.startOf("week");o=n.endOf("week");break}case"month":{i=n.startOf("month").startOf("week");o=n.endOf("month").endOf("week");break}case"day":{i=n.startOf("day");o=n.endOf("day");break}default:{throw new Error('Invalid viewType. Use "week", "month", or "day".')}}return{startTime:i.unix(),endTime:o.unix()}}export{gN as A,S as B,fN as C,mN as D,hN as E,PN as F,BN as G,xN as H,AN as I,pN as J,yN as K,cN as L,aN as M,lN as N,sN as O,Lj as a,kN as b,LN as c,bN as d,Oj as e,jj as f,a as g,CN as h,hr as i,DN as j,Gj as k,Pj as l,Wj as m,Uj as n,Yj as o,YA as p,Hj as q,$j as r,aj as s,dj as t,Rj as u,SN as v,_N as w,EN as x,vN as y,_j as z};
14
- //# sourceMappingURL=utils-3fdf2c83.js.map
13
+ */function yA(e){return Object.prototype.toString.call(e)==="[object Object]"}function kA(e){var t,n;if(yA(e)===false)return false;t=e.constructor;if(t===undefined)return true;n=t.prototype;if(yA(n)===false)return false;if(n.hasOwnProperty("isPrototypeOf")===false){return false}return true}const TA=Object.freeze({__proto__:null,isPlainObject:kA});const wA=n(TA);"use strict";var EA=function e(t){return SA(t)&&!BA(t)};function SA(e){return!!e&&typeof e==="object"}function BA(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||DA(e)}var CA=typeof Symbol==="function"&&Symbol.for;var MA=CA?Symbol.for("react.element"):60103;function DA(e){return e.$$typeof===MA}function _A(e){return Array.isArray(e)?[]:{}}function PA(e,t){return t.clone!==false&&t.isMergeableObject(e)?IA(_A(e),e,t):e}function AA(e,t,n){return e.concat(t).map((function(e){return PA(e,n)}))}function xA(e,t){if(!t.customMerge){return IA}var n=t.customMerge(e);return typeof n==="function"?n:IA}function LA(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}function OA(e){return Object.keys(e).concat(LA(e))}function RA(e,t){try{return t in e}catch(e){return false}}function jA(e,t){return RA(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function NA(e,t,n){var i={};if(n.isMergeableObject(e)){OA(e).forEach((function(t){i[t]=PA(e[t],n)}))}OA(t).forEach((function(r){if(jA(e,r)){return}if(RA(e,r)&&n.isMergeableObject(t[r])){i[r]=xA(r,n)(e[r],t[r],n)}else{i[r]=PA(t[r],n)}}));return i}function IA(e,t,n){n=n||{};n.arrayMerge=n.arrayMerge||AA;n.isMergeableObject=n.isMergeableObject||EA;n.cloneUnlessOtherwiseSpecified=PA;var i=Array.isArray(t);var r=Array.isArray(e);var o=i===r;if(!o){return PA(t,n)}else if(i){return n.arrayMerge(e,t,n)}else{return NA(e,t,n)}}IA.all=function e(t,n){if(!Array.isArray(t)){throw new Error("first argument should be an array")}return t.reduce((function(e,t){return IA(e,t,n)}),{})};var qA=IA;var zA=qA;var FA={exports:{}};(function(e){(function(t,n){if(typeof undefined==="function"&&undefined.amd){undefined([],n)}else if("object"==="object"&&e.exports){e.exports=n()}else{t.parseSrcset=n()}})(t,(function(){return function(e){function t(e){return e===" "||e==="\t"||e==="\n"||e==="\f"||e==="\r"}function n(t){var n,i=t.exec(e.substring(m));if(i){n=i[0];m+=n.length;return n}}var i=e.length,r=/^[ \t\n\r\u000c]+/,o=/^[, \t\n\r\u000c]+/,a=/^[^ \t\n\r\u000c]+/,s=/[,]+$/,l=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,u,d,f,h,g,m=0,p=[];while(true){n(o);if(m>=i){return p}u=n(a);d=[];if(u.slice(-1)===","){u=u.replace(s,"");v()}else{b()}}function b(){n(r);f="";h="in descriptor";while(true){g=e.charAt(m);if(h==="in descriptor"){if(t(g)){if(f){d.push(f);f="";h="after descriptor"}}else if(g===","){m+=1;if(f){d.push(f)}v();return}else if(g==="("){f=f+g;h="in parens"}else if(g===""){if(f){d.push(f)}v();return}else{f=f+g}}else if(h==="in parens"){if(g===")"){f=f+g;h="in descriptor"}else if(g===""){d.push(f);v();return}else{f=f+g}}else if(h==="after descriptor"){if(t(g)){}else if(g===""){v();return}else{h="in descriptor";m-=1}}m+=1}}function v(){var t=false,n,i,r,o,a={},s,f,h,g,m;for(o=0;o<d.length;o++){s=d[o];f=s[s.length-1];h=s.substring(0,s.length-1);g=parseInt(h,10);m=parseFloat(h);if(l.test(h)&&f==="w"){if(n||i){t=true}if(g===0){t=true}else{n=g}}else if(c.test(h)&&f==="x"){if(n||i||r){t=true}if(m<0){t=true}else{i=m}}else if(l.test(h)&&f==="h"){if(r||i){t=true}if(g===0){t=true}else{r=g}}else{t=true}}if(!t){a.url=u;if(n){a.w=n}if(i){a.d=i}if(r){a.h=r}p.push(a)}else if(console&&console.log){console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'.")}}}}))})(FA);const UA=FA.exports;var YA=t.process;var VA={exports:{}};var HA=String;var $A=function(){return{isColorSupported:false,reset:HA,bold:HA,dim:HA,italic:HA,underline:HA,inverse:HA,hidden:HA,strikethrough:HA,black:HA,red:HA,green:HA,yellow:HA,blue:HA,magenta:HA,cyan:HA,white:HA,gray:HA,bgBlack:HA,bgRed:HA,bgGreen:HA,bgYellow:HA,bgBlue:HA,bgMagenta:HA,bgCyan:HA,bgWhite:HA,blackBright:HA,redBright:HA,greenBright:HA,yellowBright:HA,blueBright:HA,magentaBright:HA,cyanBright:HA,whiteBright:HA,bgBlackBright:HA,bgRedBright:HA,bgGreenBright:HA,bgYellowBright:HA,bgBlueBright:HA,bgMagentaBright:HA,bgCyanBright:HA,bgWhiteBright:HA}};VA.exports=$A();var GA=VA.exports.createColors=$A;const WA=VA.exports;const KA={};const ZA=Object.freeze({__proto__:null,default:KA});const JA=n(ZA);"use strict";let QA=VA.exports;let XA=JA;class ex extends Error{constructor(e,t,n,i,r,o){super(e);this.name="CssSyntaxError";this.reason=e;if(r){this.file=r}if(i){this.source=i}if(o){this.plugin=o}if(typeof t!=="undefined"&&typeof n!=="undefined"){if(typeof t==="number"){this.line=t;this.column=n}else{this.line=t.line;this.column=t.column;this.endLine=n.line;this.endColumn=n.column}}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,ex)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"<css input>";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=QA.isColorSupported;let n=e=>e;let i=e=>e;let r=e=>e;if(e){let{bold:e,gray:t,red:o}=QA.createColors(true);i=t=>e(o(t));n=e=>t(e);if(XA){r=e=>XA(e)}}let o=t.split(/\r?\n/);let a=Math.max(this.line-3,0);let s=Math.min(this.line+2,o.length);let l=String(s).length;return o.slice(a,s).map(((e,t)=>{let o=a+1+t;let s=" "+(" "+o).slice(-l)+" | ";if(o===this.line){if(e.length>160){let t=20;let o=Math.max(0,this.column-t);let a=Math.max(this.column+t,this.endColumn+t);let l=e.slice(o,a);let c=n(s.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return i(">")+n(s)+r(l)+"\n "+c+i("^")}let t=n(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+n(s)+r(e)+"\n "+t+i("^")}return" "+n(s)+r(e)})).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}var tx=ex;ex.default=ex;"use strict";const nx={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:false};function ix(e){return e[0].toUpperCase()+e.slice(1)}class rx{constructor(e){this.builder=e}atrule(e,t){let n="@"+e.name;let i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){n+=e.raws.afterName}else if(i){n+=" "}if(e.nodes){this.block(e,n+i)}else{let r=(e.raws.between||"")+(t?";":"");this.builder(n+i+r,e)}}beforeAfter(e,t){let n;if(e.type==="decl"){n=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){n=this.raw(e,null,"beforeComment")}else if(t==="before"){n=this.raw(e,null,"beforeRule")}else{n=this.raw(e,null,"beforeClose")}let i=e.parent;let r=0;while(i&&i.type!=="root"){r+=1;i=i.parent}if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e<r;e++)n+=t}}return n}block(e,t){let n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");let i;if(e.nodes&&e.nodes.length){this.body(e);i=this.raw(e,"after")}else{i=this.raw(e,"after","emptyBody")}if(i)this.builder(i);this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let r=e.nodes[i];let o=this.raw(r,"before");if(o)this.builder(o);this.stringify(r,t!==i||n)}}comment(e){let t=this.raw(e,"left","commentLeft");let n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon");let i=e.prop+n+this.rawValue(e,"value");if(e.important){i+=e.raws.important||" !important"}if(t)i+=";";this.builder(i,e)}document(e){this.body(e)}raw(e,t,n){let i;if(!n)n=t;if(t){i=e.raws[t];if(typeof i!=="undefined")return i}let r=e.parent;if(n==="before"){if(!r||r.type==="root"&&r.first===e){return""}if(r&&r.type==="document"){return""}}if(!r)return nx[n];let o=e.root();if(!o.rawCache)o.rawCache={};if(typeof o.rawCache[n]!=="undefined"){return o.rawCache[n]}if(n==="before"||n==="after"){return this.beforeAfter(e,n)}else{let r="raw"+ix(n);if(this[r]){i=this[r](o,e)}else{o.walk((e=>{i=e.raws[t];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=nx[n];o.rawCache[n]=i;return i}rawBeforeClose(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeComment(e,t){let n;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){n=e.raws.before;if(n.includes("\n")){n=n.replace(/[^\n]+$/,"")}return false}}));if(typeof n==="undefined"){n=this.raw(t,null,"beforeDecl")}else if(n){n=n.replace(/\S/g,"")}return n}rawBeforeDecl(e,t){let n;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){n=e.raws.before;if(n.includes("\n")){n=n.replace(/[^\n]+$/,"")}return false}}));if(typeof n==="undefined"){n=this.raw(t,null,"beforeRule")}else if(n){n=n.replace(/\S/g,"")}return n}rawBeforeOpen(e){let t;e.walk((e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}}));return t}rawBeforeRule(e){let t;e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)){if(typeof n.raws.before!=="undefined"){t=n.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawColon(e){let t;e.walkDecls((e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}}));return t}rawEmptyBody(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}}));return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk((n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e){if(typeof n.raws.before!=="undefined"){let e=n.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawSemicolon(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}}));return t}rawValue(e,t){let n=e[t];let i=e.raws[t];if(i&&i.value===n){return i.raw}return n}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}}var ox=rx;rx.default=rx;"use strict";let ax=ox;function sx(e,t){let n=new ax(t);n.stringify(e)}var lx=sx;sx.default=sx;var cx={};"use strict";var ux=cx.isClean=Symbol("isClean");var dx=cx.my=Symbol("my");"use strict";let fx=tx;let hx=ox;let gx=lx;let{isClean:mx,my:px}=cx;function bx(e,t){let n=new e.constructor;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)){continue}if(i==="proxyCache")continue;let r=e[i];let o=typeof r;if(i==="parent"&&o==="object"){if(t)n[i]=t}else if(i==="source"){n[i]=r}else if(Array.isArray(r)){n[i]=r.map((e=>bx(e,n)))}else{if(o==="object"&&r!==null)r=bx(r);n[i]=r}}return n}function vx(e,t){if(t&&typeof t.offset!=="undefined"){return t.offset}let n=1;let i=1;let r=0;for(let o=0;o<e.length;o++){if(i===t.line&&n===t.column){r=o;break}if(e[o]==="\n"){n=1;i+=1}else{n+=1}}return r}class yx{constructor(e={}){this.raws={};this[mx]=false;this[px]=true;for(let t in e){if(t==="nodes"){this.nodes=[];for(let n of e[t]){if(typeof n.clone==="function"){this.append(n.clone())}else{this.append(n)}}}else{this[t]=e[t]}}}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){this.parent.insertAfter(this,e);return this}assign(e={}){for(let t in e){this[t]=e[t]}return this}before(e){this.parent.insertBefore(this,e);return this}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}clone(e={}){let t=bx(this);for(let n in e){t[n]=e[n]}return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}error(e,t={}){if(this.source){let{end:n,start:i}=this.rangeBy(t);return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new fx(e)}getProxyProcessor(){return{get(e,t){if(t==="proxyOf"){return e}else if(t==="root"){return()=>e.root().toProxy()}else{return e[t]}},set(e,t,n){if(e[t]===n)return true;e[t]=n;if(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text"){e.markDirty()}return true}}}markClean(){this[mx]=true}markDirty(){if(this[mx]){this[mx]=false;let e=this;while(e=e.parent){e[mx]=false}}}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e){let t=this.source.start;if(e.index){t=this.positionInside(e.index)}else if(e.word){let n=this.source.input.css.slice(vx(this.source.input.css,this.source.start),vx(this.source.input.css,this.source.end));let i=n.indexOf(e.word);if(i!==-1)t=this.positionInside(i)}return t}positionInside(e){let t=this.source.start.column;let n=this.source.start.line;let i=vx(this.source.input.css,this.source.start);let r=i+e;for(let e=i;e<r;e++){if(this.source.input.css[e]==="\n"){t=1;n+=1}else{t+=1}}return{column:t,line:n}}prev(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line};let n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let i=this.source.input.css.slice(vx(this.source.input.css,this.source.start),vx(this.source.input.css,this.source.end));let r=i.indexOf(e.word);if(r!==-1){t=this.positionInside(r);n=this.positionInside(r+e.word.length)}}else{if(e.start){t={column:e.start.column,line:e.start.line}}else if(e.index){t=this.positionInside(e.index)}if(e.end){n={column:e.end.column,line:e.end.line}}else if(typeof e.endIndex==="number"){n=this.positionInside(e.endIndex)}else if(e.index){n=this.positionInside(e.index+1)}}if(n.line<t.line||n.line===t.line&&n.column<=t.column){n={column:t.column+1,line:t.line}}return{end:n,start:t}}raw(e,t){let n=new hx;return n.raw(this,e,t)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}replaceWith(...e){if(this.parent){let t=this;let n=false;for(let i of e){if(i===this){n=true}else if(n){this.parent.insertAfter(t,i);t=i}else{this.parent.insertBefore(t,i)}}if(!n){this.remove()}}return this}root(){let e=this;while(e.parent&&e.parent.type!=="document"){e=e.parent}return e}toJSON(e,t){let n={};let i=t==null;t=t||new Map;let r=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)){continue}if(e==="parent"||e==="proxyCache")continue;let i=this[e];if(Array.isArray(i)){n[e]=i.map((e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}}))}else if(typeof i==="object"&&i.toJSON){n[e]=i.toJSON(null,t)}else if(e==="source"){let o=t.get(i.input);if(o==null){o=r;t.set(i.input,r);r++}n[e]={end:i.end,inputId:o,start:i.start}}else{n[e]=i}}if(i){n.inputs=[...t.keys()].map((e=>e.toJSON()))}return n}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}toString(e=gx){if(e.stringify)e=e.stringify;let t="";e(this,(e=>{t+=e}));return t}warn(e,t,n){let i={node:this};for(let e in n)i[e]=n[e];return e.warn(t,i)}get proxyOf(){return this}}var kx=yx;yx.default=yx;"use strict";let Tx=kx;class wx extends Tx{constructor(e){super(e);this.type="comment"}}var Ex=wx;wx.default=wx;"use strict";let Sx=kx;class Bx extends Sx{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}var Cx=Bx;Bx.default=Bx;"use strict";let Mx=Ex;let Dx=Cx;let _x=kx;let{isClean:Px,my:Ax}=cx;let xx,Lx,Ox,Rx;function jx(e){return e.map((e=>{if(e.nodes)e.nodes=jx(e.nodes);delete e.source;return e}))}function Nx(e){e[Px]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){Nx(t)}}}class Ix extends _x{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let n,i;while(this.indexes[t]<this.proxyOf.nodes.length){n=this.indexes[t];i=e(this.proxyOf.nodes[n],n);if(i===false)break;this.indexes[t]+=1}delete this.indexes[t];return i}every(e){return this.nodes.every(e)}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let e=this.lastEach;this.indexes[e]=0;return e}getProxyProcessor(){return{get(e,t){if(t==="proxyOf"){return e}else if(!e[t]){return e[t]}else if(t==="each"||typeof t==="string"&&t.startsWith("walk")){return(...n)=>e[t](...n.map((e=>{if(typeof e==="function"){return(t,n)=>e(t.toProxy(),n)}else{return e}})))}else if(t==="every"||t==="some"){return n=>e[t](((e,...t)=>n(e.toProxy(),...t)))}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map((e=>e.toProxy()))}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}},set(e,t,n){if(e[t]===n)return true;e[t]=n;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true}}}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}insertAfter(e,t){let n=this.index(e);let i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n+1,0,e);let r;for(let e in this.indexes){r=this.indexes[e];if(n<r){this.indexes[e]=r+i.length}}this.markDirty();return this}insertBefore(e,t){let n=this.index(e);let i=n===0?"prepend":false;let r=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(let e of r)this.proxyOf.nodes.splice(n,0,e);let o;for(let e in this.indexes){o=this.indexes[e];if(n<=o){this.indexes[e]=o+r.length}}this.markDirty();return this}normalize(e,t){if(typeof e==="string"){e=jx(Lx(e).nodes)}else if(typeof e==="undefined"){e=[]}else if(Array.isArray(e)){e=e.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new Dx(e)]}else if(e.selector||e.selectors){e=[new Rx(e)]}else if(e.name){e=[new xx(e)]}else if(e.text){e=[new Mx(e)]}else{throw new Error("Unknown node type in node creation")}let n=e.map((e=>{if(!e[Ax])Ix.rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[Px])Nx(e);if(!e.raws)e.raws={};if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this.proxyOf;return e}));return n}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}removeChild(e){e=this.index(e);this.proxyOf.nodes[e].parent=undefined;this.proxyOf.nodes.splice(e,1);let t;for(let n in this.indexes){t=this.indexes[n];if(t>=e){this.indexes[n]=t-1}}this.markDirty();return this}replaceValues(e,t,n){if(!n){n=t;t={}}this.walkDecls((i=>{if(t.props&&!t.props.includes(i.prop))return;if(t.fast&&!i.value.includes(t.fast))return;i.value=i.value.replace(e,n)}));this.markDirty();return this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,n)=>{let i;try{i=e(t,n)}catch(e){throw t.addToError(e)}if(i!==false&&t.walk){i=t.walk(e)}return i}))}walkAtRules(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="atrule"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="atrule"&&e.test(n.name)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="atrule"&&n.name===e){return t(n,i)}}))}walkComments(e){return this.walk(((t,n)=>{if(t.type==="comment"){return e(t,n)}}))}walkDecls(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="decl"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="decl"&&e.test(n.prop)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="decl"&&n.prop===e){return t(n,i)}}))}walkRules(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="rule"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="rule"&&e.test(n.selector)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="rule"&&n.selector===e){return t(n,i)}}))}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}Ix.registerParse=e=>{Lx=e};Ix.registerRule=e=>{Rx=e};Ix.registerAtRule=e=>{xx=e};Ix.registerRoot=e=>{Ox=e};var qx=Ix;Ix.default=Ix;Ix.rebuild=e=>{if(e.type==="atrule"){Object.setPrototypeOf(e,xx.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,Rx.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,Dx.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,Mx.prototype)}else if(e.type==="root"){Object.setPrototypeOf(e,Ox.prototype)}e[Ax]=true;if(e.nodes){e.nodes.forEach((e=>{Ix.rebuild(e)}))}};"use strict";let zx=qx;class Fx extends zx{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}var Ux=Fx;Fx.default=Fx;zx.registerAtRule(Fx);"use strict";let Yx=qx;let Vx,Hx;class $x extends Yx{constructor(e){super({type:"document",...e});if(!this.nodes){this.nodes=[]}}toResult(e={}){let t=new Vx(new Hx,this,e);return t.stringify()}}$x.registerLazyResult=e=>{Vx=e};$x.registerProcessor=e=>{Hx=e};var Gx=$x;$x.default=$x;let Wx="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let Kx=(e,t=21)=>(n=t)=>{let i="";let r=n;while(r--){i+=e[Math.random()*e.length|0]}return i};let Zx=(e=21)=>{let t="";let n=e;while(n--){t+=Wx[Math.random()*64|0]}return t};const Jx=Object.freeze({__proto__:null,nanoid:Zx,customAlphabet:Kx});const Qx=n(Jx);"use strict";let{existsSync:Xx,readFileSync:eL}=JA;let{dirname:tL,join:nL}=JA;let{SourceMapConsumer:iL,SourceMapGenerator:rL}=JA;function oL(e){if(S){return S.from(e,"base64").toString()}else{return window.atob(e)}}class aL{constructor(e,t){if(t.map===false)return;this.loadAnnotation(e);this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:undefined;let i=this.loadMap(t.from,n);if(!this.mapFile&&t.from){this.mapFile=t.from}if(this.mapFile)this.root=tL(this.mapFile);if(i)this.text=i}consumer(){if(!this.consumerCache){this.consumerCache=new iL(this.text)}return this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/;let n=/^data:application\/json;base64,/;let i=/^data:application\/json;charset=utf-?8,/;let r=/^data:application\/json,/;let o=e.match(i)||e.match(r);if(o){return decodeURIComponent(e.substr(o[0].length))}let a=e.match(t)||e.match(n);if(a){return oL(e.substr(a[0].length))}let s=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){if(typeof e!=="object")return false;return typeof e.mappings==="string"||typeof e._mappings==="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=e.lastIndexOf(t.pop());let i=e.indexOf("*/",n);if(n>-1&&i>-1){this.annotation=this.getAnnotationURL(e.substring(n,i))}}loadFile(e){this.root=tL(e);if(Xx(e)){this.mapFile=e;return eL(e,"utf-8").toString().trim()}}loadMap(e,t){if(t===false)return false;if(t){if(typeof t==="string"){return t}else if(typeof t==="function"){let n=t(e);if(n){let e=this.loadFile(n);if(!e){throw new Error("Unable to load previous source map: "+n.toString())}return e}}else if(t instanceof iL){return rL.fromSourceMap(t).toString()}else if(t instanceof rL){return t.toString()}else if(this.isMap(t)){return JSON.stringify(t)}else{throw new Error("Unsupported previous source map format: "+t.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){let t=this.annotation;if(e)t=nL(tL(e),t);return this.loadFile(t)}}startWith(e,t){if(!e)return false;return e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}var sL=aL;aL.default=aL;"use strict";let{nanoid:lL}=Qx;let{isAbsolute:cL,resolve:uL}=JA;let{SourceMapConsumer:dL,SourceMapGenerator:fL}=JA;let{fileURLToPath:hL,pathToFileURL:gL}=JA;let mL=tx;let pL=sL;let bL=JA;let vL=Symbol("fromOffsetCache");let yL=Boolean(dL&&fL);let kL=Boolean(uL&&cL);class TL{constructor(e,t={}){if(e===null||typeof e==="undefined"||typeof e==="object"&&!e.toString){throw new Error(`PostCSS received ${e} instead of CSS string`)}this.css=e.toString();if(this.css[0]==="\ufeff"||this.css[0]==="￾"){this.hasBOM=true;this.css=this.css.slice(1)}else{this.hasBOM=false}if(t.from){if(!kL||/^\w+:\/\//.test(t.from)||cL(t.from)){this.file=t.from}else{this.file=uL(t.from)}}if(kL&&yL){let e=new pL(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;if(!this.file&&t)this.file=this.mapResolve(t)}}if(!this.file){this.id="<input css "+lL(6)+">"}if(this.map)this.map.file=this.from}error(e,t,n,i={}){let r,o,a;if(t&&typeof t==="object"){let e=t;let i=n;if(typeof e.offset==="number"){let i=this.fromOffset(e.offset);t=i.line;n=i.col}else{t=e.line;n=e.column}if(typeof i.offset==="number"){let e=this.fromOffset(i.offset);o=e.line;r=e.col}else{o=i.line;r=i.column}}else if(!n){let e=this.fromOffset(t);t=e.line;n=e.col}let s=this.origin(t,n,o,r);if(s){a=new mL(e,s.endLine===undefined?s.line:{column:s.column,line:s.line},s.endLine===undefined?s.column:{column:s.endColumn,line:s.endLine},s.source,s.file,i.plugin)}else{a=new mL(e,o===undefined?t:{column:n,line:t},o===undefined?n:{column:r,line:o},this.css,this.file,i.plugin)}a.input={column:n,endColumn:r,endLine:o,line:t,source:this.css};if(this.file){if(gL){a.input.url=gL(this.file).toString()}a.input.file=this.file}return a}fromOffset(e){let t,n;if(!this[vL]){let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let i=0,r=e.length;i<r;i++){n[i]=t;t+=e[i].length+1}this[vL]=n}else{n=this[vL]}t=n[n.length-1];let i=0;if(e>=t){i=n.length-1}else{let t=n.length-2;let r;while(i<t){r=i+(t-i>>1);if(e<n[r]){t=r-1}else if(e>=n[r+1]){i=r+1}else{i=r;break}}}return{col:e-n[i]+1,line:i+1}}mapResolve(e){if(/^\w+:\/\//.test(e)){return e}return uL(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,i){if(!this.map)return false;let r=this.map.consumer();let o=r.originalPositionFor({column:t,line:e});if(!o.source)return false;let a;if(typeof n==="number"){a=r.originalPositionFor({column:i,line:n})}let s;if(cL(o.source)){s=gL(o.source)}else{s=new URL(o.source,this.map.consumer().sourceRoot||gL(this.map.mapFile))}let l={column:o.column,endColumn:a&&a.column,endLine:a&&a.line,line:o.line,url:s.toString()};if(s.protocol==="file:"){if(hL){l.file=hL(s)}else{throw new Error(`file: protocol is not available in this PostCSS build`)}}let c=r.sourceContentFor(o.source);if(c)l.source=c;return l}toJSON(){let e={};for(let t of["hasBOM","css","file","id"]){if(this[t]!=null){e[t]=this[t]}}if(this.map){e.map={...this.map};if(e.map.consumerCache){e.map.consumerCache=undefined}}return e}get from(){return this.file||this.id}}var wL=TL;TL.default=TL;if(bL&&bL.registerInput){bL.registerInput(TL)}"use strict";let EL=qx;let SL,BL;class CL extends EL{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}normalize(e,t,n){let i=super.normalize(e);if(t){if(n==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of i){e.raws.before=t.raws.before}}}return i}removeChild(e,t){let n=this.index(e);if(!t&&n===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[n].raws.before}return super.removeChild(e)}toResult(e={}){let t=new SL(new BL,this,e);return t.stringify()}}CL.registerLazyResult=e=>{SL=e};CL.registerProcessor=e=>{BL=e};var ML=CL;CL.default=CL;EL.registerRoot(CL);"use strict";let DL={comma(e){return DL.split(e,[","],true)},space(e){let t=[" ","\n","\t"];return DL.split(e,t)},split(e,t,n){let i=[];let r="";let o=false;let a=0;let s=false;let l="";let c=false;for(let n of e){if(c){c=false}else if(n==="\\"){c=true}else if(s){if(n===l){s=false}}else if(n==='"'||n==="'"){s=true;l=n}else if(n==="("){a+=1}else if(n===")"){if(a>0)a-=1}else if(a===0){if(t.includes(n))o=true}if(o){if(r!=="")i.push(r.trim());r="";o=false}else{r+=n}}if(n||r!=="")i.push(r.trim());return i}};var _L=DL;DL.default=DL;"use strict";let PL=qx;let AL=_L;class xL extends PL{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return AL.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}var LL=xL;xL.default=xL;PL.registerRule(xL);"use strict";let OL=Ux;let RL=Ex;let jL=Cx;let NL=wL;let IL=sL;let qL=ML;let zL=LL;function FL(e,t){if(Array.isArray(e))return e.map((e=>FL(e)));let{inputs:n,...i}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:NL.prototype};if(n.map){n.map={...n.map,__proto__:IL.prototype}}t.push(n)}}if(i.nodes){i.nodes=e.nodes.map((e=>FL(e,t)))}if(i.source){let{inputId:e,...n}=i.source;i.source=n;if(e!=null){i.source.input=t[e]}}if(i.type==="root"){return new qL(i)}else if(i.type==="decl"){return new jL(i)}else if(i.type==="rule"){return new zL(i)}else if(i.type==="comment"){return new RL(i)}else if(i.type==="atrule"){return new OL(i)}else{throw new Error("Unknown node type: "+e.type)}}var UL=FL;FL.default=FL;"use strict";let{dirname:YL,relative:VL,resolve:HL,sep:$L}=JA;let{SourceMapConsumer:GL,SourceMapGenerator:WL}=JA;let{pathToFileURL:KL}=JA;let ZL=wL;let JL=Boolean(GL&&WL);let QL=Boolean(YL&&HL&&VL&&$L);class XL{constructor(e,t,n,i){this.stringify=e;this.mapOpts=n.map||{};this.root=t;this.opts=n;this.css=i;this.originalCSS=i;this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute;this.memoizedFileURLs=new Map;this.memoizedPaths=new Map;this.memoizedURLs=new Map}addAnnotation(){let e;if(this.isInline()){e="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){e=this.mapOpts.annotation}else if(typeof this.mapOpts.annotation==="function"){e=this.mapOpts.annotation(this.opts.to,this.root)}else{e=this.outputFile()+".map"}let t="\n";if(this.css.includes("\r\n"))t="\r\n";this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file));let n=e.root||YL(e.file);let i;if(this.mapOpts.sourcesContent===false){i=new GL(e.text);if(i.sourcesContent){i.sourcesContent=null}}else{i=e.consumer()}this.map.applySourceMap(i,t,this.toUrl(this.path(n)))}}clearAnnotation(){if(this.mapOpts.annotation===false)return;if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--){e=this.root.nodes[t];if(e.type!=="comment")continue;if(e.text.startsWith("# sourceMappingURL=")){this.root.removeChild(t)}}}else if(this.css){this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,"")}}generate(){this.clearAnnotation();if(QL&&JL&&this.isMap()){return this.generateMap()}else{let e="";this.stringify(this.root,(t=>{e+=t}));return[e]}}generateMap(){if(this.root){this.generateString()}else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile();this.map=WL.fromSourceMap(e,{ignoreInvalidMapping:true})}else{this.map=new WL({file:this.outputFile(),ignoreInvalidMapping:true});this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"})}if(this.isSourcesContent())this.setSourcesContent();if(this.root&&this.previous().length>0)this.applyPrevMaps();if(this.isAnnotation())this.addAnnotation();if(this.isInline()){return[this.css]}else{return[this.css,this.map]}}generateString(){this.css="";this.map=new WL({file:this.outputFile(),ignoreInvalidMapping:true});let e=1;let t=1;let n="<no source>";let i={generated:{column:0,line:0},original:{column:0,line:0},source:""};let r,o;this.stringify(this.root,((a,s,l)=>{this.css+=a;if(s&&l!=="end"){i.generated.line=e;i.generated.column=t-1;if(s.source&&s.source.start){i.source=this.sourcePath(s);i.original.line=s.source.start.line;i.original.column=s.source.start.column-1;this.map.addMapping(i)}else{i.source=n;i.original.line=1;i.original.column=0;this.map.addMapping(i)}}o=a.match(/\n/g);if(o){e+=o.length;r=a.lastIndexOf("\n");t=a.length-r}else{t+=a.length}if(s&&l!=="start"){let r=s.parent||{raws:{}};let o=s.type==="decl"||s.type==="atrule"&&!s.nodes;if(!o||s!==r.last||r.raws.semicolon){if(s.source&&s.source.end){i.source=this.sourcePath(s);i.original.line=s.source.end.line;i.original.column=s.source.end.column-1;i.generated.line=e;i.generated.column=t-2;this.map.addMapping(i)}else{i.source=n;i.original.line=1;i.original.column=0;i.generated.line=e;i.generated.column=t-1;this.map.addMapping(i)}}}}))}isAnnotation(){if(this.isInline()){return true}if(typeof this.mapOpts.annotation!=="undefined"){return this.mapOpts.annotation}if(this.previous().length){return this.previous().some((e=>e.annotation))}return true}isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}let e=this.mapOpts.annotation;if(typeof e!=="undefined"&&e!==true){return false}if(this.previous().length){return this.previous().some((e=>e.inline))}return true}isMap(){if(typeof this.opts.map!=="undefined"){return!!this.opts.map}return this.previous().length>0}isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some((e=>e.withContent()))}return true}outputFile(){if(this.opts.to){return this.path(this.opts.to)}else if(this.opts.from){return this.path(this.opts.from)}else{return"to.css"}}path(e){if(this.mapOpts.absolute)return e;if(e.charCodeAt(0)===60)return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?YL(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){n=YL(HL(n,this.mapOpts.annotation))}let i=VL(n,e);this.memoizedPaths.set(e,i);return i}previous(){if(!this.previousMaps){this.previousMaps=[];if(this.root){this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;if(!this.previousMaps.includes(t)){this.previousMaps.push(t)}}}))}else{let e=new ZL(this.originalCSS,this.opts);if(e.map)this.previousMaps.push(e.map)}}return this.previousMaps}setSourcesContent(){let e={};if(this.root){this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=true;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,t.source.input.css)}}}))}else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){if(this.mapOpts.from){return this.toUrl(this.mapOpts.from)}else if(this.usesFileUrls){return this.toFileUrl(e.source.input.from)}else{return this.toUrl(this.path(e.source.input.from))}}toBase64(e){if(S){return S.from(e).toString("base64")}else{return window.btoa(unescape(encodeURIComponent(e)))}}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(KL){let t=KL(e).toString();this.memoizedFileURLs.set(e,t);return t}else{throw new Error("`map.absolute` option is not available in this PostCSS build")}}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;if($L==="\\"){e=e.replace(/\\/g,"/")}let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);this.memoizedURLs.set(e,n);return n}}var eO=XL;"use strict";const tO="'".charCodeAt(0);const nO='"'.charCodeAt(0);const iO="\\".charCodeAt(0);const rO="/".charCodeAt(0);const oO="\n".charCodeAt(0);const aO=" ".charCodeAt(0);const sO="\f".charCodeAt(0);const lO="\t".charCodeAt(0);const cO="\r".charCodeAt(0);const uO="[".charCodeAt(0);const dO="]".charCodeAt(0);const fO="(".charCodeAt(0);const hO=")".charCodeAt(0);const gO="{".charCodeAt(0);const mO="}".charCodeAt(0);const pO=";".charCodeAt(0);const bO="*".charCodeAt(0);const vO=":".charCodeAt(0);const yO="@".charCodeAt(0);const kO=/[\t\n\f\r "#'()/;[\\\]{}]/g;const TO=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const wO=/.[\r\n"'(/\\]/;const EO=/[\da-f]/i;var SO=function e(t,n={}){let i=t.css.valueOf();let r=n.ignoreErrors;let o,a,s,l,c;let u,d,f,h,g;let m=i.length;let p=0;let b=[];let v=[];function y(){return p}function k(e){throw t.error("Unclosed "+e,p)}function T(){return v.length===0&&p>=m}function w(e){if(v.length)return v.pop();if(p>=m)return;let t=e?e.ignoreUnclosed:false;o=i.charCodeAt(p);switch(o){case oO:case aO:case lO:case cO:case sO:{l=p;do{l+=1;o=i.charCodeAt(l)}while(o===aO||o===oO||o===lO||o===cO||o===sO);u=["space",i.slice(p,l)];p=l-1;break}case uO:case dO:case gO:case mO:case vO:case pO:case hO:{let e=String.fromCharCode(o);u=[e,e,p];break}case fO:{g=b.length?b.pop()[1]:"";h=i.charCodeAt(p+1);if(g==="url"&&h!==tO&&h!==nO&&h!==aO&&h!==oO&&h!==lO&&h!==sO&&h!==cO){l=p;do{d=false;l=i.indexOf(")",l+1);if(l===-1){if(r||t){l=p;break}else{k("bracket")}}f=l;while(i.charCodeAt(f-1)===iO){f-=1;d=!d}}while(d);u=["brackets",i.slice(p,l+1),p,l];p=l}else{l=i.indexOf(")",p+1);a=i.slice(p,l+1);if(l===-1||wO.test(a)){u=["(","(",p]}else{u=["brackets",a,p,l];p=l}}break}case tO:case nO:{c=o===tO?"'":'"';l=p;do{d=false;l=i.indexOf(c,l+1);if(l===-1){if(r||t){l=p+1;break}else{k("string")}}f=l;while(i.charCodeAt(f-1)===iO){f-=1;d=!d}}while(d);u=["string",i.slice(p,l+1),p,l];p=l;break}case yO:{kO.lastIndex=p+1;kO.test(i);if(kO.lastIndex===0){l=i.length-1}else{l=kO.lastIndex-2}u=["at-word",i.slice(p,l+1),p,l];p=l;break}case iO:{l=p;s=true;while(i.charCodeAt(l+1)===iO){l+=1;s=!s}o=i.charCodeAt(l+1);if(s&&o!==rO&&o!==aO&&o!==oO&&o!==lO&&o!==cO&&o!==sO){l+=1;if(EO.test(i.charAt(l))){while(EO.test(i.charAt(l+1))){l+=1}if(i.charCodeAt(l+1)===aO){l+=1}}}u=["word",i.slice(p,l+1),p,l];p=l;break}default:{if(o===rO&&i.charCodeAt(p+1)===bO){l=i.indexOf("*/",p+2)+1;if(l===0){if(r||t){l=i.length}else{k("comment")}}u=["comment",i.slice(p,l+1),p,l];p=l}else{TO.lastIndex=p+1;TO.test(i);if(TO.lastIndex===0){l=i.length-1}else{l=TO.lastIndex-2}u=["word",i.slice(p,l+1),p,l];b.push(u);p=l}break}}p++;return u}function E(e){v.push(e)}return{back:E,endOfFile:T,nextToken:w,position:y}};"use strict";let BO=Ux;let CO=Ex;let MO=Cx;let DO=ML;let _O=LL;let PO=SO;const AO={empty:true,space:true};function xO(e){for(let t=e.length-1;t>=0;t--){let n=e[t];let i=n[3]||n[2];if(i)return i}}class LO{constructor(e){this.input=e;this.root=new DO;this.current=this.root;this.spaces="";this.semicolon=false;this.createTokenizer();this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new BO;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let n;let i;let r;let o=false;let a=false;let s=[];let l=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();n=e[0];if(n==="("||n==="["){l.push(n==="("?")":"]")}else if(n==="{"&&l.length>0){l.push("}")}else if(n===l[l.length-1]){l.pop()}if(l.length===0){if(n===";"){t.source.end=this.getPosition(e[2]);t.source.end.offset++;this.semicolon=true;break}else if(n==="{"){a=true;break}else if(n==="}"){if(s.length>0){r=s.length-1;i=s[r];while(i&&i[0]==="space"){i=s[--r]}if(i){t.source.end=this.getPosition(i[3]||i[2]);t.source.end.offset++}}this.end(e);break}else{s.push(e)}}else{s.push(e)}if(this.tokenizer.endOfFile()){o=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(s);if(s.length){t.raws.afterName=this.spacesAndCommentsFromStart(s);this.raw(t,"params",s);if(o){e=s[s.length-1];t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(a){t.nodes=[];this.current=t}}checkMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let n=0;let i;for(let r=t-1;r>=0;r--){i=e[r];if(i[0]!=="space"){n+=1;if(n===2)break}}throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(e){let t=0;let n,i,r;for(let[o,a]of e.entries()){i=a;r=i[0];if(r==="("){t+=1}if(r===")"){t-=1}if(t===0&&r===":"){if(!n){this.doubleColon(i)}else if(n[0]==="word"&&n[1]==="progid"){continue}else{return o}}n=i}return false}comment(e){let t=new CO;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n)){t.text="";t.raws.left=n;t.raws.right=""}else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}createTokenizer(){this.tokenizer=PO(this.input)}decl(e,t){let n=new MO;this.init(n,e[0][2]);let i=e[e.length-1];if(i[0]===";"){this.semicolon=true;e.pop()}n.source.end=this.getPosition(i[3]||i[2]||xO(e));n.source.end.offset++;while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);n.raws.before+=e.shift()[1]}n.source.start=this.getPosition(e[0][2]);n.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}n.prop+=e.shift()[1]}n.raws.between="";let r;while(e.length){r=e.shift();if(r[0]===":"){n.raws.between+=r[1];break}else{if(r[0]==="word"&&/\w/.test(r[1])){this.unknownWord([r])}n.raws.between+=r[1]}}if(n.prop[0]==="_"||n.prop[0]==="*"){n.raws.before+=n.prop[0];n.prop=n.prop.slice(1)}let o=[];let a;while(e.length){a=e[0][0];if(a!=="space"&&a!=="comment")break;o.push(e.shift())}this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){r=e[t];if(r[1].toLowerCase()==="!important"){n.important=true;let i=this.stringFrom(e,t);i=this.spacesFromEnd(e)+i;if(i!==" !important")n.raws.important=i;break}else if(r[1].toLowerCase()==="important"){let i=e.slice(0);let r="";for(let e=t;e>0;e--){let t=i[e][0];if(r.trim().startsWith("!")&&t!=="space"){break}r=i.pop()[1]+r}if(r.trim().startsWith("!")){n.important=true;n.raws.important=r;e=i}}if(r[0]!=="space"&&r[0]!=="comment"){break}}let s=e.some((e=>e[0]!=="space"&&e[0]!=="comment"));if(s){n.raws.between+=o.map((e=>e[1])).join("");o=[]}this.raw(n,"value",o.concat(e),t);if(n.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new _O;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current.source.end.offset++;this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e);e.source={input:this.input,start:this.getPosition(t)};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}other(e){let t=false;let n=null;let i=false;let r=null;let o=[];let a=e[1].startsWith("--");let s=[];let l=e;while(l){n=l[0];s.push(l);if(n==="("||n==="["){if(!r)r=l;o.push(n==="("?")":"]")}else if(a&&i&&n==="{"){if(!r)r=l;o.push("}")}else if(o.length===0){if(n===";"){if(i){this.decl(s,a);return}else{break}}else if(n==="{"){this.rule(s);return}else if(n==="}"){this.tokenizer.back(s.pop());t=true;break}else if(n===":"){i=true}}else if(n===o[o.length-1]){o.pop();if(o.length===0)r=null}l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(o.length>0)this.unclosedBracket(r);if(t&&i){if(!a){while(s.length){l=s[s.length-1][0];if(l!=="space"&&l!=="comment")break;this.tokenizer.back(s.pop())}}this.decl(s,a)}else{this.unknownWord(s)}}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,i){let r,o;let a=n.length;let s="";let l=true;let c,u;for(let e=0;e<a;e+=1){r=n[e];o=r[0];if(o==="space"&&e===a-1&&!i){l=false}else if(o==="comment"){u=n[e-1]?n[e-1][0]:"empty";c=n[e+1]?n[e+1][0]:"empty";if(!AO[u]&&!AO[c]){if(s.slice(-1)===","){l=false}else{s+=r[1]}}else{l=false}}else{s+=r[1]}}if(!l){let i=n.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:i,value:s}}e[t]=s}rule(e){e.pop();let t=new _O;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}spacesAndCommentsFromEnd(e){let t;let n="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;n=e.pop()[1]+n}return n}spacesAndCommentsFromStart(e){let t;let n="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;n+=e.shift()[1]}return n}spacesFromEnd(e){let t;let n="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;n=e.pop()[1]+n}return n}stringFrom(e,t){let n="";for(let i=t;i<e.length;i++){n+=e[i][1]}e.splice(t,e.length-t);return n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}var OO=LO;"use strict";let RO=qx;let jO=wL;let NO=OO;function IO(e,t){let n=new jO(e,t);let i=new NO(n);try{i.parse()}catch(e){if("development"!=="production"){if(e.name==="CssSyntaxError"&&t&&t.from){if(/\.scss$/i.test(t.from)){e.message+="\nYou tried to parse SCSS with "+"the standard CSS parser; "+"try again with the postcss-scss parser"}else if(/\.sass/i.test(t.from)){e.message+="\nYou tried to parse Sass with "+"the standard CSS parser; "+"try again with the postcss-sass parser"}else if(/\.less$/i.test(t.from)){e.message+="\nYou tried to parse Less with "+"the standard CSS parser; "+"try again with the postcss-less parser"}}}throw e}return i.root}var qO=IO;IO.default=IO;RO.registerParse(IO);"use strict";class zO{constructor(e,t={}){this.type="warning";this.text=e;if(t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line;this.column=e.start.column;this.endLine=e.end.line;this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){if(this.node){return this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message}if(this.plugin){return this.plugin+": "+this.text}return this.text}}var FO=zO;zO.default=zO;"use strict";let UO=FO;class YO{constructor(e,t,n){this.processor=e;this.messages=[];this.root=t;this.opts=n;this.css=undefined;this.map=undefined}toString(){return this.css}warn(e,t={}){if(!t.plugin){if(this.lastPlugin&&this.lastPlugin.postcssPlugin){t.plugin=this.lastPlugin.postcssPlugin}}let n=new UO(e,t);this.messages.push(n);return n}warnings(){return this.messages.filter((e=>e.type==="warning"))}get content(){return this.css}}var VO=YO;YO.default=YO;"use strict";let HO={};var $O=function e(t){if(HO[t])return;HO[t]=true;if(typeof console!=="undefined"&&console.warn){console.warn(t)}};"use strict";let GO=qx;let WO=Gx;let KO=eO;let ZO=qO;let JO=VO;let QO=ML;let XO=lx;let{isClean:eR,my:tR}=cx;let nR=$O;const iR={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"};const rR={AtRule:true,AtRuleExit:true,Comment:true,CommentExit:true,Declaration:true,DeclarationExit:true,Document:true,DocumentExit:true,Once:true,OnceExit:true,postcssPlugin:true,prepare:true,Root:true,RootExit:true,Rule:true,RuleExit:true};const oR={Once:true,postcssPlugin:true,prepare:true};const aR=0;function sR(e){return typeof e==="object"&&typeof e.then==="function"}function lR(e){let t=false;let n=iR[e.type];if(e.type==="decl"){t=e.prop.toLowerCase()}else if(e.type==="atrule"){t=e.name.toLowerCase()}if(t&&e.append){return[n,n+"-"+t,aR,n+"Exit",n+"Exit-"+t]}else if(t){return[n,n+"-"+t,n+"Exit",n+"Exit-"+t]}else if(e.append){return[n,aR,n+"Exit"]}else{return[n,n+"Exit"]}}function cR(e){let t;if(e.type==="document"){t=["Document",aR,"DocumentExit"]}else if(e.type==="root"){t=["Root",aR,"RootExit"]}else{t=lR(e)}return{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function uR(e){e[eR]=false;if(e.nodes)e.nodes.forEach((e=>uR(e)));return e}let dR={};class fR{constructor(e,t,n){this.stringified=false;this.processed=false;let i;if(typeof t==="object"&&t!==null&&(t.type==="root"||t.type==="document")){i=uR(t)}else if(t instanceof fR||t instanceof JO){i=uR(t.root);if(t.map){if(typeof n.map==="undefined")n.map={};if(!n.map.inline)n.map.inline=false;n.map.prev=t.map}}else{let e=ZO;if(n.syntax)e=n.syntax.parse;if(n.parser)e=n.parser;if(e.parse)e=e.parse;try{i=e(t,n)}catch(e){this.processed=true;this.error=e}if(i&&!i[tR]){GO.rebuild(i)}}this.result=new JO(e,i,n);this.helpers={...dR,postcss:dR,result:this.result};this.plugins=this.processor.plugins.map((e=>{if(typeof e==="object"&&e.prepare){return{...e,...e.prepare(this.result)}}else{return e}}))}async(){if(this.error)return Promise.reject(this.error);if(this.processed)return Promise.resolve(this.result);if(!this.processing){this.processing=this.runAsync()}return this.processing}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{if(t)t.addToError(e);this.error=e;if(e.name==="CssSyntaxError"&&!e.plugin){e.plugin=n.postcssPlugin;e.setMessage()}else if(n.postcssVersion){if("development"!=="production"){let e=n.postcssPlugin;let t=n.postcssVersion;let i=this.result.processor.version;let r=t.split(".");let o=i.split(".");if(r[0]!==o[0]||parseInt(r[1])>parseInt(o[1])){console.error("Unknown error from PostCSS plugin. Your current PostCSS "+"version is "+i+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}}}catch(e){if(console&&console.error)console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{if(!this.listeners[t])this.listeners[t]=[];this.listeners[t].push([e,n])};for(let t of this.plugins){if(typeof t==="object"){for(let n in t){if(!rR[n]&&/^[A-Z]/.test(n)){throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`)}if(!oR[n]){if(typeof t[n]==="object"){for(let i in t[n]){if(i==="*"){e(t,n,t[n][i])}else{e(t,n+"-"+i.toLowerCase(),t[n][i])}}}else if(typeof t[n]==="function"){e(t,n,t[n])}}}}}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e];let n=this.runOnRoot(t);if(sR(n)){try{await n}catch(e){throw this.handleError(e)}}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[eR]){e[eR]=true;let t=[cR(e)];while(t.length>0){let e=this.visitTick(t);if(sR(e)){try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}}if(this.listeners.OnceExit){for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else{await n(e,this.helpers)}}catch(e){throw this.handleError(e)}}}}this.processed=true;return this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));if(sR(t[0])){return Promise.all(t)}return t}return e.Once(this.result.root,this.helpers)}else if(typeof e==="function"){return e(this.result.root,this.result)}}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true;this.sync();let e=this.result.opts;let t=XO;if(e.syntax)t=e.syntax.stringify;if(e.stringifier)t=e.stringifier;if(t.stringify)t=t.stringify;let n=new KO(t,this.result.root,this.result.opts);let i=n.generate();this.result.css=i[0];this.result.map=i[1];return this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;this.processed=true;if(this.processing){throw this.getAsyncError()}for(let e of this.plugins){let t=this.runOnRoot(e);if(sR(t)){throw this.getAsyncError()}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[eR]){e[eR]=true;this.walkSync(e)}if(this.listeners.OnceExit){if(e.type==="document"){for(let t of e.nodes){this.visitSync(this.listeners.OnceExit,t)}}else{this.visitSync(this.listeners.OnceExit,e)}}}return this.result}then(e,t){if("development"!=="production"){if(!("from"in this.opts)){nR("Without `from` option PostCSS could generate wrong source map "+"and will not find Browserslist config. Set it to CSS file path "+"or to `undefined` to prevent this warning.")}}return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,i]of e){this.result.lastPlugin=n;let e;try{e=i(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent){return true}if(sR(e)){throw this.getAsyncError()}}}visitTick(e){let t=e[e.length-1];let{node:n,visitors:i}=t;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&t.visitorIndex<i.length){let[e,r]=i[t.visitorIndex];t.visitorIndex+=1;if(t.visitorIndex===i.length){t.visitors=[];t.visitorIndex=0}this.result.lastPlugin=e;try{return r(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){let i=t.iterator;let r;while(r=n.nodes[n.indexes[i]]){n.indexes[i]+=1;if(!r[eR]){r[eR]=true;e.push(cR(r));return}}t.iterator=0;delete n.indexes[i]}let r=t.events;while(t.eventIndex<r.length){let e=r[t.eventIndex];t.eventIndex+=1;if(e===aR){if(n.nodes&&n.nodes.length){n[eR]=true;t.iterator=n.getIterator()}return}else if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[eR]=true;let t=lR(e);for(let n of t){if(n===aR){if(e.nodes){e.each((e=>{if(!e[eR])this.walkSync(e)}))}}else{let t=this.listeners[n];if(t){if(this.visitSync(t,e.toProxy()))return}}}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}fR.registerPostcss=e=>{dR=e};var hR=fR;fR.default=fR;QO.registerLazyResult(fR);WO.registerLazyResult(fR);"use strict";let gR=eO;let mR=qO;const pR=VO;let bR=lx;let vR=$O;class yR{constructor(e,t,n){t=t.toString();this.stringified=false;this._processor=e;this._css=t;this._opts=n;this._map=undefined;let i;let r=bR;this.result=new pR(this._processor,i,this._opts);this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new gR(r,i,this._opts,t);if(a.isMap()){let[e,t]=a.generate();if(e){this.result.css=e}if(t){this.result.map=t}}else{a.clearAnnotation();this.result.css=a.css}}async(){if(this.error)return Promise.reject(this.error);return Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){if("development"!=="production"){if(!("from"in this._opts)){vR("Without `from` option PostCSS could generate wrong source map "+"and will not find Browserslist config. Set it to CSS file path "+"or to `undefined` to prevent this warning.")}}return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root){return this._root}let e;let t=mR;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error){throw this.error}else{this._root=e;return e}}get[Symbol.toStringTag](){return"NoWorkResult"}}var kR=yR;yR.default=yR;"use strict";let TR=Gx;let wR=hR;let ER=kR;let SR=ML;class BR{constructor(e=[]){this.version="8.4.49";this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e){if(n.postcss===true){n=n()}else if(n.postcss){n=n.postcss}if(typeof n==="object"&&Array.isArray(n.plugins)){t=t.concat(n.plugins)}else if(typeof n==="object"&&n.postcssPlugin){t.push(n)}else if(typeof n==="function"){t.push(n)}else if(typeof n==="object"&&(n.parse||n.stringify)){if("development"!=="production"){throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use "+"one of the syntax/parser/stringifier options as outlined "+"in your PostCSS runner documentation.")}}else{throw new Error(n+" is not a PostCSS plugin")}}return t}process(e,t={}){if(!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax){return new ER(this,e,t)}else{return new wR(this,e,t)}}use(e){this.plugins=this.plugins.concat(this.normalize([e]));return this}}var CR=BR;BR.default=BR;SR.registerProcessor(BR);TR.registerProcessor(BR);"use strict";let MR=Ux;let DR=Ex;let _R=qx;let PR=tx;let AR=Cx;let xR=Gx;let LR=UL;let OR=wL;let RR=hR;let jR=_L;let NR=kx;let IR=qO;let qR=CR;let zR=VO;let FR=ML;let UR=LL;let YR=lx;let VR=FO;function HR(...e){if(e.length===1&&Array.isArray(e[0])){e=e[0]}return new qR(e)}HR.plugin=function e(t,n){let i=false;function r(...e){if(console&&console.warn&&!i){i=true;console.warn(t+": postcss.plugin was deprecated. Migration guide:\n"+"https://evilmartians.com/chronicles/postcss-8-plugin-migration");if(YA.env.LANG&&YA.env.LANG.startsWith("cn")){console.warn(t+": 里面 postcss.plugin 被弃用. 迁移指南:\n"+"https://www.w3ctech.com/topic/2226")}}let r=n(...e);r.postcssPlugin=t;r.postcssVersion=(new qR).version;return r}let o;Object.defineProperty(r,"postcss",{get(){if(!o)o=r();return o}});r.process=function(e,t,n){return HR([r(n)]).process(e,t)};return r};HR.stringify=YR;HR.parse=IR;HR.fromJSON=LR;HR.list=jR;HR.comment=e=>new DR(e);HR.atRule=e=>new MR(e);HR.decl=e=>new AR(e);HR.rule=e=>new UR(e);HR.root=e=>new FR(e);HR.document=e=>new xR(e);HR.CssSyntaxError=PR;HR.Declaration=AR;HR.Container=_R;HR.Processor=qR;HR.Document=xR;HR.Comment=DR;HR.Warning=VR;HR.AtRule=MR;HR.Result=zR;HR.Input=OR;HR.Rule=UR;HR.Root=FR;HR.Node=NR;RR.registerPostcss(HR);var $R=HR;HR.default=HR;const GR=bA;const WR=vA;const{isPlainObject:KR}=wA;const ZR=zA;const JR=FA.exports;const{parse:QR}=$R;const XR=["img","audio","video","picture","svg","object","map","iframe","embed"];const ej=["script","style"];function tj(e,t){if(e){Object.keys(e).forEach((function(n){t(e[n],n)}))}}function nj(e,t){return{}.hasOwnProperty.call(e,t)}function ij(e,t){const n=[];tj(e,(function(e){if(t(e)){n.push(e)}}));return n}function rj(e){for(const t in e){if(nj(e,t)){return false}}return true}function oj(e){return e.map((function(e){if(!e.url){throw new Error("URL missing")}return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", ")}var aj=lj;const sj=/^[^\0\t\n\f\r /<=>]+$/;function lj(e,t,n){if(e==null){return""}if(typeof e==="number"){e=e.toString()}let i="";let r="";function o(e,t){const n=this;this.tag=e;this.attribs=t||{};this.tagPosition=i.length;this.text="";this.mediaChildren=[];this.updateParentNodeText=function(){if(p.length){const e=p[p.length-1];e.text+=n.text}};this.updateParentNodeMediaChildren=function(){if(p.length&&XR.includes(this.tag)){const e=p[p.length-1];e.mediaChildren.push(this.tag)}}}t=Object.assign({},lj.defaults,t);t.parser=Object.assign({},cj,t.parser);const a=function(e){return t.allowedTags===false||(t.allowedTags||[]).indexOf(e)>-1};ej.forEach((function(e){if(a(e)&&!t.allowVulnerableTags){console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}}));const s=t.nonTextTags||["script","style","textarea","option"];let l;let c;if(t.allowedAttributes){l={};c={};tj(t.allowedAttributes,(function(e,t){l[t]=[];const n=[];e.forEach((function(e){if(typeof e==="string"&&e.indexOf("*")>=0){n.push(WR(e).replace(/\\\*/g,".*"))}else{l[t].push(e)}}));if(n.length){c[t]=new RegExp("^("+n.join("|")+")$")}}))}const u={};const d={};const f={};tj(t.allowedClasses,(function(e,t){if(l){if(!nj(l,t)){l[t]=[]}l[t].push("class")}u[t]=e;if(Array.isArray(e)){const n=[];u[t]=[];f[t]=[];e.forEach((function(e){if(typeof e==="string"&&e.indexOf("*")>=0){n.push(WR(e).replace(/\\\*/g,".*"))}else if(e instanceof RegExp){f[t].push(e)}else{u[t].push(e)}}));if(n.length){d[t]=new RegExp("^("+n.join("|")+")$")}}}));const h={};let g;tj(t.transformTags,(function(e,t){let n;if(typeof e==="function"){n=e}else if(typeof e==="string"){n=lj.simpleTransform(e)}if(t==="*"){g=n}else{h[t]=n}}));let m;let p;let b;let v;let y;let k;let T=false;E();const w=new GR.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&e==="html"){E()}if(y){k++;return}const w=new o(e,n);p.push(w);let _=false;const A=!!w.text;let x;if(nj(h,e)){x=h[e](e,n);w.attribs=n=x.attribs;if(x.text!==undefined){w.innerText=x.text}if(e!==x.tagName){w.name=e=x.tagName;v[m]=x.tagName}}if(g){x=g(e,n);w.attribs=n=x.attribs;if(e!==x.tagName){w.name=e=x.tagName;v[m]=x.tagName}}if(!a(e)||t.disallowedTagsMode==="recursiveEscape"&&!rj(b)||t.nestingLimit!=null&&m>=t.nestingLimit){_=true;b[m]=true;if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){if(s.indexOf(e)!==-1){y=true;k=1}}b[m]=true}m++;if(_){if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){return}r=i;i=""}i+="<"+e;if(e==="script"){if(t.allowedScriptHostnames||t.allowedScriptDomains){w.innerText=""}}if(!l||nj(l,e)||l["*"]){tj(n,(function(n,r){if(!sj.test(r)){delete w.attribs[r];return}if(n===""&&!t.allowedEmptyAttributes.includes(r)&&(t.nonBooleanAttributes.includes(r)||t.nonBooleanAttributes.includes("*"))){delete w.attribs[r];return}let o=false;if(!l||nj(l,e)&&l[e].indexOf(r)!==-1||l["*"]&&l["*"].indexOf(r)!==-1||nj(c,e)&&c[e].test(r)||c["*"]&&c["*"].test(r)){o=true}else if(l&&l[e]){for(const t of l[e]){if(KR(t)&&t.name&&t.name===r){o=true;let e="";if(t.multiple===true){const i=n.split(" ");for(const n of i){if(t.values.indexOf(n)!==-1){if(e===""){e=n}else{e+=" "+n}}}}else if(t.values.indexOf(n)>=0){e=n}n=e}}}if(o){if(t.allowedSchemesAppliedToAttributes.indexOf(r)!==-1){if(B(e,n)){delete w.attribs[r];return}}if(e==="script"&&r==="src"){let e=true;try{const i=C(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===i.url.hostname}));const r=(t.allowedScriptDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=false}if(!e){delete w.attribs[r];return}}if(e==="iframe"&&r==="src"){let e=true;try{const i=C(n);if(i.isRelativeUrl){e=nj(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains}else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===i.url.hostname}));const r=(t.allowedIframeDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=false}if(!e){delete w.attribs[r];return}}if(r==="srcset"){try{let e=JR(n);e.forEach((function(e){if(B("srcset",e.url)){e.evil=true}}));e=ij(e,(function(e){return!e.evil}));if(!e.length){delete w.attribs[r];return}else{n=oj(ij(e,(function(e){return!e.evil})));w.attribs[r]=n}}catch(e){delete w.attribs[r];return}}if(r==="class"){const t=u[e];const i=u["*"];const o=d[e];const a=f[e];const s=d["*"];const l=[o,s].concat(a).filter((function(e){return e}));if(t&&i){n=P(n,ZR(t,i),l)}else{n=P(n,t||i,l)}if(!n.length){delete w.attribs[r];return}}if(r==="style"){if(t.parseStyleAttributes){try{const i=QR(e+" {"+n+"}",{map:false});const o=M(i,t.allowedStyles);n=D(o);if(n.length===0){delete w.attribs[r];return}}catch(t){if(typeof window!=="undefined"){console.warn('Failed to parse "'+e+" {"+n+"}"+"\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547")}delete w.attribs[r];return}}else if(t.allowedStyles){throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}}i+=" "+r;if(n&&n.length){i+='="'+S(n,true)+'"'}else if(t.allowedEmptyAttributes.includes(r)){i+='=""'}}else{delete w.attribs[r]}}))}if(t.selfClosing.indexOf(e)!==-1){i+=" />"}else{i+=">";if(w.innerText&&!A&&!t.textFilter){i+=S(w.innerText);T=true}}if(_){i=r+S(i);r=""}},ontext:function(e){if(y){return}const n=p[p.length-1];let r;if(n){r=n.tag;e=n.innerText!==undefined?n.innerText:e}if(t.disallowedTagsMode==="completelyDiscard"&&!a(r)){e=""}else if((t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard")&&(r==="script"||r==="style")){i+=e}else{const n=S(e,false);if(t.textFilter&&!T){i+=t.textFilter(n,r)}else if(!T){i+=n}}if(p.length){const t=p[p.length-1];t.text+=e}},onclosetag:function(e,n){if(y){k--;if(!k){y=false}else{return}}const o=p.pop();if(!o){return}if(o.tag!==e){p.push(o);return}y=t.enforceHtmlBoundary?e==="html":false;m--;const s=b[m];if(s){delete b[m];if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){o.updateParentNodeText();return}r=i;i=""}if(v[m]){e=v[m];delete v[m]}if(t.exclusiveFilter&&t.exclusiveFilter(o)){i=i.substr(0,o.tagPosition);return}o.updateParentNodeMediaChildren();o.updateParentNodeText();if(t.selfClosing.indexOf(e)!==-1||n&&!a(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0){if(s){i=r;r=""}return}i+="</"+e+">";if(s){i=r+S(i);r=""}T=false}},t.parser);w.write(e);w.end();return i;function E(){i="";m=0;p=[];b={};v={};y=false;k=0}function S(e,n){if(typeof e!=="string"){e=e+""}if(t.parser.decodeEntities){e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");if(n){e=e.replace(/"/g,"&quot;")}}e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");if(n){e=e.replace(/"/g,"&quot;")}return e}function B(e,n){n=n.replace(/[\x00-\x20]+/g,"");while(true){const e=n.indexOf("\x3c!--");if(e===-1){break}const t=n.indexOf("--\x3e",e+4);if(t===-1){break}n=n.substring(0,e)+n.substring(t+3)}const i=n.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!i){if(n.match(/^[/\\]{2}/)){return!t.allowProtocolRelative}return false}const r=i[1].toLowerCase();if(nj(t.allowedSchemesByTag,e)){return t.allowedSchemesByTag[e].indexOf(r)===-1}return!t.allowedSchemes||t.allowedSchemes.indexOf(r)===-1}function C(e){e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//");if(e.startsWith("relative:")){throw new Error("relative: exploit attempt")}let t="relative://relative-site";for(let e=0;e<100;e++){t+=`/${e}`}const n=new URL(e,t);const i=n&&n.hostname==="relative-site"&&n.protocol==="relative:";return{isRelativeUrl:i,url:n}}function M(e,t){if(!t){return e}const n=e.nodes[0];let i;if(t[n.selector]&&t["*"]){i=ZR(t[n.selector],t["*"])}else{i=t[n.selector]||t["*"]}if(i){e.nodes[0].nodes=n.nodes.reduce(_(i),[])}return e}function D(e){return e.nodes[0].nodes.reduce((function(e,t){e.push(`${t.prop}:${t.value}${t.important?" !important":""}`);return e}),[]).join(";")}function _(e){return function(t,n){if(nj(e,n.prop)){const i=e[n.prop].some((function(e){return e.test(n.value)}));if(i){t.push(n)}}return t}}function P(e,t,n){if(!t){return e}e=e.split(/\s+/);return e.filter((function(e){return t.indexOf(e)!==-1||n.some((function(t){return t.test(e)}))})).join(" ")}}const cj={decodeEntities:true};lj.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:true,enforceHtmlBoundary:false,parseStyleAttributes:true};lj.simpleTransform=function(e,t,n){n=n===undefined?true:n;t=t||{};return function(i,r){let o;if(n){for(o in t){r[o]=t[o]}}else{r=t}return{tagName:e,attribs:r}}};var uj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n():"function"==typeof undefined&&undefined.amd?undefined(n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_timezone=n()}(t,(function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,i,r){var o,a=function(e,n,i){void 0===i&&(i={});var r=new Date(e),o=function(e,n){void 0===n&&(n={});var i=n.timeZoneName||"short",r=e+"|"+i,o=t[r];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),t[r]=o),o}(n,i);return o.formatToParts(r)},s=function(t,n){for(var i=a(t,n),o=[],s=0;s<i.length;s+=1){var l=i[s],c=l.type,u=l.value,d=e[c];d>=0&&(o[d]=parseInt(u,10))}var f=o[3],h=24===f?0:f,g=o[0]+"-"+o[1]+"-"+o[2]+" "+h+":"+o[4]+":"+o[5]+":000",m=+t;return(r.utc(g).valueOf()-(m-=m%1e3))/6e4},l=i.prototype;l.tz=function(e,t){void 0===e&&(e=o);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:e}),s=Math.round((i-new Date(a))/1e3/60),l=r(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-s,!0);if(t){var c=l.utcOffset();l=l.add(n-c,"minute")}return l.$x.$timezone=e,l},l.offsetName=function(e){var t=this.$x.$timezone||r.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return n&&n.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return c.call(n,e,t).tz(this.$x.$timezone,!0)},r.tz=function(e,t,n){var i=n&&t,a=n||t||o,l=s(+r(),a);if("string"!=typeof e)return r(e).tz(a);var c=function(e,t,n){var i=e-60*t*1e3,r=s(i,n);if(t===r)return[i,t];var o=s(i-=60*(r-t)*1e3,n);return r===o?[i,r]:[e-60*Math.min(r,o)*1e3,Math.max(r,o)]}(r.utc(e,i).valueOf(),l,a),u=c[0],d=c[1],f=r(u).utcOffset(d);return f.$x.$timezone=a,f},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(e){o=e}}}))})(uj,uj.exports);const dj=uj.exports;var fj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_fr=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return n.default.locale(i,null,!0),i}))})(fj,fj.exports);const hj=fj.exports;var gj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_es=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return n.default.locale(i,null,!0),i}))})(gj,gj.exports);const mj=gj.exports;var pj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_de=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function r(e,t,n){var r=i[n];return Array.isArray(r)&&(r=r[t?0:1]),r.replace("%d",e)}var o={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return n.default.locale(o,null,!0),o}))})(pj,pj.exports);const bj=pj.exports;var vj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_nl=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return n.default.locale(i,null,!0),i}))})(vj,vj.exports);const yj=vj.exports;var kj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_sv=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return n.default.locale(i,null,!0),i}))})(kj,kj.exports);const Tj=kj.exports;var wj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_ja=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return n.default.locale(i,null,!0),i}))})(wj,wj.exports);const Ej=wj.exports;var Sj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_zh_cn=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return n.default.locale(i,null,!0),i}))})(Sj,Sj.exports);const Bj=Sj.exports;var Cj={exports:{}};(function(e,n){!function(t,n){"object"=="object"&&"undefined"!="object"?e.exports=n(i.exports):"function"==typeof undefined&&undefined.amd?undefined(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_ko=n(t.dayjs)}(t,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return n.default.locale(i,null,!0),i}))})(Cj,Cj.exports);const Mj=Cj.exports;r.extend(o);r.extend(dj);const Dj={textFilter:function(e){return e.replace(/&amp;/g,"&")}};function _j(e){return r().tz(e).format("Z")}function Pj(e){return aj(e,Dj)}function Aj(e,t,n){return(e||"")+(t?` ${t}`:"")+(n?` ${n}`:"")}function xj(e){return Object.keys(e).reduce(((t,n)=>{if(e[n]!==undefined){t[n]=e[n]}return t}),{})}function Lj(...e){if(window&&window.localStorage&&window.localStorage.getItem("debug")){console.groupCollapsed(...e);const t=new Error;t.name="Debug";console.debug(t.stack);console.groupEnd()}}function Oj(...e){console.error(...e)}function Rj(){return Math.random().toString(36).substr(2,9)}function jj(e){return e.toString().replace(/^on/,"")}function Nj(e){const t=new Date(e*1e3);const n=new Date;const i=new Date(n.getFullYear(),n.getMonth(),n.getDate());if(t>=i){const e=new Intl.DateTimeFormat("default",{hour:"numeric",minute:"numeric",hour12:true});return e.format(t)}else{const e=new Intl.DateTimeFormat("default",{month:"short",day:"numeric"});return e.format(t)}}function Ij(e){return e.name?`${e.name} - ${e.email}`:e.email}function qj(e,t="",n=1,i=3){const r=e.find((e=>e.email?.toLowerCase()===t.toLowerCase()));const o=e.filter((e=>e.email?.toLowerCase()!==t.toLowerCase()));const a=o.length;const s=o.slice(0,i).map((e=>e.name||e.email)).join(", ");if(a===0){return r?"me":""}else if(a===1){return r&&n>1?`me, ${s}`:s}else if(a===2){return r?`me, ${s}`:`${s}`}else{return r?`me, ${s}, +${a-i}`:`${s}, +${a-i}`}}const zj=[{amount:60,name:"seconds"},{amount:60,name:"minutes"},{amount:24,name:"hours"},{amount:7,name:"days"},{amount:4.34524,name:"weeks"},{amount:12,name:"months"},{amount:Number.POSITIVE_INFINITY,name:"years"}];const Fj=e=>{const t=new Intl.RelativeTimeFormat(undefined,{numeric:"auto"});const n=new Date;let i=(e.getTime()-n.getTime())/1e3;for(let e=0;e<=zj.length;e++){const n=zj[e];if(Math.abs(i)<n.amount){return t.format(Math.round(i),n.name)}i/=n.amount}};function Uj(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function Yj(e){return new Date(e.getFullYear(),e.getMonth(),1)}function Vj(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0)}function Hj(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function $j(e,t,n){const i=r(e).tz(n);const o=r(t);return i.year()===o.year()&&i.month()===o.month()&&i.date()===o.date()}function Gj(e,t,n="en-US"){return r(e).tz(t).locale(n).format("dddd, MMMM D, YYYY")}function Wj(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}function Kj(e){return e.replace(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()))}function Zj(e){return e.replace("CATEGORY_","").replace(/_/g," ")}function Jj(e){const t=/<[^>]*>/g;return t.test(e)?"html":"plain"}function Qj(e){const t=e.headers;const n=t&&t.find((e=>e.name==="Content-Type"))?.value||"";const i=t&&t.find((e=>e.name==="Content-Disposition"))?.value||"";if(n.includes("text/html")){return true}if(i.includes("inline")){return true}if(e.body&&Jj(e.body)==="html"){return true}return false}function Xj(e){const t=e.split("\n").filter((e=>e.trim().length>0));const n=t.map((e=>`<p>${e}</p>`));let i=n.join("");const r=/((?:https?|ftp):\/\/[^\s]+)/g;i=i.replace(r,'<a href="$1">$1</a>');return i}function eN(e){const t=(new DOMParser).parseFromString(e,"text/html");return t.body.textContent||""}function tN(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0)}function nN(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23)}function iN(e){return`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`}function rN(){return Intl.DateTimeFormat().resolvedOptions().timeZone}const oN=e=>{if(e.includes("RRULE:")){e=e.replace("RRULE:","");return ti.fromString(e).toText()}return ti.fromString(e).toText()};const aN=e=>{if(e===""){return true}const t=/^(0[0-9]|1[0-2]|^[0-9])(:[0-5][0-9][ap]m?|:[0-5][0-9]|:[0-5]|:)?$/i;return t.test(e)};const sN=e=>{const t=/^(0[1-9]|1[0-2]):([0-5][0-9])(am|pm)$/i;return t.test(e)};function lN(e=null){let t=r();if(e){t=e}const n=t.minute()%15;let i;if(n!==0){i=t.add(15-n,"minute")}else{i=t}return i}function cN(e){const t=r();let n="";const[i,o]=e.split(":");if(i.length===1){n+="0"+i}else if(i.length===2){n+=i}n+=":";if(o===undefined||o==""){n+="00"}else{if(o.length===1){n+=o+"0"}else{n+=o}}const a=n.slice(-1);if(a==="a"){n+="m"}if(a==="p"){n+="m"}if(n.slice(-1)!=="m"){if(n.split(":")[0]=="00"){n+="am"}else{n+=t.format("a")}}return n}function uN(e){return r(e,"hh:mma")}function dN(e,t){return r(e).tz(t).format("hh:mm A")}function fN(e){const[t,n]=e.split(":").map((e=>parseInt(e,10)));let i=t;const r=i>=12?"pm":"am";i=i%12;i=i?i:12;const o=i.toString().padStart(2,"0");const a=n.toString().padStart(2,"0");return`${o}:${a}${r}`}function hN(e){const[t,n]=e.split(/(am|pm)/i);const[i,r]=t.split(":").map((e=>parseInt(e,10)));let o=i;if(n.toLowerCase()==="pm"&&o<12){o+=12}else if(n.toLowerCase()==="am"&&o===12){o=0}return`${o.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`}function gN(e){const[t,n]=e.match(/(\d+):(\d+)(am|pm)/).slice(1);let i=parseInt(t,10)*60+parseInt(n,10);if(e.includes("pm")&&parseInt(t,10)<12)i+=12*60;if(e.includes("am")&&parseInt(t,10)===12)i-=12*60;return i}function mN(e){const t=Math.floor(e/60);const n=e%60;return`${t}:${n<10?"0":""}${n}`}function pN(){const e=navigator.userAgent;const t=/Chrome/.test(e)&&/Google Inc/.test(navigator.vendor);const n=/Safari/.test(e)&&/Apple Computer/.test(navigator.vendor);const i=/Firefox/.test(e);const r=/Trident/.test(e);const o=/Edge/.test(e);const a=t&&/Edg/.test(e);if(a)return"Edge (Chromium)";if(t)return"Chrome";if(n)return"Safari";if(i)return"Firefox";if(r)return"Internet Explorer";if(o)return"Edge (Legacy)";return"Unknown"}function bN(e,t=null){if(t){return[null,t]}return[e,null]}function vN(e,t){const n={"config.id":t?.id,id:t?.id,slug:t?.slug};Object.keys(n).forEach((t=>{if(n[t]){e=e.replace(`{${t}}`,n[t])}}));return e}function yN(e){if(e.keyCode<48||e.keyCode>90&&e.keyCode<96||e.keyCode>111&&e.keyCode<186||e.keyCode>222||e.keyCode===32||e.keyCode===91||e.keyCode===92||e.keyCode===93||e.keyCode>=112&&e.keyCode<=123||e.keyCode>=37&&e.keyCode<=40){return true}if(e.ctrlKey||e.altKey||e.metaKey){return true}const t=[48,49,50,51,52,53,54,55,56,57,186,187,188,189,190,191,192,219,220,221,222];if(e.shiftKey&&t.includes(e.keyCode)){return false}return false}function kN(e,t){const n=new Date(e);n.setDate(n.getDate()+t);n.setHours(23);n.setMinutes(59);n.setSeconds(0);n.setMilliseconds(0);return n}function TN(e,t){const n=new Date(e);n.setMinutes(n.getMinutes()+t);return n}function wN(e){return e&&typeof e==="object"&&!Array.isArray(e)}function EN(e,t){if(Array.isArray(e)&&Array.isArray(t)&&e!==t){if(e.some((e=>e.is_organizer))&&t.some((e=>e.is_organizer))){e=e.map((e=>({...e,is_organizer:false})))}else if(!t.some((e=>e.is_organizer))){let t=false;e=e.map((e=>{if(!t){t=true;return{...e,is_organizer:true}}return e}))}return e.map(((e,n)=>t[n]?EN(e,t[n]):e)).concat(t.slice(e.length))}else if(wN(e)&&wN(t)){const n=Object.assign({},e);Object.keys(t).forEach((i=>{if(wN(t[i])){if(!(i in e)){n[i]=t[i]}else{n[i]=EN(e[i],t[i])}}else{n[i]=t[i]}}));return n}return t}function SN(e){if(e<60){return`${e} ${MN("time.minutes")}`}const t=Math.floor(e/60);const n=e%60;const i=MN(`time.${t>1?"hours":"hour"}`);const r=n?`${n} ${MN(`time.${n>1?"minutes":"minute"}`)}`:"";return`${t} ${i} ${r}`}function BN(e,t){e.forEach((e=>{const n=t.shadowRoot?.querySelector(`slot[name="${e}"]`);const i=n?.assignedNodes();if(i&&i.length===0){console.warn(`${t.nodeName} No content provided for slot="${e}".`)}}))}function CN(e){const t=S.from(e,"base64");const n=t.slice(0,16);const i=t.slice(16,32);const r=t.slice(32);function o(e){const t=e.toString("hex");return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}const a=o(n);const s=o(i);const l=r.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");return[a,s,l]}const MN=e=>hr.t(e);const DN=e=>{if(typeof e!=="string")return"";return e.charAt(0).toUpperCase()+e.slice(1)};const _N=e=>MN(`months.${e}`);const PN=e=>{try{new URL(e);return true}catch(e){return false}};const AN=e=>new Promise(((t,n)=>{if(e==="")return t(true);const i=new Image;i.src=e;i.onerror=()=>{n(false)};i.onload=()=>{t(true)}}));function xN(e,t,n,i,o="UTC"){const a={0:ti.SU,1:ti.MO,2:ti.TU,3:ti.WE,4:ti.TH,5:ti.FR,6:ti.SA};const s=r.tz(e,o).toDate();const l=a[s.getDay()];const c=s.getDate();const u=Math.ceil(c/7);const d=n?r.tz(n,o).toDate():undefined;switch(t){case"none":{return null}case"daily":{return new ti({freq:ti.DAILY,until:d}).toString()}case"weekly":{return new ti({freq:ti.WEEKLY,byweekday:l,until:d}).toString()}case"monthly":{return new ti({freq:ti.MONTHLY,byweekday:[l.nth(u)],until:d}).toString()}case"yearly":{return new ti({freq:ti.YEARLY,dtstart:s,until:d}).toString()}case"custom":{if(!i){throw new Error("Custom options must be provided for custom recurrence.")}const t=i.frequency==="weekly"?i.daysOfWeek?.map((e=>ti[e])):i.frequency==="monthly"&&!i.monthlySameDate?[l.nth(u)]:undefined;const n=i.frequency==="monthly"&&i.monthlySameDate?r.tz(e,o).date():undefined;return new ti({freq:{daily:ti.DAILY,weekly:ti.WEEKLY,monthly:ti.MONTHLY,yearly:ti.YEARLY}[i.frequency||"daily"],interval:i.interval||1,byweekday:t,bymonthday:n,until:i.end?.type==="on"?r.tz(i.end.date,o).toDate():undefined,count:i.end?.type==="after"?i.end.count:undefined}).toString()}default:{throw new Error(`Invalid option: ${t}`)}}}function LN(e,t){const n=r(e).startOf("day");let i;let o;switch(t){case"week":{i=n.startOf("week");o=n.endOf("week");break}case"month":{i=n.startOf("month").startOf("week");o=n.endOf("month").endOf("week");break}case"day":{i=n.startOf("day");o=n.endOf("day");break}default:{throw new Error('Invalid viewType. Use "week", "month", or "day".')}}return{startTime:i.unix(),endTime:o.unix()}}export{gN as A,S as B,fN as C,mN as D,hN as E,PN as F,BN as G,xN as H,AN as I,pN as J,yN as K,cN as L,aN as M,lN as N,sN as O,Lj as a,kN as b,LN as c,bN as d,Oj as e,jj as f,a as g,CN as h,hr as i,DN as j,Gj as k,Pj as l,Wj as m,Uj as n,Yj as o,YA as p,Hj as q,SN as r,aj as s,dj as t,Rj as u,_N as v,EN as w,vN as x,_j as y,$j as z};
14
+ //# sourceMappingURL=utils-ac8fef1e.js.map
@@ -14,12 +14,16 @@ export declare class NylasDatePicker {
14
14
  month: Date;
15
15
  dates: Date[];
16
16
  disableNextMonthButton: boolean;
17
+ selectableDatesTimezone: Date[];
17
18
  dateSelected: EventEmitter<Date>;
18
19
  monthChanged: EventEmitter<Date>;
19
20
  configSettingsChanged(newConfigSettings: ConfigSettings): void;
20
21
  selectedLanguageChanged(newLanguage: string): void;
21
22
  themeConfigChanged(newThemeConfig: ThemeConfig): void;
22
23
  selectedDateChanged(newSelectedDate: Date): void;
24
+ private convertDatesToTimezone;
25
+ selectedTimezoneChanged(newSelectedTimezone: string): void;
26
+ selectableDatesChanged(newSelectableDates: Date[] | undefined): void;
23
27
  connectedCallback(): void;
24
28
  disconnectedCallback(): void;
25
29
  componentWillLoad(): void;
@@ -7,6 +7,7 @@ export declare class NylasEventCapacity {
7
7
  selectedLanguage?: LANGUAGE_CODE;
8
8
  internals: ElementInternals;
9
9
  selectedEventCapacity: number;
10
+ error: string;
10
11
  valueChanged: EventEmitter<{
11
12
  value: string;
12
13
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nylas/web-elements",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "Nylas Web Elements",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -20,8 +20,7 @@
20
20
  },
21
21
  "files": [
22
22
  "dist/",
23
- "loader/",
24
- "CHANGELOG.md"
23
+ "loader/"
25
24
  ],
26
25
  "dependencies": {
27
26
  "@fullcalendar/core": "6.1.8",